/agent-toolkit:writing-skillsfrom agent-toolkit
Create, revise, or validate reusable skills that work directly in Claude Code and Codex.
Ships in agent-toolkit. 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.
None: SKILL.md is the whole skill.
Check authority before capability. Default STANDARD + SOLO; preserve explicit accepted task profile/topology and current exclusions. Planning or selecting roles does not authorize a worker. HANDOFF, PARALLEL and REVIEW require explicit user authorization before changing actors. Never launch another CLI, worker or orchestrator to bypass a restriction. Check actual exposed tools/schemas only after authority; availability alone grants no action.
If requested capability is missing, disclose it and use SOLO/manual execution only when consistent with user intent. Do not relabel local role passes as independent review or fabricate tool/background success. Reuse existing specific authority within scope; no repeated permission menu. Keep the configured model unless a change is authorized. Mandatory project gates and worktree-first always apply. Consult the existing development-lifecycle-rules contract when installed; this plugin's safe local path requires no other plugin or copied skill catalog.
Write one portable workflow, with explicit host-specific steps only where they change execution. Keep instructions focused on behavior the agent would not already infer from the task.
Use skills/<name>/SKILL.md with YAML name and description. Names use
lowercase letters, digits, and hyphens and match the directory. Describe both
purpose and triggering conditions concisely. Put provenance under metadata.
Keep Claude-only agent model/tool settings in native agent entrypoints, not in
shared skill frontmatter. Scripts, references, and assets belong with the skill
or elsewhere inside the same packaged plugin with valid relative links.
Claude invokes skills through its skill/command interface; Codex exposes installed plugin skills as $plugin:name.
Do not embed host-specific command syntax as the only way to follow a workflow.
Skill catalog metadata loads before bodies; keep conditional details in linked
references rather than duplicating them in descriptions.
TodoWrite or Task(...) spelling..agents/skills/; for Claude use .claude/skills/.
Verify user-level locations against current host configuration.Audit descriptions, diagrams, examples, prompts and final steps, not just an opening warning. None may turn planning, a role name, DEEP or tool availability into actor or delivery permission. Persist profile/topology/permissions across iterations and handoffs without treating saved state as new authority. Keep mandatory project gates in QUICK, local sequential roles in SOLO, bounded authorized actors elsewhere and no false background/scheduler/enforcement claims. One shared lifecycle remains; technique phases do not create a competing engineering process.
Map distinct trigger branches before splitting. Keep shared prerequisites inline; put conditional detail behind pointers that name its purpose and trigger. Keep related definitions, rules and caveats together. A flat checklist can be clearer than another file. Use familiar task language and direct positive actions while retaining explicit consent and safety limits.
End each ordered step with observable evidence covering every applicable item. Sharpen that criterion before splitting a sequence. Preserve conventions and non-obvious reasons; look up current commands/configuration from their actual source. Treat a suspected default/no-op as uncertain until supported by evidence. The authoring pass is complete when each branch, pointer and completion bound is accounted for, with remaining uncertainty reported.
Check frontmatter, naming, local links, dependency availability, and install containment. Test changed scripts on disposable fixtures. For meaningful behavior changes, use realistic scenarios covering both hosts and missing capabilities. Use independent agent trials only when available and authorized; otherwise record a manual scenario review and its limits. Do not invent successful trial results or require paid/delegated runs for every wording edit.
For example: a review should still work without subagents; an automation request should report that scheduling is unavailable rather than pretending a task was created. Iterate based on demonstrated failures and preserve existing useful behavior. Committing or publishing a skill follows the user's requested scope.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mmalyska/claude-plugins --plugin agent-toolkit14 skills in this plugin
/autonomous-agent-harnessDesign or configure bounded recurring agent workflows with persistence, scheduling, and recovery in Claude Code or Codex./blueprintCreate profile-sized, resumable implementation plans with exact file scopes, dependencies, checks and rollback. Planning does not authorize workers or delivery./context-budgetAudit instruction and tool context overhead in Claude Code or Codex, distinguishing measured usage from estimates.Other plugins' skills for the same job