BriefCheck — AI skill for Claude Code
Catch hallucinated diff citations in any AI PR review — zero-dependency Python CLI (briefcheck check / verify), Agent Skill, and GitHub Action.
How to install BriefCheck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yulongwu-x/BriefCheck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What BriefCheck does
Catch hallucinated diff citations in any AI PR review — zero-dependency Python CLI (briefcheck check / verify), Agent Skill, and GitHub Action.
Alternatives in AI
- Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★
- The Pair — Open-source AI pair programming for desktop: a Mentor + Executor agent cross-check each other's code to catch 358 ★
- ChatGPT Imagegen — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 333 ★
README
BriefCheck
[](https://github.com/yulongwu-x/BriefCheck/actions/workflows/ci.yml) [](LICENSE)
English | [简体中文](README.zh-CN.md) · [v0.4.0 release](https://github.com/yulongwu-x/BriefCheck/releases/tag/v0.4.0) · [GitHub Action setup](#use-the-github-action)
BriefCheck catches hallucinated diff citations in AI PR reviews and verifies pull requests against GitHub issue acceptance criteria. Pipe **any** AI review (Claude Code, Codex, Cursor, or custom prompts) through `briefcheck check`, or pair the **Agent Skill**, **zero-dependency Python CLI**, and **GitHub Action** for end-to-end acceptance audits.

Pipe any AI review through `briefcheck check`
Already using Claude Code, Codex, or your own PR-review prompt? Verify every `path:line` citation in free-form Markdown against the real git diff (reads from `stdin` by default, skips fenced code blocks, supports `--git-base`, `--staged`, `--diff`, or `--pr`):
# Check Claude Code or Codex output against your branch diff
claude -p "Review git diff with file:line citations" | briefcheck check --git-base origin/main
codex exec "Review my staged changes with file:line citations" | briefcheck check --staged
# Or check any saved Markdown review directly against a GitHub PR
briefcheck check --input review.md --pr owner/repo#123 --require-citations
Catch bad citations before posting
With Python 3.10+ you can run the bundled demo without a PR or API key.
python -m pip install https://github.com/yulongwu-x/BriefCheck/releases/download/v0.4.0/briefcheck-0.4.0-py3-none-any.whl
python -m briefcheck demo
This review cites `auth.py:3` as a new line even though the diff deleted it. It also cites `auth.py:99`, which is outside the visible diff. `briefcheck verify` reports both err
Related Skills
Hallucinated Citation Checker
Check every entry in a BibTeX file against Crossref, OpenAlex, arXiv, Open Library and doi.org to catch fabric
Codex Kit
Single-binary, zero-dependency CLI toolkit for AI coding agents (Codex CLI, Claude Code, Cursor) — ls, tree, i
Taiga CLI
Unofficial zero-dependency Taiga.io CLI and AI agent skill. Token-efficient TOON output for LLM context window
Prompt Injection Scanner
A zero-dependency Python CLI that scans READMEs, SKILL files, and source code for prompt-injection patterns ta
3 AI Projects
3 hands-on AI-engineering projects (easiest to hardest): RAG over your own docs with citations + MCP, a guardr
Simplicity Review
Enforces Law 4 (Verify Before Reporting) of the 7 Laws of AI Agent Discipline. Reviews the current diff for ov
Related Agents
Verify Dependency
STAGE 1 VERIFICATION - Fast dependency validation. Catches hallucinated packages, fake APIs, version conflicts
Beads Warden
Guard the beads execution record: enforce the write-flush-verify discipline that defeats the bd rapid-write ra
Sf Security Engineer
Security Engineer of the Software Factory cell. Use to run SAST/dependency/secret scans, verify zero-trust sec