pdf-citation-verifier

pdf-citation-verifier is a command for Claude Code from CanXiangCC/aminer-open-skill. It costs 19 tokens per session (2,575 once invoked), scanned A, original, MIT.

A command for checking whether the references listed in a research-paper PDF are real, using the AMiner PDF citation verifier.

In plain words
What is it for?
Use it to verify citations in a PDF and classify them as real, likely real, needing review, likely fake, or fake.
Why use it?
It helps identify citations that may be fake, incorrect, or in need of manual review before relying on a paper's references.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pdf-citation-verifier plugin — 1 skill, 1 command shipped together

Good fit Use it to verify citations in a PDF and classify them as real, likely real, needing review, likely fake, or fake.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add CanXiangCC/aminer-open-skill
Claude Code
/plugin install pdf-citation-verifier

Made for: Claude Code.

Or install pdf-citation-verifier, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 pdf-citation-verifier

README.md
[![agentmods](https://agentmods.dev/badge/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier/github.svg)](https://agentmods.dev/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier)
Your own site
<a href="https://agentmods.dev/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier"><img src="https://agentmods.dev/badge/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier/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 pdf-citation-verifier

Your own site · 80×15
<a href="https://agentmods.dev/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier"><img src="https://agentmods.dev/badge/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,575 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.
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.00019 $0.02575
Opus 5 $0.00010 $0.01288
Sonnet 5 $0.00004 $0.00515
Haiku 4.5 $0.00002 $0.00258

Measured 11d ago against content hash 5fa84f186113, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pdf-citation-verifier 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 11d 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.

skills/pdf-citation-verifier/commands/pdf-citation-verifier.md · 209 lines

How it starts

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

/pdf-citation-verifier — PDF Citation Verifier

User invoked the PDF Citation Verifier skill with:

$ARGUMENTS

Language Routing / 语言路由

  • If $ARGUMENTS or the conversation is mainly Chinese, follow 中文命令流程 and read ${CLAUDE_PLUGIN_ROOT}/SKILL.zh.md.
  • Otherwise follow English Command Flow and read ${CLAUDE_PLUGIN_ROOT}/SKILL.md.
  • Parameter names stay English: pdf, job-id, max-refs, strict, no-wait, output.
  • JSON keys, status labels (REAL / LIKELY_REAL / NEEDS_REVIEW / LIKELY_FAKE / FAKE), and reason codes stay English.
  • 如果 $ARGUMENTS 或对话主要是中文,使用 中文命令流程
  • 否则使用 English Command Flow

English Command Flow

1. Pre-flight

Run the checks below in order. Any failed check stops the flow — do not run the script.

  1. Check AMINER_API_KEY is set:

    [ -z "${AMINER_API_KEY+x}" ] && echo "AMINER_API_KEY missing" || echo "AMINER_API_KEY exists"
    

    If missing, tell the user to get a token from https://open.aminer.cn and export AMINER_API_KEY=<token>. Never echo the token value.

  2. Check Python dependency:

    python3 - <<'PY'
    import importlib.util
    missing = [name for name in ("requests",) if importlib.util.find_spec(name) is None]
    print("Missing: " + ", ".join(missing) if missing else "Python dependencies exist")
    PY
    

    If missing, instruct: pip install -r "${CLAUDE_PLUGIN_ROOT}/requirements.txt".

  3. Confirm the user supplied a local .pdf file path, or alternatively a job-id to fetch results for a previously submitted job. If neither, ask for one. Never fabricate or download a PDF.

2. Parse $ARGUMENTS

Accept structured fields and natural language together:

Field Values Default Meaning
pdf absolute PDF path required unless job-id is given Local file to verify
job-id verify_YYYYMMDDTHHMMSSZ_<8hex> Fetch result for an existing job instead of uploading
max-refs 1-100 50 Max references to verify (upload only)
strict yes / no no Stricter FAKE judgement (upload only)
no-wait yes / no no With pdf: submit and return job_id without polling. With job-id: single fetch, no polling loop.
timeout seconds 600 Overall polling timeout
output path Optional JSON output path

Read the full file on GitHub · 209 lines

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. 11d ago First seen · 209 lines · 19 tokens per session scan A 5fa84f186113

Subscribe to this mod's changes

pdf-citation-verifier is a command published in the GitHub repository CanXiangCC/aminer-open-skill (60 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 2,575 once invoked, about $0.0001 per session on Opus 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.