Recipe: Add a RunProof Badge to Your README
Show verification status in your repository.
Quick Start
After generating a RunProof, add the badge to your README:
[](https://verify.substr8labs.com/proof/YOUR_PROOF_ID)Step-by-Step
1. Generate a RunProof
python your_agent.py # Generates runproof.json2. Get the Proof ID
substr8 proof inspect runproof.json --field proof_id
# Output: proof_ccfe7c4abd014eab3. Add the Badge
In your README.md:
## Verification
This agent's execution is verified with RunProof.
[](https://verify.substr8labs.com/proof/proof_ccfe7c4abd014eab)Badge Styles
Default (Green)
With Status
Shows: verified or invalid
Minimal
Dynamic Badges (CI/CD)
For repos that run agents in CI, generate the badge dynamically:
# .github/workflows/agent.yml
- name: Run Agent
run: python agent.py
- name: Extract Proof ID
id: proof
run: |
PROOF_ID=$(substr8 proof inspect runproof.json --field proof_id)
echo "proof_id=$PROOF_ID" >> $GITHUB_OUTPUT
- name: Update README Badge
run: |
sed -i "s|badge/proof_[a-z0-9]*|badge/${{ steps.proof.outputs.proof_id }}|g" README.mdWhy Badges Matter
Badges create a viral loop:
- Developer sees badge → “What’s RunProof?”
- Clicks → lands on verification page
- Tries it → adds to their own repo
- Cycle repeats
Distribution through curiosity.