save-prompt

Capture reusable prompts into a global Markdown prompt inbox with sanitization and deduplication.

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/thorsenk/skills --skill save-prompt-thorsenk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: save-prompt
Source: https://github.com/thorsenk/skills/tree/main/skills/save-prompt
Command: npx skills add https://github.com/thorsenk/skills --skill save-prompt-thorsenk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Useful prompts discovered mid-conversation are easily lost. This Skill captures an identified prompt into a personal global prompt library as a structured Markdown file, without turning the capture into a lengthy refinement session. ## Core Features & Use Cases - Explicit-invocation capture: Saves a prompt only when the user explicitly asks, writing one timestamped, kebab-case-slugged Markdown file to the library's inbox/ directory. - Sanitization and safety: Strips credentials, tokens, and secrets into descriptive placeholders, keeps only the minimum conversation excerpt needed, and discloses sanitization in the receipt. - Duplicate awareness and contract compliance: Searches the library for likely duplicates by title, slug, and meaning, links matches via related_prompts, and follows the library's README.md and PROMPT-TEMPLATE.md file contract. - Use Case: After crafting an effective code-review prompt in a chat, ask to save it; the Skill distills the prompt, records provisional metadata with needs_review: true, and returns a receipt with the saved path. ## Quick Start Use save-prompt to distill the prompt we just wrote and save it to my global prompt inbox.

Frequently Asked Questions about save-prompt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save a prompt from a conversation for later reuse?▼

Explicitly ask the agent to save or capture the prompt. The Skill distills the prompt from the conversation, writes a timestamped Markdown file to the global prompt inbox, and returns a receipt with the saved path and provisional title.

Where does the save-prompt skill store captured prompts?▼

Captured prompts are stored as Markdown files in the `inbox/` directory of the library at `$HOME/Documents/prompt-library`. Files are named with a timestamp and kebab-case slug, and the library's README and PROMPT-TEMPLATE define the file contract.

Does saving a prompt store secrets or API keys?▼

No. The Skill never stores credentials, tokens, private keys, or other secrets. It replaces them with descriptive placeholders and discloses the sanitization in the capture receipt.

Will the skill trigger automatically without being asked?▼

No. It acts only on explicit user invocation or an explicit instruction to save or capture a prompt, and its agent policy sets `allow_implicit_invocation` to false.

What happens if a similar prompt already exists in the library?▼

The Skill searches for likely duplicates by title, slug, and meaning, but still saves the new candidate. When a match exists, it adds a `related_prompts` reference to the existing file's relative path and never modifies pre-existing files.