paper-miner

paper-miner is an agent for Claude Code from Galaxy-Dawn/claude-scholar. It costs 77 tokens per session (2,112 once invoked), scanned A, original, MIT.

A research-paper analysis agent that extracts reusable writing patterns, paper structure clues, venue-specific guidance, and rebuttal ideas. A rebuttal is an author's response to reviewer criticism after submitting a paper.

In plain words
What is it for?
It is for studying papers, learning how they are written, extracting writing guidance from PDFs, DOCX files, arXiv links, or readable text, and maintaining a central reference file.
Why use it?
It keeps useful lessons from papers in one shared writing memory instead of leaving them scattered across separate notes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths.

Part of the claude-scholar plugin — 45 skills, 34 commands, 6 agents, 5 hooks shipped together

Good fit It is for studying papers, learning how they are written, extracting writing guidance from PDFs, DOCX files, arXiv links, or readable text, and maintaining a central reference file.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/galaxy-dawn/claude-scholar/paper-miner
About the project

Claude Scholar is a semi-automated research assistant for academic research and software development, supporting literature review, coding, experiments, reporting, writing, and project knowledge management. Computer science and AI researchers use it across the research workflow with several coding-agent platforms; the catalogue contains its skills, commands, agents, hooks, plugin, and instruction.

Galaxy-Dawn/claude-scholar · 5,419 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/Galaxy-Dawn/claude-scholar

Made for: Claude Code.

Or install claude-scholar, the plugin that ships this one along with the rest of its 45 skills, 34 commands, 6 agents, 5 hooks.

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-miner

README.md
[![agentmods](https://agentmods.dev/badge/agents/galaxy-dawn/claude-scholar/paper-miner/github.svg)](https://agentmods.dev/agents/galaxy-dawn/claude-scholar/paper-miner)
Your own site
<a href="https://agentmods.dev/agents/galaxy-dawn/claude-scholar/paper-miner"><img src="https://agentmods.dev/badge/agents/galaxy-dawn/claude-scholar/paper-miner/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 paper-miner

Your own site · 80×15
<a href="https://agentmods.dev/agents/galaxy-dawn/claude-scholar/paper-miner"><img src="https://agentmods.dev/badge/agents/galaxy-dawn/claude-scholar/paper-miner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 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,112 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00077 $0.02112
Opus 5 $0.00039 $0.01056
Sonnet 5 $0.00015 $0.00422
Haiku 4.5 $0.00008 $0.00211

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

Security

Grade A, and why

paper-miner scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -L "https://arxiv.org/pdf/[ID].pdf" -o "paper.pdf"
agents/paper-miner.md · 282 lines

How it starts

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

You are the Academic Writing Knowledge Miner.

Your job is to extract actionable writing knowledge from papers and maintain one canonical global memory for writing patterns:

  • ~/.claude/skills/ml-paper-writing/references/knowledge/paper-miner-writing-memory.md

This is the only maintained paper-miner memory.

Do not maintain project-specific writing memory. Do not create per-project writing notes for mined patterns. Do not scatter new mined knowledge across multiple category files.

Core responsibilities

  1. Read and extract content from a paper source (PDF, DOCX, arXiv link, or readable text).
  2. Identify reusable writing knowledge across these dimensions:
    • writing patterns mined
    • structure signals
    • reusable phrasing
    • venue-specific signals
    • rebuttal / response signals when available
    • how the mined patterns help future writing
  3. Merge that knowledge into the single global memory file.
  4. Preserve source attribution and avoid duplicate entries.

Canonical memory contract

Always write to:

~/.claude/skills/ml-paper-writing/references/knowledge/paper-miner-writing-memory.md

Treat this file as the canonical long-term memory for mined writing knowledge.

If you are invoked while working inside a specific repository or project:

  • you may use that context to understand why the paper matters,
  • but you still write mined writing knowledge only into the global paper-miner memory,
  • not into project memory, not into Obsidian project notes, and not into per-project writing stores.

Analysis workflow

1. Extract paper content

  • For PDF: use pypdf or pdfplumber via python3
  • For arXiv link: download the PDF first, then extract
  • For DOCX: use python-docx
  • Extract metadata when possible:
    • title
    • authors
    • venue
    • year

2. Mine reusable writing knowledge

Focus on patterns that can be reused in future academic writing.

Writing patterns mined
  • common rhetorical moves
  • claim-evidence framing patterns
  • related-work integration patterns
  • result interpretation framing

Read the full file on GitHub · 282 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 · 282 lines · 0 tokens per session scan A f2875e1cf5b3

Subscribe to this mod's changes

paper-miner is an agent published in the GitHub repository Galaxy-Dawn/claude-scholar (5,419 stars, last pushed 14d ago), licensed MIT. It adds 77 tokens to every session and 2,112 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.