/odin-skills:prompt-optimizerfrom ODIN Skills
Optimizes, rewrites, or audits prompt text, skill descriptions, and tool descriptions. Supports prompt evaluation and detecting dated instructions.
Ships in ODIN Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User asks to improve, optimize, rewrite, tune, or port a prompt, or to audit prompt text for dated instructions |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. A proposed diff is chat output; applying it is outside this skill. |
| Side effect | Chat output returns either an optimized prompt or an audit report plus a proposed diff |
| Done | Optimize mode: shorter prompt validated on holdout cases with one owner per behavior rule. Audit mode: every finding names a pattern and a target-model reason, and the diff carries only high- and medium-confidence hunks. |
Required:
Optional:
Prompts, skills, and tool descriptions accumulate instructions tuned to older models: emphasis added because an old model under-triggered, step-by-step scripts added because an old model planned poorly. Current models follow instructions more closely and more literally, so leftover text is not wasted tokens but an active degradation. The job is to find specific dated instructions, not to make prompts shorter. A finding that cannot name a pattern from references/audit-patterns.md and a target-model reason grounded in a row of references/prompt-guides.md is not a finding; it is a low-confidence report line that stays out of the diff. An audit that finds nothing reports the surface clean and proposes an empty diff.
SKILL.md files, AGENTS.md, output styles, and tool descriptions. The target model is the one the request names; else the destination of an in-progress migration; else the newest current-tier row in references/prompt-guides.md for the provider the surface addresses, Claude by default. Read the guide rows for that model before asserting anything about its behavior; if a current-tier guide cannot be fetched, continue and mark every model-behavior claim unverified. State scope, target, and guide-fetch status at the top of the report rather than pausing to ask. Done when: scope, target model, and guide-fetch status are stated.description fields and parameter descriptions, and every few-shot block or embedded example wherever it lives. Report the list before auditing so the user can correct it. Done when: the inventory is listed.git log or git blame and ask which failure, on which model, the line prevented, and whether that failure reproduces on the target model. A line added as a mitigation for a retired model is a presumptive removal candidate. Idioms date a line without history (scratchpad or thinking tags, "think step by step", role-context-rules-examples boilerplate) but idiom dating alone caps a finding at low confidence; a blame line tying the text to a retired model plus a documented target-model behavior is what earns medium or high. Done when: every emphatic or prohibitive line carries a provenance note.references/audit-patterns.md in order, running the signal greps over the inventory rather than eyeballing. Classify trigger text by function before flagging shouting: a frontmatter description may carry calibrated urgency. Check the keep list before recording a match. Done when: every candidate has a group row or is marked flag-only.references/audit-patterns.md: location, quoted evidence, pattern row, why obsolete for the target model citing the references/prompt-guides.md row, confidence, and action. Order by confidence, highest first, with a summary at the top giving counts per group and the two or three highest-impact findings in prose. Findings with no pattern and no target-model reason go at the bottom as flag items or not at all; unverified claims are flag items. Done when: the report is emitted with scope, target, and guide-fetch status at its head.remove, rewrite, move, or add at high or medium confidence; flag and low-confidence items appear in the report only. One finding per hunk, each hunk naming its pattern row, so the user can take hunks selectively. Prefer a rewrite to a bare deletion where the instruction has a live purpose. A removal covers every reference: tests asserting the old behavior, docs, rule files, and cross-references in other skills. Write the diff to chat, never to the audited file. Done when: the diff is emitted, every hunk names its pattern, and no flag or low-confidence item is inside it.flag.unverified, and drop those findings to flag; the diff carries none of them.git history, provenance rests on idiom dating alone and every finding caps at low confidence unless the target model's guide documents the behavior on its own.Optimize mode: a structured response with optimized prompt text, target statement, success criteria, external context, residual risks, and holdout validation summary, in that order. Audit mode: the audit report with scope, target model, and guide-fetch status at its head, then the proposed diff as a separate block; both always, and the diff may be empty.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-skills21 skills in this plugin
/agent-surface-forgeUse when asked to audit or repair agent surfaces (plugins, agents, skills, CLAUDE.md/AGENTS.md, docs, prompts, commands, hooks) or improve one skill at depth. Not for agent grading: use skill-doctor./automate-meUse when asked to create or refresh a personal mode skill and open a reviewable PR. Not for shared repo skills or work that skips human approval./book-to-skillUse when the user names one book, course, paper, or source document and asks to distill it into a reusable skill. Not for a folder of sources: use map-corpus.Other plugins' skills for the same job