From odin
Creates or improves production-grade system prompts for autonomous coding agents using evidence-gated workflows, explicit tool contracts, and completion criteria.
How this skill is triggered — by the user, by Claude, or both
Slash command
/odin:system-prompt-curatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`extend` op-cell: turn a role, task class, and tool surface into a durable autonomous-agent system prompt; or correct an existing prompt until its workflow and completion gates are load-bearing. Optimize for agents that must act in a repository, recover from tool failures, verify their work, and deliver evidence rather than analysis.
extend op-cell: turn a role, task class, and tool surface into a durable autonomous-agent system prompt; or correct an existing prompt until its workflow and completion gates are load-bearing. Optimize for agents that must act in a repository, recover from tool failures, verify their work, and deliver evidence rather than analysis.
Keep the prompt self-contained. Do not depend on tribal context, hidden tools, model names, or sibling documents. The generated prompt must tell the agent who it is, where it works, what tools exist, what phases it must follow, what evidence gates completion, and how to recover when reality disagrees.
Core payloads:
references/principles.md — ten research-backed prompt principles and the invariant each protects.references/anti-patterns.md — failure mode → why it fails → fix table used by --improve.references/templates.md — mandatory template, GitHub-issue template, research template, and harness-level reinforcements.ask. If role, tool surface, autonomy level, or deliverable is underspecified, ask single-select axes. Mark one boring default as Recommended.
references/templates.md mandatory skeleton unless the role exactly fits the GitHub-issue or research template. Preserve section order: IDENTITY → ENVIRONMENT → TOOLS → WORKFLOW → COMPLETION → TIPS → WHAT NOT TO DO → EXAMPLES.references/templates.md: completion validation, separate help path, observation formatting, empty-output handling, truncation rules, environment suppression, history compression, malformed-output retry.--improvereferences/anti-patterns.md; report every confirmed issue. Certainty:
complete immediately, no phases, no completion preconditions, no tools, no verification).references/principles.md as PASS / FAIL / PARTIAL. Do not skip principles because the prompt is short.| Severity | Meaning | Required Action |
|---|---|---|
| HIGH | Prompt can complete without work, call finish without evidence, use nonexistent tools, or skip verification | Fix before returning |
| MEDIUM | Prompt likely drifts: vague identity, weak phases, no recovery guidance, lazy tool discovery, missing example | Fix unless user explicitly requested minimal prompt |
| LOW | Style or harness hardening issue: aggressive phrasing, token bloat, missing observation formatting, no output truncation rule | Fix when cheap; otherwise recommend |
Before returning any created or improved prompt, verify:
| Gate | Pass Criteria | Blocking |
|---|---|---|
| Role anchor | Identity matches task type and implies the correct behavior | Yes |
| Tool contract | Prompt lists actual available tools and when to use them | Yes |
| Ordered workflow | Prompt has explicit phases and no analysis-phase completion | Yes |
| Artifact mandate | Prompt states the concrete deliverable and forbids read-only completion for action tasks | Yes |
| Verification | Prompt names the verification command/method or evidence substitute | Yes |
| Completion schema | Finish action requires non-empty evidence fields appropriate to the task | Yes |
| Failure recovery | Tips or example show a failed command/tool call and changed approach | Yes for autonomous agents |
| Convention discovery | Coding agents must inspect existing project patterns before editing | Yes |
| Tone | No adversarial threat block or exaggerated all-caps rule wall | Yes |
| Self-eval | All ten principles checked PASS or justified PARTIAL | Yes |
Create mode output:
PROMPT:
<complete system prompt>
DESIGN NOTES:
- Identity: ...
- Completion gate: ...
- Verification: ...
- Harness assumptions: ...
- Approx tokens: ...
Improve mode output:
FINDINGS:
| Severity | Principle | Evidence | Risk | Fix |
|---|---|---|---|---|
...
IMPROVED PROMPT:
<complete rewritten system prompt>
DELTA:
- ...
SELF-EVAL:
| Principle | Status | Note |
|---|---|---|
...
complete, finish, or return instruction without preconditions. Gate it.Use available tools as needed with no tool list. Enumerate tools or state they are unavailable.CRITICAL, NEVER FAIL, YOU WILL BE PENALIZED blocks. Replace with normal checklists.You are a focused AI agent. Replace with role tied to task and deliverable.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odinOptimizes system prompts for Claude Code agents using research-backed prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.
Optimizes system prompts for Claude Code agents using research-backed prompt engineering patterns. Use for requests to improve, refine, or review agent workflows, tool instructions, or behaviors.
Generates markdown agent files with YAML frontmatter for Claude Code, configuring system prompts, tools, and isolation for autonomous task delegation in plugins.