Community编程与开发github.com

系统性文献综述

当用户需要对某个主题的多篇学术论文进行系统性文献综述、调查或综合时使用。涵盖注释书目和跨论文比较。搜索 arXiv 并以 APA、IEEE 或 BibTeX 格式输出报告。不适用于单篇论文任务——请使用 academic-paper-review 进行单篇论文审阅。

系统性文献综述 是什么?

该技能专门用于自动执行系统性文献综述,支持从 arXiv 检索多篇论文、并行提取结构化元数据(如研究问题、方法论、关键发现和局限性),并生成一份包含统一引用的综合报告。它适用于需要跨多篇论文进行广度综合的任务,例如“调查 Transformer 注意力变体”或“比较扩散模型的方法论”。它通过一个专门的搜索脚本确保高效查询,并强制使用 `task` 工具进行子代理并行处理,从而优化 token 使用并保持分析清晰。最终报告包含主题分析、共识、分歧和研究空白,并根据用户偏好格式化为 APA、IEEE 或 BibTeX 格式。该技能与 `academic-paper-review` 不同,后者专注于单篇论文的深度同行评审。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bytedance/deer-flow/tree/main/skills/public/systematic-literature-review

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

系统性文献综述技能

概述

该技能针对某个研究主题,跨多篇学术论文生成结构化的系统性文献综述。根据主题查询,它搜索 arXiv,并行提取每篇论文的结构化元数据(研究问题、方法论、关键发现、局限性),综合整个论文集的主题,并生成一份包含统一引用的最终报告。

与 academic-paper-review 不同: 该技能对单篇论文进行深度同行评审。本技能对多篇论文进行广度优先的综合。如果用户给你一篇论文的 URL 并要求“审阅这篇论文”,请转而使用 academic-paper-review。

何时使用此技能

当用户需要以下任何一项时,请使用此技能:

  • 某个主题的文献调查(“调查 Transformer 注意力变体”、“审阅扩散模型的文献”)
  • 多篇论文的综合(“最近关于 X 的论文说了什么”、“比较关于 Y 的论文的方法论”)
  • 具有统一引用格式的系统性综述(“用 APA 格式对 Z 进行系统性文献综述”)
  • 某个主题的注释书目
  • 一段时间内某个领域研究趋势的概述

不要使用此技能的情况:

  • 用户只提供一篇论文并要求审阅(使用 academic-paper-review)
  • 用户提出一个不需要综合多个来源的事实性问题(直接回答)
  • 用户想要没有学术严谨性的通用网页搜索(使用标准网页搜索)

工作流程

工作流程包括五个阶段。请按顺序进行。

阶段 1:计划

在进行任何检索之前,请与用户确认以下内容。如果其中任何一项不清楚,请提出一个涵盖缺失部分的澄清性问题。不要一次只问一个问题。

  • 主题:用简单的英文描述的研究领域(例如“Transformer 注意力变体”)。
  • 范围:论文数量(默认为 20,硬上限为 50),可选的时间窗口(例如“过去两年”),可选的 arXiv 分类(例如 cs.CL、cs.CV)。
  • 引用格式:APA、IEEE 或 BibTeX(如果用户未指定,且似乎未为特定会议或期刊写作,则默认为 APA)。
  • 输出位置:保存最终报告的位置(默认为 /mnt/user-data/outputs/)。

如果用户说“50 篇以上论文”,请礼貌地将其上限设为 50,并解释超过此数量的综合质量会迅速下降——对于更大的调查,他们应按子主题进行拆分。

阶段 2:搜索 arXiv

调用捆绑的搜索脚本。不要尝试通过其他方式抓取 arXiv,也不要编写自己的 HTTP 客户端——此脚本正确处理 URL 编码、Atom XML 解析和 ID 规范化。

python /mnt/skills/public/systematic-literature-review/scripts/arxiv_search.py \
  "<topic>" \
  --max-results <N> \
  [--category <cat>] \
  [--sort-by relevance] \
  [--start-date YYYY-MM-DD] \
  [--end-date YYYY-MM-DD]

