SKILLS · ARCHITECTURE · v2 · MOBILE · v2.1

opchain skills ecosystem

Checkpoint-driven pipeline · 36 skills · 6 phases · 11 tri-agent · 3 audit gates · spine ordinals · v1.7 Seams & Signals · v1.8 quality-gate rail · v1.9 assurance rail · v2.0 learning rail · v2.1 Jev rail (experimental preview)

Foundation · cross-cutting
PROTOCOL oc-checkpoint-protocol
JSON schema written by every skill: phase · progress · blockers · next_actions · wire 1.1: cost · eval_scores · telemetry_handle. Single source of truth — no database, no vendor lock-in.
ORCH oc-orchestrator
/oc-ops · routing · cross-project status · gate enforcement.
RAIL Instrumentation rail · v1.6
oc-cost-ops + oc-telemetry-ops · NEW · gated · tap every band ↓

1 Discover Phase 1 of 6

1 oc-reverse-spec Specialist · Workflow /oc-rev-spec · /oc-rev-full

Reverse-engineer existing codebases into structured spec documents. The output feeds oc-app-architect as a Phase 2 baseline so the oc-orchestrator never starts from a cold context. Optional — greenfield projects skip this band entirely.

CPphase · codebase_scan · spec_output

2 Plan Phase 2 of 6

oc-scale-ops Advisor /oc-scale · perf · capacity chains-to ↓ ↑ advisory oc-stack-forge Advisor /oc-stack · /oc-stack-decide chains-to ↓ ↑ advisory 2 oc-app-architect Tri-agent · Orchestrator Generator / Evaluator · QA ≥ 7/10 /oc-app · /oc-discover · /oc-spec /oc-design · /oc-build · /oc-launch chains to: stack-forge · ux-engineer chains-to ↓ ↑ advisory oc-migration-ops Specialist /oc-migrate · schema · platform oc-modularize-ops Specialist · gated ops · NEW v1.7 /oc-modularize · → migration ↓ spine 2 → 3 (build)

oc-app-architect anchors the spine, handing platform decisions to oc-stack-forge, taking advisory input from oc-scale-ops on capacity, and routing oc-migration-ops when a live system needs a schema, framework, or platform change. The plan checkpoint is the master record downstream skills consume. In v1.5, /oc-discover gained an “AI app?” branch that routes to the new AI phase.

CPphase · stack_decision · capacity · migration_plan
Pack fabric v1.5 · 36

oc-stack-forge owns the registry; 6 skills consume it. Source: skills/oc-stack-forge/packs/<id>/pack.yml

LANGUAGES 13
buncsharpdenoelixirgojavakotlinphppythonrubyrustswifttypescript
FRAMEWORKS 9
dotnet-aspnetlaravel-phpphoenixremixsolidspring-javaspring-kotlinsveltekitswiftui
MOBILE 4
kotlin-androidflutterios-swiftuireact-native-expo
DEPLOY 6
app-storeaws-amplifyplay-storeherokunetlifyrailway
VECTOR-DB · NEW v1.5 4
pgvectorpineconesupabase-vectorsturbopuffer
consumed by oc-stack-forge · oc-app-architect · oc-migration-ops · oc-api-dev · oc-deploy-ops · oc-rag-forge View /coverage →

3 AI Phase 3 of 6 · NEW

↑ “AI app?” branch off oc-app-architect oc-claude-api Specialist · Advisor /oc-claude-api · model routing NEW · v1.5 · gated oc-rag-forge Tri-agent · Designer/Builder/Eval /oc-rag · vector DB · eval NEW · v1.5 · gated oc-agent-forge Tri-agent · Planner/Builder/Eval /oc-agent · Agent SDK NEW · v1.5 · gated oc-prompt-ops Specialist · prompt-as-code /oc-prompt · eval · regression NEW · v1.5 · gated ↓ checkpoints → oc-app-architect → build

v1.5 adds an AI-native phase. When /oc-discover flags an AI app, oc-app-architect chains to four new skills — oc-claude-api (model routing · caching · tool use · migration), the tri-agent pair oc-rag-forge (vector DB · embeddings · hybrid search · retrieval eval) and oc-agent-forge (Agent SDK · subagents · tool budgets · agent eval), and oc-prompt-ops (prompt versioning · eval datasets · regression). All four ship gated behind skills.registry.<id>.enabled and return checkpoints to oc-app-architect; oc-rag-forge consumes the vector-db packs.

