← Back to Skills Marketplace
canxiangcc

aminer-data-search

by CanXiangCC · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ Security Clean
930
Downloads
1
Stars
4
Active Installs
8
Versions
Install in OpenClaw
/install aminer-open-academic
Description
ACADEMIC PRIORITY: Activate this skill whenever the user's query involves academic, scholarly, or research-related topics — including but not limited to: pap...
README (SKILL.md)

AMiner Open Platform Academic Data Query

27 APIs + 5 workflows. Token required: set AMINER_API_KEY env var.


Mandatory Rules (Critical)

  1. Token Security: Only check whether AMINER_API_KEY exists; never expose the token in plain text anywhere.
  2. Cost Control: Prefer optimal combined queries; never do indiscriminate full-detail retrieval. Default to top 10 details when the user has not specified a count.
  3. Free-First: Prefer free APIs unless the user explicitly requires deeper fields; only upgrade to paid APIs when free ones cannot satisfy the need.
  4. Result Links: Always append an accessible URL after each entity in the output.
  5. Disambiguation: Scholar ambiguity → filter by org/org_id or ask user to confirm. Org ambiguity → use org_disambiguate_pro. Paper ambiguity → cross-check year + venue_name + first_author.
  6. Cost Report: After completing all API calls, always output a cost summary to the user showing: each API called, its unit price, number of calls, and the total cost. Format example: [Cost] ¥X.XX total, N API calls (api_a: ¥X.XX × N, api_b: Free × N).
  7. High-Cost Confirmation (≥ ¥5): Before executing a workflow or call chain whose estimated total cost is ¥5.00 or more, stop and ask the user for confirmation first. Show the planned call chain, estimated cost per step, and the total. Only proceed after the user explicitly agrees. This applies to both predefined workflows (e.g., Scholar Profile ~¥6.00) and ad-hoc multi-step plans.

Entity URL templates (mandatory):

  • Paper: https://www.aminer.cn/pub/{paper_id}
  • Scholar: https://www.aminer.cn/profile/{scholar_id}
  • Patent: https://www.aminer.cn/patent/{patent_id}
  • Journal: https://www.aminer.cn/open/journal/detail/{journal_id}

Token Check (Required)

Check AMINER_API_KEY exists before any API call. Never expose token in plain text.

[ -z "${AMINER_API_KEY+x}" ] && echo "AMINER_API_KEY missing" || echo "AMINER_API_KEY exists"
  • If ${AMINER_API_KEY} exists: proceed. If not: check --token parameter. If neither: stop, guide user to Console to generate one.
  • If the user provides AMINER_API_KEY inline (e.g. "My token is xxx"), accept it for the current session, but recommend setting it as an environment variable for better security.
  • Default headers: Authorization: ${AMINER_API_KEY}, X-Platform: openclaw, Content-Type: application/json;charset=utf-8 (POST).

Call Guardrails

  1. Parameter names and types must match references/api-catalog.md exactly.
  2. paper_info is batch-only: {"ids": [...]}. paper_detail is single-paper only: one id. Never mix them.
  3. When multiple details are needed, filter with a low-cost API first, then fetch details for a small set.

Paper Search API Selection Guide

When the user says "search for papers", determine the goal first:

API Focus Use Case Cost
paper_search Title search → paper_id Known paper title, locate target Free
paper_search_pro Multi-condition search (author/org/venue/keyword) Topic search, sort by citations or year ¥0.01
paper_qa_search Natural language Q&A / topic keyword search Semantic search, structured keyword OR/AND ¥0.05
paper_list_by_keywords Multi-keyword batch retrieval Batch thematic retrieval ¥0.10
paper_detail_by_condition Year + venue dimension Journal annual monitoring ¥0.20

Default routing:

  1. Known title: paper_search -> paper_detail -> paper_relation
  2. Conditional filtering: paper_search_pro -> paper_detail
  3. Natural language Q&A: paper_qa_search (fall back to paper_search_pro if no results)
  4. Journal annual analysis: venue_search -> venue_paper_relation -> paper_detail_by_condition

