draft_skill
Draft a deterministic SKILL.md for a suggested skill candidate with triggers, example commands, failure modes, verification, and evidence. Review it before installing.
Instructions
Draft an Agent Skills SKILL.md (works in Claude Code, Codex, Gemini CLI, Cursor, OpenCode...) for a candidate from suggest_skills.
The draft is deterministic: frontmatter (name, description with triggers), steps with real example commands, known failure modes and their fixes, verification, and evidence. Review and edit it, then pass it to install_skill. Use get_session on the evidence sessions to refine it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"candidate_id": "<candidate_id>"
},
"name": "draft_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | all | |
| candidate_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |