ppw:literature
БесплатноБез исполняемых скриптовНе проверенSearch academic literature via Semantic Scholar MCP, select papers interactively, and generate verified BibTeX entries. 文献检索与BibTeX生成,通过Semantic Scholar MCP。
от Lylll9436★ 389 звёзд на GitHubОб этом скилле
Purpose
This Skill searches academic literature using the Semantic Scholar MCP, presents an interactive numbered result list (up to 10 papers), waits for the user to select a specific paper, then generates a verified BibTeX entry built exclusively from MCP-returned data. Before any workflow begins, a pre-flight probe confirms MCP availability — if unavailable, the Skill refuses immediately with setup instructions rather than proceeding with degraded capability. After the user selects a paper, a mandatory anti-hallucination verification prompt reminds the user to confirm the paper's actual relevance before committing the citation. This Skill does not write or rewrite paper content; it searches, selects, and generates citation entries only.
Trigger
Activates when the user asks to:
- Search or find academic papers on a topic
- Generate BibTeX or citation entries for a reference
- 帮我找文献、检索相关论文、帮我生成引用格式
Example invocations:
- "Find papers about urban heat island" / "帮我找关于城市热岛的文献"
- "Search literature for spatiotemporal analysis" / "检索时空分析相关文献"
- "Generate BibTeX for a citation" / "帮我生成BibTeX引用格式"
Modes
| Mode | Default | Behavior |
|---|---|---|
direct |
Yes | Single-shot search → result list → user selects → BibTeX generated; no iteration |
batch |
Not supported — each search requires user selection in session |
Default mode: direct. Search is single-shot: if results are unsatisfactory, user re-triggers the Skill with different keywords.
References
Required (always loaded)
None. This is a search task — no expression pattern files needed.
Leaf Hints
None.
No reference files loaded. All paper metadata sourced from Semantic Scholar MCP at runtime.
Ask Strategy
The Skill collects search inputs conversationally. At most two questions:
- Search query (required): the topic or keyword to search — ask only if not provided in the trigger message.
- Result count (optional): how many results to display. Default: 5. Maximum: 10.
If the user provides the topic in the trigger message, skip question 1 and proceed immediately.
Workflow
Step 0: Workflow Memory Check
- Read
.planning/workflow-memory.json. If file missing or empty, skip to Step 1. - Check if the last 1-2 log entries form a recognized pattern with
ppw:literaturethat has appeared >= threshold times in the log. Seeskill-conventions.md > Workflow Memory > Pattern Detectionfor the full algorithm. - If a pattern is found, present recommendation via AskUserQuestion:
- Question: "检测到常用流程:[pattern](已出现 N 次)。是否直接以 direct 模式运行 ppw:literature?"
- Options: "Yes, proceed" / "No, continue normally"
- If user accepts: set mode to
direct, skip Ask Strategy questions. - If user declines or AskUserQuestion unavailable: continue in normal mode.
Step 1: MCP Pre-flight Check
Call
mcp__semantic-scholar__papers-search-basicwith{"query": "test", "limit": 1}.If the call succeeds: proceed to Step 2.
If the call fails or tool is unavailable: refuse immediately with:
"Semantic Scholar MCP is not available. To use this Skill:
- Open Claude Code Settings → MCP Servers
- Add the Semantic Scholar server (server key:
semanticscholar) - Restart Claude Code and retry"
Do NOT proceed past this point if MCP is unavailable.
Step 2: Collect Search Query
- Extract the search topic from the trigger message if present.
- If topic not provided, ask: "What topic or keywords should I search for?"
- Confirm result count (default: 5).
- Record workflow: Append
{"skill": "ppw:literature", "ts": "<ISO timestamp>"}to.planning/workflow-memory.json. Create file as[]if missing. Drop oldest entry if log length >= 50.
Step 3: Execute Search and Build Result Cards
Call
mcp__semantic-scholar__papers-search-basicwith the user's query and result count.For each returned paper: if the abstract field is empty in the search result, call
mcp__semantic-scholar__get-paper-abstractto fetch an abstract excerpt.Display numbered result cards in this exact format:
**[1] Title of the Paper** Authors: Smith, J.; Lee, K. · Year: 2023 · Citations: 142 > "One sentence from abstract describing the core contribution..." **[2] Another Relevant Paper** Authors: Zhang, W. · Year: 2022 · Citations: 89 > "Abstract not available"End the display with: "Please select a paper (enter number), or type 'none' to cancel."
Step 4: User Selection
Wait for the user to enter a number or "none".
If "none": respond "Search cancelled." and end the session.
If out-of-range number: ask the user to re-enter a valid number from the displayed list.
If valid number: confirm the selection by restating the paper title.
Display the mandatory verification prompt (never omit):
"Please confirm that the selected paper actually supports the claim you are citing — do not rely solely on the ti
Установить ppw:literature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
External MCPStructured InteractionFAQ
Что делает скилл ppw:literature?
Search academic literature via Semantic Scholar MCP, select papers interactively, and generate verified BibTeX entries. 文献检索与BibTeX生成,通过Semantic Scholar MCP。
Как установить скилл ppw:literature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ppw:literature запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic