← 返回 Skills 市场
jibeilindong

Academic Literature Search

作者 Jibeilindong · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ✓ 安全检测通过
1173
总下载
1
收藏
6
当前安装
4
版本数
在 OpenClaw 中安装
/install academic-literature-search
功能描述
提供多权威数据库的学术文献检索,支持自然语言、多字段搜索、高级过滤、去重排序及多格式结果输出。
使用说明 (SKILL.md)

学术文献检索技能

概述

这是一个专注于学术文献检索的专业工具,集成了多个权威学术数据库,提供全面、快速、准确的文献检索服务。支持多数据库并发检索、高级过滤、智能排序和多种输出格式。

核心功能

🔍 强大的检索能力

  • 多数据库集成:Semantic Scholar、Crossref、arXiv、PubMed
  • 智能查询解析:自然语言、布尔运算、字段限定、短语搜索
  • 并发检索:同时查询多个数据库,毫秒级响应
  • 高级过滤:年份、引用数、期刊类型、开放获取、语言等

📖 高级检索特性

  • 自然语言查询
  • 布尔运算符 (AND, OR, NOT)
  • 字段限定搜索 (title:, author:, year:)
  • 范围搜索 (year:2020-2024, citations:>100)
  • 通配符搜索

🎯 精准的结果处理

  • 智能去重:基于DOI、标题、作者等多维度去重
  • 多维度排序:引用数、年份、相关性、影响力、趋势
  • 高级过滤:(期刊、开放获取、文献类型)
  • 结果丰富:自动补充元数据、计算影响力指标
  • 质量评分:综合评分系统,提供最佳结果

💬 丰富的输出格式

  • Markdown:适合阅读和笔记
  • JSON:适合程序处理
  • CSV/Excel:适合数据分析和导入
  • BibTeX/RIS:适合参考文献管理
  • HTML/XML:适合网页展示和数据交换

⚡ 性能优化

  • 多级缓存:内存、磁盘、分布式缓存
  • 智能重试:自动处理速率限制和网络错误
  • 渐进式加载:快速返回第一批结果
  • 请求合并:减少API调用次数

支持的数据库

数据库 数据量 优势领域 速率限制
Semantic Scholar 2.33亿+ AI、计算机科学、多学科 100请求/5分钟(无认证)
Crossref 1.4亿+ 期刊文章、官方DOI 无限制(礼貌使用)
arXiv 220万+ 预印本、计算机、物理、数学 无限制
PubMed 3500万+ 生物医学、生命科学 10请求/秒

使用示例

基本检索

from agent import AcademicLiteratureSearchSkill
import asyncio

async def main():
    skill = AcademicLiteratureSearchSkill()
    
    params = {
        "query": "deep learning in medical imaging",
        "databases": ["semantic_scholar"],
        "max_results": 10
    }
    
    result = await skill.execute(params)
    print(result["results"])

asyncio.run(main())

高级检索

params = {
    "query": "attention mechanism AND transformer",
    "databases": ["semantic_scholar", "crossref"],
    "year_range": "2020-2024",
    "max_results": 100,
    "sort_by": "citations",
    "min_citations": 50,
    "open_access_only": True,
    "output_format": "markdown"
}

作为库使用

from agent import LiteratureSearchEngine

async def search():
    async with LiteratureSearchEngine() as engine:
        papers = await engine.search(
            query="reinforcement learning",
            databases=["semantic_scholar", "arxiv"],
            max_results=20
        )
        for paper in papers:
            print(f"{paper.title} - {paper.citation_count} citations")

参数说明

查询参数

参数 类型 默认值 说明
query string 必需 检索查询字符串
databases array ["semantic_scholar", "crossref"] 使用的数据库列表
max_results integer 50 最大返回数量 (1-1000)
year_range string - 年份范围,如 "2020-2024"
sort_by string "relevance" 排序方式
sort_order string "desc" 排序顺序 (asc/desc)
open_access_only boolean false 仅开放获取文献
min_citations integer - 最小引用数
venue_filter array - 期刊/会议过滤

输出参数

参数 类型 默认值 说明
output_format string "markdown" 输出格式
output_file string - 输出文件路径
interactive boolean false 交互式模式
verbose boolean false 详细输出
cache boolean true 启用缓存
save_results boolean false 保存结果到文件

配置说明

环境变量

# API 密钥(可选,不设置也可运行,但建议设置自己的密钥)
# 获取方式:
# - Semantic Scholar: https://www.semanticscholar.org/product/api
# - PubMed: https://www.ncbi.nlm.nih.gov/account/

SEMANTIC_SCHOLAR_API_KEY="your_key_here"
CROSSREF_API_EMAIL="[email protected]"
PUBMED_API_KEY="your_key_here"

配置文件

复制 config.example.yamlconfig.yaml 并修改配置。