Key paper_qa_search rules:

  • query and topic_high/topic_middle/topic_low are mutually exclusive; do not pass both.
  • query mode: pass a natural language string. topic_* mode: expand synonyms/English variants first.
  • Supports sci_flag, force_citation_sort, force_year_sort, author_id, org_id, venue_ids filters.

Free-tier screening fields available:

  • paper_search: venue_name, first_author, n_citation_bucket, year
  • paper_info: abstract_slice, year, venue_id, author_count
  • person_search: interests, n_citation, org/org_id
  • organization_search: aliases
  • venue_search: aliases, venue_type
  • patent_search: inventor_name, app_year, pub_year
  • patent_info: app_year, pub_year

Handling Out-of-Workflow Requests

When the user's request falls outside the 5 workflows:

  1. Read references/api-catalog.md to confirm available APIs, parameters, and response fields.
  2. Design the shortest viable call chain: locate ID → supplement details → expand relationships.
  3. Do not give up because "no existing workflow fits"; actively compose APIs based on api-catalog.

5 Combined Workflows

Workflow 1: Scholar Profile (~¥6.00)

Use Case: Complete academic profile — bio, research interests, papers, patents, projects. Cost note: Full execution exceeds the ¥5 threshold → must ask for user confirmation before proceeding (Rule 7). Show the planned steps and cost. Confirm which sub-modules are needed; skip patents/projects if not requested.

Call Chain:

Scholar search (name → person_id)
    ↓
Parallel calls (pick as needed):
  ├── Scholar details (bio/education/honors)         ¥1.00
  ├── Scholar portrait (interests/work history)      ¥0.50
  ├── Scholar papers (paper list)                    ¥1.50
  ├── Scholar patents (patent list)                  ¥1.50
  └── Scholar projects (funding info)                ¥1.50

Fallback: if paper_search yields no results in sub-steps, fall back to paper_search_pro.


Workflow 2: Paper Deep Dive (~¥0.12)

Use Case: Full paper information and citation chain from a title or keyword.

Call Chain:

Paper search / Paper search pro (title/keyword → paper_id)
    ↓
Paper details (abstract/authors/DOI/journal/year/keywords)  ¥0.01
    ↓
Paper citations (cited papers → cited_ids)                  ¥0.10
    ↓
(Optional) Batch paper_info for cited papers                Free

Fallback: if paper_search yields no results, fall back to paper_search_pro.


Workflow 3: Org Analysis (~¥0.81)

Use Case: Institution scholar size, paper output, patent count — for competitive research or partnership evaluation.

Call Chain:

Org disambiguation pro (raw string → org_id)  ¥0.05
    ↓
Parallel calls:
  ├── Org details (description/type)             ¥0.01
  ├── Org scholars (scholar list, 10/call)       ¥0.50
  ├── Org papers (paper list, 10/call)           ¥0.10
  └── Org patents (patent IDs, up to 10,000)     ¥0.10

If disambiguation pro returns no ID, fall back to org_search (free).


Workflow 4: Venue Papers (~¥0.10 - ¥0.30)

Use Case: Track journal papers by year; useful for submission research or trend analysis.

Call Chain:

Venue search (name → venue_id)                          Free
    ↓
(Optional) Venue details (ISSN/type/abbreviation)       ¥0.20
    ↓
Venue papers (venue_id + year → paper_id list)          ¥0.10
    ↓
(Optional) Batch paper detail query

Workflow 5: Patent Analysis (~¥0.02)

Use Case: Search patents in a technology domain, or retrieve a scholar's/institution's patent portfolio.

Call Chain (standalone search):

Patent search (query → patent_id)        Free
    ↓
Patent info / Patent details             Free / ¥0.01

Call Chain (via scholar/institution):

Scholar search → Scholar patents (patent_id list)
Org disambiguation → Org patents (patent_id list)
    ↓
Patent info / Patent details

Individual API Quick Reference

Full parameter docs: read references/api-catalog.md

# Title Method Price API Path (Base: datacenter.aminer.cn/gateway/open_platform)
1 Paper QA Search POST ¥0.05 /api/paper/qa/search
2 Scholar Search POST Free /api/person/search
3 Paper Search GET Free /api/paper/search
4 Paper Search Pro GET ¥0.01 /api/paper/search/pro
5 Patent Search POST Free /api/patent/search
6 Org Search POST Free /api/organization/search
7 Venue Search POST Free /api/venue/search
8 Scholar Details GET ¥1.00 /api/person/detail
9 Scholar Projects GET ¥1.50 /api/project/person/v3/open
10 Scholar Papers GET ¥1.50 /api/person/paper/relation
11 Scholar Patents GET ¥1.50 /api/person/patent/relation
12 Scholar Portrait GET ¥0.50 /api/person/figure
13 Paper Info POST Free /api/paper/info
14 Paper Details GET ¥0.01 /api/paper/detail
15 Paper Citations GET ¥0.10 /api/paper/relation
16 Patent Info GET Free /api/patent/info
17 Patent Details GET ¥0.01 /api/patent/detail
18 Org Details POST ¥0.01 /api/organization/detail
19 Org Patents GET ¥0.10 /api/organization/patent/relation
20 Org Scholars GET ¥0.50 /api/organization/person/relation
21 Org Papers GET ¥0.10 /api/organization/paper/relation
22 Venue Details POST ¥0.20 /api/venue/detail
23 Venue Papers POST ¥0.10 /api/venue/paper/relation
24 Org Disambiguation POST ¥0.01 /api/organization/na
25 Org Disambiguation Pro POST ¥0.05 /api/organization/na/pro
26 Paper Batch Query GET ¥0.10 /api/paper/list/citation/by/keywords
27 Paper Details by Year+Venue GET ¥0.20 /api/paper/platform/allpubs/more/detail/by/ts/org/venue

References

