Get started
Quickstart
Use a published skill or create one with your agent. Start with a prompt; manual runtime commands are optional.
Use a skill or create one
Choose Use a skill for an existing workflow, or Create a skill with your agent for a new one. Install the skill, then copy the prompt into your coding agent.
Prerequisites
Node.js 22.13 or newer is required for the runtime. Use a coding agent with shell access, such as Claude Code or Codex.
node --versionExpected output: v22.13.01. Use a skill
Choose a workflow from the registry. Here is tdd-refactor as an example.
Install only skills you trust
Skills can run guard code with the full privileges of your account. The runtime does not sandbox that code. Review guards before installing or updating a skill; static vetting is optional. See SECURITY.md for the trust model.
npx skills add Reactive-Skills/skills --skill tdd-refactor -gThen ask your agent:
Use the tdd-refactor skill to [describe your task].First, expect a runtime compatibility check before the task begins. You are done with setup when the agent starts your task. Continue in the same conversation.
2. Create a skill with your agent
Ask your agent to use skill-manager. It asks about missing requirements, shows a plan, and builds after you approve.
npx skills add Reactive-Skills/skills --skill skill-manager -gUse skill-manager to create a reactive skill for [describe your task]. Ask about missing requirements, show me the plan, then build and validate it after I approve.The first response checks prerequisites and asks for missing details. Review the file plan before approving it. You are done when the approved files are created and the agent reports their validation results.
Before authoring
Skill-manager must run from a registered authoring source, the folder where editable skill files live, with a compatible runtime. It asks you to select a source when needed and reports unavailable prerequisites without installing or configuring them. See source configuration.
Run a skill yourself (optional)
For direct runtime inspection, you can run these commands yourself. They are optional: the agent uses the runtime when you ask it to use a skill. Start an installed skill with invoke and follow the returned state instructions.
npx -y @reactive-skills/axi invoke tdd-refactorExpected output: invoke:
skill_id: tdd-refactor
current_state: INIT
run_id: <run-id>
event_id: <event-id>
prompt:
raw_prompt: "...# tdd-refactor - INIT\n\nVerify access to the reactive runtime..."
allowed_tools: none
exit_conditions: "2"Optional: inspect local runtime selection
During INIT, Reactive Skills checks local MCP and AXI capabilities and versions, selects one compatible runtime, and reuses it for the run. AXI remains the runtime interface, and npx is its zero-install launcher when a direct command is not installed.
npx -y @reactive-skills/axiExpected output: count: 1 skill total
skills[1]:
-
"skills[0]":
name: tdd-refactor
initial_state: INIT
path: ~/.agents/skills/tdd-refactorOptional: scaffold and customize a skill yourself
Generate a modular reactive skill directory. The init command scaffolds a verified baseline containing runtime bootloader states (INIT, SETUP_MCP), a starter domain state, strict execution safeguards (BYPASS_DETECTED), and initial prompt templates.
npx -y @reactive-skills/axi init my-feature-flowExpected output: ok: created skill my-feature-flow at skills/my-feature-flow/Scaffolding gives you the execution harness; customization shapes your domain workflow. You replace the placeholder states in skill.yaml with your chronological phases (e.g. RED_SPEC → GREEN_CODE → REFACTOR), author isolated prompt slices in states/*.md, and attach deterministic guard expressions to gate progress.
Two customization approaches
You can edit skill.yaml and states/*.md directly in your editor, or use an agent equipped with skill-manager to conduct an interactive Socratic discovery interview and auto-generate verified states.
Optional: inspect the statechart & guards
Inspect the state machine hierarchy, valid transition paths, and deterministic guard expressions in concise TOON format before executing.
npx -y @reactive-skills/axi inspect skills/my-feature-flowExpected output: skill:
name: my-feature-flow
initial_state: INIT
state_count: "6"
transition_count: "5"
transitions[5]{from_state,signal,target,guard}:
INIT,RUNTIME_READY,START,""
INIT,SETUP_REQUIRED,SETUP_MCP,""
SETUP_MCP,SETUP_COMPLETE,START,payload.exit_code == 0
SETUP_MCP,SETUP_FAILED,ERROR,payload.exit_code != 0
START,DONE,DONE,""Optional: emit signals to advance state
Advance the state machine by dispatching typed signals. Deterministic guards evaluate context facts before transitions fire; rejected guards output immediate remediation actions.
npx -y @reactive-skills/axi emit my-feature-flow RUNTIME_READYExpected output: emit:
skill_id: my-feature-flow
signal: RUNTIME_READY
transitioned: "true"
previous_state: INIT
current_state: STARTOptional: read the event ledger
Every signal, guard evaluation, and state transition appends to the authoritative event store (.reactive/skills/<skill>/events.jsonl + SQLite).
npx -y @reactive-skills/axi events 5 my-feature-flowExpected output: count: 5 events shown
events[5]{seq,timestamp,type,state}:
"2",<timestamp>,STATE_VISITED,INIT
"3",<timestamp>,SIGNAL_EMITTED,INIT
"4",<timestamp>,GUARD_EVALUATED,INIT
"5",<timestamp>,STATE_TRANSITION,START
"6",<timestamp>,STATE_VISITED,STARTOptional: watch runs from inside Claude Code
The bq-vitals mod shows the active skill and state in the Claude Code status line, draws a live map of the state machine with /flow, and prints the path a finished run took with /flow-plan. It only reads the event ledger and the skill statechart.
/plugin install bq-vitals --marketplace Reactive-Skills/reactive-skillsOptional: connect MCP for host-integrated workflows
When the host uses MCP tool integration, run the stdio server from the same package. The MCP transport exposes the same reactive runtime through host-managed tools.
npx -y @reactive-skills/axi mcpRuntime selection
INIT selects a compatible local transport and persists it for the run. AXI provides compact, line-oriented TOON shell output, while MCP provides host-integrated tools. The npx command launches AXI without a separate installation.