save-prompt

save-prompt is a skill for Claude Code from sparesparrow/mcp-prompts. It costs 44 tokens per session (386 once invoked), scanned A, original, MIT.

A tool that saves a prompt or template as a JSON file in your mcp-prompts folder. JSON is a structured text format commonly used for storing configuration and data.

In plain words
What is it for?
Use it when you want to keep, store, capture, or permanently save a prompt or template.
Why use it?
It preserves a prompt for reuse in later sessions instead of requiring you to recreate it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mcp-prompts plugin — 3 skills, 1 MCP server shipped together

Good fit Use it when you want to keep, store, capture, or permanently save a prompt or template.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparesparrow/mcp-prompts/save-prompt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sparesparrow/mcp-prompts --skill save-prompt
Clone the repo
git clone --depth 1 https://github.com/sparesparrow/mcp-prompts

Made for: Claude Code.

Or install mcp-prompts, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for save-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparesparrow/mcp-prompts/save-prompt/github.svg)](https://agentmods.dev/skills/sparesparrow/mcp-prompts/save-prompt)
Your own site
<a href="https://agentmods.dev/skills/sparesparrow/mcp-prompts/save-prompt"><img src="https://agentmods.dev/badge/skills/sparesparrow/mcp-prompts/save-prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for save-prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparesparrow/mcp-prompts/save-prompt"><img src="https://agentmods.dev/badge/skills/sparesparrow/mcp-prompts/save-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00386
Opus 5.5 $0.00018 $0.00154
Sonnet 5.5 $0.00009 $0.00077
Haiku 4.5 $0.00004 $0.00039

Measured 14d ago against content hash 57157fd4f028, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

save-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/save-prompt/SKILL.md · 25 lines

What it actually says

Save a prompt

Your prompts folder (set in /config for the mcp-prompts plugin): ${user_config.prompts_dir}

If the folder above is empty, stop and tell the user to set "Your prompts folder" in /config. Do not use the add_prompt tool instead: it keeps a prompt only until the server restarts, under a random id.

  1. Build the prompt as one JSON object:
    • id: kebab-case, short and descriptive. Call get_prompt with it first. If a prompt with that id exists, choose another id, unless the user wants their version to replace it (the file in their folder wins).
    • name, and description in one sentence.
    • content: the prompt text. Mark each value to fill in later as {{name}}.
    • isTemplate: true when the content has placeholders. variables then lists each placeholder name.
    • tags: the topic, plus the default tags (${user_config.default_tags}) when they apply.
    • metadata.language: cs or en when the text is in one language.
  2. Show the JSON and the path <folder>/<id>.json, and write the file with the user's agreement. Never overwrite an existing file without asking. Never put secrets, tokens or personal data in a prompt.
  3. Load it. The server reads the folder when it starts, so tell the user to reconnect it in /mcp. Until then the new prompt is not listed.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 25 lines · 44 tokens per session scan A 57157fd4f028

Subscribe to this mod's changes

save-prompt is a skill published in the GitHub repository sparesparrow/mcp-prompts (121 stars, last pushed 3d ago), licensed MIT. It adds 44 tokens to every session and 386 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.

Related

save-prompt compared with skills from other repositories

save-prompt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
save-promptsparesparrow/mcp-promptsSkill1213d agoMITA44Claude Code
llm-app-patternsdavila7/claude-code-templatesSkill35ktodayMITA54Claude Code, Codex
enhance-promptgoogle-labs-code/stitch-skillsSkill15ktodayApache-2.0A41Claude Code
prompt-engineerJeffallan/claude-skillsSkill13ktodayMITA93Claude Code
prompt-optimizationlangwatch/langwatchSkill5.1ktodayApache-2.0A105Claude Code, Codex
prompt-library-for-startupsaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A244Claude Code
hve-buildermicrosoft/hve-coreSkill1.7ktodayMITA54Claude Code