重要——在搜索前提取 2-3 个核心关键词。 不要将用户的完整主题描述作为查询传递。在调用脚本之前,在脑子里将主题缩减为其 2-3 个最关键的术语。删除诸如“in computer vision”、“for NLP”、“variants”、“recent”等限定词——这些应放在 --category 或 --start-date 中,而不是查询字符串中。

查询短语——保持简短。 脚本将多词查询用双引号括起来,以便在 arXiv 上进行短语匹配。这意味着:

  • "diffusion models" → 搜索精确短语 → 好,返回相关论文。
  • "diffusion models in computer vision" → 搜索精确的 5 词短语 → 过于具体,很可能返回 0 条结果,因为很少有论文包含该确切字符串。

使用 2-3 个核心关键词作为查询,并使用 --category 来缩小领域范围,而不是将领域名称塞入查询中。示例:

用户说的话好的查询差的查询
"diffusion models in computer vision""diffusion models" --category cs.CV"diffusion models in computer vision"
"transformer attention variants""transformer attention""transformer attention variants in NLP"
"graph neural networks for molecules""graph neural networks" --category cs.LG"graph neural networks for molecular property prediction"

脚本将 JSON 数组打印到标准输出。每篇论文包含:id、title、authors、abstract、published、updated、categories、pdf_url、abs_url。

排序策略:

  • 始终使用 relevance 排序——arXiv 的 BM25 式评分可确保结果确实与用户主题相关。submittedDate 排序返回该分类中最近提交的论文,而不考虑主题相关性,这会产生大部分无关的结果。
  • 当用户要求提供“近期”论文或给出时间窗口时,使用 --sort-by relevance 结合 --start-date 来限制时间范围,同时保持结果与主题相关。例如,“近期扩散模型论文”→ --sort-by relevance --start-date 2024-01-01,而不是 --sort-by submittedDate。
  • 仅当用户明确要求按时间顺序排列时(例如“按发表顺序显示论文”),才使用 submittedDate 排序。这种情况很少见。
  • lastUpdatedDate 很少有用;除非用户要求,否则忽略它。

仅运行一次搜索。 如果结果看起来不完美,不要尝试使用修改后的查询重试——arXiv 的相关性排序就是这样。使用不同的查询措辞重试会浪费工具调用,并有可能达到递归限制。如果结果确实为空(0 篇论文),请告知用户,并建议他们扩大主题范围或移除此分类筛选器。

如果脚本返回的论文少于请求的数量,这就是 arXiv 结果集的真实大小。不要填充列表——向用户报告实际数量并继续。

如果脚本失败(网络错误、arXiv 返回非 200 状态码),请告知用户错误并停止。不要尝试编造论文元数据。

不要将搜索结果保存到文件——JSON 应保留在您的上下文中,以供阶段 3 使用。整个工作流程中唯一保存的文件是阶段 5 中的最终报告。

阶段 3:并行提取元数据

您必须通过 task 工具将提取工作委托给子代理——不要自己提取元数据。 这是不可协商的。具体来说,不要执行以下任何操作:

  • ❌ 编写 python -c "papers = [...]" 或任何处理论文的 Python/bash 脚本
  • ❌ 通过逐个阅读摘要的方式在您自己的上下文内联提取元数据
  • ❌ 在此阶段使用除 task 之外的任何工具

相反,您必须调用 task 工具来生成子代理。原因:在您自己的上下文中提取 10-50 篇论文会消耗大量 token,并会降低阶段 4 的综合质量。每个子代理在其隔离的上下文中运行,仅处理其批次中的论文,从而产生更清晰的提取结果。

将论文分成约 5 篇的批次,然后为每个批次调用 task 工具,并设置 subagent_type: "general-purpose"。每个子代理接收论文摘要文本,并返回结构化的 JSON。

并发限制:每轮最多 3 个子代理。 DeerFlow 运行时强制执行 MAX_CONCURRENT_SUBAGENTS = 3,并会静默丢弃同一轮中任何额外的分派——LLM 不会被告知此事,因此请严格遵守下面的轮次策略。

