Recommends personalized academic papers via the AMiner rec5 API. Extracts topics/scholar signals from user input, calls handle_trigger.py, and returns ranked paper suggestions as Markdown.
Ships in aminer-daily-paper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Personalized paper recommendation via AMiner rec5 API. Token required: set AMINER_API_KEY env var.
When to activate: any time the user asks for paper recommendations — explicit command (/aminer-dp ...) or natural language (recommend me papers on RAG, 帮我推荐最近的多模态论文).
AMINER_API_KEY — Always required. Check before calling the script:
[ -z "${AMINER_API_KEY+x}" ] && echo "AMINER_API_KEY missing" || echo "AMINER_API_KEY exists"
If missing, stop and tell the user:
AMINER_API_KEYis not set. Please obtain a token at https://open.aminer.cn and set it as an environment variable.
No other environment variables are required.
POST https://datacenter.aminer.cn/gateway/open_platform/api/v3/paper/rec5
Required headers:
| Header | Value |
|---|---|
Authorization | ${AMINER_API_KEY} |
X-Platform | Current host: claude-code / cursor / codex / openclaw; unknown if it cannot be determined |
X-Skill-Name | aminer-daily-paper |
X-Skill-Version | The version field in this file's frontmatter |
Content-Type | application/json;charset=utf-8 |
| Field | Type | Required | Description |
|---|---|---|---|
author_name | string | conditional | Scholar name (English). The backend resolves it to a scholar ID via person search. |
author_org | string | optional | Scholar institution (English full name). Required for disambiguation when the name is ambiguous. |
topics | string[] | conditional | Research topic phrases. Use the user’s wording (Chinese, English, or mixed). The API accepts multi-language topic strings. |
size | int | optional | Number of papers per call (1–20). Omit to let the model decide (see below). |
offset | int | optional | Pagination offset (0–100, default 0). |
language_sort | string | optional | zh or en only when the user explicitly asks for Chinese- or English-biased ranking (e.g. “优先中文论文” / “prefer English papers”). Otherwise omit; the request will not include this field. |
At least one of author_name or topics should be provided. When none are given, the API returns personalized recommendations based on the account associated with AMINER_API_KEY.
{
"code": 200,
"success": true,
"data": [{
"offset": 0,
"size": 5,
"total": 32,
"papers": [{
"paper_id": "...",
"arxiv_id": "",
"title": "...",
"year": 2026,
"authors": ["Author A", "Author B"],
"keywords": ["kw1", "kw2"],
"summary": "...",
"structured_summary": {
"research_problem": "...",
"research_challenge": "...",
"research_method": "...",
"experimental_results": ""
},
"famous_authors": [],
"aminer_author_profiles": [],
"author_entries": [],
"links": {
"aminer": "https://www.aminer.cn/pub/{paper_id}",
"arxiv": "",
"pdf": ""
},
"paper_url": "https://www.aminer.cn/pub/{paper_id}",
"source": "local_rec5"
}]
}]
}
Structured commands or plain natural language — both are valid.
/aminer-dp
/aminer-dp topics: multimodal agents, tool-use
/aminer-dp scholar: Jie Tang org: Tsinghua papers: OAG-Bench | RPC-Bench
recommend me recent papers on RAG
/aminer-dp with no parameters calls the API with only the token — the API uses AMINER_API_KEY to identify the account and returns personalized recommendations.
Natural language input — you (the model) must parse it into fields before calling the script. Critical for topics:
topics — do not “translate away” the user’s intent
topics: in the trigger (e.g. 具身智能, 环境保护), pass those exact strings into handle_trigger.py’s --text. Do not replace them with unrelated English terms (e.g. do not map arbitrary topics to “Knowledge Distillation”, “Smart agriculture”, or any other field the user did not ask for).embodied intelligence, 环境保护 → environmental protection). When in doubt, keep the user’s original words and do not invent synonyms.Scholars and institutions (person search still English-oriented)
author_name / author_org: use commonly used English forms when resolving scholars (e.g. Jie Tang, Tsinghua University), expand well-known institution abbreviations to full official names, and add author_org when the name is ambiguous. If you cannot map a name safely, ask the user.language_sort — Put language_sort: zh or language_sort: en in the trigger only if the user clearly wants recommendations ranked with a Chinese or English preference. If they did not ask, do not add it (the API call omits language_sort).
Decide size and whether to make multiple calls (see Call Strategy).
Reconstruct the trigger, then call handle_trigger.py.
Example (Chinese topics — keep as-is):
/aminer-dp topics: 具身智能, 环境保护handle_trigger.py --text "/aminer-dp topics: 具身智能, 环境保护"topics into unrelated English.)Example:
/aminer-dp 我做多模态智能体和 tool-use,帮我推荐最近论文topics: multimodal agents, tool-usehandle_trigger.py --text "/aminer-dp topics: multimodal agents, tool-use size: 5"Example (scholar):
/aminer-dp 我是唐杰,清华大学,做多模态和知识图谱scholar: Jie Tang, org: Tsinghua University, topics: multimodal, knowledge graphhandle_trigger.py --text "/aminer-dp scholar: Jie Tang org: Tsinghua University topics: multimodal, knowledge graph"Example (ambiguous name, ask user):
/aminer-dp 推荐张伟方向的论文papers field: representative paper titles (e.g. papers: OAG-Bench | RPC-Bench) accompany scholar/author_name for disambiguation context. They do not map directly to an API field.
You decide size and whether to make multiple calls based on the input:
| Scenario | Action |
|---|---|
| Single topic or scholar, casual request | 1 call, omit size (default 10) |
| User explicitly asks for a number (e.g. "give me 5") | 1 call, honor the number (max 20) |
| Multiple distinct topics (e.g. RAG + multimodal agents) | 1 call per topic group, size: 5 each |
| Broad open-ended request with no topics | 1 call, omit size (default 10) |
Multi-call rules:
handle_trigger.py once per topic group, passing a focused topics: subset each time.topics: list to 1–3 closely related terms for precision.Only one supported entrypoint:
python3 "{baseDir}/scripts/handle_trigger.py" \
--base-dir "{baseDir}" \
--text "<trigger text with explicit fields>" \
[--config /path/to/config.yaml]
--text: reconstructed trigger with explicit fields (topics:, scholar:, etc.)--config: optional path to a YAML config (defaults to {baseDir}/config.yaml when the file exists, via the runtime copy under outputs/)handle_trigger.py parses the fields, calls the rec5 API, and returns JSON including reply_text (Markdown) for you to show to the user.
handle_trigger.py, check final_response in the JSON output:
TEXT — Normal path. Present reply_text (Markdown) to the user. Optional: you may still refine wording for the active channel; prompts/enrich.md is a reference for Chinese enrichment if you want richer copy.reply_text (or error detail) to the user.Note: The skill only returns JSON with reply_text; it does not implement channel-specific sending.
AMINER_API_KEY missing → stop, prompt user to set it.aminer_author_id.README.md (opens in a new tab)commands/aminer-dp.md (opens in a new tab)prompts/enrich.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/common.py (opens in a new tab)scripts/constants.py (opens in a new tab)scripts/handle_trigger.py (opens in a new tab)scripts/rec5_api.py (opens in a new tab)scripts/run_pipeline.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/aminer-daily-paper:aminer-daily-paperfrom aminer-daily-paper
npx claudepluginhub aminerorg/aminer-research-skills --plugin aminer-daily-paperOther plugins' skills for the same job