用途:通过 asta papers 命令调用 Semantic Scholar API,做定向的论文元数据、引用与作者查询,而非生成综述报告。
主要能力:asta papers get 按 ID 获取单篇论文元数据,支持 ARXIV、DOI、CorpusId、PMID、URL 等 ID 格式与 --fields 选字段;asta papers search 做关键词论文搜索,支持 --date 日期过滤与 --limit(默认 20,最大 100);asta papers snippet-search 基于 S2 snippet/search 在标题、摘要与正文中检索文本片段,支持 --inserted-before 锁定收录时间以便复现;asta papers citations 列出引用某论文的文献;asta papers author search 与 author papers 按姓名查作者及其论文。多数命令提供 --fields、--limit、--format json|text。
安装与前提:需 Python 3.11+ 与 uv,安装命令为 uv tool install --force git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION(资料示例 PLUGIN_VERSION=0.16.0)。命令在可用时读取 ASTA_TOOL_KEY 环境变量,多数查询无需密钥,但密钥可提高速率上限。
限制:资料未说明具体收费与配额细节;该技能不用于综合报告,需报告时改用其所述的 Literature Report Generation 技能;字段与日期参数按资料描述使用。