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.
npx agentmods add rules/fuwenhao12/academic-ref-inserter/cursorrulesgit clone --depth 1 https://github.com/fuwenhao12/academic-ref-inserterWrote 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/rules/fuwenhao12/academic-ref-inserter/cursorrules)<a href="https://agentmods.dev/rules/fuwenhao12/academic-ref-inserter/cursorrules"><img src="https://agentmods.dev/badge/rules/fuwenhao12/academic-ref-inserter/cursorrules.svg" alt="Measured on agentmods" 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 | $0.00408 | $0.00408 |
| Opus 5 | $0.00204 | $0.00204 |
| Sonnet 5 | $0.00082 | $0.00082 |
| Haiku 4.5 | $0.00041 | $0.00041 |
Grade A, and why
cursorrules 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 3d 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.
What it actually says
Academic Ref Inserter — Cursor Project Rules
This project provides tools for inserting, formatting, and cross-referencing academic citations in Word (.docx) documents.
Core CLI
# Full pipeline (analyze -> reformat -> reorder -> hyperlink -> validate)
python scripts/insert_refs.py fix --input paper.docx --format gbt7714 --json
# Individual steps (all support --json for machine-readable output)
python scripts/insert_refs.py analyze --input paper.docx --json
python scripts/insert_refs.py reformat --input paper.docx --format ieee
python scripts/insert_refs.py reorder --input paper.docx
python scripts/insert_refs.py hyperlink --input paper.docx
python scripts/insert_refs.py validate --input paper.docx --format gbt7714
Supported Formats
| Flag | Style | Region | Ordering |
|---|---|---|---|
gbt7714 |
GB/T 7714-2015 | China | Sequential [1][2] |
ieee |
IEEE | International (CS/Eng) | Sequential [1][2] |
apa7 |
APA 7th | International (Social Sci) | Alphabetical |
Key Files
scripts/insert_refs.py— Main CLI (primary entry point)scripts/formats/— Citation format implementationsscripts/utils/docx_utils.py— Word document manipulation.trae/skills/academic-ref-inserter/SKILL.md— Full documentation
Workflow for AI Agents
- Always run
analyze --jsonfirst to understand the document state - Choose format based on user's target journal
- Run
fix --format <name>for the full pipeline - Validate with
validate --json - Provide summary to user
Installation
pip install python-docx
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.
- 3d ago First seen · 47 lines · 408 tokens per session scan A e4dba4ceff0b
cursorrules is a cursor rule published in the GitHub repository fuwenhao12/academic-ref-inserter (55 stars, last pushed 3mo ago), licensed MIT. It adds 408 tokens to every session, about $0.0020 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 cursor rules, from other repositories
ipynb-files
This file contains rules and prompts for handling Jupyter Notebook (.ipynb) files in Cursor IDE, which currently doesn't have native support for .ipynb files.
citazioni
Citazioni corrette (stile numerico) e bibliografia coerente per tesi triennale in LaTeX.
sigma-reports
Build, validate, retrieve, and safely update Sigma report code representations through /v2/reports/spec. Use for fixed-layout or pixel-perfect reports, invoices, statements, regulatory documents, and PDF delivery. Covers report pages, absolute pixel layout, header/footer panels, common elements, verification…
wize-create-prd
Goal. Turn brief + research + trigger map into a Product Requirements Document the team can build from. The PRD names what and why with measurable boundaries. Mantis, Fury, Tony will read it. Shuri ships against the acceptance criteria.
edit-document
Edit and improve documents by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, restructure, or improve any document — including specs/ files, articles, READMEs, or technical writing.
shard-doc
BMAD CORE Tool: Shard Document.