
EVENT-DRIVEN AGENT RUNTIME
STRUCTURE IS THE DIFFERENCE.Reactive Skills.
Your agent has skills.
Give them a nervous system.
START WITH A TASK.
GET STARTED
Use a skill. Or create one.
Use a skill
Install a published skill, then ask your agent to use it.
Use the tdd-refactor skill to [describe your task].Install: npx skills add Reactive-Skills/skills --skill tdd-refactor
Create a skill with your agent
Ask your agent to create a skill with skill-manager. It asks about missing requirements first.
Use 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.Install: npx skills add Reactive-Skills/skills --skill skill-manager
Optional: connect your host with MCP.
From passive instructions to reactive state machines.
PROMPT → SIGNAL → GUARD → EVENT → DELIVERABLE
TDD Refactor: its real states and exit checks, from the registry
RED_SPEC, passed
exit_code != 0
GREEN_CODE, running
exit_code === 0
REFACTOR, waiting
signal AUDIT_PASSED
AUDIT_VERIFY, waiting
exit_code === 0
COMPLETED, waiting
terminal
01 / THE RUNTIME
Less context.
More control.
Each state hands the agent only its own instructions. Every next step is explicit and recorded; guards can demand evidence.
- ACTIVEEXPLORE
- PENDINGPLAN
- PENDINGEXECUTE
- PENDINGVERIFY
- PENDINGDONE
CURRENT PROMPT SLICE
Inspect the workspace. Identify constraints and define scope.
Example guard: prerequisites satisfied
- 01run startedexplore
02 / WHEN IT FAILS
The useful part appears when something fails.
A passing demo proves little. A rejected check shows that the workflow can stop, keep its state, and continue from evidence.
Interactive example
Refactor workflow
states/verify.md
Only active instructions are mounted.
exit_code == 0In this example, the agent reports a check result and the guard decides whether the workflow advances.
Mount
The agent receives only VERIFY instructions.
Reject
A failed check blocks progress and preserves state.
Resume
A passing result advances the workflow and records why.
03 / THE REGISTRY
22 workflows.
330 explicit states.
Published workflows you can install today. Each runs as explicit states; checks count the transitions that carry a guard.
- TDD Refactorexit code11 statesv2.0.8
- PR Triagepayload guard9 statesv1.0.5
- Release Notesexit code9 statesv1.1.2
- Security Scanexit code12 statesv1.0.3
- API Contractexit code16 statesv1.0.4
- Browser Verifierpayload guard10 statesv1.0.4
- Build Advisorpayload guard22 statesv1.0.5
- CI/CD Automationpayload guard9 statesv1.0.3
- Docs Architectexit code11 statesv1.0.7
- Experiment Loopsignal only17 statesv1.0.4
- JSM Workflowpayload guard20 statesv1.5.4
- Llm Eval Designsignal only16 statesv1.1.0
- Mutation Testerexit code9 statesv1.0.3
- Onboarding Mappayload guard8 statesv1.0.7
- PEP 8 Reviewpayload guard7 statesv1.0.3
- Product Managerexit code14 statesv1.0.6
- Research Design Plannerpayload guard34 statesv1.0.4
- Resume Managerexit code22 statesv2.10.5
- Skill Managerexit code24 statesv1.6.3
- Specflowpayload guard32 statesv1.2.0
- Systems Diagnosispayload guard9 statesv1.0.3
- Test Coverage Gateexit code9 statesv1.0.3
At each step the agent gets ~7% of a skill's instructions: the median across 22 registry skills of one state file versus SKILL.md plus every state file, measured in bytes at build time. SKILL.md loads once when the skill starts, and earlier steps stay in the conversation.
04 / BEFORE AND AFTER
From a document the model reads to a workflow you can watch.
SKILL.md
A passive skill
- Entire instruction manual dumped into context at once.
- Unrecorded internal state; the model guesses next actions.
- Completion claims without verifiable gates.
- Failures restart from scratch or cascade.
states/*.md
A reactive skill
- A scoped prompt slice for only the active state.
- An explicit state path; each move needs a declared signal, and guards can demand evidence.
- An immutable event store (JSONL + SQLite) for replay and audit.
- Resume from the last recorded state instead of starting over.
05 / DESIGNED FOR INTENT
Not a bigger prompt.
A better architecture.
Explore the concepts Context, on purpose.
Focused prompt slices replace the wall of instructions. Each state gives the agent only the instructions that step needs.
FOCUSED PROMPT SLICES
Progress, not guesswork.
Each move needs a typed signal; guards can demand evidence. The runtime commits the transition, not the model's best guess.
SIGNALS + GUARDS
A history that holds.
Immutable events capture what happened. Live deliverables turn a running process into inspectable work.
EVENTS + DELIVERABLES
06 / BOUNDARIES
Use it where state and evidence matter.
Reactive Skills is not required for every prompt. It earns its place when a workflow spans multiple steps, tools, or sessions.
- It does not make a model correct. It makes progress explicit and inspectable.
- It does not replace tests, reviews, or human decisions.
- It does not require a state machine for a one-off question or short script.
- It does not hide failed guards. Rejections remain visible in the run history.
07 / GET STARTED