轮次策略——使用此决策表,不要自己计算拆分:

论文数量每批次 ~5 篇论文的批次数轮次数每轮子代理数量
1–51 批1 轮1 个子代理
6–102 批1 轮2 个子代理
11–153 批1 轮3 个子代理
16–204 批2 轮3 + 1
21–255 批2 轮3 + 2
26–306 批2 轮3 + 3
31–357 批3 轮3 + 3 + 1
36–408 批3 轮3 + 3 + 2
41–459 批3 轮3 + 3 + 3
46–5010 批4 轮3 + 3 + 3 + 1

切勿在同一轮中分派超过 3 个子代理。 当一行显示“2 轮 (3 + 1)”时,意味着:第一轮并行分派 3 个子代理,等待所有 3 个完成,然后第二轮分派 1 个子代理。轮次在主代理级别严格按顺序进行。

如果论文数量落在行之间(例如 23 篇论文),则向上取整到下一行的布局,但仅分派您实际需要的批次数——该决策表给出了结构,而不是严格的规定。

在主代理级别进行批处理:您已经从阶段 2 获得了每篇论文的摘要,因此每个子代理接收纯文本输入。子代理不应需要访问网络或沙箱——他们的唯一工作是阅读文本并返回 JSON。不要要求子代理重新运行 arxiv_search.py;这会浪费 token 并可能导致速率限制。

每个子代理收到的结构化提示:

执行此任务:从以下 arXiv 论文中提取结构化元数据和关键发现。

论文:
[论文 1]
arxiv_id: 1706.03762
title: Attention Is All You Need
authors: Ashish Vaswani, Noam Shazeer, ...
published: 2017-06-12
abstract: <完整摘要文本>

[论文 2]
arxiv_id: ...
...

为每篇论文返回一个包含以下字段的 JSON 对象:
- arxiv_id (字符串)
- title (字符串)
- authors (字符串列表)
- published_date (字符串, YYYY-MM-DD)
- research_question (1 句话,论文解决什么问题)
- methodology (1-2 句话,他们如何解决问题)
- key_findings (3-5 个要点,他们实际发现了什么)
- limitations (1-2 句话,他们承认了什么或者明显缺少什么)

将结果作为 JSON 数组返回,每篇论文一个对象,顺序与输入相同。不要在 JSON 之外包含任何文本——没有前言,没有 Markdown 围栏,只有数组。

解析子代理结果:task 工具返回带有固定前缀的字符串,如 Task Succeeded. Result: [...JSON...]。在尝试解析 JSON 之前,去除 Task Succeeded. Result: 前缀(或 Task failed. / Task timed out. 前缀)。如果某个批次失败或返回无法解析的 JSON,请记录日志,记录受影响的论文,并继续处理其余批次——不要因为一个失败的批次而让整个综合过程失败。

在所有轮次完成后,将每个批次的数组展平为单个论文元数据对象列表,并保持顺序。

阶段 4:综合和格式化

现在生成最终的 SLR 报告。这里包含两个步骤:跨论文综合(主题分析)和引用格式化。

跨论文综合:报告必须做的不仅仅是列出论文。至少,应识别出:

  • 主题:整个论文集中出现的 3-6 个重复出现的研究方向、方法或问题框架。
  • 共识:多篇论文一致同意的发现。
  • 分歧:论文得出不同结论或使用不兼容方法论的地方。
  • 空白:整个文献尚未解决的问题(通常在“局限性”字段中明确说明)。

如果论文集太小或异质性太强,无法支持主题综合(例如,关于完全不同子主题的 5 篇论文),请在报告中明确说明——不要强行编造不存在的主题。

