proof-agent
Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues.
Best use case
proof-agent is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues.
Teams using proof-agent should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/proof-agent/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How proof-agent Compares
| Feature / Agent | proof-agent | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Proof Agent
Independent adversarial verification for AI work. The worker and the verifier are always separate agents — self-verification is not verification.
## When to Verify
Verify automatically when:
- Subagent changed **3+ files**
- ANY changed file matches: `*auth*`, `*secret*`, `*permission*`, `Dockerfile`, `*.env*`
- User explicitly asks for verification
Skip verification for:
- Formatting-only changes (whitespace, linting fixes)
- `.gitignore` changes
## How to Verify
1. **Spawn an independent verifier subagent** — the worker CANNOT verify its own work
2. Give the verifier ONLY: the original request, files changed, and approach taken
3. Do NOT share the worker's self-assessment or test results
4. The verifier must run its own commands and provide evidence
5. If no subagent ran (manual changes or user says "verify this"), use `git diff` output as the approach summary
### Verification Prompt
Use this prompt when spawning the verifier subagent:
```
VERIFICATION REQUEST
## Original Request
{what was asked}
## Files Changed
{list of files}
## Approach Taken
{what the worker did — or git diff summary if no subagent ran}
## Your Job
You are an independent verifier. The worker who made these changes CANNOT verify their own work — only you can assign a verdict.
### Review Checklist
1. Correctness: Does the code actually do what was requested?
2. Bugs & Edge Cases: Regressions, unhandled errors, missed cases?
3. Security: Vulnerabilities, exposed secrets, permission issues?
4. Build: Does it build/compile/lint cleanly?
5. Facts: Are any claims, version numbers, or URLs verifiable? Check them.
### Rules
- For EVERY check, include the actual command you ran and its output
- Do NOT take the worker's word for anything
- Do NOT give PASS without running at least 3 verification commands
- You have NO information about the worker's test results — verify independently
## Verdict
Assign EXACTLY ONE verdict as a markdown heading (### PASS, ### FAIL, or ### PARTIAL):
### PASS
All checks passed. Every claim backed by command output.
### FAIL
Issues found. List each as a bullet (- file, line, what's wrong, severity: critical/major/minor).
### PARTIAL
Some passed, some unverifiable. List both with evidence.
```
## Verdicts
- **PASS** — All checks passed with evidence
- **FAIL** — Issues found. Report to user with specifics. Retry up to 3 times if fixable.
- **PARTIAL** — Some checks passed, others couldn't be verified. Report what's unverifiable.
## After Verification
- **PASS**: Report summary to user, proceed
- **FAIL**: Report issues to user. If auto-fixable, spawn worker to fix, then re-verify (max 3 attempts)
- **PARTIAL**: Report to user, let them decide whether to proceed
## Scripts
### `scripts/verify.sh [base-ref]`
Auto-extracts git diff, changed files, commit messages, and sensitive file detection. Outputs a filled verification prompt ready to send to the verifier subagent. Default base: `HEAD~1`.
```bash
bash scripts/verify.sh # verify last commit
bash scripts/verify.sh main # verify all changes since main
```
### `scripts/fact-check.sh <file> [file2 ...]`
Extracts and validates factual claims from files:
- URLs → HTTP status check
- npm packages → registry version lookup
- GitHub Actions → tag/SHA existence check
```bash
bash scripts/fact-check.sh src/content/articles/en/my-article.md
bash scripts/fact-check.sh .github/workflows/*.yml
```
Returns exit code 1 if any checks fail.
## Configuration
Projects can customize via `proof-agent.yaml` in the repo root (loaded by `proof_agent/config.py`):
```yaml
thresholds:
min_files_changed: 3
always_verify:
- "**/*auth*"
- "**/*secret*"
- "**/*permission*"
- "**/Dockerfile"
- "**/*.env*"
never_verify:
- "**/.gitignore"
retry:
max_attempts: 3
escalate_on_max: true
```
## Key Principle
> The worker and verifier must be separate agents. Self-verification is not verification.Related Skills
mathproofs-claw
Skill for interacting with the Lean-Claw Arena to prove math theorems using Lean 4.
trendproof
Query TrendProof (trendproof.dev) for keyword trend velocity scores. Returns velocity score, trend direction (rising/stable/falling), monthly search volume, CPC, peak window, and action hint. Supports single keyword analysis, batch comparison (up to 5 keywords ranked by velocity), and related keyword discovery. Use when a user asks about keyword trends, whether a topic is rising or falling, content timing, wants to compare niches, or needs similar keyword suggestions.
proof
A local-first cryptographic toolkit. Executes zero-knowledge proof (ZKP) generation, circuit compilation via SnarkJS/ZoKrates, and formal verification analysis on local files. Requires local toolchains. No external API or cloud data transmission.
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
botlearn-healthcheck
botlearn-healthcheck — BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.