Skip to content
Apothem
Reference

Artifact Registries

Complete enumeration of Apothem ecosystem artifacts: commands, rules, delegated workers, hooks, skills, output styles, artifact evolution discipline, and empty-artifact-class declarations.

Canonical registry of the artifact cohorts. This document carries the full enumerations of commands, rules, delegated workers, hooks, skills, output styles, artifact-evolution discipline, and empty-artifact-class declarations; the substantive tables live here. The project source layout provides the condensed always-on view.

1. Commands

Forty-five commands are registered from src/apothem/commands/*.md (non-recursive) — the full, always-current per-command reference is the generated Commands reference, and the thirteen-stage /research pipeline (/research-ideate through /research-disseminate) plus the /audit and /fortress wrapped-workflow orchestrators are enumerated there in full. Every command is a first-class registered file; the /plan orchestrator only chains the already-first-class plan stages and carries no stage logic of its own, so there is still no monolithic dispatcher and no subcommand grouping. The non-plan, non-research audit and elevation commands:

CommandFileDescription
/a11y-auditsrc/apothem/commands/a11y-audit.mdAccessibility audit of a deployed web surface against WCAG 2.2 AA, walked page by page
/architecture-reviewsrc/apothem/commands/architecture-review.mdArchitectural-integrity review of a repository against its design artifact and the canonical layer discipline
/code-auditsrc/apothem/commands/code-audit.mdCross-file forensic code audit at repository-corpus scope across six adversarial phases
/code-reviewsrc/apothem/commands/code-review.mdPer-file code-quality review across src/, scripts/, and tools/ with per-file findings
/dependency-auditsrc/apothem/commands/dependency-audit.mdPer-dependency audit (direct + transitive) across the repository's manifest files
/docs-reviewsrc/apothem/commands/docs-review.mdDocumentation review of every Markdown page under the host docs surface
/elevatesrc/apothem/commands/elevate.mdLift every project surface to current SOTA via independent critique agents, then hand off to /freshify
/evalsrc/apothem/commands/eval.mdModel-agnostic language-model evaluation campaign built on the eval-harness skill
/freshifysrc/apothem/commands/freshify.mdRender a project fresh, trace-free, and production-ready; every destructive step confirmation-gated
/github-deploy-freshsrc/apothem/commands/github-deploy-fresh.mdGitHub specialization of /freshify producing a single fresh first-version release on origin/main
/github-deploy-nextsrc/apothem/commands/github-deploy-next.mdRun one full next-release cycle end-to-end on the GitHub release surface
/perf-auditsrc/apothem/commands/perf-audit.mdAudit against the per-class performance budgets in src/apothem/rules/performance-discipline.md
/release-readinesssrc/apothem/commands/release-readiness.mdPre-release gate sweep: quality matrix, dependency risk, and release-engineering checks
/researchsrc/apothem/commands/research.mdMulti-source research engagement with parallel source discovery and extraction
/security-auditsrc/apothem/commands/security-audit.mdSecurity posture audit against OWASP ASVS, OWASP Top 10, and CWE Top 25
/supply-chain-auditsrc/apothem/commands/supply-chain-audit.mdSupply-chain audit against SLSA, Sigstore, and SBOM standards
/test-suitesrc/apothem/commands/test-suite.mdBehavior-first test authoring and execution against the host's ratified test framework
/threat-model-auditsrc/apothem/commands/threat-model-audit.mdThreat-modeling audit against STRIDE and PASTA across architecture, data-flow, and trust boundaries
/ux-reviewsrc/apothem/commands/ux-review.mdDeveloper-experience review: CLI ergonomics, install flow, help text, and error messages

Plan-pipeline commands

The plan pipeline ships as eight first-class commands — one per stage, each invocable directly as /plan-<stage> from its own registered file at src/apothem/commands/plan-<stage>.md.

CommandFileBehavior
/plan-specsrc/apothem/commands/plan-spec.mdRefines free-form prose into a spec-grade _spec/spec.md; every open question routes through the structured-inquiry channel rather than silent defaulting; --quick writes a single lightweight plan file under <project-root>/.apothem/plans/
/plan-generatesrc/apothem/commands/plan-generate.mdGenerates a complete Master Plan Suite from authored prose/requirements
/plan-reviewsrc/apothem/commands/plan-review.mdForensic audit of an existing suite — prose fidelity, internal consistency, gap analysis — refined through interactive Q&A
/plan-designsrc/apothem/commands/plan-design.mdProduces an architectural-design artifact at the suite's _inputs/design.md, validated by the fifteen-bar pre-emission gate before promotion
/plan-auditsrc/apothem/commands/plan-audit.mdClosed-loop audit and remediation across the full spec → generate → review cycle, looping until zero findings remain or an iteration cap with a defined retreat is hit
/plan-executesrc/apothem/commands/plan-execute.mdExecutes a phase with conformity checking and quality gates — default medium effort, overridable per phase via an effort: field in PHASE.md frontmatter; halts at each phase boundary by default, with --no-pause (or the profile enforcement.continuous_execution flag) opting into continuous phase-to-phase advancement
/plan-statussrc/apothem/commands/plan-status.mdRead-only progress report against task, phase, and artifact dimensions
/plan-amendsrc/apothem/commands/plan-amend.mdAmends, extends, refines, or reverts an existing suite without destroying prior resolved decisions; re-derives only the affected downstream artifacts

Operator-workflow & orchestrator commands

Three commands enter a deep procedure rather than carry stage logic of their own: two operator-workflow entry points (each backed by a sibling skill of the same name) plus the thin plan-pipeline orchestrator.

CommandFileDescription
/workflowsrc/apothem/commands/workflow.mdGeneral-purpose workflow-harnessing entry point (/goal <<mission>>): drives genuinely-independent multi-agent dynamic workflows under named return contracts, refute-by-default verification before any finding survives, beyond-mission remediation disclosed per the change ledger, and deterministic output; multi-agent dispatch and auto-execution are opt-in / confirmation-gated. Backed by the workflow skill
/projectifysrc/apothem/commands/projectify.mdChat-app Project elevation: authors the Description / Instruction / knowledge-Files deliverables for a Claude Project, Custom GPT, or Gem to current SOTA conventions, within a measurable per-platform context budget; deterministic output, opt-in autonomy. Backed by the projectify skill
/plansrc/apothem/commands/plan.mdThin orchestrator chaining the first-class plan stages (plan-spec → plan-generate → plan-review → plan-design (conditional) → plan-execute), resuming each from the prior stage's Handoff Manifest; carries no stage logic — chaining is opt-in / confirmation-gated (--auto chains continuously)

2. Rules

Behavioral rules live under src/apothem/rules/ — a small always-on core plus a larger path-filtered set (demand-loaded on matching artifact touches). The complete per-rule enumeration — with the Scope (always-on / path-filtered) and Implements columns — is the source-generated reference/rules.mdx, refreshed from src/apothem/rules/*.md by the reference-inventory generator; consult it for the authoritative current list.

CM-21 facet delineation (three rules co-implement CM-21 with distinct non-overlapping facets): creative filters & cognitive identitycognitive-identity.md; generation methodology (writing & re-writing protocols)clean-room-generation.md; planning/review techniquesplanning-techniques.md. Each rule owns its facet; the others refer out.

Interactive-questions schema pointer. The canonical structured-inquiry invocation schema — required fields, field-summary table, two executable worked examples (single-select at §2.1 and multi-select at §2.2) — lives at src/apothem/rules/interactive-questions.md §2 "Structured-Inquiry Shape". Downstream artifacts may copy §2.1 or §2.2 as invocation templates; the three-segment option-annotation schema that every option's description body carries is specified in the same file's §3.

3. Delegated Workers

Twelve persistent worker definitions ship with the ecosystem; the orchestration rule's team patterns dispatch to them. Each definition lives at the file path listed below.

Worker              File                                       Pattern         Model Policy
------------------- ------------------------------------------ --------------- -------------
Codebase Explorer   src/apothem/agents/codebase-explorer.md   Research        host-selected
Convention Auditor  src/apothem/agents/convention-auditor.md  Audit           host-selected
Dependency Auditor  src/apothem/agents/dependency-auditor.md  Audit           host-selected
Fact Checker        src/apothem/agents/fact-checker.md        Audit           host-selected
MCP Builder         src/apothem/agents/mcp-builder.md         Generation      host-selected
Memory Auditor      src/apothem/agents/memory-auditor.md      Audit           host-selected
Prompt Evaluator    src/apothem/agents/prompt-evaluator.md    Quality         host-selected
Quality Gate        src/apothem/agents/quality-gate.md        Quality         host-selected
Refactor Surgeon    src/apothem/agents/refactor-surgeon.md    Implementation  host-selected
Research Scout      src/apothem/agents/research-scout.md      Research        host-selected
Security Scanner    src/apothem/agents/security-scanner.md    Audit           host-selected
Test Runner         src/apothem/agents/test-runner.md         Quality         host-selected

4. Hooks

Every registered hook command uses Claude Code's exec-form command shape (command: "python" plus an args array) and invokes either -m apothem.hooks.dispatch or -m apothem.conformity.gate. The dispatcher imports src/apothem/hooks/lib/resolve_root.py for ecosystem-root resolution and delegates to two helpers that sit alongside it under src/apothem/hooks/ itself: src/apothem/hooks/emit_hook_context.py formats event payloads for the assistant, and src/apothem/hooks/session_start_bootstrap.py carries the SessionStart preparation work the dispatcher hands off when it routes that event. The hook messages surfaced to the assistant when the supported events fire live as Markdown context files under src/apothem/hooks/messages/ — one per event variant: postcompact.md, precompact.md, pretooluse-bash.md, pretooluse-bash-plan-guard.md, pretooluse-conformity.md, pretooluse-dependency-guard.md, pretooluse-edit.md, pretooluse-edit-header-guard.md, pretooluse-eval-guard.md, pretooluse-notebookedit.md, pretooluse-write.md, pretooluse-write-header-guard.md, pretooluse-write-plan-guard.md, sessionstart.md, stop.md. Each routed context file is loaded by the dispatcher when its event fires and its context argument is registered in settings.json; three context files (pretooluse-conformity.md, pretooluse-dependency-guard.md, pretooluse-eval-guard.md) ship as available variants without a current settings.json routing entry.

Event             Automates                Timeout  Purpose
----------------- ------------------------ -------- --------------------------------------------------
SessionStart      CM-14                    30s      Read memory, check plan state, report readiness
PreCompact        CM-24 §2.3               30s      Verify state externalized before compaction
PostCompact       CM-24 §6.2               30s      Restore working state after compaction
Stop              CM-14/CM-22/CM-24/CM-26  60s      Session-end externalization
PreToolUse        CM-7/CM-22               10s      Write/Edit/NotebookEdit validation — codebase-isolation, frontmatter, license-header, and plans-locality checks plus the conformity gate. Bash validation — git artifact isolation and plans-locality
PostToolUse       —                        10s      Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event
UserPromptSubmit  —                        10s      Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event
Notification      —                        10s      Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event

Convention. Rows where Automates is are accepted by dispatch.py but not wired in settings.json; the Timeout column shows the dispatch-level default that applies if and when the event is later wired.

Timeout-value canonical block. This table's Timeout column is the single source of truth for hook timeout values across the ecosystem. The settings.json per-hook timeout fields, the mirror tables in site/content/docs/reference/settings-reference.mdx § Hook Events and site/content/docs/reference/artifact-schema.mdx § Hooks Pipeline, and the rule guidance at src/apothem/rules/persistent-conventions-vigilance.md § Convention Awareness all derive from this column. Future timeout revisions land here and the consumers re-derive at next reference.

Settings Template Review Cadence

settings.json is the single Claude Code template. Every hook command uses exec form instead of a shell-specific wrapper, so cross-OS behavior is reviewed inside one file rather than by diffing paired templates. New permission entries, hook events, timeouts, and status messages land in that file atomically.

5. Skills

Reusable skills live under src/apothem/skills/, one folder per skill.

SkillPathUser-InvocablePurpose
Dependency Upgradesrc/apothem/skills/dependency-upgrade/YesChangelog-reviewed, pinned, gate-verified dependency upgrades
Dev Toolkitsrc/apothem/skills/dev-toolkit/YesDisciplined engineering loops — structured debugging, test-first red-green-refactor, vertical-slice decomposition, requirement-to-issue breakdown
Diagram Authoringsrc/apothem/skills/diagram-authoring/YesAuthor → validate → render → export pipeline for declarative diagrams and data visualizations (SVG / PNG / PDF)
Document Authoringsrc/apothem/skills/document-authoring/YesApproval-gated long-form document authoring (outline → draft → review) with verified citations and a deterministic typeset compile
Ecosystem Auditsrc/apothem/skills/ecosystem-audit/YesBlind audit of the Apothem configuration tree
Eval Harnesssrc/apothem/skills/eval-harness/YesReproducible language-model evaluation harnesses with explicit pass criteria
Incident Runbooksrc/apothem/skills/incident-runbook/YesRunbook authoring as Trigger → Diagnosis → Action → Verification → Rollback
Multi-Source Researchsrc/apothem/skills/multi-source-research/YesFanned-out, cross-verified, cited research reports
Plan Suitesrc/apothem/skills/plan-suite/NoMaster template consumed by the /plan pipeline stages
Projectifysrc/apothem/skills/projectify/YesChat-app Project elevation — the Description / Instruction / knowledge-Files deliverables to SOTA conventions within a measurable per-platform context budget
Prompt Engineeringsrc/apothem/skills/prompt-engineering/YesEval-validated structured prompt design
Refactor Extractsrc/apothem/skills/refactor-extract/YesBehavior-preserving extraction refactors
Secret Rotationsrc/apothem/skills/secret-rotation/YesSafe retirement and replacement of exposed credentials
Source Synthesissrc/apothem/skills/source-synthesis/YesReconciles a fixed source set into one cited synthesis
Research Suitesrc/apothem/skills/research-suite/NoCanonical research-suite surface — the ten rigor mandates (R1–R10), the thirteen-stage research lifecycle, and the Principal-Investigator Framework; resolved by path from the /research pipeline stages
Surgical Guardsrc/apothem/skills/surgical-guard/YesMinimal-diff anchor-bounded editing paired with a reactive, diff-based post-edit quality guard
Test Authoringsrc/apothem/skills/test-authoring/YesBehavior-first test authoring with Arrange-Act-Assert discipline
Vuln Triagesrc/apothem/skills/vuln-triage/YesSeverity-classifies security advisories and routes remediation
Workflowsrc/apothem/skills/workflow/YesGeneral-purpose multi-agent workflow harnessing with adversarial refute-by-default verification and disclosed beyond-mission remediation

Convention. Each row's Path is a folder; the entry point is the SKILL.md file inside it — e.g. src/apothem/skills/plan-suite/SKILL.md — per the folder-with-SKILL.md skill convention declared in the project source layout.

6. Output Styles

Four output styles live under src/apothem/output-styles/.

StyleFilePurpose
Defaultsrc/apothem/output-styles/default.mdEcosystem-default style — unified output conventions, planning-content routing, and the file-authoring contract
Default Architectsrc/apothem/output-styles/default-architect.mdSenior-architect tone — analytical, direct, concrete-driver citations
Concise Engineersrc/apothem/output-styles/concise-engineer.mdShort-form engineering output — minimum prose, code-first
Forensic Auditorsrc/apothem/output-styles/forensic-auditor.mdReview-class posture — finding-by-finding, scorecard-shaped output, falsifier per finding

7. Artifact Evolution

Mandatory. When a reusable pattern, correction, or technique recurs (2+ instances in a session, or noted in memory as recurring), the ecosystem must evolve. The cycle has four steps: Detect the pattern during any interaction; Search existing skills, rules, commands, hooks, and memory for overlap; Act by evolving the matching artifact in-place (update procedure, anti-patterns, scope) or creating a new one when the concern is genuinely orthogonal; Validate that cross-references still resolve and dependent artifacts remain consistent. Prefer refinement over creation — new artifacts compound maintenance surface. See src/apothem/rules/persistent-conventions-vigilance.md §2+§4 for the full protocol including the closed catalogue of gap-detection triggers across every artifact class.

8. Empty Artifact Classes

Surfaces declared in the ecosystem registry but intentionally empty until an activation trigger fires. Each row records the reserved surface, the file or directory that scaffolds the class, and the trigger that promotes the row from empty-attest to populated.

ClassScaffoldStatusActivation trigger
MCP servers(no scaffold yet)empty-attestFirst MCP server installation under the user-config root

Empty-attest is a positive declaration, not a gap. The class's scaffold (when one exists) is the canonical no-op artifact that tracks the activation moment. Promotions from empty-attest to populated land in the relevant registry section atomically with the scaffold's first non-empty value.

On this page