CPphase · model_routing · retrieval · agent_topology · prompt_versions

4 Build Phase 4 of 6

oc-ux-engineer Tri-agent · Planner / Generator / Eval /oc-uxe · /oc-design branches → oc-dash-forge oc-dash-forge Specialist · Tufte-density UI /oc-data-forge · /dashboard parallel build track ↓ PARALLEL · API + INTEGRATIONS oc-api-dev Tri-agent · OpenAPI / GraphQL first-party API surface branches → oc-code-auditor oc-integrations-engineer Tri-agent · Planner / Builder / Tester /oc-integrate · OAuth · webhooks branches → oc-code-auditor ↑ ALL 4 RETURN CHECKPOINTS to oc-app-architect (Phase 2) oc-signal-forge Tri-agent · Designer/Builder/Eval /oc-signal · frame · verify · wire ↓ spine 3 (ship)

Three tri-agent loops (oc-ux-engineer · oc-api-dev · oc-integrations-engineer) plus the dense-UI specialist (oc-dash-forge) work in parallel. oc-ux-engineer hands data-heavy screens to oc-dash-forge; oc-api-dev produces an OpenAPI/GraphQL contract that the deploy-time drift gate later enforces. All four feed checkpoints back to oc-app-architect.

CPphase · ux_specs · api_surface · integrations · dashboards

5 Ship Phase 5 of 6

oc-bug-check Audit gate · pre-commit type · lint · secrets · vuln /oc-bugcheck 3 oc-git-ops Specialist · Workflow /oc-git · /oc-commit · /oc-pr · /oc-push auto-runs oc-bug-check pre-commit ↑ ↓ MUST PASS BEFORE PROD oc-code-auditor Tri-agent · gates prod Auditor · Fixer · Verifier /oc-audit · score ≥ 7/10 branches → oc-security-auditor oc-security-auditor Audit gate · posture review STRIDE · OWASP · TLS · CSP /oc-security · /oc-threat-model 3rd of 3 gates 3 GATES PASSED → RELEASE 4 oc-release-ops Specialist · Workflow plan draft bump announce ship activates at release boundaries only /oc-release · changelog · semver · ticket hand off 5 oc-deploy-ops Orchestrator · Workflow /oc-deploy gates → prod → rollback runs the pre-deploy audits oc-fleet-ops Specialist · gated ops · NEW v1.7 /oc-fleet · ↔ deploy peer ↓ spine 5 → 6 (monitor)

Three audit gates: oc-bug-check at git commit (held by the enrolled pre-commit hook), and oc-code-auditor (code-level findings) and oc-security-auditor (STRIDE/OWASP/infra), which oc-deploy-ops runs as its pre-deploy audits before the production sequence. The deploy command itself is held by the deploy wrapper; the enforcement map says where each gate holds. At release boundaries the spine threads oc-git-ops → oc-release-ops → oc-deploy-ops; oc-release-ops produces the changelog · version bump · release ticket · announcement, then hands off (it is not itself a deployer). v1.5 taught oc-code-auditor prompt-injection and tool-use safety rules for AI apps.

CPphase · audit_score · posture · branch · pr · release_tag · deploy_status

6 Monitor Phase 6 of 6

6 oc-monitoring-ops Specialist · observability /oc-monitor · uptime · SLO + oc-api-dev SLO/drift manifest

oc-deploy-ops hands off to oc-monitoring-ops once production is green. oc-monitoring-ops also receives oc-api-dev's SLO + drift manifest so contract violations alert the same way uptime errors do. Incident response runbooks and postmortems live here.

CPphase · slo_status · alert_rules · incident_log
Quality-gate rail v1.8 · PR gate
COMMIT · 1 gate oc-bug-check type · lint · secrets · vuln /oc-bugcheck PR · 2 new gates · v1.8 oc-docs-forge docs packet · README · changelog · ADR /oc-docs · pre-PR & release oc-repo-ops PR-readiness gate · drift · hygiene /oc-repo · CI evidence holds the PR DEPLOY · 2 gates code-auditor · security-auditor tri-agent ≥7/10 · STRIDE · OWASP · CSP both must pass → prod /oc-audit · /oc-security

