bluff
/bluff
Verify that the URLs and citations in an answer actually resolve, catching hallucinated or dead links before you trust or ship them. Extract every link (bare and markdown), check each over the network, and flag the ones that don't exist. Use when an LLM produced links/citations and you need to confirm they're real, not plausible-looking fiction.
- Author
- jgalego ↗
- Repository
- bag-of-tricks ↗
- Licence
- MIT
- Last repository change
- 26.06.2026
Assessment and security
- Files in this package
- 7
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 5
No signals detected. Repository changed on 26.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: bluff.py, test_bluff.py
What it does and when to use it
Verify that the URLs and citations in an answer actually resolve, catching hallucinated or dead links before you trust or ship them. Extract every link (bare and markdown), check each over the network, and flag the ones that don't exist. Use when an LLM produced links/citations and you need to confirm they're real, not plausible-looking fiction.
Original author description
Verify that the URLs and citations in an answer actually resolve, catching hallucinated or dead links before you trust or ship them. Extract every link (bare and markdown), check each over the network, and flag the ones that don't exist. Use when an LLM produced links/citations and you need to confirm they're real, not plausible-looking fiction.
How it works
- What it checks
- Example
- Output
- Companion tool
SKILL.md preview
--- name: bluff description: Verify that the URLs and citations in an answer actually resolve, catching hallucinated or dead links before you trust or ship them. Extract every link (bare and markdown), check each over the network, and flag the ones that don't exist. Use when an LLM produced links/citations and you need to confirm they're real, not plausible-looking fiction. --- # bluff **call its bluff.** LLMs are fluent liars about URLs. They produce a citation that *looks* exactly right — correct domain, plausible path, confident tone — and it 404s, or never existed. When this skill is active, don't take a link on faith: pull every URL out of the answer and confirm it resolves before presenting it as a source. ## What it checks - **Bare URLs** — `https://…` anywhere in the text. - **Markdown links** — the target inside `[text](url)`. - For each: does it actually resolve? 2xx/3xx = real, anything else (404, DNS failure, timeout, connection refused) = a bluff to flag. It de-dupes and ignores trailing sentence punctuation, so a URL ending a sentence isn't mangled. ## Example > **Answer under review:** "Per the [official spec](https://example.com/spec) > and https://docs.example.com/v2, the limit is 100." > > **bluff:** ✓ [200] https://example.com/spec — ✗ [404] > https://docs.example.com/v2. The second citation does not exist; do not ship > it as a source. ## Output Deliver the link check, not a description of running it. Don't narrate running `bluff.py` — the tool card already shows it. List each URL with its ✓/✗ and status, surface the bluffs first, and stop. No preamble, no closing paragraph. ## Companion tool `bluff.py` in this folder does this mechanically. Pipe an answer in and it reports each link with a ✓/✗, status code, and error. - It **needs network** to actually verify links. - `--dry-run` extracts and lists the URLs with **no network at all** — handy when you just want to see what was cited. Extraction is always offline. - `--patterns FILE` (repeatable; or the `BLUFF_PATTERNS` env var) merges custom extraction patterns. The JSON file may carry `url_patterns` (extra regexes whose match — group 1 if captured, else the whole match — is checked like a URL) and `citation_patterns` (regexes for non-URL references like DOIs, listed but **not** network-checked; reported `[cited]` / ✓). Built-ins stay the base.
Files in this package (7)
- README.md 4 KB
- SKILL.md 2 KB
- bluff.py 10 KB
- logo.png 15 KB
- test_bluff.py 5 KB
- .claude-plugin/plugin.json 1 KB
- bin/bluff 1 KB
Versions
The database has no other skills named bluff.
Database snapshot: 13.11.2026 · package version 82fabef715e3 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 84broken-links
Find and fix broken links on a website or in a codebase. Use when the user asks to "check broken links", "find dead links", "fix 404s", "link checker", "broken link audit", "find dead URLs", or wants to identify and repair links that lead to non-existent pages. - 100reference-verifier
Verify the references/bibliography of an academic paper. Use this skill whenever the user wants to check, verify, validate, audit, or sanity-check the references, citations, or bibliography of a paper, manuscript, or preprint. Triggers include: 'verify references', 'check the… - 100citation-check
Verify citations in AI-generated or human-written text against the local knowledge base. Catches hallucinated references, wrong metadata, and missing papers. Use when the user wants to check if citations are real and accurate. - 100verify
Fact-check LLM-generated content against source-of-truth — confirm imports import, CLI flags are real, links resolve, counts match. Triggers on: verify docs, fact-check, did the model hallucinate, check generated content, are these claims real.