semantic-scholar-deep
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "semantic-scholar-deep" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cd915ddb802dee923dc94bd5be710d34fd41eaf2a3493c0572eb41ca98356d3e. Verify the upstream source and version against https://github.com/CodeAlive-AI/ai-driven-development before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Perform deep research via the Semantic Scholar graph API, covering endpoints missing from the allenai lookup skill—paper references (reverse citations), recommendations, bulk paper queries (up to 500 IDs), snippet search, and multi-hop citation graph traversal (BFS forward/reverse). Use for building citation graphs, expanding literature seeds, finding related work, traversing citation networks, exploring what a paper cites or is cited by, or bulk-resolving multiple DOI/arXiv/S2 IDs; not for single-paper ID lookup or topic discovery.
Introduction source: third_party · CodeAlive-AI · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Deep research over the Semantic Scholar Graph API. Covers endpoints missing from allenai's lookup skill — paper references (backward citations), recommendations, batch paper lookup (up to 500 IDs), snippet search, and multi-hop citation graph traversal (BFS forward/backward). Use when the user asks to build a citation graph, expand a literature seed, find related work, run a reference network traversal, explore what a paper cites or what cites it beyond simple lookup, or batch-resolve many DOI/arXiv/S2 IDs. For multi-step research questions, delegate to the deep-paper-researcher subagent to keep the main context clean. Not for single paper-by-ID lookups (use semantic-scholar-lookup) or topical discovery (use web_search_advanced_exa).
- Audience
- Trigger this skill for: **Citation graph / network** over a seed paper or topic **Backward references** (what does this paper cite?) — *not* covered by allenai **Forward citations** with pagination beyond 1000 results **Recommendations** — related-paper discovery from a seed **Batch lookup** — resolve 50-500 DOI/arXiv/CorpusId/S2 IDs in one call **Snippet search** — find specific passages across the S2 corpus Do NOT use** for: Simple "get paper by ID" or "who cited this" — use `semantic-scholar-lookup` (faster, no Python) Broad topical discovery — use `web_search_advanced_exa` with `category: "research paper"` (Exa MCP) Consumer-level literature questions — use the `deep-paper-researcher` su
- Inputs and outputs
- Scripts emit raw JSON — redirect to files for anything beyond ~20 results. For graphs >50 nodes always pass `--output graph.json` to avoid flooding the conversation context.
- Testing
- Not tested
Browse files
Frontmatter
name: semantic-scholar-deep
description: Deep research over the Semantic Scholar Graph API. Covers endpoints missing from allenai's lookup skill — paper references (backward citations), recommendations, batch paper lookup (up to 500 IDs), snippet search, and multi-hop citation graph traversal (BFS forward/backward). Use when the user asks to build a citation graph, expand a literature seed, find related work, run a reference network traversal, explore what a paper cites or what cites it beyond simple lookup, or batch-resolve many DOI/arXiv/S2 IDs. For multi-step research questions, delegate to the deep-paper-researcher subagent to keep the main context clean. Not for single paper-by-ID lookups (use semantic-scholar-lookup) or topical discovery (use web_search_advanced_exa).
allowed-tools: Bash(python3:*), Read, Write, Edit, Glob, Grep, AgentSemantic Scholar — Deep Research
Purpose: fill the gaps that semantic-scholar-lookup (allenai) leaves — references, recommendations, batch, and multi-hop citation-graph traversal.
Contents
- Dispatch Rule — inline vs delegate; model selection
- When to Use — trigger scenarios
- Scripts —
ss_client.py+citation_graph.py - Authentication & Rate Limits
- Progressive Disclosure — deeper references
- Output Hygiene
- Integration — typical pipeline with the subagent
Dispatch Rule (read first)
Two execution modes:
Inline (run the Bash scripts yourself)
Use when the user asks for one specific endpoint:
- "get references of paper X" →
ss_client.py references <id> - "recommendations for paper Y" →
ss_client.py recommendations <id> - "batch-resolve these 30 DOIs" →
ss_client.py batch ... - "find the snippet where X is said" →
ss_client.py snippets "..."
Fast, cheap, no orchestration overhead.
Delegate to deep-paper-researcher subagent
Use when the task is multi-step or would otherwise flood the context:
- Literature review on a topic
- Citation graph / network analysis around a seed paper
- Novelty check for an idea
- State-of-the-art survey
- Anything that requires merging Exa discovery + S2 graph + ranking
Mandatory prompt contents. The subagent runs in isolated context with no access to this conversation's system reminders. Include exactly these two things:
- Today's date — inline as
Today is YYYY-MM-DD.Pull from thecurrentDatesystem-reminder field, or rundate -Ivia Bash before delegating if it's missing. Never rely on training-data intuitions about the current year. - User's request, verbatim — pass the user's original phrasing (topic + any freshness words like "современные / recent / классические / seminal" and any explicit dates like "since 2024"). Translate language if needed but do not paraphrase trigger words into date windows.
Do NOT do any of these:
- Do NOT classify freshness yourself (RECENT/FOUNDATIONAL/MIXED). The subagent does that from the verbatim user request.
- Do NOT invent a date window. If the user said "современные / recent / latest" without a year, the subagent defaults to last 6 months — don't preempt it with "2024-2026".
- Do NOT drop the trigger words. The subagent relies on them to pick the right mode.
Call:
Agent(
subagent_type="deep-paper-researcher",
description="<3–5 word task>",
prompt="Today is 2026-04-22.\n\nUser's request: найди современные 10 статей про AI Code Review на arXiv.\n\n<optional: output format hints, language preference>"
# model: "opus" ← add only when the user opts in (see below)
)
The subagent's Freshness Mode section handles classification; keep this layer thin.
Model selection (Sonnet default, Opus on demand)
The subagent's model frontmatter is sonnet — that's the default.
Override to Opus by passing model: "opus" to the Agent tool only if the user explicitly requests deeper reasoning. Triggers (any of):
- English: "deep dive", "thorough", "rigorous", "use Opus", "high quality", "comprehensive", "exhaustive"
- Russian: "глубокий/глубже", "тщательный/тщательно", "подробно", "в режиме Опус/Opus", "максимально качественно", "серьёзный ресерч"
Never auto-upgrade to Opus without a user signal — Sonnet handles the default literature-review workflow fine and costs less.
When to Use
Trigger this skill for:
- Citation graph / network over a seed paper or topic
- Backward references (what does this paper cite?) — not covered by allenai
- Forward citations with pagination beyond 1000 results
- Recommendations — related-paper discovery from a seed
- Batch lookup — resolve 50-500 DOI/arXiv/CorpusId/S2 IDs in one call
- Snippet search — find specific passages across the S2 corpus
Do NOT use for:
- Simple "get paper by ID" or "who cited this" — use
semantic-scholar-lookup(faster, no Python) - Broad topical discovery — use
web_search_advanced_exawithcategory: "research paper"(Exa MCP) - Consumer-level literature questions — use the
deep-paper-researchersubagent, which orchestrates all three tools
Scripts
Located under ${SKILL_DIR}/scripts/.
ss_client.py — raw API client
Subcommands (all output JSON on stdout):
| Command | Endpoint | Notes |
|---|---|---|
search <query> |
/graph/v1/paper/search |
--bulk switches to /search/bulk (up to 1000/page) |
paper <id> |
/graph/v1/paper/{id} |
ID forms: raw, DOI:, ARXIV:, CorpusId:, PMID:, URL: |
citations <id> |
/graph/v1/paper/{id}/citations |
paginated; up to 1000 per page |
references <id> |
/graph/v1/paper/{id}/references |
paginated; up to 1000 per page |
recommendations <id> |
/recommendations/v1/papers/forpaper/{id} |
--pool recent|all-cs |
batch <id1> <id2> ... |
POST /graph/v1/paper/batch |
up to 500 IDs |
author-search <query> |
/graph/v1/author/search |
|
author <id> |
/graph/v1/author/{id} |
|
author-papers <id> |
/graph/v1/author/{id}/papers |
|
snippets <query> |
/graph/v1/snippet/search |
Full-text snippets |
Common flags: --limit, --offset, --fields, --year, --fields-of-study, --venue, --min-citation-count.
citation_graph.py — BFS traversal
python3 ${SKILL_DIR}/scripts/citation_graph.py <paperId> \
--direction both \
--depth 2 \
--max-nodes 200 \
--per-hop-limit 50 \
--output graph.json
Directions: forward (citations), backward (references), both. Output schema described in the script docstring — nodes: {paperId → metadata+depth}, edges: [{src, dst, direction}].
Authentication & Rate Limits
- Without API key: ~1 RPS shared, 100 queries/5min bursts. Fine for small graphs.
- With
SEMANTIC_SCHOLAR_API_KEYenv var: much higher limits. - Apply: https://www.semanticscholar.org/product/api#api-key
- The client does exponential backoff (1→30s) on HTTP 429/5xx, respects
Retry-After.
Progressive Disclosure
references/endpoints.md— complete field list per endpoint + query examplesreferences/workflows.md— lit-review, novelty-check, seed-expansion patterns
Output Hygiene
Scripts emit raw JSON — redirect to files for anything beyond ~20 results. For graphs >50 nodes always pass --output graph.json to avoid flooding the conversation context.
Integration
Typical pipeline inside the deep-paper-researcher subagent:
- Discovery —
mcp__exa__web_search_advanced_exa(neural + multi-source) - ID resolution —
ss_client.py search/batchto getpaperIdfrom titles or DOIs - Graph expansion —
citation_graph.pywith the top 3-5 seeds - Synthesis — distill nodes/edges into a ranked report
Optional: Bundled Subagent
A paired subagent definition ships alongside the skill at agents/deep-paper-researcher.md. It orchestrates Exa MCP + allenai semantic-scholar-lookup + this skill's scripts into a token-isolated research agent with:
- Mandatory input validation (today's date anchoring + caller-paraphrased-window detection)
- Freshness Mode classifier (RECENT / FOUNDATIONAL / MIXED)
- Sort-then-tiebreak ranking (never multiplies citations × recency into a single score)
- Compact report format with explicit
Anchor date/Mode/Windowheader
To install for Claude Code (manual, one-time):
cp ~/.agents/skills/semantic-scholar-deep/agents/deep-paper-researcher.md ~/.claude/agents/
(Path may differ on other agents — copy to the agent's subagents directory, then restart the session.)
Prerequisites for full pipeline: Exa MCP connected, allenai/asta-plugins@"Semantic Scholar Lookup" skill installed.
Version history
-
v10.11.0
GitHub ↗
Original release notes
## pragmatic-architecture (new) A design method for simple solutions that are not fragile, from the choice of model, state ownership and boundaries down to the order of implementation steps. It unfolds Kent Beck's rule: "For each desired change, make the change easy (warning: this may be hard), then make the easy change." - **Two tests, in order.** A design that breaks a must under a realistic sequence of events is out. Among the admissible ones, prefer the design in which this change and the next plausible ones cost least. - **A route of eight steps,** each ending in an output, from naming the change to rehearsing it. How deep to go is decided by what the change touches, not by the size of the diff. - **The context that decides a design** is part of the method: eight groups of facts, a filter question, criteria, cost over the horizon and a stopping condition (`references/context.md`). - **A property card for each promise at risk:** mechanism, assumptions, a counterexample of 3-4 events, the nearest failure the mechanism does not stop, evidence, recovery. - References on models and boundaries, failure and recovery, the change path, and 22 moves indexed by symptom. The `architecture-consilium` skill in [pragmatic-orchestration](https://github.com/CodeAlive-AI/pragmatic-orchestration) applies the method with several independent architect models. Not measured yet: the effect of the skill on real design work. One probe on a single task showed no difference with and without the core; the task was too easy to tell. ## pragmatic-verification - Case design: a mode, setting or permission the user can turn on needs a case that turns it off again and one that shows which state is current. ## maintaining-macos-health - `mac-heavy` rewritten: a holder blocks other heavy jobs only while it is busy (its first 45 s, or while its process tree uses at least 50 % CPU or 1024 MB RSS), so something light wrapped by mistake no longer holds the queue. ## fetch-url-as-markdown - The script runs through `uv` with an inline PEP 723 header and a lock file, instead of a system-wide `pip` install.
-
v10.10.0
GitHub ↗
Original release notes
## pragmatic-verification Three gaps found by an experiment in which two models planned the verification of a real issue with and without the skill: - **Time bounds are boundaries.** Delays, timeouts, expiry and upper caps are checked just before and just after the bound with a controlled clock, including the cap that ends waiting and a wait that outlives the process. - **Platform rules a substitute does not enforce.** The fidelity questions for a significant fake now ask which rules of the real platform (required user-visible effects, permissions, background limits, quotas, sizes, signing) the substitute skips. - **The purpose after release.** When a change exists to move an outcome only real use shows, closeout names the signal, its baseline and when it is read, and reports the purpose as not verified until then. ## maintaining-macos-health - Memory guard: recalibrated alert and kill thresholds, swap gated on VM free space, limited freezes, a 60-second projection; the 120-second frozen-unit hold and the repeat-offender exception restored; ALERT on slow swap growth with less than 10 GiB free. ## skills-management - `install_skill.py --link` no longer refuses to link a canonical source that the duplicate audit finds at the same real path. - A project-scope install from inside a skill directory is refused, and the CLI prints the same command with `--scope global`. ## fpf-problem-solving - Library synced with upstream; new Core patterns routed. ## Docs - README: the `openrouter-provider-ranking` skill now points to rodion-m/model-that-fits-my-task; the skill tree is rebuilt.
-
v10.9.0
GitHub ↗
Original release notes
- **Renamed:** `verification-playbook` is now `pragmatic-verification`. Install it under the new name; the old name no longer exists. - **New: audit of an existing project.** The skill now audits the tests, gates and QA practice of a project with no particular change at hand (`references/suite-audit.md`). The auditor sizes the project, asks once (scope, worker models, parallelism, whether anything may be run), splits the tests into shards, lets cheaper worker models scan them, verifies their claims itself and reports three to seven ranked, concrete fixes. Read-only and static by default. No score and no coverage target. - **Worker contract** (`references/suite-audit-worker.md`): lettered signals for self-confirming and vacuous tests, doubles, level, duplicates, brittle and flaky sources, checks that may be off, heavy setup and UI hygiene. Every finding carries a file, a line and one line quoted exactly, so locations are checked mechanically. - **Calibrated on a real repository** with three worker models (21 runs). What the run changed: - The auditor reads each critical shard itself and also gives it to one worker. One model found between a third and two thirds of what three found together. - Shards stay at about 2,000 lines for any model: a larger shard gave every model fewer findings per line. - Findings of several workers are joined by location, recall is counted by signal family, and search hits are classified by reading before they serve as the answer key. - Delivery rules for harnesses confined to the repository, and a read-only check that compares the audited files with the recorded revision. - The worker's own confidence is not used to pick what to verify.
-
v10.8.0
GitHub ↗
Original release notes
- New `verification-playbook` skill: a language-agnostic playbook for thoughtful tests and checks. For each risk, pick the cheapest check that still contains the mechanism of the defect and lets the correct result be observed. - Decides what goes to unit, integration, contract or e2e, when to mock and what must stay real, and how to avoid self-confirming, redundant, brittle and flaky tests. - Plans and runs QA passes through browser, computer or phone use, and closes out with per-claim evidence statuses (verified / partially verified / not verified / blocked). - Compact `SKILL.md` (~2k tokens) with a read-when table, eight topical references and per-stack tooling files (Python, TypeScript/JavaScript, JVM, .NET, Go, mobile).
-
v10.7.0
GitHub ↗
Original release notes
- New `mac-heavy` wrapper (maintaining-macos-health): one Mac-wide slot for heavy local work (lint, type checks, tests, installs, land gates); admits only while the memory guard reports CALM; nested calls run inline; default wait 30 min, exit 75 on timeout; `mac-heavy status` shows holder, waiters and guard level; best-effort ledger without argv. - The memory guard now writes a live status file every sample (`~/.local/state/mac-health/memory-guard.status`), atomically, at mode 0600. - If the guard status is unavailable, admission warns visibly and uses the slot alone.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 填补基础 lookup 技能空白,提供参考文献、推荐、批量查询、多跳引用图遍历等高阶学术功能
- 适用于文献综述、引用网络分析、种子扩展等明确科研场景,实用性强
Highlights
- 触发场景定义清晰(如构建引用图、批量解析 ID),排除场景明确(如单篇查询、主题发现)
- 边界清晰,不易与其他 Skill 重叠
Areas to improve
-
description 写错位置 Reported severity: Minor
顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部
Recommendation: 建议将 description 内容移至顶层 frontmatter 字段,以符合规范
-
文档过长 Reported severity: Minor
主文档约1800词,内容详尽但可能影响可读性
Recommendation: 建议将部分细节(如完整字段列表、工作流示例)移至 references/ 目录下独立文件
Highlights
- 结构完整,包含执行模式划分、脚本说明、集成流程等关键章节
- 提供了清晰的子代理委托规则和模型选择策略
Highlights
- 工具来源明确,支持分页和批量操作,处理速率限制
- 对多步任务推荐委托子代理,避免上下文溢出,输出建议重定向到文件
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 129, 131
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- www.semanticscholar.org
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.