v1.8 reframes every gate onto one boundary timeline. The new piece is the PR rail: oc-git-ops chains to oc-docs-forge (writes the docs packet — README, changelog, ADR, PR body) then oc-repo-ops (repo hygiene + generated-file/catalog drift), which fails closed when the repo is not ready. It is a sequence oc-git-ops follows — unlike the commit gate, no hook enforces it. The commit gate (oc-bug-check) and the two deploy gates (oc-code-auditor, oc-security-auditor) are unchanged — they also appear in the Ship band above.

CPdocs-forge + repo-ops write phase · pr_docs · readiness · drift
Assurance rail v1.9 · 4 new
PLAN + BUILD · 2 new · v1.9 oc-qa-ops Specialist · test-pyramid strategy /oc-qa · coverage · contracts · loadplan writes .opchain/qa.yaml → oc-bug-check oc-data-ops Tri-agent #9 · pipeline design + build /oc-data-ops · contracts · build · verify .opchain/data-contracts/*.yaml DEPLOY GATE · +2 rows · v1.9 oc-compliance-ops Standing register · evidence bundles /oc-comply · register · evidence · gaps inert without .opchain/compliance.yaml oc-security-hardening Remediation operator · per-deploy gate /oc-harden · baseline · fix · csp verifies .opchain/hardening.yaml both rows are conditional — still 3 audit gates

v1.9 lands four skills as one cross-cutting rail rather than four more boxes in the phase bands. oc-qa-ops decides which tests exist — split out of oc-bug-check, which still executes them at the commit gate — and writes .opchain/qa.yaml; a coverage-budget miss warns by default, and only coverage.enforce: fail makes it block. oc-data-ops is the 9th tri-agent (Designer / Builder / Contract-Verifier), invoked by oc-app-architect when discovery surfaces a data-heavy backend; the warehouse and queue choice still comes from oc-stack-forge. oc-compliance-ops keeps a standing control register and is inert until a project adds .opchain/compliance.yaml. oc-security-hardening is the execution half of a pair — oc-security-auditor assesses, this one executes. The last two each attach a conditional row to oc-deploy-ops' existing audit gate, so the ecosystem still has three gates, not five.

