Skip to content
Skill

semanticscholar-skill

by Agents365-ai

AI Summary

Search academic papers via the Semantic Scholar API using a structured 4-phase workflow. Parse the user's intent and choose a search strategy: Write ONE Python script. Example:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "semanticscholar-skill" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/semanticscholar-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/semanticscholar-skill/SKILL.md "https://raw.githubusercontent.com/Agents365-ai/semanticscholar-skill/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Use when searching academic papers, looking up citations, finding authors, or getting paper recommendations using the Semantic Scholar API. Triggers on queries about research papers, academic search, citation analysis, or literature discovery.

Worked Examples

Example 1: Author workflow — "Find papers by Yann LeCun on self-supervised learning" `python import sys, os SKILL_DIR = next((p for p in [ os.path.expanduser("~/.claude/skills/semanticscholar-skill"), os.path.expanduser("~/.openclaw/skills/semanticscholar-skill"), ] if os.path.isdir(p)), ".") sys.path.insert(0, SKILL_DIR) from s2 import * authors = search_authors("Yann LeCun", max_results=5) print(format_authors(authors))

Semantic Scholar Search Workflow

Search academic papers via the Semantic Scholar API using a structured 4-phase workflow. Critical rule: NEVER make multiple sequential Bash calls for API requests. Always write ONE Python script that runs all searches, then execute it once. All rate limiting is handled inside s2.py automatically.

Phase 1: Understand & Plan

Parse the user's intent and choose a search strategy:

Decision Tree

| User wants... | Strategy | Function | |---------------|----------|----------| | Broad topic exploration | Relevance search | search_relevance() | | Precise technical terms, exact phrases | Bulk search with boolean operators | search_bulk() with build_bool_query() | | Specific passages or methods | Snippet search | search_snippets() | | Known paper by title | Title match | match_title() | | Known paper by DOI/PMID/ArXiv | Direct lookup | get_paper() | | Papers citing a known work | Citation traversal | get_citations() | | Related to one paper | Single-seed recommendations | find_similar() | | Related to multiple papers | Multi-seed recommendations | recommend() | | Find a researcher | Author search | search_authors() | | Researcher's profile | Author details | get_author() | | Researcher's publications | Author papers | get_author_papers() |

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 3d ago
Active
AdoptionUnder 100 stars
21 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars21
Issues0
Updated3d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code