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.
/plugin marketplace add CanXiangCC/aminer-open-skill/plugin install pdf-citation-verifierWrote 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.
[](https://agentmods.dev/commands/canxiangcc/aminer-open-skill/pdf-citation-verifier)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
$ARGUMENTSor 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.
-
Check
AMINER_API_KEYis 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. -
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") PYIf missing, instruct:
pip install -r "${CLAUDE_PLUGIN_ROOT}/requirements.txt". -
Confirm the user supplied a local
.pdffile path, or alternatively ajob-idto 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 |
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.
- 11d ago First seen · 209 lines · 19 tokens per session scan A 5fa84f186113
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.
Other commands, from other repositories
open
Open a PDF in the in-app viewer panel.
brief-compliance-check
Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.
pipeline-minutar-pdf
Pipeline completo de sentença judicial a partir de PDF (conversão, linha-tempo, relatório, análise, fundamentação, merge).
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].
docs
Document delivery with export to PPTX, DOCX, PDF formats.
cheatsheet
Generate a one-page exam cheatsheet from course-index and errors/log.md. Outputs to cheatsheet/final.md. Optionally convert to PDF.