name: arc-verify description: Fact-check and red-team AI-drafted technical specs, RFCs, architecture comparisons, research reports, or long-form articles before publishing. Use whenever the user asks to fact-check, verify citations, catch hallucinations or outdated claims, audit a draft, or run an independent review (核查草稿、事实核查、发稿前检查、红队挑刺). Zero-dependency Python 3.9+ stdlib script bundled inside the skill. license: MIT compatibility: Requires Python 3.9+ (standard library only; no third-party packages or GitHub login required). metadata: author: mbabby version: "0.2.0" repository: https://github.com/mbabby/arc-verify
ARC Verify — Zero-Dependency Local Fact-Check & Red-Team Gate
Runs self-contained inside any repository using the bundled scripts/verify.py (Python 3.9+ standard library only). Separates drafting from an isolated red-team audit so hallucinated citations, dead links, stale spec claims, and unsupported leaps get caught before shipping.
3-Step Workflow
Step 1 — Auto-extract claims & primary sources from a draft
Run extract on any Markdown draft (or init for a blank skeleton) from this skill's directory, or pass the full path to scripts/verify.py:
python3 scripts/verify.py extract draft.md -o verify-report.json
- Tighten the extracted
claimsto the 3–5 highest-risk assertions. - Label each claim strictly as
fact(observable, falsifiable) orinference(analytical judgment). - Every
factmust cite ≥ 1 primary source (url,accessed_at, exact section/quote innote). - Do not hand-maintain
sources[].supports—runcheck --fixto sync bidirectional bindings automatically:
python3 scripts/verify.py check verify-report.json --fix --check-links --json
Step 2 — Dispatch an isolated read-only red-team reviewer
Launch a fresh, isolated subagent or separate session that does not see the drafting chain of thought. Pass it only verify-report.json with this exact brief:
Audit every claim in
verify-report.jsonagainst its primary sources. Find at least one plausible counterexample, version-staleness risk, RFC 2119 precision error, or unstated boundary condition. Returnverdict("pass"or"changes_requested"), concretenotes, and structuredcatches([{draft, caught, fix}]) for every real defect found.
Never let the drafting session self-approve review.verdict = "pass". If the reviewer returns changes_requested, fix the claims/sources and re-verify with the same isolated reviewer.
Step 3 — Enforce --strict gate & render shareable output
Once the independent reviewer returns pass, run the hard gate and render:
python3 scripts/verify.py check verify-report.json --fix --strict --check-links --max-age 90d --json
python3 scripts/verify.py annotate draft.md verify-report.json -o revision-checklist.md
python3 scripts/verify.py render verify-report.json --format html --output verify-report.html --strict
# Also supports: --format md | pr-comment | badge (use --no-footer to omit attribution)
Guardrails
- If a primary source returns 404 or cannot be verified, downgrade the claim to
unknownsor narrow its scope—never fabricate citations. - Record real red-team catches in
review.catchesso readers immediately see theBefore (AI Draft) → After (Verified)proof at the top of the rendered output.