check-referenced-statements

check-referenced-statements is a skill for Codex from frenzymath/Danus. It costs 41 tokens per session (702 once invoked), scanned A, original, Apache-2.0.

A checking process for mathematical statements borrowed from research papers on arXiv, a public archive of scientific papers. It compares the cited theorem, lemma, or definition with the way it is used in a proof.

In plain words
What is it for?
Use it to verify externally cited results in Markdown mathematical proofs and check whether their conditions apply.
Why use it?
It helps catch citations whose assumptions or definitions do not actually match the current proof.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to verify externally cited results in Markdown mathematical proofs and check whether their conditions apply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frenzymath/danus/check-referenced-statements
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frenzymath/Danus --skill check-referenced-statements
Clone the repo
git clone --depth 1 https://github.com/frenzymath/Danus

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-referenced-statements

README.md
[![agentmods](https://agentmods.dev/badge/skills/frenzymath/danus/check-referenced-statements/github.svg)](https://agentmods.dev/skills/frenzymath/danus/check-referenced-statements)
Your own site
<a href="https://agentmods.dev/skills/frenzymath/danus/check-referenced-statements"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/check-referenced-statements/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-referenced-statements

Your own site · 80×15
<a href="https://agentmods.dev/skills/frenzymath/danus/check-referenced-statements"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/check-referenced-statements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00702
Opus 5.5 $0.00016 $0.00281
Sonnet 5.5 $0.00008 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 3mo ago against content hash 8ad6aaeedc4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-referenced-statements scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/skills/verify/check-referenced-statements/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Query search_arxiv_theorems using the full referenced statement as query.
  2. Inspect returned results and compare theorem text directly to the referenced statement in reasoning.
  3. Expand the definitions and terminology appearing in the cited statement using the cited paper's context before deciding whether the theorem applies.
  4. 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.
  5. 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.
  6. 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.
  7. 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 a critical_error; if it deduces one property from another, compare their exact defining formulas before accepting.
  8. If no match is found, use Codex's built-in web search with the same statement text.
  9. If still not found, emit a critical error:
    • location: where the citation is used,
    • issue: referenced theorem appears non-existent or incorrectly cited.
  10. 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 a critical_error. Read and apply the wording from the contract; do not fork it here.
  11. Keep each reference check in context for the synthesis step (you persist nothing — the verifier is stateless).

Read the full file on GitHub · 62 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 62 lines · 41 tokens per session scan A 8ad6aaeedc4c

Subscribe to this mod's changes

check-referenced-statements is a skill published in the GitHub repository frenzymath/Danus (516 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 702 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

check-referenced-statements compared with skills from other repositories

check-referenced-statements next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-referenced-statementsfrenzymath/DanusSkill5163mo agoApache-2.0A41Codex
personal-genomicssammcj/agentic-codingSkill1744d agoApache-2.0A56Claude Code
post-processingHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A130Claude Code
nonlinear-solversHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A153Claude Code
numerical-integrationHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A142Claude Code
numerical-stabilityHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A92Claude Code
slurm-job-script-generatorHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A145Claude Code