一键导入
proof-agent
Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | proof-agent |
| description | Adversarial verification of AI-generated work. Spawns an independent verifier to check for false claims, broken code, and security issues. |
Independent adversarial verification for AI work. The worker and the verifier are always separate agents — self-verification is not verification.
Verify automatically when:
*auth*, *secret*, *permission*, Dockerfile, *.env*Skip verification for:
.gitignore changesgit diff output as the approach summaryUse 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. Facts: Are any claims, version numbers, or URLs in the diff verifiable?
5. Evidence: Cite the exact diff lines or snippets that support the verdict
### Rules
- Review the actual diff and changed file list
- Cite exact files, lines, and snippets for every issue you report
- Do NOT take the worker's word for anything
- Do NOT claim builds, tests, or runtime behavior passed unless you independently verified them
- If evidence is incomplete, use PARTIAL instead of guessing
## Verdict
Assign EXACTLY ONE verdict as a markdown heading (### PASS, ### FAIL, or ### PARTIAL):
### PASS
All checks passed. Every claim backed by specific evidence from the review.
### 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.
scripts/verify.sh [base-ref] [--force]Auto-extracts git diff, changed files, commit messages, and sensitive file detection. Outputs a filled static-review prompt ready to send to the verifier subagent. Default base: HEAD~1.
bash scripts/verify.sh # verify last commit
bash scripts/verify.sh main # verify all changes since main
bash scripts/verify.sh main --force
scripts/fact-check.sh <file> [file2 ...]Extracts and validates factual claims from files:
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.
Projects can customize via proof-agent.yaml in the repo root (loaded by proof_agent/config.py):
thresholds:
min_files_changed: 3
always_verify:
- "**/*auth*"
- "**/*secret*"
- "**/*permission*"
- "**/Dockerfile"
- "**/*.env*"
never_verify:
- "**/.gitignore"
retry:
max_attempts: 3
escalate_on_max: true
The worker and verifier must be separate agents. Self-verification is not verification.