Skip to content

The Skill System

All 102 skills are organized into 18 domain groups. The domain prefix determines which dispatch tier handles each skill — qm-* and gr-* route through the physics-gated tier; gov-* is always governance-reviewed.

18 skill domains — light

18 skill domains — dark

The public MCP surface exposes 20 instruction tools — high-level mission verbs like system-design, feature-implement, issue-debug. These are the only entry points consumers interact with.

Beneath each instruction tool is a skill pipeline: the instruction resolves which skills to invoke based on the request, orchestrates them in the right order (serial, parallel, or cascade), and synthesizes the results into a single coherent output.

flowchart LR
    A([Consumer]) --> B[Instruction Tool\ne.g. system-design, issue-debug]
    B --> C[Skill Pipeline\nskill-1 · skill-2 · skill-3 · ...]
    C --> D([Synthesized Output])
    style A fill:#334155,color:#e2e8f0,stroke:#475569
    style B fill:#7c3aed,color:#fff,stroke:#6d28d9
    style C fill:#1e40af,color:#fff,stroke:#1d4ed8
    style D fill:#15803d,color:#fff,stroke:#166534

Skills are never called directly by consumers. They are internal workflow assets.

A skill is a focused, single-purpose AI workflow step with:

  • A canonical ID (qm-superposition-generator, gov-prompt-injection-hardening, etc.)
  • A preferred model class (free, cheap, strong, reviewer)
  • A domain prefix that determines dispatch tier
  • A description of exactly when to invoke it
  • A source implementation under src/skills/<domain>/<skill-id>.ts
DomainPrefixCountGated?Purpose
Requirementsreq-4NoScope clarification, acceptance criteria, ambiguity detection
Architecturearch-4NoReliability, scalability, security, system design
Qualityqual-5NoCode analysis, performance, security, review, refactoring priority
Debuggingdebug-4NoAssistant, postmortem, reproduction, root cause
Documentationdoc-4NoAPI docs, README, generator, runbook
Evaluationeval-5NoDesign, output grading, prompt, prompt-bench, variance
Benchmarkingbench-3NoAnalyzer, blind comparison, eval suite
Workflowsflow-3NoContext handoff, mode switching, orchestrator
Governancegov-7NoData guardrails, model compatibility, policy validation, prompt injection hardening, regulated workflow design, workflow compliance
Orchestrationorch-4NoAgent orchestrator, delegation, multi-agent, result synthesis
Promptingprompt-4NoChaining, engineering, hierarchy, refinement
Researchsynth-4NoComparative, engine, recommendation, research
Strategystrat-4NoAdvisor, prioritization, roadmap, tradeoff
Resilienceresil-5NoClone/mutate, homeostatic, membrane, redundant voter, replay
Adaptiveadapt-5Yes (ENABLE_ADAPTIVE_ROUTING)ACO router, annealing, Hebbian router, Physarum router, quorum
Leadershiplead-7NoCapability mapping, digital architect, exec briefing, L9 engineer, software evangelist, staff mentor, transformation roadmap
Quantum Mechanicsqm-15Yes (ENABLE_PHYSICS_SKILLS)15 QM metaphor skills — coupling, coverage, style via quantum analogies
General Relativitygr-15Yes (ENABLE_PHYSICS_SKILLS)15 GR metaphor skills — technical debt, gravitational mass, refactoring paths

Three domains are gated behind environment variables:

Terminal window
# Physics skills (qm-* and gr-*, 30 skills total)
ENABLE_PHYSICS_SKILLS=true
# Bio-inspired adaptive routing (adapt-*, 5 skills)
ENABLE_ADAPTIVE_ROUTING=true

Ungated skills run by default. Gated skills silently fall back to conventional analysis unless the gate is open — they never fail, they degrade gracefully.

Skill prefix determines which dispatch tier in skill-handler.ts:

Prefix groupTier
qm-, gr-Physics tier
gov-Governance tier
adapt-Adaptive tier
Everything elseCore tier

Each tier can add validation, logging, or pre/post hooks specific to that domain.

Skills have a canonical ID (e.g., qm-superposition-generator) and may have legacy aliases for backward compatibility. The spec file src/skills/skill-specs.ts bridges legacy IDs to canonical ones. Always use canonical IDs in code; legacy aliases continue to dispatch but are not advertised.

The scripts/verify_matrix.py script enforces zero orphan skills — every skill must appear in at least one workflow in src/workflows/workflow-spec.ts. Run it as part of the quality gate:

Terminal window
python3 scripts/verify_matrix.py