360 Secure SkillHub
360 安全技能中心

Literature Review

该 Skill 通过本地 Python 脚本调用 Semantic Scholar、OpenAlex、Crossref 与 PubMed,按关键词或 DOI 检索论文并返回标题、作者、年份、摘要、期刊、引用数等元数据,支持多源结果按 DOI 自动去重,并指导将摘要分组整理、撰写文献综述章节与引用。需 Python 3 与 requests 库,脚本本身未随包提供。

juanbastias
juanbastias
热度 45.30
最近更新 2026-07-08 22:07:09
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究 / 摘要总结 / 报告撰写 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add juanbastias/literature-review
Metadata
name
literature-review
version
1.2.0
description
Assistance with writing literature reviews by searching for academic sources via Semantic Scholar, OpenAlex, Crossref and PubMed APIs. Use when the user needs to find papers on a topic, get details for specific DOIs, or draft sections of a literature review with proper citations.
license
MIT-0

Literature Review

Help write academic literature reviews using a multi-engine search integration (S2, OA, CR, PM).

Capabilities

  • Multi-Source Search: Find relevant academic papers using Semantic Scholar (S2), OpenAlex (OA), Crossref (CR), and PubMed (PM).
  • Full Abstracts: All sources return complete abstracts (PubMed uses efetch for full XML records).
  • DOI Extraction: DOIs are extracted from all sources for cross-referencing and deduplication.
  • Automatic Deduplication: When searching multiple sources (--source all or --source both), results are automatically deduplicated by DOI.
  • Polite Access: Automatic email identification for OpenAlex/Crossref "Polite Pool" (via USER_EMAIL env var).
  • Abstract Reconstruction: Reconstructs abstracts from OpenAlex inverted index format.
  • Synthesis: Group papers by theme and draft review sections based on metadata.

Environment Variables

Variable Purpose Default
USER_EMAIL Email for polite API access anonymous@example.org
CLAWDBOT_EMAIL Fallback if USER_EMAIL not set —
SEMANTIC_SCHOLAR_API_KEY Optional S2 API key for higher rate limits —
OPENALEX_API_KEY Optional OpenAlex API key —

Local Script Setup

This skill uses a local Python script (lit_search.py) that you need in your workspace. Place it at a known path and adjust the commands below accordingly. The script requires Python 3 and the requests library.

# Install dependencies
pip install requests

# Run a search (adjust path to your local script location)
python3 /path/to/lit_search.py search "your query" --limit 5 --source all

Workflows

1. Broad Search (All Bases)

Get a comprehensive overview from all major academic databases. Results are automatically deduplicated by DOI.

python3 /path/to/lit_search.py search "impact of glycyrrhiza on bifidobacterium" --limit 5 --source all

2. Targeted Search

  • OpenAlex (oa): Fast and comprehensive, good abstracts.
  • Semantic Scholar (s2): High-quality citation data and TL;DRs.
  • Crossref (cr): Precise DOI-based metadata (no abstracts).
  • PubMed (pm): Gold standard for biomedical research, full abstracts and PMIDs.
python3 /path/to/lit_search.py search "prebiotic effects of liquorice" --source pm

3. Comparing Sources

Search both S2 and OA simultaneously to ensure nothing is missed. Deduplicated by default.

python3 /path/to/lit_search.py search "Bifidobacterium infantis growth" --source both

4. Getting Full Details (S2)

Retrieve detailed metadata including TL;DR summaries.

python3 /path/to/lit_search.py details "DOI:10.1016/j.foodchem.2023.136000"

5. Writing the Review

  1. Extract: Pull key findings from the abstracts found.
  2. Organize: Group findings into a logical structure (e.g., chronological or thematic).
  3. Draft: Use the "Think step-by-step" approach to synthesize multiple sources into a coherent narrative.

Output Format

Each result includes:

  • id: Source-specific identifier (PMID for PubMed, OpenAlex ID, S2 paper ID, DOI for Crossref)
  • doi: DOI when available (used for deduplication)
  • title: Paper title
  • year: Publication year
  • authors: List of author names
  • abstract: Full abstract text (when available)
  • venue: Journal or conference name
  • citationCount: Citation count (S2, OA)
  • source: Which database the result came from

Tips for Success

  • Citations: Always cross-reference the DOI or PMID for accuracy in bibliography.
  • Filtering: Focus on papers with higher citationCount or recent years for a more modern review.
  • PubMed for Medicine: Use --source pm for the most reliable biomedical literature.
  • Deduplication: Multi-source searches automatically remove duplicates; use single sources if you need raw counts.