craftbot-skill-creator
CraftBot Skill Creator
Author a reusable skill from one completed task. The handler that spawned this task already gathered everything you need into a single markdown file — read it, generalise it, write the new skill, send the user a one-message summary, end the task. The handler has already posted "Creating skill <name>…" in chat for you, so do not duplicate that message. Your only chat message is the final presentation right before end_turn. Do not iterate with test cases. Do not run subagents.
What you receive
Your task instruction contains five lines (the two paths are absolute — pass them verbatim to read_file / write_file, do NOT prepend or modify any prefix):
Source file (read this — absolute path, use verbatim): <absolute path to SKILL_SOURCE_<id>.md>
Target file (write the new SKILL.md here — absolute path, use verbatim): <absolute path to skills/<name>/SKILL.md>
Mode: create
Skill name: <kebab-case-name>
⚠️ Do not invent your own path for the target file. The handler has already placed it at the correct location under the project's
skills/directory; using the literal value ofTarget file:puts the SKILL.md where the framework will discover it. A common mistake is generalising the source'sagent_file_system/prefix onto the target — that lands the new skill in the wrong directory and CraftBot will never see it.
SKILL_SOURCE_<task_id>.md has YAML frontmatter (mode, target_skill, source_task_id, generated_at) and these body sections, in order: