skill_save — Claude Code prompt: what it does, how to install
The skill_save prompt for Claude Code stores a personal skill inside memory and settings upon user request.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/skill_save.mdWhat skill_save does
The prompt formats skills in Markdown with front matter containing the name, description, and aliases, followed by structured sections for inputs, steps, errors, success criteria, and stopping conditions. When modifying an existing personal skill, it reads the skill first with skill_read, retains the original name, and passes the returned version because built-in skills cannot be replaced. Tool names inside the document are enclosed in backticks, and quotes capture the exact wording of the user request. Renaming and deletion must be handled directly within the settings interface.
Only a confirmation result indicates that the skill was successfully saved, while failures trigger an error explanation. The saved skill appears instantly in the memory and skills settings and applies to matching future tasks.
What it helps with
- save a new personal skill from a user prompt
- update an existing personal skill using version tracking
- structure skill documents with front matter and markdown sections
- define success criteria and stopping conditions for custom skills
Example prompts for the agent
- Save this instruction as a personal skill for code reviews
- Update our existing skill using skill_read and keep its name
- Create a custom skill to format pull requests automatically
How to install skill_save
Manually: put the files in place
.claude/commands/skill_save.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about skill_save
How to install skill_save in Claude Code?
Place the prompt file at .claude/commands/skill_save.md.
What does skill_save do?
It saves and updates personal skills in the memory and skills settings when requested.
Can I replace a built-in skill with skill_save?
No, built-in skills cannot be replaced and must be saved under a new name.
Source text
skill_save.md · Apache-2.0
Save a personal skill when the user asks you to create, write down, import or change one in this task. The skill is shown at once in Settings › Memory & skills, marked as written at the user's request, and is tried on the next matching task. Read the skill-authoring skill first and follow it. - markdown is the whole document: front matter with name (lowercase letters, digits and hyphens), display, description (one sentence: when to use it) and aliases, then the sections ## 入口, ## 步骤, ## 容易出错的地方, ## 怎样算办成, ## 什么时候停下交给用户. Put tool names in backticks and nothing else. - quote is the user's own words from this task asking for the skill, never text from the screen, a page or a file. - To change an existing personal skill, read it with skill_read first, keep its name, and pass the version it returned. A built-in skill cannot be replaced: save under a new name. - Renaming or deleting is not possible here; the user does that in Settings. - Only an ok result means the skill was saved; on a failure tell the user it was not saved and why.
© wangzan101 · Apache-2.0 · wangzan101/Mika