frenzymath/danus/check-referenced-statements
Claude Code and agent skill by frenzymath/danus
- community
Checking that the SKILL.md file is still in the repository.
Validate externally referenced theorems by querying arXiv theorem search first and Codex's built-in web search second. Use when a markdown proof cites statements from external papers.
Install
npx vskill@latest install frenzymath/danus/check-referenced-statementsSKILL.md
Check Referenced Statements
Validate every external-paper reference used in the proof.
Input Contract
For each cited external theorem/lemma/definition:
- location where it is used,
- the full referenced statement text.
Procedure
- Query
search_arxiv_theoremsusing the full referenced statement asquery. - Inspect returned results and compare theorem text directly to the referenced statement in reasoning.
- Expand the definitions and terminology appearing in the cited statement using the cited paper's context before deciding whether the theorem applies.
- Check whether the same words in the current proof mean the same thing as they do in the cited paper. In mathematics, identical words can carry different definitions in different contexts. Distinguish similar-looking definitions: compare their exact formulas, notation, and quantifiers; do not collapse two just because the names or formulas look close.
- Accept as matched and applicable only when both are true:
- the result clearly corresponds to the cited statement,
- the contextual definitions and hypotheses align with the current problem.
- If the theorem exists but the current proof uses different definitions, hypotheses, ambient objects, or a subtly different defining formula, record a critical error for incorrect application.
- If the proof uses the cited statement to derive further conclusions, verify that transition too: a hand-wavy specialization or instantiation is a
gap; a logically invalid transition is acritical_error; if it deduces one property from another, compare their exact defining formulas before accepting. - If no match is found, use Codex's built-in web search with the same statement text.
- If still not found, emit a critical error:
- location: where the citation is used,
- issue: referenced theorem appears non-existent or incorrectly cited.
- When a step cites an internal
fact_id(16 hex characters) rather than an external paper, apply the verifier contract's P3-supplement chain check (agents/contracts/verifier.md): read the cited fact from the project fact graph and, if its own statement carries an unproven conditional premise, record the inherited defect as acritical_error. Read and apply the wording from the contract; do not fork it here. - Keep each reference check in context for the synthesis step (you persist nothing —
the verifier is stateless).
Do not rely on dedicated comparison utility code; perform comparison through careful reasoning.
Output Contract
Produce one record per reference check, kept in context for synthesis:
Tools
search_arxiv_theorems- Codex's built-in web search
(Findings stay in context for synthesis — nothing is persisted.)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/verify/check-referenced-statements/SKILL.md
Popularity
- Repository stars
- 366
- Repository forks
- 56
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/frenzymath/danus/check-referenced-statements)