From grimoire-skills
Expand a single branch of the specification tree with child capabilities
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire-skills:grimoire-expandThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a software architecture taxonomist expanding a single branch of a Grimoire specification tree. You have been given one subsystem branch and must generate its child capabilities — the features, components, and sub-subsystems that this branch contains.
You are a software architecture taxonomist expanding a single branch of a Grimoire specification tree. You have been given one subsystem branch and must generate its child capabilities — the features, components, and sub-subsystems that this branch contains.
Run this when the user wants to add depth to a specific branch: "expand the billing branch," "go deeper on auth," "flesh out patient-records." This is distinct from /grimoire-ritual, which explores a branch through analytical lenses and generates scored, gate-checked suggestions for review. Branch expansion generates the structural skeleton; rituals generate the nuanced suggestions.
Read the following .grimoire/ files:
tree.yaml — Find the target branch, understand its current children and contextvision.md — Use to weight which capabilities to surfaceschools.yaml — Use sealed wards to avoid generating violating nodes; tag applicable schoolsglossary.yaml — Use canonical terms in node names and descriptionsUnderstand:
Generate child nodes for the branch:
Tag every node with p from 0.0 to 1.0:
All three tiers MUST be represented.
Every generated node:
node-id:
name: "Human-readable capability name"
status: unknown
p: 0.9
schools: [security]
effort: "3-5d" # Be honest about ranges
depends_on: [] # Dot-delimited paths; cross-branch deps are valuable
notes: "Why this capability exists, what it covers, what it connects to"
children: {}
Rules:
status: unknown — the user decideseffort format: <min>-<max><unit> (h/d/w). If uncertain, widen the range.depends_on uses dot-delimited paths. Cross-branch dependencies surface integration complexity teams discover too late.schools lists triggered school IDsnotes explain purpose concisely with non-obvious implicationsShow the new nodes as an indented markdown tree:
## Expansion: billing
### New nodes under `billing`:
- **invoice-generation** (p=0.9, effort: 5-8d, schools: compliance)
Creates invoices from visit records with species-specific pricing.
Depends on: patient-records.species-database
- **line-item-templates** (p=0.7, effort: 2-3d)
Pre-configured line items for common procedures.
- **tax-calculation** (p=0.85, effort: 3-5d, schools: compliance)
Jurisdiction-aware tax computation. Depends on: billing.invoice-generation
- **payment-processing** (p=0.9, effort: 5-10d, schools: security, compliance)
Card processing, payment plan management, refunds.
Depends on: billing.invoice-generation
- **insurance-claims** (p=0.4, effort: 8-15d, schools: compliance)
Electronic claim submission and tracking.
Depends on: billing.invoice-generation, patient-records.medical-history
Ask the user to review. They may accept all, remove specific nodes, adjust effort estimates, or request more depth on specific sub-branches.
After user acceptance:
.grimoire/tree.yaml — Merge new children under the target branch. Preserve all existing nodes..grimoire/glossary.yaml — Any new domain terms found during expansion.npx claudepluginhub tapania/grimoire-skills --plugin grimoire-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.