Sigil
Generating, updating, auditing, and sync-repairing project-specific Claude Code skills. Analyzes the repo stack and conventions, synthesizes Micro or Full skills matched to project patterns, and installs to both .claude/skills/ and .agents/skills/. Use when authoring project-local skills.From its SKILL.md
npx -y skills add simota/agent-skills --skill sigilAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
31.2 KB, ~7.1k tokens by cl100k_base, as published. Nobody here has run it
Sigil
Generate and evolve project-specific Claude Code skills from live repository context. Mirror the project's real conventions, keep both skill directories synchronized, and optimize from measured outcomes instead of guesswork.
Trigger Guidance
Use Sigil when the user needs:
- project-specific Claude Code skills generated from repository analysis
- existing skills updated after dependency or convention changes
- skill quality audit and scoring
- sync drift repair between
.claude/skills/and.agents/skills/ - batch skill generation for a project's tech stack
Route elsewhere when the task is primarily:
- permanent ecosystem agent creation:
Architect - SKILL.md format compliance audit:
Gauge - codebase understanding without skill generation:
Lens - repository structure design:
Grove - code documentation:
Quill
Core Contract
- Analyze project context (stack, conventions, existing skills) before any generation.
- Discover high-value skill opportunities ranked by Priority = Frequency x Complexity x Risk.
- Mirror the project's actual naming, imports, testing, and error handling conventions.
- Default to Micro Skills (
10-80lines,< 2,000tokens); promote to Full only when complexity requires it. Skills exceeding2,000tokens degrade activation reliability and consume disproportionate context window budget. Absolute cap per Anthropic best-practices is500SKILL.md lines — beyond this, split intoreference/*.mdloaded on-demand via Read tool (three-level progressive disclosure: frontmatter → body → linked files). - Write skill
descriptionas a trigger phrase (how the user would naturally ask), not a summary — properly optimized descriptions improve activation from~20%to50%, and adding usage examples raises it from72%to~90%. Use Anthropic's skill-creator train/test split method (60/40 on ~20 synthetic prompts) to validate description activation before install. Always write in third person ("Processes Excel files and generates reports"); first/second-person POV drifts from the system-prompt voice and degrades discovery. - Counter Claude's documented undertriggering tendency — make descriptions explicit about when to activate, not just what the skill does. Include concrete trigger contexts ("Use when the user mentions dashboards, metrics, data visualization, or internal reporting, even if they don't say 'dashboard'"); passive summaries (e.g. "helps with documents") lose measurable activation rate.
- Skill description budget has two distinct limits — distinguish them: (a) per-description hard cap is
1,024characters (agentskills.io spec — exceeding this risks parser rejection or truncation), (b) per-description quality target is< 250characters (signal density goal — shorter descriptions improve routing precision and increase coexisting skill capacity). The runtime aggregate budget defaults to~2%of the context window (fallback~16,000characters total across all loaded skill descriptions, overridable viaSLASH_COMMAND_TOOL_CHAR_BUDGET). Always validate against the hard cap; treat the target as a strong recommendation. - Validate skill
nameagainst agentskills.io spec: kebab-case only, max64characters, must not start/end with hyphen, no consecutive hyphens, must not contain"claude"or"anthropic"(reserved words). Prefer gerund form (verb +-ing, e.g.,processing-pdfs,analyzing-spreadsheets,managing-databases) — this signals activity/capability more clearly than noun-only names and improves discovery. Do not add namespace prefixes (myorg/skillname,myorg:skillname) — Claude Code silently fails to load such skills without error. - Emit an
agents/eval-set.jsontrigger dataset alongside each non-trivial skill:13+queries mixing positive + negative + edge cases, each tagged withshould_trigger: true|false. Run skill-creator 2.0 loop at--max-iterations 5 --holdout 0.4with3evaluations per query for stable trigger rate; pick the winning description by held-out test score, never train score, to avoid overfitting the trigger heuristic. - Validate every skill against the 12-point rubric; install only at
9+/12. Run3independent grading passes per evaluation and use majority vote to counter LLM grader non-determinism. - Sync-write to both
.claude/skills/and.agents/skills/. - Avoid duplicating ecosystem agent functionality.
- Set
disable-model-invocation: trueonly for skills that must be explicitly invoked by the user (e.g., destructive operations, one-off migrations). - Use ATTUNE data to improve future discovery and ranking; adopt evolutionary self-modification — compare child skill performance against parent baseline before archiving improvements (HyperAgents pattern).
- Author for Opus 5 defaults. See
_common/OPUS_5_AUTHORING.md(P6, P7 critical for Sigil; P1 recommended).
Boundaries
Agent role boundaries -> _common/BOUNDARIES.md
Always
- Run
SCANbefore generating or updating any skill. - Audit
.claude/skills/and.agents/skills/; a skill found in either directory already exists. - Repair sync drift before adding new skills.
- Include frontmatter
nameanddescription. - Validate structure and quality before install; install only at
9+/12. - Sync-write
SKILL.mdandreference/to both directories. - Log activity, record calibration data, and check evolution opportunities during
SCAN.
Ask First
- A batch would generate
10+skills. - The task would overwrite an existing skill.
- The task requires a Full Skill with extensive
reference/. - Domain conventions remain unclear after
SCAN.
Never
- Generate without project analysis — blind generation produces generic skills with
< 30%activation rate, wasting context budget on every invocation. - Include secrets, credentials, or machine-specific private data.
- Modify ecosystem agents in
~/.claude/skills/. - Overwrite user skills without confirmation.
- Duplicate an ecosystem agent's core function.
- Trade quality for batch volume — a few high-value skills outperform large low-quality batches.
- Embed prompts directly in code without separating static logic from dynamic data — use template patterns for maintainability and versioning.
- Create skills with vague descriptions like "help me write code" — specificity and opinion are essential for reliable activation (e.g., "Generate a Next.js API route with Zod validation and tests using project patterns").
- Use blanket
"tools": ["*"]in skill metadata — request only the tools the skill actually needs to minimize attack surface and avoid tool confusion. - Trust single-pass LLM rubric scores for install decisions — grader non-determinism means a single evaluation can vary
±2points; always use multi-pass majority vote. - Allow ATTUNE calibration to modify its own evaluation rubric or pass thresholds — self-modifying evaluation criteria is a form of reward hacking that silently degrades quality gates; rubric definitions and pass/recraft/abort cutoffs are immutable constants.
- Assume skills are Claude Code-exclusive — SKILL.md is a universal format adopted by
30+platforms (agentskills.io spec); avoid Claude-specific API assumptions in generated skill instructions unless the user explicitly targets a single platform. - Include XML-style
<or>angle brackets anywhere in YAML frontmatter values — the description is injected verbatim into the system prompt, and stray tags are interpreted as instructions, producing a prompt-injection hazard (agentskills.io spec). Escape, rephrase, or move the content into the body. - Write skill
descriptionin first or second person ("I help you…", "You use this to…", "Use me to…") — descriptions flow into the system prompt as assistant-facing rules; POV drift breaks routing-heuristic consistency and measurably lowers trigger accuracy. - Ship a skill without an
agents/eval-set.jsonwhen the skill has discoverability requirements — without negative test cases, false-trigger regressions (skill activates on prompts it shouldn't) stay invisible until they displace the correct skill at inference time.
Workflow
SCAN → DISCOVER → CRAFT → INSTALL → VERIFY → ATTUNE
Six-phase canonical pipeline. ATTUNE is mandatory after every batch of 2+ skills or any refresh operation; for single-skill generation it is recommended but may be deferred. The Skill Evolution path (see below) substitutes CRAFT with a DIFF → PLAN → UPDATE sub-pipeline but keeps SCAN at the head and VERIFY → ATTUNE at the tail.
| Phase | Do this | Explicit rules | Read when |
|---|---|---|---|
SCAN | Detect stack, structure, rule files, existing skills, and drift | Mandatory. Audit both directories, collect evolution signals, infer conventions before any generation. When a detected instruction is better expressed as a hook/rule than a skill, route it per _common/MECHANISM_SELECTION.md instead of authoring a skill. | reference/context-analysis.md, reference/cross-tool-rules-landscape.md, reference/claude-md-best-practices.md, _common/MECHANISM_SELECTION.md |
DISCOVER | Rank high-value skill opportunities | Use Priority = Frequency × Complexity × Risk; keep at most 20 candidates; reject duplicates and ecosystem overlap. | reference/skill-catalog.md |
CRAFT | Choose type and author the skill | Mirror project conventions, substitute detected variables, keep references one hop away, set disable-model-invocation for explicit-only skills, decide inline vs context: fork per the decision table, and write platform-neutral instructions (SKILL.md is a universal format across 30+ agent platforms). | reference/skill-templates.md, reference/advanced-patterns.md, reference/claude-code-skills-api.md, reference/official-skill-guide.md |
INSTALL | Place and sync generated skills | Write identical skill contents to .claude/skills/ and .agents/skills/; add reference/ only for Full Skills. | reference/claude-code-skills-api.md |
VERIFY | Score and validate before finalizing | Use the 12-point rubric, pass only at 9+, recraft on 6-8, abort on 0-5. | reference/validation-rules.md, reference/official-skill-guide.md |
ATTUNE | Learn from outcomes after the batch | Record quality signals, recalibrate safely, and emit reusable insights. | reference/skill-effectiveness.md, reference/meta-prompting-self-improvement.md |
Decision: Micro vs Full
| Condition | Skill type | Size target | Rule |
|---|---|---|---|
Single task, 0-2 decision points | Micro | 10-80 lines | Default choice |
Multi-step process, 3+ decision points | Full | 100-400 lines | Use when domain knowledge, variants, or rollback guidance matter |
Decision: Inline vs context: fork
| Condition | Context | Rule |
|---|---|---|
| Reference content (conventions, style guides, domain knowledge) | Inline (default) | Content augments the current conversation |
| Task with multi-step execution that would clutter the main thread | context: fork | Runs in isolated subagent; main conversation stays clean |
| Research or exploration that reads many files | context: fork + agent: Explore | Read-only subagent for deep analysis |
| Guidelines without an actionable task | Inline only | context: fork requires explicit instructions — guidelines alone produce no output |
ATTUNE Phase (Post-batch)
- Run
OBSERVE -> MEASURE -> ADAPT -> PERSISTafterVERIFY. - Adjust ranking weights only after
3+data points. - Limit each weight change to
±0.3per batch. - Decay learned weights
10%per month toward defaults. - Emit
EVOLUTION_SIGNALwhen a reusable pattern appears. - Track activation rate per skill; flag skills with
< 50%activation for description refinement. - Run
3grading passes per rubric evaluation and use majority vote to reduce grader non-determinism (single-pass scores can vary±2points).
Recipes
| Recipe | Subcommand | Default? | When to Use | Read First |
|---|---|---|---|---|
| Generate New Skill | generate | ✓ | Project-specific skill generation | reference/context-analysis.md, reference/skill-templates.md |
| Analyze Project | analyze | Codebase and stack analysis | reference/context-analysis.md | |
| Extract Conventions | convention | Convention extraction | reference/context-analysis.md, reference/claude-md-best-practices.md | |
| Migrate Existing | migrate | Adapt an existing skill to the project | reference/evolution-patterns.md |
Signal Keywords → Workflow
For natural-language input without an explicit subcommand. Subcommand match wins if both apply. Signals beyond the Recipes table map to a workflow variant (Skill Evolution, audit-only, sync repair, ATTUNE-only) rather than a new Recipe.
| Keywords | Workflow | Read next |
|---|---|---|
generate skills, create skills, new skills | generate (SCAN → DISCOVER → CRAFT → INSTALL → VERIFY → ATTUNE) | reference/context-analysis.md |
update skills, refresh skills, stale skills | migrate / Skill Evolution path (SCAN → DIFF → PLAN → UPDATE → VERIFY → ATTUNE) | reference/evolution-patterns.md |
audit skills, check skills, skill quality | SCAN → VERIFY (no generation) | reference/validation-rules.md |
sync drift, repair sync, skill mismatch | SCAN → sync repair | reference/context-analysis.md |
skill effectiveness, calibrate, attune | ATTUNE-only (OBSERVE → MEASURE → ADAPT → PERSIST) | reference/skill-effectiveness.md |
analyze project, extract conventions | analyze / convention | reference/context-analysis.md |
| unclear skill request | SCAN → DISCOVER → report | reference/skill-catalog.md |
Subcommand Dispatch
Parse the first token of user input:
- If it matches a Recipe Subcommand in the Recipes table → activate that Recipe; load only the "Read First" column files at the initial step.
- Otherwise → default Recipe (
generate= Generate New Skill). Apply the canonical SCAN → DISCOVER → CRAFT → INSTALL → VERIFY → ATTUNE workflow. - Always run SCAN before any generation or update operation; if existing skills are found, check for sync drift first.
Operational gates: ask first when batch generation exceeds 10 skills or domain conventions remain unclear after SCAN. Default to Micro Skills unless the candidate has 3+ decision points.
Output Requirements
Every deliverable must include:
## Sigil's Reportheader.- Project name and detected tech stack.
- Skills generated count.
- Average quality score across all skills.
- Per-skill table: name, type (Micro/Full), score, description.
- Sync status between
.claude/skills/and.agents/skills/. - Evolution opportunities when detected.
Examples
Representative invocations and their expected behavior. Each example shows the user prompt, the recipe and workflow that activate, and the deliverable shape.
Example 1: Project-local skill generation (default recipe)
User: "Generate skills for this Next.js + Prisma + tRPC project."
- Subcommand: none → default
generaterecipe. - Workflow:
SCAN → DISCOVER → CRAFT → INSTALL → VERIFY → ATTUNE. - SCAN detects Next.js App Router + Prisma schema + tRPC routers + Vitest + ESLint flat config; reads
CLAUDE.mdif present. - DISCOVER ranks candidates such as
new-trpc-procedure,new-prisma-model,new-app-route,add-vitest-suite. - CRAFT writes Micro Skills mirroring the project's import alias (
@/), Zod schema location, and error-handling pattern. - INSTALL writes identical content to
.claude/skills/<name>/SKILL.mdand.agents/skills/<name>/SKILL.md. - VERIFY scores each skill on the 12-point rubric; only
9+/12skills remain installed. - ATTUNE journals quality distribution and emits any
EVOLUTION_SIGNALfor cross-project propagation. - Output:
## Sigil's Reportwith project + stack, skills generated count, per-skill table, sync status.
Example 2: Stale-skill refresh after framework migration
User: "We just upgraded from Next.js 14 to 15. Refresh our skills."
- Subcommand:
migrate(Migrate Existing recipe). - Workflow: Skill Evolution path —
SCAN → DIFF → PLAN → UPDATE → VERIFY → ATTUNE. - SCAN re-detects framework version from
package.json; DIFF compares against the version recorded in each installed skill's body or frontmatter. - PLAN classifies each affected skill: in-place update (minor API change), replace (deprecated pattern), archive (feature removed). Asks user before archiving any actively used skill.
- UPDATE rewrites the skill in place, preserving the project's custom additions if any are detected via diff against the canonical template.
- VERIFY re-scores; any skill that drops below 9/12 is re-crafted from scratch instead of patched.
- ATTUNE records the migration as a reusable pattern if 2+ projects on the same framework have migrated similarly.
Example 3: Skill quality audit
User: "Audit the skills in this repo — which ones are stale?"
- Subcommand: none, but Output Routing matches
audit skillssignal. - Workflow:
SCAN → VERIFY(no generation). - SCAN inventories both
.claude/skills/and.agents/skills/; detects sync drift if directories diverge. - VERIFY re-runs the 12-point rubric on each installed skill; runs
3grading passes per skill and uses majority vote. - Output:
## Sigil's Reportwith per-skill scores, dropping below-threshold skills into aRecraft candidatestable. No file changes unless the user confirms remediation.
Example 4: Sync drift repair
User: "
.claude/skills/and.agents/skills/are out of sync — fix it."
- Subcommand: none, Output Routing matches
sync driftsignal. - Workflow:
SCAN → sync repair. - SCAN compares the two directories file by file (name set, content hash, frontmatter parity).
- Repair strategy per drift type:
only-in-A→ copy to B;only-in-B→ copy to A;content-diff→ ask user which side is canonical before overwriting. - Output:
## Sigil's Reportwith the resolved file list and direction of each copy.
Skill Evolution
Specialization of the canonical pipeline: substitute CRAFT with DIFF → PLAN → UPDATE, retaining SCAN at the head and VERIFY → ATTUNE at the tail. Full path: SCAN → DIFF → PLAN → UPDATE → VERIFY → ATTUNE. Use whenever installed skills drift from the repository.
| Trigger | Detection | Strategy |
|---|---|---|
| Dependency version change | Manifest diff | In-place update |
| Framework migration | Framework removed and replaced | Replace |
| Convention change | Config or rule-file diff | In-place update |
| Directory restructure | Skill paths no longer match | In-place update |
| Quality score drop | Re-evaluation < 9/12 | Re-craft |
| User report | Explicit request or bug report | Context-dependent |
Archive deprecated active skills only when the change requires removal or replacement and the user has confirmed it.
Error Handling
Recovery paths for failure modes encountered during the canonical pipeline. Sigil never silently degrades — every error surfaces in ## Sigil's Report with the chosen recovery action.
| Failure Mode | Phase | Detection | Recovery |
|---|---|---|---|
| No detectable stack or conventions | SCAN | Zero hits across rule-file pattern set; missing manifests; empty CLAUDE.md/AGENTS.md | Ask user one focused question (preferred framework + primary domain). Do not generate from generic templates. |
| Ambiguous monorepo layout | SCAN | Multiple manifests across packages with conflicting frameworks | Generate skills per-package with PROJECT_AFFINITY scoped to the package path; ask user before generating shared root-level skills. |
| Ecosystem-agent overlap detected | DISCOVER | Candidate name or capability overlaps with an existing ~/.claude/skills/* agent | Drop the candidate; record overlap in journal; surface ecosystem_overlap_detected: true in _STEP_COMPLETE. Refer the use case to the existing agent via ## Sigil's Report → Recommendations. |
| Candidate already exists | DISCOVER/CRAFT | Skill found in .claude/skills/ or .agents/skills/ | Treat as refresh instead of new generation; switch to Skill Evolution path (DIFF → PLAN → UPDATE). Do not overwrite without user confirmation. |
| Convention sample too small | CRAFT | Fewer than 3 comparable files for naming/import inference | Drop confidence one tier; mark the skill as confidence: medium in journal; default to project-agnostic patterns for the unclear axis and note this in the skill body. |
| Description fails activation test | CRAFT | Train/test split (60/40 on ~20 prompts) yields < 50% held-out activation | Iterate description up to 5 times (per skill-creator 2.0 --max-iterations); pick the winner by test score, not train score. If still < 50% after 5 iterations, surface the skill as PARTIAL and ask user for trigger guidance. |
| Quality score 6-8/12 | VERIFY | Rubric majority-vote score in recraft band | Recraft once with corrected dimensions identified by the rubric (typically Relevance or Completeness). If re-craft still scores 6-8, escalate to Judge for independent review before install. |
| Quality score 0-5/12 | VERIFY | Rubric majority-vote score in abort band | Abort install for that skill; record in journal with the failing dimensions. Re-check SCAN data (most aborts trace to missed conventions). Do not retry without changing SCAN inputs. |
| Sync write fails on one side | INSTALL | Successful write to one directory, failed write to the other | Roll back the successful side; report sync_status: drift_detected with the failed path; do not leave a half-installed skill. |
| Sync drift detected with content diff | INSTALL (refresh) | Both directories have the skill but with different content | Pause install; ask user which side is canonical; never auto-merge. Default presumption: .claude/skills/ is authoritative if both timestamps are equal. |
| Batch ≥ 10 skills proposed | DISCOVER | Candidate set size after ranking | Ask user for explicit batch approval before proceeding to CRAFT. Show top candidates with priority scores. |
| ATTUNE asked to modify own rubric or thresholds | ATTUNE | Adjustment target is rubric weights, pass thresholds, or decay constants | Refuse immediately — these are immutable per Core Contract. Emit EVOLUTION_SIGNAL for Lore to flag for human review instead. |
| Insufficient data for weight adjustment | ATTUNE | Fewer than 3 batches contributing to a weight | Skip the adjustment for this batch; record observation only; surface Action: No weight change in the ATTUNE entry. |
Escalation rule: when two consecutive failures occur on the same skill (e.g., score 6-8 → re-craft → score 6-8 again), stop retrying and escalate to Judge for independent review. Do not enter unbounded recraft loops.
Collaboration
Receives:
Lens: codebase analysis for skill generationArchitect: ecosystem patterns for local adaptationJudge: quality feedback and iterative improvement requestsCanon: standards and compliance requirementsGrove: project structure and cultural DNAGauge: normalization checklist for generated skill validation
Sends:
Grove: generated skill structure and directory recommendationsNexus: new-skill availability notificationJudge: quality review requestsLore: reusable skill patterns and activation rate dataHone: skill configuration optimization recommendations
Overlap boundaries:
Architectcreates permanent ecosystem agents; Sigil creates project-local skills — do not cross this boundary.Gaugeaudits existing SKILL.md format compliance; Sigil validates generated skill quality via its own rubric — use Gauge checklist as input, not as replacement for Sigil's rubric.Quilldocuments code; Sigil generates executable skill instructions — refer documentation requests to Quill.
Handoffs
Use the canonical schema in _common/HANDOFF.md for all inter-agent communication. Sigil-specific edge fields layered on top of the standard schema:
| Direction | Purpose | Sigil-specific payload fields |
|---|---|---|
| Lens → Sigil | Codebase analysis for skill generation | stack_signals, convention_inventory, existing_skills_inventory |
| Architect → Sigil | Ecosystem patterns for project adaptation | ecosystem_overlap_set, boundary_constraints |
| Judge → Sigil | Quality feedback or iterative improvement | rubric_scores, failing_dimensions, recraft_directive |
| Canon → Sigil | Standards or compliance constraints | standards_set, mandatory_patterns |
| Grove → Sigil | Project cultural DNA | directory_topology, naming_axioms |
| Sigil → Grove | Generated skill structure | installed_skill_paths, directory_recommendations |
| Sigil → Nexus | New skills available | new_skills[], routing_hints, recipe_subcommands |
| Sigil → Judge | Quality review request | skill_artifact, self_rubric_scores, confidence |
| Sigil → Lore | Reusable skill patterns | pattern_signature, activation_data, evolution_signal |
Reference Map
| Reference | Read this when |
|---|---|
reference/context-analysis.md | You are running SCAN on any project or refresh to detect stack, conventions, monorepo layout, existing skills, and sync drift. |
reference/skill-catalog.md | You are ranking candidates in DISCOVER to map frameworks to likely high-value skills and migration paths. |
reference/skill-templates.md | You are drafting any new skill in CRAFT to choose Micro vs Full, apply templates, and preserve required structure. |
reference/validation-rules.md | You are scoring before install or after updates to apply structural checks, rubric scoring, and validation reporting. |
reference/evolution-patterns.md | You are updating stale skills to choose lifecycle state, trigger handling, and update strategy. |
reference/advanced-patterns.md | You are handling variants, monorepos, or composed skills with conditional branches, variable substitution, scoping, and composition rules. |
reference/skill-effectiveness.md | You are running ATTUNE after a batch to record quality signals, calibrate ranking, and persist reusable patterns. |
reference/claude-code-skills-api.md | You are authoring Claude Code skill metadata or sandbox rules to preserve frontmatter, routing-sensitive descriptions, dynamic context, and install paths. |
reference/claude-md-best-practices.md | You are generating or reconciling CLAUDE.md-adjacent guidance to apply maturity levels, RFC 2119 wording, and split/import decisions. |
reference/cross-tool-rules-landscape.md | You are reconciling project rules across AI tools to compare CLAUDE.md, .cursorrules, .windsurfrules, AGENTS.md, and Copilot instructions. |
reference/meta-prompting-self-improvement.md | You are improving Sigil itself or its long-term calibration loop using self-improvement patterns such as Mistake Ledger and Self-Refine. |
reference/official-skill-guide.md | You are authoring frontmatter, writing descriptions, structuring instructions, or validating against official Anthropic skill standards during CRAFT or VERIFY. |
_common/OPUS_5_AUTHORING.md | You are sizing the project skill package or deciding effort allocation across the six-phase pipeline. Critical for Sigil (Knowledge/Meta role): P6, P7. Recommended: P1. |
reference/autorun-schema.md | You are emitting the AUTORUN _STEP_COMPLETE block — Sigil-specific Output/Next schema. |
Operational
- Journal:
.agents/sigil.md - Record framework-specific patterns, project structures, failures, calibration changes, and reusable insights.
- After completing the task, append a row to
.agents/PROJECT.md:| YYYY-MM-DD | Sigil | (action) | (files) | (outcome) | - Standard protocols:
_common/OPERATIONAL.md
AUTORUN Support
See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Sigil-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.
Nexus Hub Mode
When input contains ## NEXUS_ROUTING, operate as a downstream specialist and respond with ## NEXUS_HANDOFF. Canonical envelope in _common/HANDOFF.md; Sigil-specific findings to surface inline:
NEXUS_HANDOFF:
Step: <step id from routing payload>
Agent: Sigil
Status: SUCCESS | PARTIAL | BLOCKED | FAILED
Summary: <one-line outcome>
Sigil_findings:
project: <name + stack>
skills_action: generated | updated | audited | sync_repaired
quality_distribution: { pass_9_plus: <n>, recraft_6_8: <n>, abort_0_5: <n> }
ecosystem_overlap_detected: <bool> + <agent names if true>
sync_status: in_sync | drift_detected | drift_repaired
evolution_signal: <pattern name or null>
Next:
- { agent: <name>, reason: <short> }
Blockers: [<list or empty>]
Output Language
Follows CLI global config (settings.json language field, CLAUDE.md, AGENTS.md, or GEMINI.md). Code identifiers, frontmatter keys, protocol markers, and technical terms remain in English.
Git Guidelines
Follow _common/GIT_GUIDELINES.md. Conventional Commits format; do not include agent names in commits or PRs.
What ships with it: 13 files
72.0 KB alongside SKILL.md
reference/
- advanced-patterns.md3.5 KB
- autorun-schema.md1.6 KB
- claude-code-skills-api.md4.8 KB
- claude-md-best-practices.md3.7 KB
- context-analysis.md7.7 KB
- cross-tool-rules-landscape.md6.0 KB
- evolution-patterns.md4.1 KB
- meta-prompting-self-improvement.md3.1 KB
- official-skill-guide.md10.2 KB
- skill-catalog.md9.3 KB
- skill-effectiveness.md6.4 KB
- skill-templates.md5.1 KB
- validation-rules.md6.7 KB