glossary

Definitions.

Quick reference for every opchain concept. New to skills? Start with skill and checkpoint, then trace links from there.

Skill

A single Markdown file that teaches Claude how to do one job — discover a product, audit a diff, ship a deploy.

Lives at .claude/skills/<name>/SKILL.md. The frontmatter declares triggers, phase, and required flags; the body is the prompt Claude reads on invocation. Skills are inert by themselves — a host loads them and routes to them by name or slash command. Claude Code (or Claude.ai with Skills enabled) discovers them natively; Codex and any other MCP client reach the same catalog through opchain's hosted MCP endpoint.

Skillchain

The full set of opchain skills working together as a pipeline — discover → spec → design → build → audit → ship → monitor → migrate → scale.

Skills hand work to each other across phase boundaries by writing to and reading from each other's checkpoints. The orchestrator routes invocations so you never have to name the next skill by hand.

Checkpoint

JSON state file each skill writes to .checkpoints/<skill>.checkpoint.json after a meaningful step.

Survives across sessions: phase, current step, progress table, blockers, decisions, next actions, and a two-sentence context primer. The next session reads them back so Claude picks up where you left off instead of re-asking everything.

Checkpoint protocol

The contract every skill obeys when it reads or writes a checkpoint — same JSON shape, same fields, same lifecycle.

Foundational skill, not invoked directly. Every other skill implements it so any skill can read any other's state without bespoke parsing. Validated in CI by npm run checkpoint:validate.

Orchestrator

Routing skill that decides which skill should run next based on what you said, what phase you're in, and what the open checkpoints look like.

Exposes /oc-ops — "where did I leave off?" Answers across every project on the machine. Reads all 18 checkpoints; writes its own pipeline state.

Tri-agent loop

A skill that runs three internal roles in sequence — Planner / Generator / Evaluator (or Auditor / Fixer / Verifier) — instead of one shot.

The Planner scopes the work, the Generator produces output, and the Evaluator critiques it against the spec. Failures kick back to the Generator. Five skills use this pattern: oc-app-architect, oc-code-auditor, oc-integrations-engineer, oc-api-dev, oc-ux-engineer.

Audit gate

A skill that must pass before oc-deploy-ops will ship to production — oc-bug-check, oc-code-auditor, or oc-security-auditor.

Deploy is blocked until every audit gate's checkpoint shows passed. Gates can be overridden manually, but the override is recorded in the deploy checkpoint.

Phase

One of the eight stages a project moves through — discover, spec, design, build, audit, ship, monitor, migrate.

Each skill declares which phases it owns in its frontmatter. The Skill Library and architecture diagram are both organised by phase. A project usually traverses them linearly; migrations re-enter the build phase from the migrate phase.

Slash command

Short verb users type in Claude (like /oc-discover, /oc-audit, /oc-deploy) that invokes a specific skill.

Each skill declares its commands in frontmatter. The flags registry can disable a verb globally with skills.command.<verb>.enabled. Subcommands inherit the parent verb's gate.

PM-MCP loop

Project-management tool integration through Claude's MCP protocol — Linear, Jira, GitHub Issues. The ticket becomes the thread of execution.

Four skills are PM-aware (oc-app-architect, oc-git-ops, oc-deploy-ops, oc-monitoring-ops). They read the ticket on entry, transition its state on phase change, and post structured comments at boundaries. Config lives in .opchain/pm.yaml.

Evaluator

The third leg of a tri-agent loop — critiques the Generator's output, lists what's wrong, and decides whether to send work back.

The Evaluator is opinionated by design: it cites the spec, names the failure modes, and grades the output. The Generator's next pass addresses each finding line-by-line.

Feature flag

Named toggle in the registry that gates a skill, command, surface, or experiment without a redeploy.

Source of truth is src/lib/flags/registry.js. Hierarchy is dot-namespaced: site.feature.*, site.ops.*.kill, skills.registry.<id>.enabled, skills.command.<verb>.enabled. PostHog supplies runtime overrides; the registry default is the fail-closed value.

Checkpoint rollup

Cross-skill snapshot the orchestrator builds by reading every .checkpoints/*.checkpoint.json on the machine.

Generated on demand by /oc-ops or npm run checkpoint:status. Useful when you're returning to a project after a week and want a one-page answer to "what was I doing?"

Scenario

Curated end-to-end opchain session you can replay in the /demo workbench.

Each scenario is a real transcript — orchestrator routing, skill invocations, generated artifacts. Used to show how the pipeline behaves under specific conditions (regulated environments, runtime PM, multi-platform deploys).

Next actions

List of recommended commands the orchestrator surfaces at the end of every skill invocation.

Read from the most recent checkpoint's next_actions array. The orchestrator merges across all open checkpoints so you see one ordered queue, not 18 separate ones.

Missing a term? Open an issue or send .