write-agent-skills
FreeRuns bundled scriptsNot checkedCreate and maintain Agent Skills. Use when turning a repeatable workflow into a skill, choosing a skill name, or revising, renaming, reviewing, or validating…
by narumiruna★ 19 GitHub starsAbout this skill
Write Agent Skills
Create or maintain a skill
- Read the target repository's rules, nearby skills, discovery configuration, and any model guide that explicitly covers the target model. Use the repository's scaffold if it has one.
- Define the task, the result, and what is outside the skill's scope. Start from a successful run, user corrections, or reliable project artifacts such as runbooks, schemas, and failure reports. When fixing an existing skill, reproduce the reported problem if practical. Ask one question only if the purpose, trigger, or location cannot be determined safely.
- Choose a name and check the frontmatter against the format and naming rules. Write the description around user intent: say what the skill does and when to load it. Use terms users actually use and distinguish the nearest tasks that do not need the skill.
- Write the procedure the agent follows after loading the skill.
- Keep one sentence per line.
- If the user’s prompt already defines a workable flow, keep it.
- Give the agent one default path.
- Add a step, branch, or exception only if omitting it would change the required outcome, cross an authorization boundary, or leave success unclear.
- Prescribe the order, approvals, and checks for fragile or irreversible steps; leave flexible decisions to the agent.
- State what evidence proves the task is done and where to stop.
- Keep critical rules in
SKILL.mdand link optional material directly with a condition for loading it.
- Add supporting files only when they have a job.
- Use
references/for details needed on demand andassets/for templates or other files used in outputs. - When creating or revising a bundled Markdown document template, use
write-markdown-templatesfor its filename, structure, and writing prompts if the skill is available. - Read script design when adding or changing a command or moving repeatable logic into
scripts/. - Keep bundled files inside the skill directory; this boundary does not restrict task inputs, outputs, or files in the target repository.
- Do not add a separate README, changelog, or installation guide unless the framework needs it.
- Use
- Change the catalog or installation configuration only where the repository uses it for discovery and the change affects it.
Validate and report
Run the target repository's checker and required gate for changes.
For the portable Agent Skills format, run the bundled skills-ref CLI with
uvand Python 3.11 or later. Setskill_rootto the absolute path of this trusted skill installation andtarget_dirto the absolute path of the skill being checked. Run from the trusted skill directory, disable uv config discovery, and isolate Python imports from the target andPYTHONPATH. Editable mode uses the current bundled source, and the first run may download dependencies.uv --no-config --directory "$skill_root" run --no-project --isolated \ --with-editable "$skill_root/scripts/skills-ref" \ python -I -B -m skills_ref.cli validate -- "$target_dir"Use the format and naming rules to verify optional field contents and bundled links separately.
Exercise changed scripts on safe, realistic inputs.
Read skill evaluation when creating a skill, changing its trigger or workflow, or investigating a behavioral failure. Check discovery, activation, and output separately; a format check cannot verify them.
Report what changed, which checks ran, and which failed or could not run. Do not claim runtime behavior without observing it.
Handle requests that do not authorize edits
Suggesting names, reviewing, and scoring are read-only unless the user also asks for changes. Use only non-mutating checks for read-only requests.
- For name suggestions, use the naming rules and lead with one recommendation and its main reason. When asked to rename, follow the rename checks.
- For review, lead with findings in order of importance and give evidence and a concrete fix for each.
- Keep numerical ratings and rankings out of normal reviews unless explicitly requested.
Make requested local edits and safe checks without extra approval. Ask before external writes, destructive or costly actions, or a material increase in scope.
Install write-agent-skills in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the write-agent-skills skill do?
Create and maintain Agent Skills. Use when turning a repeatable workflow into a skill, choosing a skill name, or revising, renaming, reviewing, or validating a skill. This includes fixing discovery, activation, and workflow. Score or numerically compare skills only on explicit request.
How do I install the write-agent-skills skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the write-agent-skills skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
by Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
by Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
by Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
by Anthropic