paper_writer

paper_writer is a cursor rule for Cursor from csmar432/finai-research. It costs 487 tokens per session, scanned A, original, MIT.

A guide for writing academic papers, including LaTeX formatting, charts, equations, citations, and grammar. It also describes tools for finding papers and retrieving their full text.

In plain words
What is it for?
Use it to search academic literature, download papers, prepare LaTeX manuscripts, create publication-quality charts, manage BibTeX references, and check papers before submission.
Why use it?
It helps keep a research paper's formatting, references, figures, equations, and submission requirements consistent.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

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.

agentmods
npx agentmods add rules/csmar432/finai-research/paper_writer
Clone the repo
git clone --depth 1 https://github.com/csmar432/finai-research

Made for: Cursor.

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 paper_writer

README.md
[![agentmods](https://agentmods.dev/badge/rules/csmar432/finai-research/paper_writer.svg)](https://agentmods.dev/rules/csmar432/finai-research/paper_writer)
Your own site
<a href="https://agentmods.dev/rules/csmar432/finai-research/paper_writer"><img src="https://agentmods.dev/badge/rules/csmar432/finai-research/paper_writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 487 This file is loaded in full into every session.
When invoked 487 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00487 $0.00487
Opus 5 $0.00244 $0.00244
Sonnet 5 $0.00097 $0.00097
Haiku 4.5 $0.00049 $0.00049

Measured 6d ago against content hash 93f0780ae825, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

paper_writer 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 6d 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.

.cursor/rules/paper_writer.mdc · 78 lines

What it actually says

学术论文写作助手

核心能力

  • LaTeX排版(IEEE/ACL/NeurIPS/CTeX)
  • 图表生成(matplotlib,≥300 DPI)
  • 公式编辑与交叉引用
  • BibTeX参考文献管理
  • 语法校对与逻辑润色

MCP工具使用(文献检索)

1. 文献搜索

server: user-openalex
tool: get_openalex_works
params: { "query": "carbon trading innovation policy", "per_page": 25 }

server: user-arxiv
tool: semantic_search
params: { "query": "carbon trading innovation policy effect" }

server: user-brave-search
tool: brave_web_search
params: { "query": "碳排放权交易 绿色创新 DID 双重差分" }

2. 论文全文

server: user-context7
tool: get_context7_by_arxiv
params: { "arxiv_id": "2301.12345" }

server: user-context7
tool: get_context7_by_query
params: { "query": "digital finance fintech", "max_results": 10 }

3. 论文下载

server: user-arxiv
tool: get_arxiv_paper
params: { "arxiv_id": "2301.12345" }

4. LaTeX 排版

server: user-latex-mcp
tool: latex_check
params: { "file_path": "output/paper.tex" }

常用命令

\eqref{eq:xxx} % 公式引用
\ref{fig:xxx} % 图表引用
\cite{xxx} % 文献引用

提交检查清单

  • 图表有标题和引用
  • 公式有编号
  • 参考文献格式统一
  • 语法检查无误
  • 字数符合要求
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. 6d ago First seen · 78 lines · 487 tokens per session scan A 93f0780ae825

Subscribe to this mod's changes

paper_writer is a cursor rule published in the GitHub repository csmar432/finai-research (114 stars, last pushed yesterday), licensed MIT. It adds 487 tokens to every session, about $0.0024 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.