Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/lykhoyda/rn-dev-agent/proof-capturegit clone --depth 1 https://github.com/Lykhoyda/rn-dev-agentWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00021 | $0.00945 |
| Opus 5 | $0.00010 | $0.00473 |
| Sonnet 5 | $0.00004 | $0.00189 |
| Haiku 4.5 | $0.00002 | $0.00094 |
Grade A, and why
proof-capture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Capture PR proof artifacts for: $ARGUMENTS
If $ARGUMENTS contains --strict, execute the strict controller workflow
below. Otherwise, load the capturing-proof skill and execute its Protocol
(Steps 1–9) inline in this parent session. Use the first argument as
<feature-slug> (ask the user if missing) and the remaining arguments as the
flow description. The skill owns the interactive rehearsal gate, named
Maestro-inexpressibility carve-out, validation checklist, PROOF.md, and
PR-BODY.md generation; do not duplicate or improvise that protocol here.
Strict controller workflow
Call proof_capture(action="contract") first and retain the returned schema
and digest as the receipt contract. The transition protocol is:
begin_rehearsal -> finish_rehearsal -> arm -> start_recording
-> storyboard operations and proof_step assertions
-> stop_recording -> validate -> finalize
Before begin_rehearsal, resolve and pass the complete immutable context:
- clean absolute Git project root and candidate root
- unique lowercase kebab-case run id
- fresh absolute receipt, video, contact-sheet, and screenshot paths beneath
docs/proof/<run-id>/ - issue identity, exact pull-request head SHA, proof class, acceptance mappings, fixture identity, and writer provider
- one learned action with its id, runtime revision, and exact action-file SHA-256
- at least three ordered storyboard steps whose source SHA equals clean
HEAD - for every step, canonical operation arguments and hash, exact
proof_steparguments and hash,verifyTestID, screenshot path, and a boundedassertionWaitMs
When the driven app is outside this plugin repository, candidateRoot is
mandatory and must identify the exact candidate checkout. Any candidate SHA,
packaged runtime, runner manifest, live MCP process, project root, Metro
session, port, device, or build-output mismatch is a hard stop.
Execute the transitions exactly:
- Call
begin_rehearsalwith the immutable context. - Call only
cdp_run_action(autoRepair=false, forceReload=false, proofReplay=true)during rehearsal, then callfinish_rehearsal. - Restore the declared start state, run its exact
proof_step, callarm, and repeat that assertion. - Call
start_recording; never calldevice_recorddirectly. - Execute each storyboard operation once in order and immediately follow it
with its declared
proof_step. Do not add undeclared tools. - Call
stop_recording, thenvalidate. - Give the mechanically accepted receipt and contact sheet to a
vision-capable reviewer whose provider differs from the writer. The review
must bind
writerProvider,evidenceSha256,resultHash, and the exact boolean verdicts required by the receipt schema. - Call
finalize(evidenceReview=...)and report only values from the accepted finalized receipt.
The controller requires managed Metro ownership, a serving root contained by
the bound worktree, a signed initial-bundle marker, exact device and install
bindings, and the source and dirty digest. Darwin receipts report
managed-sandbox-v1 when the Apple-signed absolute-path Seatbelt sandbox and
command-chain change detection are available; other hosts report unavailable.
The sandbox level is evidence, not a strict-proof precondition.
Do not record before the controller permits it, substitute screenshots for the
required video, repair or reload during rehearsal or recording, reuse rejected
artifacts, or report merge-ready evidence without a finalized accepted receipt.
When stage is uncertain, call status. On rejection, print the stable reason
code exactly, call discard, restore the clean start state, and begin a fresh
session with fresh destinations. Strict output contains only the accepted
receipt path, screenshot paths, local video path and SHA-256, contact-sheet
path, action and storyboard hashes, or the exact invalidation reason.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 85 lines · 0 tokens per session scan A da0650fc7ca8
proof-capture is a command published in the GitHub repository Lykhoyda/rn-dev-agent (11 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 945 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
dashboard-flow-auto
Toggle autonomous mode for a session's flow. Usage /dashboard:flow-auto.
dashboard-flow-abort
Abort the running flow on a session. Usage /dashboard:flow-abort.
dashboard-git-branches
List git branches for the current dir (current marked ). Runs locally, no LLM.
brainstorm
Command dispatcher for brainstorm.
discover
Command dispatcher for discover.
propose
Command dispatcher for propose.