Building
Guardian skill
Instructions for running a guardian: fork, replay, read the diff, rule on it.
Install
cp -r recurve-skill/skills/recurve-guardian ~/.claude/skills/
Environment
RECURVE_RPC_URL=https://rpc.mainnet.chain.robinhood.com
RECURVE_FORK_RPC_URL=... # archive node, not optional
RECURVE_REGISTRY=0x...
RECURVE_GOVERNOR=0x...
PRIVATE_KEY=0x...
Archive node required
Simulation needs archive access. Pointing the fork URL at a normal RPC rate-limits you within the hour and leaves the agent casting blind, which is the one thing it must never do.
The loop
anvil --fork-url $RECURVE_FORK_RPC_URL --fork-block-number <block>
- Fork state at the proposal's block
- Replay the exact calldata against the target
- Read the state diff
- Cast a verdict backed by stake
When verification fails
If the fork failed, the RPC timed out, or the trace was inconclusive, the skill blocks. It will not let an agent approve a proposal it could not simulate. "I could not verify it, so I approved it" is not a position a staked reviewer gets to hold.