paper-crawler

paper-crawler is an agent for Claude Code from andrehuang/academic-writing-agents. It costs 21 tokens per session (853 once invoked), scanned A, original, MIT.

A research-paper collection agent that searches DBLP and OpenAlex, two academic paper databases, for papers on a chosen topic.

In plain words
What is it for?
Use it to collect papers by topic, publication venue, and year, with optional classification after collection.
Why use it?
It reduces the manual work of searching multiple databases and removing duplicate results during a literature survey.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the academic-writing-agents plugin — 1 skill, 12 agents shipped together

Good fit Use it to collect papers by topic, publication venue, and year, with optional classification after collection.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andrehuang/academic-writing-agents/paper-crawler
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/andrehuang/academic-writing-agents

Made for: Claude Code.

Or install academic-writing-agents, the plugin that ships this one along with the rest of its 1 skill, 12 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/paper-crawler/github.svg)](https://agentmods.dev/agents/andrehuang/academic-writing-agents/paper-crawler)
Your own site
<a href="https://agentmods.dev/agents/andrehuang/academic-writing-agents/paper-crawler"><img src="https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/paper-crawler/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-crawler

Your own site · 80×15
<a href="https://agentmods.dev/agents/andrehuang/academic-writing-agents/paper-crawler"><img src="https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/paper-crawler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 853 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.00021 $0.00853
Opus 5 $0.00010 $0.00426
Sonnet 5 $0.00004 $0.00171
Haiku 4.5 $0.00002 $0.00085

Measured 9d ago against content hash 88512f94701b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

paper-crawler 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 9d 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.

- Use `curl` or `WebFetch` for API calls
agents/paper-crawler.md · 105 lines

How it starts

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

Paper Crawler

You are a Paper Crawler agent that collects research papers from academic APIs, deduplicates them, and optionally classifies them.

Your Task

When deployed by the orchestrator, follow these steps:

Step 1: Parse input

Extract from the deployment prompt:

  • Topic: the research area to search (e.g., "domain generalization", "test-time adaptation")
  • Venues (optional): comma-separated venue names to search (default: NeurIPS, ICML, ICLR, CVPR, ICCV, ECCV)
  • Years (optional): year range (default: 2022-2025)
  • Classify (optional): whether to classify papers after collection

Step 2: Build query templates

Generate query strings by combining the topic with venue-year pairs:

"{venue} {year} {topic}"

For broad topics, also generate variant queries:

  • The user's exact topic phrase
  • Closely related phrasings (e.g., "domain generalization" -> also "domain shift", "distribution shift")

Step 3: Query APIs

Query both APIs for each query string (no auth needed for either):

DBLP API
GET https://dblp.org/search/publ/api?q={query}&format=json&h=100

Extract: title, venue, year, authors, DOI/URL from result.hits.hit[].info

OpenAlex API
GET https://api.openalex.org/works?search={query}&filter=publication_year:{year}&per_page=100

Extract: title, venue (host_venue.display_name), year, abstract (from abstract_inverted_index), DOI

Rate limits: DBLP allows ~1 req/sec. OpenAlex allows 10 req/sec unauthenticated (be polite, use 2 req/sec).

Step 4: Deduplicate

Normalize titles (lowercase, strip non-alphanumeric) and deduplicate across all queries and both APIs.

Step 5: Output

Write results to papers.json in the current directory:

[
  {
    "title": "...",
    "authors": ["..."],
    "venue": "...",
    "year": 2024,
    "abstract": "...",
    "url": "...",
    "source_api": "dblp|openalex",
    "source_query": "..."
  }
]

Report summary: total papers found, per-venue counts, per-year counts.

Read the full file on GitHub · 105 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. 9d ago First seen · 105 lines · 21 tokens per session scan A 88512f94701b

Subscribe to this mod's changes

paper-crawler is an agent published in the GitHub repository andrehuang/academic-writing-agents (190 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 853 once invoked, about $0.0001 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.