CPall four write phase · qa.yaml · data-contracts/*.yaml · compliance.yaml · hardening.yaml
Learning rail v2.0
v2.0 · SHARED LEARNING RUNTIME shared runtime scored outcomes · stable event IDs history → .opchain/learning/ duplicate IDs do not add results Outcome Scorecard shared runtime · explicit commands recurring weak results at N ≥ 3 learning scorecard report oc-hindsight Tri-agent · governed operational memory Curator · Lesson Gen · Retrieval Eval /oc-hindsight · approved lessons ★ external reviewer signature oc-evolve Tri-agent · governed behaviour change Reflector · Rule Gen · Adversarial Eval /oc-evolve · reviewed rules · expires ★ external reviewer signature context query · approved advisory data

Learn from completed work. Opchain 2.0 contains 36 skills, including oc-update, Hindsight and Evolve. The shared runtime stores scored outcomes in .opchain/learning/, checks recurring weak results and returns approved lessons as advisory context. Evolve uses recorded task runs and an externally trusted reviewer signature. Your team configures provider access, reviewer keys and separate evaluator sessions. Context is delivered through explicit commands.

CPshared runtime · scored history · task evidence · external review
Jev rail v2.1 · experimental
v2.1 EXPERIMENTAL · JEV ROUTER explicit /oc-* → no Jev call route-prompt.cjs UserPromptSubmit hook redact → request · repo fail open · 8 s budget Jev request 1 Choice over skills + none Nouls: acts · procedure · prose gate = mean ≥ 0.5 · jev-1.13.0 Jev request 2 rerank the top 3 fits::<id> Noul · verb::<id> Choice top probability ≥ 0.35 decision core 7: fits ≥ 0.6 others: fits ≥ 0.9 evidence allowlist · 12 skills p = min(top, fits, gate) default opt-in SHADOW route + log inject nothing LIVE opt-in since GO 2026-11-05 (one injected line) EVAL LOOP route log + outcome records route-eval outcomes → thresholds JEV · PLANNED v2.2 1 verifier FAIL triage 2 Stop handoff detection 3 semantic gate rows shadow only · never blocks

experimental preview, shadow by default, live opt-in since GO (2026-11-05)

Route each prompt to one skill, and log it. With your own TYPESAFE_API_KEY, a UserPromptSubmit hook sends the redacted prompt, a repo summary and the active checkpoint's next action to TypeSafe Jev; the conversation tail is added only with OPCHAIN_ROUTE_CONTEXT=1 (off by default). The seven core pipeline skills route at fits ≥ 0.6; the other allowlisted skills need 0.9. Shadow mode, the default, only logs. Live mode (OPCHAIN_ROUTE_MODE=live), which injects one line naming the Skill tool, the skill and the verb, is an opt-in since the go/no-go recorded a GO on 2026-11-05. Whether it changes skill use is not measured yet. It never blocks.

2.1TypeSafe Jev jev-1.13.0 · offline eval: 574 labelled past prompts
Appendix A · Cross-cutting

Checkpoint Protocol — sync topology

Skills use a shared checkpoint protocol to save progress. The updater preserves existing checkpoints. The oc-orchestrator both reads from and writes to each — bidirectional sync. Diagram below shows 6 representative connections; the same topology extends to all 36 skills.

CP oc-reverse-spec CP oc-app-architect CP oc-git-ops oc-orchestrator /oc-ops · routing · sync reads + writes all CPs CP oc-deploy-ops CP monitor-ops CP oc-code-auditor
{
  "skill": "oc-app-architect",
  "phase": "build",
  "progress_table": { "discover": "complete" },
  "context_primer": "2-sentence summary...",
  "blockers": ["waiting on API key"],
  "next_actions": ["/oc-git-sync"],
  "cost": { "total_usd": 1.81 },
  "eval_scores": [{ "rubric": "oc-bug-check" }],
  "telemetry_handle": { "enabled": false }
}
Appendix B · Cross-cutting

Orchestrator — routing decision flow

When a request enters /oc-ops, the oc-orchestrator reads source-skill checkpoint state, decides the next skill, and dispatches. All three states shown together (desktop version animates each in sequence).

source skill writes CP · requests next request oc-orchestrator read source CP match next_actions to registry enforce gates → dispatch dispatch target skill activates · writes new CP

Legend

Connections · markers · skill types
N
Spine ordinal
Numbered mint pill on the 6 primary-spine skills marks handoff position. Replaces directional arrows between bands — vertical reading order is the sequence.
1 oc-reverse-spec → 2 oc-app-architect → 3 oc-git-ops → 4 oc-release-ops → 5 oc-deploy-ops → 6 oc-monitoring-ops
Chains to
A documented handoff: the calling skill's own instructions bring the next one in while it runs, so you don't invoke it separately. A convention the assistant follows — not a background trigger.
e.g. oc-app-architect → oc-stack-forge · oc-app-architect → oc-ux-engineer
Advisory
Non-blocking recommendations passed via checkpoint. The receiver can accept or override. No hard dependency.
e.g. oc-scale-ops → oc-app-architect · oc-migration-ops ↔ oc-app-architect
Audit gate
A gate holds only where something checks it: oc-bug-check at git commit once the repository is enrolled; the other two when oc-deploy-ops runs its pre-deploy audit. Three gates in this ecosystem: oc-bug-check (pre-commit), oc-code-auditor (code-level), oc-security-auditor (posture).
score ≥ 7/10 · STRIDE clean · zero critical CVEs
CP · checkpoint indicator
Solid ember dot in each skill's top-right corner indicates the skill writes a checkpoint. The CP badge marks checkpoint participation — desktop version shows full CP badge on each rect; mobile uses the dot for legibility.
.checkpoints/<skill>.checkpoint.json · phase · progress · blockers · next_actions
ORC · oc-orchestrator indicator
Faded ember dot adjacent to the CP dot indicates the skill participates in /oc-ops routing. All 36 skills carry ORC — every skill is route-addressable by the oc-orchestrator.
/oc-ops · cross-project routing · gate enforcement · "what should I do next"
Skill types
Tri-agent
Skills running an internal Planner / Generator / Evaluator loop. The Evaluator scores output (≥ 7/10 to advance); failure triggers Generator retry until threshold or max iterations.
oc-app-architect · oc-ux-engineer · oc-api-dev · oc-integrations-engineer · oc-code-auditor · oc-rag-forge · oc-agent-forge · oc-signal-forge · oc-data-ops (v1.9)
Advisor
Non-orchestrating skills that return recommendations or analysis. No tri-agent loop. Results fed back via checkpoint; caller can override.
oc-stack-forge · oc-scale-ops
Standalone specialist
Single-purpose skills that produce a concrete artifact and hand it off. No internal loop, no orchestration of others.
oc-reverse-spec · oc-dash-forge · oc-git-ops · oc-release-ops · oc-migration-ops · oc-monitoring-ops · oc-cost-ops · oc-telemetry-ops (v1.6) · oc-qa-ops (v1.9)
Workflow / oc-orchestrator
Skills that drive structured, sequential pipelines. oc-app-architect orchestrates the build; oc-deploy-ops orchestrates the ship; oc-orchestrator routes across projects.
oc-app-architect · oc-deploy-ops · oc-orchestrator
Audit gate
Quality enforcement skills that block pipeline progression until thresholds are met. Three in this ecosystem cover three layers: pre-commit, code-level (also tri-agent — see yellow stroke on oc-code-auditor), security posture.
oc-bug-check · oc-code-auditor · oc-security-auditor
v1.9 assurance rail
Gold rail chrome marks the four skills added in v1.9. The accent is chrome only — every panel inside the rail keeps its own archetype colour (specialist mint · tri-agent gold · gate rose). Two clusters: plan/build strategy, and two conditional rows on the existing deploy gate.
oc-qa-ops · oc-data-ops · oc-compliance-ops · oc-security-hardening
v2.0 learning rail
Opchain 2.0 has 36 skills. Its shared runtime records scores, returns approved lessons and tests proposed rules. The star marks an external review requirement.
oc-hindsight · oc-evolve · Outcome Scorecard · shared runtime
v2.1 Jev rail (experimental preview)
A UserPromptSubmit hook asks TypeSafe Jev which one skill owns the prompt and logs the answer (shadow mode, the default). Live mode, one injected line, is an opt-in since the go/no-go recorded a GO on 2026-11-05. It never blocks.
route-prompt.cjs · Jev request 1 · request 2 · tiered decision

Reference

Pipeline patterns at a glance

Spine Ordinals

  • Mint pills on the 6 spine skills mark the handoff sequence
  • 1 oc-reverse-spec → 2 oc-app-architect → 3 oc-git-ops → 4 oc-release-ops → 5 oc-deploy-ops → 6 oc-monitoring-ops
  • Direction is implicit from vertical reading order
  • Branch handoffs noted inline as captions:
  •   oc-ux-engineer → oc-dash-forge
  •   oc-api-dev / integ-eng → oc-code-auditor
  •   oc-code-auditor → oc-security-auditor

Tri-Agent Patterns

  • oc-app-architect: Generator / Evaluator
  • oc-ux-engineer: Planner / Generator / Evaluator
  • oc-api-dev: Designer / Builder / Conformance
  • oc-integrations-engineer: Planner / Builder / Tester
  • oc-code-auditor: Auditor / Fixer / Verifier
  • oc-rag-forge: Designer / Builder / Evaluator (v1.5)
  • oc-agent-forge: Planner / Builder / Evaluator (v1.5)
  • oc-signal-forge: Designer / Builder / Evaluator (v1.7)
  • oc-data-ops: Designer / Builder / Contract-Verifier (v1.9)
  • oc-hindsight: Curator / Lesson Gen / Retrieval Eval (v2.0)
  • oc-evolve: Reflector / Rule Gen / Adversarial Eval (v2.0)

Audit Gates (3)

  • oc-bug-check — pre-commit type/lint/secret scan
  • oc-code-auditor — code-level Auditor/Fixer/Verifier
  • oc-security-auditor — STRIDE / OWASP / posture assessment
  • oc-deploy-ops runs the pre-deploy audits before it ships; the deploy wrapper holds the deploy command
  • v1.9 adds 2 conditional rows to the deploy gate — oc-compliance-ops evidence, oc-security-hardening manifest-verify. Still 3 gates.
  • v2.0 adds ★ human gates on promote and adopt — not audit gates. Still 3.

Checkpoint Protocol

  • JSON files at .checkpoints/<skill>.checkpoint.json
  • Keys: phase · progress_table · context_primer · blockers · next_actions
  • All 36 skills share checkpoint access (no ACL)
  • 2.0 · shared history and task evidence · checkpoint wire 1.1
  • Resume order: own → upstream → novice mode
  • Framework-agnostic — no platform lock-in

Routing Key

  • Bus pattern: 1 trunk + N branches for fan-outs/fan-ins
  • Width: spine 2px · secondary 1.8px · advisory 1.5px · gate 2px
  • Style: solid for spine handoffs · dashed for chains-to / advisory / gate
  • Bidirectional: paired arrows when the receiver also sends back (advisor pattern)
  • Mobile note: vertical reading order replaces left-right gutter routing from desktop