错误处理

  • 网络错误:自动重试,提供降级方案
  • API限制:智能退避,多API密钥轮换
  • 无效查询:提供修正建议
  • 无结果:提供扩展搜索建议

许可证

MIT License

安全与隐私

数据流向

  • 检索查询会发送到第三方API:Semantic Scholar、Crossref、PubMed、arXiv
  • 搜索关键词和论文元数据会被发送到这些服务

建议

  • 使用虚拟环境运行:python -m venv venv && source venv/bin/activate
  • 设置自己的 API 密钥以使用您的凭证
  • 默认使用 [email protected] 作为 Crossref 邮箱
  • 缓存目录:~/.cache/openclaw/literature

隐私

  • 如需高隐私保护,避免使用默认凭证
  • 可在代码中审查网络请求目的地
安全使用建议
This skill appears consistent with its stated purpose. Before installing: (1) review the full agent.py (the provided snippet is long—ensure no hidden endpoints or unexpected behavior), (2) run it in a virtualenv and install dependencies from requirements.txt, (3) set your own API keys (avoid default email/credentials), (4) verify the repository/homepage and version (skill.json lists version 2.0.0 while registry metadata shows 0.1.3), and (5) be aware it will contact third-party academic APIs and store cache/log files under your home directory. If you need higher assurance, inspect the entire agent.py for any network calls beyond the documented APIs and run tests in an isolated environment.
功能分析
Type: OpenClaw Skill Name: academic-literature-search Version: 0.1.3 The skill bundle is a legitimate academic literature search tool that integrates with Semantic Scholar, Crossref, PubMed, and arXiv. The code in `agent.py` follows standard practices for asynchronous API requests and data processing, with no evidence of malicious intent, data exfiltration, or unauthorized command execution. All requested permissions and behaviors, such as network access to academic databases and local file writing for caching/results, are consistent with the tool's stated purpose.
能力评估
Purpose & Capability
Name/description claim integration with Semantic Scholar, Crossref, PubMed, arXiv; the code (agent.py), SKILL.md, README, and skill.json implement HTTP clients, caching, output formatting, and configuration. Required network and file-write permissions match the stated purpose. Optional API keys are appropriate for the listed providers.
Instruction Scope
SKILL.md instructs the agent to send search queries to the documented third-party APIs, use a config file and cache directory, and optionally set API keys. It does not instruct reading unrelated system files, harvesting credentials, or calling hidden endpoints. It recommends reviewing network destinations and using your own API keys.
Install Mechanism
There is no explicit install spec (instruction-only), but the package includes code and a requirements.txt. That is not inherently malicious, but users must ensure dependencies (aiohttp, requests, pandas, pyyaml, aiofiles) are installed in a controlled environment (virtualenv). The lack of an install step means the runtime may fail if deps aren't present—this is an operational note rather than a security issue.
Credentials
Environment variables mentioned (SEMANTIC_SCHOLAR_API_KEY, CROSSREF_API_EMAIL, PUBMED_API_KEY) are optional and appropriate for the APIs used. No unrelated credentials or high-privilege env vars are requested. The code uses a cache directory under the user's home—expected for caching.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It writes to a local cache directory and may create log files as configured—these are reasonable for the function.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install academic-literature-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /academic-literature-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Version 0.1.3 - 增加“安全与隐私”说明,详细列出数据流向、建议、缓存和隐私注意事项 - 优化环境变量说明,明确密钥获取方式及建议设置自己的 API 密钥 - 删除网络配置、缓存和日志的环境变量示例,仅保留关键API相关内容 - 其他文档内容保持一致,未增加或删减功能
v0.1.2
academic-literature-search v0.1.2 Update author and repository
v0.1.1
Update author and repository information in skill.json
v0.1.0
- Initial release of the academic literature search skill. - Supports concurrent searching across major databases: Semantic Scholar, Crossref, arXiv, and PubMed. - Provides advanced query features including natural language parsing, Boolean operators, field search, range and wildcard search. - Offers robust filtering, deduplication, and sorting by citation, relevance, year, and more. - Supports multiple output formats: Markdown, JSON, CSV/Excel, BibTeX/RIS, HTML/XML. - Includes performance optimizations such as caching, smart retries, and progressive loading.
元数据
Slug academic-literature-search
版本 0.1.3
许可证 MIT-0
累计安装 6
当前安装数 6
历史版本数 4
常见问题

Academic Literature Search 是什么?

提供多权威数据库的学术文献检索,支持自然语言、多字段搜索、高级过滤、去重排序及多格式结果输出。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1173 次。

如何安装 Academic Literature Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install academic-literature-search」即可一键安装,无需额外配置。

Academic Literature Search 是免费的吗?

是的,Academic Literature Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Academic Literature Search 支持哪些平台?

Academic Literature Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Academic Literature Search?

由 Jibeilindong(@jibeilindong)开发并维护,当前版本 v0.1.3。

💬 留言讨论