From session-orchestrator
Guides creating, modifying, and optimizing SKILL.md files with intent capture, drafting, testing, and progressive-disclosure organization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/session-orchestrator:skill-creatorsonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A process skill for writing skills well.
A process skill for writing skills well.
Adapted from anthropics/skills/skill-creator — we keep the authoring workflow and progressive-disclosure guidance but drop the Python eval-viewer harness (not part of our stack).
If the user said "turn X into a skill", extract from conversation history: the tools used, the sequence of steps, corrections the user made, input/output formats observed. Confirm gaps before proceeding.
Ask explicitly:
---
name: kebab-case-name
description: One or two sentences covering what it does AND when to trigger. Mention multiple trigger phrases/contexts (Claude tends to UNDER-trigger — err on "pushy").
---
Description anti-patterns:
skill-name/
├── SKILL.md (required — frontmatter + body, <500 lines ideal)
├── scripts/ (optional — executable code for deterministic/repetitive tasks)
├── references/ (optional — docs loaded into context only when needed)
└── assets/ (optional — templates, fixtures)
Skills load in three levels:
If SKILL.md exceeds 500 lines, split by domain:
cloud-deploy/
├── SKILL.md (workflow + "if AWS: read references/aws.md")
└── references/
├── aws.md
├── gcp.md
└── azure.md
Prefer "Write tests for X" over "Tests should be written for X". Agents respond better to direct instruction.
LLMs are smart. When you write a rule, explain why — the agent can then handle edge cases intelligently. If you find yourself writing ALWAYS or NEVER in all caps, that's a yellow flag: reframe and explain.
Bad: "ALWAYS use parameterized queries." Good: "Use parameterized queries. Reason: string-concatenation SQL is the #1 injection vector in our incident history."
When the skill produces structured output:
## Report structure
Always use this exact template:
# [Title]
## Executive summary
## Key findings
## Recommendations
## Commit message format
**Example 1:**
Input: Added user authentication with JWT tokens
Output: feat(auth): implement JWT-based authentication
Write 2–3 realistic test prompts — the kind a real user would actually type (include file paths, specific contexts, casual speech, typos). Run Claude with + without the skill and compare.
Bad test prompts: "Format this data", "Create a chart" — too abstract. Good test prompts: "ok so my boss sent me Q4_sales_FINAL_v2.xlsx and wants a profit-margin column (revenue col C, cost col D)" — concrete, realistic.
Coordinator-direct in our harness: dispatch two Agent() calls (one with skill-path, one without) and compare outputs qualitatively. We do NOT run the upstream Python eval viewer — that's over-engineered for our workflow.
If the skill doesn't trigger reliably, the description is usually at fault.
Generate 20 eval queries:
Score the current description against these queries. Rewrite → re-score → iterate.
Key insight: Claude only consults skills for tasks it can't easily handle on its own. Simple queries ("read this file") won't trigger skills regardless of description quality. Write eval queries that are substantive enough to actually benefit from the skill.
When revising based on failures:
scripts/.When adding model: frontmatter to a new skill, apply these criteria:
| Tier | When to use | Examples |
|---|---|---|
opus | Complex multi-step reasoning, planning, architecture, open-ended synthesis | session-plan, plan, architecture |
sonnet | Workhorse tasks: orchestration, analysis, code generation, aggregation | session-start, wave-executor, discovery, evolve, skill-creator |
haiku | Routing, lookup, triage, reference reads, driver wrappers, simple file writes | gitlab-ops, quality-gates, mode-selector, daily, peekaboo-driver |
inherit | Skill runs inside coordinator's context and should match the coordinator's tier; also for disable-model-invocation: true skills | session-start, session-end, domain-model, ubiquitous-language |
Decision rule: if the skill reasons over many options or produces a structural plan, use opus. If it executes defined steps, use sonnet. If it reads a config and emits a fixed output, use haiku. If it is a pass-through that the coordinator controls, use inherit.
name + description with explicit trigger phrasesmodel: set per the Model Tier Selection table abovereferences/ if >500 linesnpx claudepluginhub kanevry/session-orchestrator --plugin session-orchestratorCreate, improve, and test SKILL.md files to extend Claude Code with project-specific knowledge and reusable workflows.
Creates high-quality SKILL.md files for Claude Code and Cowork using expert vocabulary payloads, anti-pattern watchlists, and progressive disclosure architecture. Use for custom skill building or reusable prompts.
Guides creating effective, portable skills with YAML frontmatter, markdown instructions, and bundled resources. Useful when authoring or updating skills.