/oka:oka-supervisorfrom oka
Govern long-lived processes declaratively with Oka's supervisor: author plans (services, jobs, watch/interval triggers), run `oka supervisor status|apply|check`, consume records and the status projection, or add an observe-only bridge for another repo. Use when daemons, MCP servers, watchers, models or schedules die silently, when wiring a new consumer repo, or when extending the supervisor itself.
Ships in oka. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Declare what should run; converge makes reality match once and exits.
ADRs: 0040
(engine) · 0041
(adoption ladder) · 0042
(resident, proposed). Guide: docs/guides/supervisor.mdx. Host toolchain: Dart ^3.14.0, Flutter
3.50 (tool/ci/toolchain_versions.yaml).
| Want | Do |
|---|---|
| See one project's state | oka supervisor status --json |
| Make reality match a plan once | oka supervisor apply plan.json [--dry-run] |
| CI drift gate (read-only) | oka supervisor check plan.json --json |
| Author in Dart | DesiredState(specs: [ComponentSpec(...)]) + Supervisor.converge |
| Author for apps/git/CLI | SpecCodec().decode(json) — plan schema v1, round-trip law |
| Read like an app does | projectStatus / statusJson — one projection everywhere |
maxRestarts per window, then giveUp;
reset = revision bump, never implicit.killPolicy: none
records are findings, never targets.supervisorFinding events in the
substrate JSONL.Plus one (ADR-0041): one ladder, two artifacts — plan JSON + record JSON everywhere; a rung changes transport and authority, never schema.
New self-contained tool dir in the consumer repo, path deps on
oka_supervisor + oka_core + resource_composition; an
observe-only provider whose start throws; converge(apply: false).
Never spawn, never signal — findings only. Landed examples:
ecsai_harness/tool/supervisor_beat, dart_flutter_packages/tool/supervisor_composition,
and the read-only codemap lanes projection in packages/oka_supervisor/tool/.
cd packages/oka_supervisor && dart run example/supervise_demo.dartdocs/guides/supervisor.mdx (60-second version + roadmap)packages/oka_supervisor/lib/src/ (spec, planner,
registry, converge, codec, spec_store, status, codemap_projection)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub arenukvern/oka --plugin oka3 skills in this plugin
/oka-kernelMaintain and extend Oka's kernel-graph pipeline (oka_dart_kernel, ADR-0032): runCompiler-shaped pipeline with transform hooks, gen_snapshot loading units, kernel-level deferred-ization, the per-unit delta reload lane, and the gate harness (G1b, G2, G2.5, G3, G4 plus the real-app G2.5-real, G3-real, G3-B gates and the cross-platform LIVE-E2E live-patch session). Use when touching packages/oka_dart_kernel, working with pkg/kernel/pkg/vm from a pinned SDK checkout, debugging gen_snapshot, frontend_server, or VM-service reload behavior, or changing how Oka partitions Dart code into chunks/units./oka-maintenanceMaintain Oka's Dart CLI and platform packages: composable builds, cache and session APIs, dependency resolution, architecture refactoring, release/docs contracts and no-Gradle Android validation. Use when changing Oka itself, reviewing capability boundaries or preventing mixed-responsibility files.