Coding agents drift when fed monolithic prompt manuals. Reactive Skills gives non-deterministic models an operating system: mounting only the active state's isolated prompt slice, enforcing transitions with verifiable code guards, and committing every run to an immutable event ledger.
npx -y @reactive-skills/axi state incremental-implementationExecute unit test suite against slice. Enforce exit_code == 0 with code guard.
assert test_suite.exit_code === 0 && diff < 150✓Passive markdown instructions force models to self-police. Reactive skills enforce explicit state machines — verifiable guards, prompt isolation, and immutable event logs.
Every reactive transition follows a deterministic pipeline: prompt slice, signal, guard evaluation, state transition, event ledger entry, and read projection.
Prompt slice
Isolated instruction for the active state — prevents context bloat.
Signal
Typed message dispatched via AXI or MCP to advance the machine.
Guard
Deterministic condition evaluated against context facts before transition.
State transition
Atomic advance to the verified target state or substate.
Event
Immutable record appended to the SQLite and JSONL ledger.
Deliverable
Read-model projection rendered deterministically from event history.
Each state receives only its prompt slice. Agents focus on one bounded phase instead of wasting context window on an entire workflow manual.
Explicit expressions (exit codes, schema checks, context facts) gate every transition. Zero state advances on subjective completion claims.
Every signal, guard check, and transition appends to an immutable ledger (JSONL + SQLite). Replay runs, inspect failures, and resume without restarts.
Drive skills through a compatible local AXI or MCP transport. AXI offers token-lean shell output, while MCP connects host tool panels.
Direct CLI execution with TOON-encoded output (~40% fewer tokens than JSON), deterministic exit codes, and inline recovery actions on every turn, with zero daemon overhead.
Explore the AXI contractStdio tool server for GUI IDE panels like Cursor, Claude Desktop, and VS Code. Exposes state inspection, signal dispatch, and projections over JSON-RPC through host-managed tools.
Configure MCP serverScaffold, inspect, and advance a skill in seconds through local-first AXI or MCP selection. AXI uses no background daemon, and MCP is available through a single flag.
npx -y @reactive-skills/axi init my-feature-flow