npx skills add https://github.com/allenai/asta-plugins --skill 'Asta Literature Reports'通过搜索学术文献、分析论文并将发现综合成结构良好的 Markdown 文档,生成全面的文献报告。
如果用户提供了现有的论文查找结果文件:
如果没有现有结果文件:
首先在后台启动论文查找器(30-60秒):
# 使用默认位置 .asta/literature/find/YYYY-MM-DD-HH-MM-SS-{query-slug}.json
Bash(command="asta literature find 'query' --timeout 300", run_in_background=true)
# 或指定自定义输出位置
Bash(command="asta literature find 'query' --timeout 300 -o custom-results.json", run_in_background=true)
在论文查找器运行的同时,根据需要启动其他有针对性的 CLI 搜索。
不要等待搜索完成。尽早创建报告文件:
.asta/literature/report/YYYY-MM-DD-topic-slug.md(在当前工作目录中)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
这可以让用户随时了解进度,并避免工作丢失。
如果使用现有结果文件:
如果启动了新搜索:
<task-notification> 时,使用 TaskOutput 获取结果:TaskOutput(task_id="<id>")
.asta/literature/find/(检查 TaskOutput 以获取确切的文件名),或者位于您使用 -o 指定的路径使用 jq 浏览结果(按相关性排序):
# 将 RESULTS_FILE 替换为 TaskOutput 中的实际路径或您的自定义路径
jq '[.results | sort_by(-.relevanceScore) | .[0:10][] | {title, year, venue, corpusId, citationCount, score: .relevanceScore, authors: (.authors | if length <= 4 then [.[].name] | join(", ") else ([.[0:3][].name] | join(", ")) + ", +" + (length - 4 | tostring) + ", " + .[-1].name end), summary: .relevanceJudgement.relevanceSummary}]' RESULTS_FILE
重要提示:浏览所有高度相关的论文(不仅仅是前几篇)。提取:
对于每篇重要的论文,提取详细的证据:
相关性证据:
jq '.results[] | select(.corpusId == CORPUS_ID) | {title, criteria: [.relevanceJudgement.relevanceCriteriaJudgements[] | {concept: .name, relevance, evidence: [.relevantSnippets[].text]}]}' RESULTS_FILE
摘要和段落:
jq '.results[] | select(.corpusId == CORPUS_ID) | {title, abstract, snippets: [.snippets[]? | {section: .sectionTitle, text}]}' RESULTS_FILE
引用上下文(其他人如何描述这项工作):
jq '[.results[] | select(.corpusId == CORPUS_ID) | .citationContexts[].text]' RESULTS_FILE
将 RESULTS_FILE 替换为实际的结果文件路径(位于 .asta/literature/find/、用户提供或来自 TaskOutput)。
使用 asta papers 进行快速、有针对性的搜索,以补充论文查找器的结果:
# 搜索论文
asta papers search "keyword" --year 2023- --limit 20 --fields title,abstract,year,authors
# 获取论文详情
asta papers get ARXIV:2005.14165 --fields title,abstract,authors,year
# 获取引用
asta papers citations CorpusId:12345 --limit 50
# 作者论文
asta papers author search "Author Name"
asta papers author papers <author_id> --limit 50
提示:
title,abstract,year,authors,venue,citationCount--format json 以管道传输到 jq,使用 --format text 进行快速查看在收集信息时:
不要等到最后才写所有内容。 逐步编辑。
在完成之前:
<task-notification>)论文查找器结果使用 LiteratureSearchResult 格式(完整的结构文档请参见 查找文献 技能)。
报告生成的关键字段:
.query - 搜索查询.results[] - 按相关性排序的论文数组.results[].relevanceScore - 0-1 相关性分数.results[].relevanceJudgement.relevanceSummary - AI 解释.results[].relevanceJudgement.relevanceCriteriaJudgements[] - 每个概念的证据.results[].snippets[] - 论文正文的文本摘录.results[].citationContexts[] - 来自其他论文的引用上下文使用带有链接定义的引用键来实现可点击的引用:
文内引用:
This was demonstrated by [[Yao2024]].
参考文献部分:
## 参考文献
- [[Yao2024]] Yao, S., et al. (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. arXiv.
- [[Dou2025]] Dou, Z., et al. (2025). Another Paper Title. Venue Name.
链接定义(在文件末尾):
[Yao2024]: https://semanticscholar.org/p/270218537
[Dou2025]: https://semanticscholar.org/p/123456789
这使得 [[Yao2024]] 渲染为带有可见括号的 [Yao2024],并可点击链接到 Semantic Scholar。
每周安装次数
–
代码仓库
GitHub 星标数
3
首次出现时间
–
安全审计
Generate comprehensive literature reports by searching academic literature, analyzing papers, and synthesizing findings into a well-structured markdown document.
If the user provides an existing paper-finder results file:
If no existing results file:
Start with the paper finder in background (30-60s):
# Uses default location .asta/literature/find/YYYY-MM-DD-HH-MM-SS-{query-slug}.json
Bash(command="asta literature find 'query' --timeout 300", run_in_background=true)
# Or specify a custom output location
Bash(command="asta literature find 'query' --timeout 300 -o custom-results.json", run_in_background=true)
Launch additional targeted CLI searches as needed while paper finder runs.
Don't wait for searches to complete. Create the report file early with:
.asta/literature/report/YYYY-MM-DD-topic-slug.md (in current working directory)This keeps the user informed and avoids losing work.
If using existing results file:
If launched a new search:
When <task-notification> arrives, use TaskOutput to get the results:
TaskOutput(task_id="<id>")
The results file will be at .asta/literature/find/ (check TaskOutput for the exact filename), or at the path you specified with -o
Browse results with jq (sorted by relevance):
# Replace RESULTS_FILE with the actual path from TaskOutput or your custom path
jq '[.results | sort_by(-.relevanceScore) | .[0:10][] | {title, year, venue, corpusId, citationCount, score: .relevanceScore, authors: (.authors | if length <= 4 then [.[].name] | join(", ") else ([.[0:3][].name] | join(", ")) + ", +" + (length - 4 | tostring) + ", " + .[-1].name end), summary: .relevanceJudgement.relevanceSummary}]' RESULTS_FILE
Important : Go through ALL highly relevant papers (not just top few). Extract:
For each important paper, extract detailed evidence:
Relevance evidence :
jq '.results[] | select(.corpusId == CORPUS_ID) | {title, criteria: [.relevanceJudgement.relevanceCriteriaJudgements[] | {concept: .name, relevance, evidence: [.relevantSnippets[].text]}]}' RESULTS_FILE
Abstract and passages :
jq '.results[] | select(.corpusId == CORPUS_ID) | {title, abstract, snippets: [.snippets[]? | {section: .sectionTitle, text}]}' RESULTS_FILE
Citation contexts (how others describe this work):
jq '[.results[] | select(.corpusId == CORPUS_ID) | .citationContexts[].text]' RESULTS_FILE
Replace RESULTS_FILE with the actual results file path (found in .asta/literature/find/, user-provided, or from TaskOutput).
Supplement paper finder with fast, targeted searches using asta papers:
# Search for papers
asta papers search "keyword" --year 2023- --limit 20 --fields title,abstract,year,authors
# Get paper details
asta papers get ARXIV:2005.14165 --fields title,abstract,authors,year
# Get citations
asta papers citations CorpusId:12345 --limit 50
# Author papers
asta papers author search "Author Name"
asta papers author papers <author_id> --limit 50
Tips:
title,abstract,year,authors,venue,citationCount--format json for piping to jq, --format text for quick viewingAs you gather information:
Do not wait until the end to write everything. Edit progressively.
Before completing:
<task-notification>)Paper finder results use the LiteratureSearchResult format (see Find Literature skill for complete structure documentation).
Key fields for report generation:
.query - the search query.results[] - array of papers sorted by relevance.results[].relevanceScore - 0-1 relevance score.results[].relevanceJudgement.relevanceSummary - AI explanation.results[].relevanceJudgement.relevanceCriteriaJudgements[] - per-concept evidence.results[].snippets[] - text excerpts from paper body.results[].citationContexts[] - citation contexts from other papersUse citation keys with link definitions for clickable citations:
Inline citations :
This was demonstrated by [[Yao2024]].
References section :
## References
- [[Yao2024]] Yao, S., et al. (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. arXiv.
- [[Dou2025]] Dou, Z., et al. (2025). Another Paper Title. Venue Name.
Link definitions (at end of file):
[Yao2024]: https://semanticscholar.org/p/270218537
[Dou2025]: https://semanticscholar.org/p/123456789
This makes [[Yao2024]] render as [Yao2024] with visible brackets and clickable links to Semantic Scholar.
Weekly Installs
–
Repository
GitHub Stars
3
First Seen
–
Security Audits
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
45,100 周安装