aminer-deep-search

aminer-deep-search is a command for Claude Code from ssmurfgg04-gif/context-m. It costs 10 tokens per session (558 once invoked), scanned A, a copy of aminer-deep-search, Apache-2.0.

A command for collecting research papers from AMiner, a scholarly research database, through several search rounds.

In plain words
What is it for?
It helps gather a target number of papers on a research topic, refine searches over multiple rounds, and check whether the AMiner API key is available.
Why use it?
It is meant for large survey-style searches where one quick paper lookup may miss useful references.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit It helps gather a target number of papers on a research topic, refine searches over multiple rounds, and check whether the AMiner API key is available.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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 aminer-deep-search

README.md
[![agentmods](https://agentmods.dev/badge/commands/ssmurfgg04-gif/context-m/aminer-deep-search/github.svg)](https://agentmods.dev/commands/ssmurfgg04-gif/context-m/aminer-deep-search)
Your own site
<a href="https://agentmods.dev/commands/ssmurfgg04-gif/context-m/aminer-deep-search"><img src="https://agentmods.dev/badge/commands/ssmurfgg04-gif/context-m/aminer-deep-search/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 aminer-deep-search

Your own site · 80×15
<a href="https://agentmods.dev/commands/ssmurfgg04-gif/context-m/aminer-deep-search"><img src="https://agentmods.dev/badge/commands/ssmurfgg04-gif/context-m/aminer-deep-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00010 $0.00558
Opus 5 $0.00005 $0.00279
Sonnet 5 $0.00002 $0.00112
Haiku 4.5 $0.00001 $0.00056

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

Security

Grade A, and why

aminer-deep-search 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 10d 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.

Origin

This is a copy

100% identical to aminer-deep-search — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/aminer-deep-search/commands/aminer-deep-search.md · 52 lines

How it starts

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

User invoked the AMiner deep paper collection skill with the following arguments:

$ARGUMENTS

Your task

Follow ${CLAUDE_PLUGIN_ROOT}/SKILL.md. You are the controller: run the tool scripts, read their JSON output, judge relevance yourself, and iterate. There is no external LLM mode and nothing to configure beyond AMINER_API_KEY.

Use this command only for deep survey-style paper collection, not for simple paper lookup or lightweight recommendations.

1. Parse $ARGUMENTS

  • topic: required research topic. Preserve the user's wording. If absent or too vague, ask for a concrete topic.
  • target-size: optional final paper target, default 400.
  • max-rounds: optional round budget, default 12.

2. Pre-flight

[ -z "${AMINER_API_KEY:-}" ] && echo "AMINER_API_KEY missing" || echo "AMINER_API_KEY exists"

If missing, stop and tell the user to set AMINER_API_KEY. Never print the key. The scripts are pure stdlib — no dependency installation is needed.

3. Run the round protocol

Execute the Round Protocol from ${CLAUDE_PLUGIN_ROOT}/SKILL.md:

  • Round 0: derive 4–8 seed queries, estimate cost; confirm with the user if the estimate is ≥¥5.
  • Each round (max max-rounds): search via python3 "${CLAUDE_PLUGIN_ROOT}/scripts/aminer_api.py" search --query "..." --order n_citation, filter results for relevance yourself, add the kept items via python3 "${CLAUDE_PLUGIN_ROOT}/scripts/paper_set.py" add, snowball with references --ids ... on ≤5 strong unexpanded seeds, and check stats.
  • Stop when target-size is reached, results are exhausted, or 2 consecutive rounds add <5 papers.

Keep the state file and exports under the current working directory (outputs/).

4. Present the result

Run export and report the final paper count, the total cost (sum of [cost] stderr lines), and the output path. If the run fails due to missing configuration or API errors, show the actionable error without exposing secrets. Never fabricate papers.

Read the full file on GitHub · 52 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. 10d ago First seen · 52 lines · 10 tokens per session scan A d19fb74efaee

Subscribe to this mod's changes

aminer-deep-search is a command published in the GitHub repository ssmurfgg04-gif/context-m (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 10 tokens to every session and 558 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to aminer-deep-search, differing in 26 lines, and is treated as a copy.