引用格式化:确切格式取决于用户偏好。仅读取与用户请求格式匹配的模板文件,而不是所有三个:

  • templates/apa.md — APA 第 7 版。社会科学和大多数 CS 期刊的默认格式。当用户请求 APA 或未指定格式时使用。
  • templates/ieee.md — IEEE 数字引用。当用户的目标是 IEEE 会议或期刊,或明确要求 IEEE 时使用。
  • templates/bibtex.md — BibTeX 条目。当用户提到 BibTeX、LaTeX 或想要机器可读的参考文献时使用。重要:arXiv 论文引用为 @misc,而不是 @article——BibTeX 模板明确涵盖了这一点。

每个模板都包含引用规则和完整的报告结构(执行摘要、主题、每篇论文注释、参考文献、方法论部分)。逐字遵循模板的结构作为报告主体,然后用阶段 3 的元数据填充内容。

阶段 5:保存并呈现

将完整报告保存到 /mnt/user-data/outputs/slr-<topic-slug>-<YYYYMMDD>.md,其中 <topic-slug> 是主题的小写连字符版本(例如 transformer-attention)。然后调用 present_files 工具,并传入该路径,以便用户可以下载它。

在聊天消息中,显示一个简短预览,以便用户无需打开文件即可立即看到价值:

  1. 执行摘要——报告中顶部的 3-5 句话段落,逐字引用。
  2. 主题列表——您在阶段 4 综合中识别的主题的要点列表(仅主题名称 + 一句话说明,而不是完整的主题部分)。
  3. 论文数量 + 文件路径提示——例如“包含 20 篇论文、每篇论文注释和格式化参考文献的完整报告已保存到 slr-transformer-attention-20260409.md。”

不要在消息中内联转储完整的 2000+ 字报告——每篇论文注释、参考文献和方法论应放在文件中。预览旨在让用户一目了然地判断报告质量,并决定是否打开它。

示例

示例 1:典型的 SLR 请求

用户:“对近期 Transformer 注意力变体进行系统性文献综述,20 篇论文,APA 格式。”

您的流程:

  1. 阶段 1:确认主题(Transformer 注意力变体)、范围(20 篇论文,默认时间窗口)、格式(APA)。仅在某些内容缺失时提出一个澄清性问题(例如“是否有特定的时间窗口,还是我默认使用最近 3 年?”)。
  2. 阶段 2:arxiv_search.py "transformer attention" --max-results 20 --sort-by relevance --start-date 2023-01-01。
  3. 阶段 3:20 篇论文 → 第 1 轮 = 3 个子代理 × 5 篇论文 = 15 篇完成,第 2 轮 = 1 个子代理 × 5 篇论文 = 5 篇完成。
  4. 阶段 4:综合主题(例如,位置编码、高效注意力、稀疏注意力、长上下文模型),然后使用 APA 模板格式化。
  5. 阶段 5:保存到 slr-transformer-attention-20260409.md,并附上执行摘要和主题的预览消息。

[示例 1 继续,已截断]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bootstrap

Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up, or initialize their AI partner's identity — e.g., "create my SOUL.md", "bootstrap my agent", "set up my AI partner", "define who you are", "let's do onboarding", "personalize this AI", "make you mine", or when a SOUL.md is missing. Also trigger for updates: "update my SOUL.md", "change my AI's personality", "tweak the soul".

bytedance/academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bytedance/chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

bytedance/claude-to-deerflow

Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, start a DeerFlow conversation thread, check DeerFlow status or health, list available models/skills/agents in DeerFlow, manage DeerFlow memory, upload files to DeerFlow threads, or delegate complex research tasks to DeerFlow. Also use when the user mentions deerflow, deer flow, or wants to run a deep research task that DeerFlow can handle.

bytedance/consulting-analysis

Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

bytedance/data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.

bytedance/deep-research

Use this skill instead of WebSearch for ANY question requiring web research. Trigger on queries like "what is X", "explain X", "compare X and Y", "research X", or before content generation tasks. Provides systematic multi-angle research methodology instead of single superficial searches. Use this proactively when the user's question needs online information.

bytedance/find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

bytedance/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

bytedance/github-deep-research

Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

bytedance/image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

bytedance/surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

bytedance/vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/video-generation

Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.

bytedance/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

相关技能