ワンクリックで
update-skill
Update an existing skill's SKILL.md body in workspace/capabilities/skills/, bumping its frontmatter semver.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update an existing skill's SKILL.md body in workspace/capabilities/skills/, bumping its frontmatter semver.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Author a new @tool-decorated Python file in the agent workspace, validate it, and register it via reload().
Update an existing @tool source file in workspace/capabilities/, bumping its semver per major/minor/patch.
Scaffold a new skill folder under workspace/capabilities/skills/ with frontmatter and the seven required sections.
SOC 職業分類に基づく
| name | update-skill |
| version | 1.0.0 |
| description | Update an existing skill's SKILL.md body in workspace/capabilities/skills/, bumping its frontmatter semver. |
| triggers | ["fix the skill","the skill is wrong","refine the procedure","bump the skill version"] |
| tools | ["read","update_skill","reload"] |
(auto-filled by the loader)
Inputs you must have:
name (matches its folder under workspace/capabilities/skills/).SKILL.md after the frontmatter — update_skill rewrites the body wholesale.Outputs the agent must produce:
SKILL.md with a bumped frontmatter version.reload() call after the update succeeds.update_skill preserves the frontmatter (with bumped version) and replaces the body wholesale. The body is everything after the closing --- line; sub-folders (references/, scripts/, templates/, assets/) are untouched.
Semver judgment for skills:
A skill that has changed its tools: field is always at least a minor bump (caller dependencies changed). If the procedure has changed substantively, it's a major.
read(file_path="<workspace>/capabilities/skills/<name>/SKILL.md").## Steps ordering changed or tools: set changed, default to major.---). The frontmatter is regenerated for you — don't include it in new_body.update_skill(name=..., new_body=..., version_bump="<patch|minor|major>").reload(). The diff should mention ~1 replaced (<name> <old>→<new>).capability:registration_warning for any section being filler, go back to step 3 and fill it.read step. Read the existing skill so the new body builds on what was there.new_body. The tool rejects it implicitly (the next reload sees a doubled --- block and fails parsing).# A new anti-pattern surfaced; add it without changing the procedure.
old = await read(
file_path="capabilities/skills/rotate-credentials/SKILL.md"
)
# Strip frontmatter for new_body
new_body = old.split("---\n", 2)[2]
new_body = new_body.replace(
"## Anti Patterns\n",
"## Anti Patterns\n\n- **Don't** skip the post-rotation health check.\n",
)
await update_skill(
name="rotate-credentials", new_body=new_body, version_bump="minor"
)
await reload()
update_skill returned Updated skill ... <old>→<new>.reload() returned a diff containing ~1 replaced.capability:registration_failed for the skill.