/octo:skill-authoringfrom octo
Guides writing skills that behave deterministically across runs. Use when adding, editing, or reviewing a skill in this plugin to ensure predictable execution.
Ships in octo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Load skills/blocks/engineering-method-selection.md from the installed plugin
and apply only the methods relevant to this task. Preserve this entry point's
execution contract and output format. Read referenced skills as instructions;
do not invoke the current command recursively or add provider calls from a seat.
Load skills/blocks/domain-modeling.md when a skill discusses providers, models,
access, billing, reviewers, or votes. Reuse the shared definitions instead of
inventing local synonyms. State the source and time of observations. Never infer
authentication, entitlement, billing mode, quota, or model-family independence
from a binary or transport name alone.
A skill exists to get determinism out of a stochastic system. Predictability is the goal, and it means the agent takes the same process every run — not that it produces the same output. Every rule below serves that.
docs/PLUGIN-ASSEMBLY-STANDARD.md already fixes the structure a skill body
should take. This is about what makes the content inside that structure work.
Adapted from writing-great-skills in
mattpocock/skills (MIT), with the
invocation section rewritten for how this plugin actually loads skills.
CLAUDE.md.docs/PLUGIN-ASSEMBLY-STANDARD.md and the CI suites.skill-meta-prompt.The skill under construction or review, and an honest answer to: what should the agent do differently because this exists?
Every shipped command and skill carries disable-model-invocation: true.
Claude Code therefore keeps Octopus out of model context until the user chooses
an /octo:* command. This is a hard platform gate, not a prose reminder.
Command bodies that need reusable instructions load the entire source file
directly from
${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/.claude/skills/<name>/SKILL.md; they do not call
the Skill tool. ${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}} is the stable, self-healed path
available to model tool calls; CLAUDE_PLUGIN_ROOT is a hook/runtime variable
and may be absent from that context. The command must treat the loaded body as
the active instructions in the current conversation, follow its steps in order,
and pass the user's text as workflow arguments rather than executable path
content. This keeps explicit commands composable without reopening automatic
model invocation.
Plain-language routing is a separate, legacy-compatible opt-in controlled by
OCTOPUS_AUTO_ROUTER_MODE=suggest|invoke. Its default is off. New skills must
never depend on prompt-keyword auto-routing for reachability.
The description does two jobs: say what the skill is, and list the branches that should trigger it. It sits in the context window every turn, so it earns harder pruning than the body.
hooks/user-prompt-submit.sh already claims it. The hook is opt-in,
but overlapping phrases still degrade routing for users who enable it.Content is either a step (an ordered action) or reference (a rule or fact consulted on demand). A skill can be all of one, or both. Place each piece on the rung it belongs:
skills/blocks/ is where shared ones live.Push too little down and the top bloats; push too much and the agent never finds what it needs. Branching is the cleanest test: inline what every run needs, push behind a pointer what only some runs reach.
Every step ends on a condition that says the work is done. Make it:
"Produce a summary" is not a completion criterion. "Every boundary in the table maps to a real handoff in the setup" is.
A body that names the orchestrator script directly is required by
tests/unit/test-mandatory-compliance.sh to carry a MANDATORY COMPLIANCE block
and a PROHIBITED list. That is deliberate for skills that dispatch providers
and spend money. It is dead weight on an advisory skill — so if a skill only
advises, refer to workflows by their /octo: command names and skip the
ceremony rather than adding a compliance block nobody needs.
docs/PLUGIN-ASSEMBLY-STANDARD.md for required structure.When reviewing, report:
hooks/user-prompt-submit.sh or an existing
skill's description..claude-plugin/plugin.json and make sync is
clean.disable-model-invocation: true, and any command that composes it
loads its source file directly.tests/unit/test-explicit-activation.sh passes.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nyldn/claude-octopus --plugin octo64 skills in this plugin
/council-verdictsStarter: interpret a council run's verdict artifacts — quorum, dissent, cross-lab validity, and what to do next/debate-kickoffStarter: frame a decision as a multi-model debate — picks sides, seats providers, and launches /octo:debate with a well-formed motion/flow-defineMulti-AI requirements scoping using available external providers (Double Diamond Define phase). Priority triggers: octo define, octo scope, co-define, co-scope. DO NOT use for implementation, research, review/validation, or built-in commands.Other plugins' skills for the same job