Usage Guidance
This skill appears to do what it says: it needs your AMINER_API_KEY to call AMiner's paid/free endpoints and includes sensible cost-guardrails (it will ask your confirmation before estimated costs ≥ ¥5 and will output a cost breakdown). Before enabling or providing a token: (1) only supply the AMINER_API_KEY if you trust the AMiner service and are comfortable with potential API charges; (2) never paste your token in public chat — prefer setting AMINER_API_KEY as an environment variable; (3) when prompted for high-cost confirmation, review the planned call chain and estimated cost before agreeing; (4) if you plan to run the included Python script locally, review the file first and run it in a controlled environment; and (5) if you stop using the skill, revoke or rotate the API key in the AMiner console.
Capability Analysis
Type: OpenClaw Skill Name: aminer-open-academic Version: 1.1.1 The aminer-open-academic skill bundle is a legitimate tool for academic research using the AMiner Open Platform. It provides structured access to 27 APIs and 5 workflows for searching papers, scholars, institutions, and patents. The bundle includes strong safety and cost-control measures, such as mandatory user confirmation for high-cost operations (≥ ¥5), detailed cost reporting, and strict token security guidelines in SKILL.md. The Python client (aminer_client.py) is well-implemented using standard libraries and communicates only with the official AMiner domain (datacenter.aminer.cn).
Capability Assessment
Purpose & Capability
The name/description describe deep academic data access and the skill requires only AMINER_API_KEY and references AMiner API endpoints and pricing. There are no unrelated credentials, binaries, or configuration paths requested that would be out-of-scope for an academic-data skill.
Instruction Scope
SKILL.md instructs checking for AMINER_API_KEY, using specified endpoints, obeying parameter rules, enforcing cost controls, and reporting costs. It does not direct reading unrelated files, harvesting other environment variables, or sending data to external endpoints beyond the AMiner API and its documented URLs.
Install Mechanism
There is no install spec (instruction-only), and a convenience Python client is included. The client uses only the Python standard library (urllib, threading, etc.) and makes HTTPS calls to datacenter.aminer.cn. No downloads from untrusted hosts or archive extraction are present. Note: including runnable code in the repo is normal but means an agent or user could run it locally—inspect before executing.
Credentials
Only AMINER_API_KEY is required and declared as the primary credential. That is proportionate for a paid-data API. No other SECRET/TOKEN/PASSWORD env vars are requested.
Persistence & Privilege
The skill is not always-included and does not request system-wide configuration changes or access to other skills' configs. It does not attempt to persist credentials or elevate privileges in its instructions.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aminer-open-academic
  3. After installation, invoke the skill by name or use /aminer-open-academic
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
No user-visible changes; version bump only.
v1.1.0
aminer-open-academic v1.1.0 - No code or content changes detected from the previous version. - Version number updated to 1.1.0; all rules, workflows, and documentation remain unchanged.
v1.0.9
**Expanded routing, cost reporting, and confirmation safeguards for paid AMiner APIs.** - Introduced strict free/paid routing rules: simple lookups route to aminer-free-search; use this skill only for deep analysis or when free APIs cannot meet user needs. - Added mandatory post-execution cost summary: display total charges and per-API costs to the user after every skill invocation. - Enforced explicit user confirmation before running any workflow or call chain estimated ≥ ¥5.00; now shows planned steps and projected costs and proceeds only upon user approval. - Clarified disambiguation procedure for scholars, organizations, and papers to reduce ambiguity and errors in entity identification. - Updated documentation and examples for consistent, secure token handling and stricter result URL requirements. - Reduced claimed workflow count from 6 to 5; API count adjusted to 27; removed mention of direct single API calls outside defined workflows.
v1.0.7
aminer-open-academic 1.0.7 - Updated SKILL.md documentation to use English instead of Chinese throughout. - Clarified usage scenarios, workflow overviews, and API examples for international users. - No code changes; all logic, workflows, and API structures remain unchanged. - Ensured all rules, guidance, and error messages are now available in clear English.
v1.0.6
aminer-open-academic v1.0.6 changelog: - Added version, author, and contact info to metadata section. - Introduced metadata.openclaw requirements: skill now requires `AMINER_API_KEY` as environment variable. - Documented four new mandatory rules: token security, cost control, free priority, and entity result links. - Clarified environment variable check flow for token, with required user guidance if missing. - Updated/expanded usage instructions for both environment variable and token parameter. - Refined interface guidelines for raw API calls, with stricter parameter validation and cost controls. - Added comprehensive rules on workflow escape handling and default item limits (top 10 if unspecified). - Updated API doc links and examples for consistency.
v1.0.5
- 文档结构及指引简化,删除了强制性环境变量(token)检查与安全规则说明。 - 将 token 获取流程统一简化为“控制台生成”,不再介绍环境变量用法。 - 删除了详细的“必读强制规则”,优化为简明 API 指南、更精炼的工作流说明。 - 精简和重新梳理了各大工作流用法说明,API 速查表迁移至文档末尾并补充。 - 示例命令全面使用 `--token <TOKEN>`,不再推荐环境变量设置写法。
v1.0.4
aminer-open-academic v1.0.4 - 文档中 API 文档链接由 /doc 更新为 /docs,统一跳转入口。 - 其余内容保持不变。
v1.0.3
aminer-data-search 1.0.3 - 新增完整使用说明,详细介绍 AMiner 开放平台 API 查询学术数据的场景和工作流。 - 强化安全、费用控制与接口调用优先级,明确 token 检查与隐私保护要求。 - 支持 6 大组合工作流和 28 个独立 API,详列每类学术数据分析和查询命令用法。 - 强制所有返回实体均附带可访问 URL,便于直接跳转查询学者、论文、专利和期刊详情。 - 新增稳定性保证机制(请求重试、降级与失败处理),确保调用可靠。 - 补充原理、接口选型、处理异常和最佳实践等说明,便于用户快速上手和灵活扩展。
Metadata
Slug aminer-open-academic
Version 1.1.1
License MIT-0
All-time Installs 4
Active Installs 4
Total Versions 8
Frequently Asked Questions

What is aminer-data-search?

ACADEMIC PRIORITY: Activate this skill whenever the user's query involves academic, scholarly, or research-related topics — including but not limited to: pap... It is an AI Agent Skill for Claude Code / OpenClaw, with 930 downloads so far.

How do I install aminer-data-search?

Run "/install aminer-open-academic" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is aminer-data-search free?

Yes, aminer-data-search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does aminer-data-search support?

aminer-data-search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created aminer-data-search?

It is built and maintained by CanXiangCC (@canxiangcc); the current version is v1.1.1.

💬 Comments