Communitygithub.com

Lord1Egypt/awesome-skill-forge

透過關鍵字、作者、類別或 ID 搜尋 arXiv 論文。

awesome-skill-forge 是什麼?

此技能提供一個完整的學術論文搜尋與檢索工作流程,專注於 arXiv 與 Semantic Scholar API。它無需 API 金鑰或外部相依性,僅需 curl 和 Python 標準函式庫即可運作。主要功能包括:使用複雜查詢語法(欄位前綴、布林運算子)搜尋 arXiv、以 Atom XML 解析並輸出乾淨格式、依 ID 擷取特定論文、擷取後自動生成 BibTeX 條目、以及透過 web_extract 讀取摘要或完整 PDF。此外,技能整合 Semantic Scholar API 以獲取引用資料、相關論文推薦與作者個人檔案。支援的執行環境包括 Claude Code、Cursor 與 Codex 等支援 shell 命令與 Python 腳本的 AI 代理平台。工作流程從發現論文、評估影響力、閱讀內容、尋找相關研究到追蹤作者,形成一個完整的循環,有效加速研究初期階段的文獻探勘。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Lord1Egypt/awesome-skill-forge/tree/HEAD/skills/arxiv

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

arXiv 研究

透過 arXiv 的免費 REST API 搜尋並獲取學術論文。無需 API 金鑰,無需任何相依性——只需 curl。

快速參考

動作指令
搜尋論文curl "https://export.arxiv.org/api/query?search_query=all:QUERY&max_results=5"
取得特定論文curl "https://export.arxiv.org/api/query?id_list=2402.03300"
閱讀摘要(網頁)web_extract(urls=["https://arxiv.org/abs/2402.03300"])
閱讀完整論文(PDF)web_extract(urls=["https://arxiv.org/pdf/2402.03300"])

搜尋論文

API 回傳 Atom XML。可使用 grep/sed 解析,或透過 python3 管線輸出乾淨格式。

基本搜尋

curl -s "https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5"

乾淨輸出(將 XML 解析為可讀格式)

curl -s "https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5&sortBy=submittedDate&sortOrder=descending" | python3 -c "
import sys, xml.etree.ElementTree as ET
ns = {'a': 'http://www.w3.org/2005/Atom'}
root = ET.parse(sys.stdin).getroot()
for i, entry in enumerate(root.findall('a:entry', ns)):
    title = entry.find('a:title', ns).text.strip().replace('\n', ' ')
    arxiv_id = entry.find('a:id', ns).text.strip().split('/abs/')[-1]
    published = entry.find('a:published', ns).text[:10]
    authors = ', '.join(a.find('a:name', ns).text for a in entry.findall('a:author', ns))
    summary = entry.find('a:summary', ns).text.strip()[:200]
    cats = ', '.join(c.get('term') for c in entry.findall('a:category', ns))
    print(f'{i+1}. [{arxiv_id}] {title}')
    print(f'   作者: {authors}')
    print(f'   發佈日期: {published} | 類別: {cats}')
    print(f'   摘要: {summary}...')
    print(f'   PDF: https://arxiv.org/pdf/{arxiv_id}')
    print()
"

搜尋查詢語法

前綴搜尋範圍範例
all:所有欄位all:transformer+attention
ti:標題ti:large+language+models
au:作者au:vaswani
abs:摘要abs:reinforcement+learning
cat:類別cat:cs.AI
co:評論co:accepted+NeurIPS

布林運算子

# AND(預設,使用 +)
search_query=all:transformer+attention

# OR
search_query=all:GPT+OR+all:BERT

# AND NOT
search_query=all:language+model+ANDNOT+all:vision

# 精確片語
search_query=ti:"chain+of+thought"

# 組合
search_query=au:hinton+AND+cat:cs.LG

排序與分頁

參數選項
sortByrelevance、lastUpdatedDate、submittedDate
sortOrderascending、descending
start結果偏移量(從 0 開始)
max_results結果數量(預設 10,最多 30000)
# cs.AI 類別最新 10 篇論文
curl -s "https://export.arxiv.org/api/query?search_query=cat:cs.AI&sortBy=submittedDate&sortOrder=descending&max_results=10"

取得特定論文

# 透過 arXiv ID
curl -s "https://export.arxiv.org/api/query?id_list=2402.03300"

# 多篇論文
curl -s "https://export.arxiv.org/api/query?id_list=2402.03300,2401.12345,2403.00001"

產生 BibTeX

取得論文後,產生 BibTeX 條目:

{% raw %}

curl -s "https://export.arxiv.org/api/query?id_list=1706.03762" | python3 -c "
import sys, xml.etree.ElementTree as ET
ns = {'a': 'http://www.w3.org/2005/Atom', 'arxiv': 'http://arxiv.org/schemas/atom'}
root = ET.parse(sys.stdin).getroot()
entry = root.find('a:entry', ns)
if entry is None: sys.exit('找不到論文')
title = entry.find('a:title', ns).text.strip().replace('\n', ' ')
authors = ' and '.join(a.find('a:name', ns).text for a in entry.findall('a:author', ns))
year = entry.find('a:published', ns).text[:4]
raw_id = entry.find('a:id', ns).text.strip().split('/abs/')[-1]
cat = entry.find('arxiv:primary_category', ns)
primary = cat.get('term') if cat is not None else 'cs.LG'
last_name = entry.find('a:author', ns).find('a:name', ns).text.split()[-1]
print(f'@article{{{last_name}{year}_{raw_id.replace(\".\", \"\")},')
print(f'  title     = {{{title}}},')
print(f'  author    = {{{authors}}},')
print(f'  year      = {{{year}}},')
print(f'  eprint    = {{{raw_id}}},')
print(f'  archivePrefix = {{arXiv}},')
print(f'  primaryClass  = {{{primary}}},')
print(f'  url       = {{https://arxiv.org/abs/{raw_id}}}')
print('}')
"

{% endraw %}

閱讀論文內容

找到論文後,可以閱讀:

# 摘要頁面(快速,包含後設資料與摘要)
web_extract(urls=["https://arxiv.org/abs/2402.03300"])

# 完整論文(PDF → 透過 Firecrawl 轉為 Markdown)
web_extract(urls=["https://arxiv.org/pdf/2402.03300"])

如需在地處理 PDF,請參閱 ocr-and-documents 技能。

常見類別

類別領域
cs.AI人工智慧
cs.CL計算語言學與自然語言處理
cs.CV電腦視覺
cs.LG機器學習
cs.CR密碼學與安全
stat.ML機器學習(統計學)
math.OC最佳化與控制
physics.comp-ph計算物理學

完整列表:https://arxiv.org/category_taxonomy

輔助腳本

scripts/search_arxiv.py 腳本能處理 XML 解析並提供乾淨的輸出:

python scripts/search_arxiv.py "GRPO reinforcement learning"
python scripts/search_arxiv.py "transformer attention" --max 10 --sort date
python scripts/search_arxiv.py --author "Yann LeCun" --max 5
python scripts/search_arxiv.py --category cs.AI --sort date
python scripts/search_arxiv.py --id 2402.03300
python scripts/search_arxiv.py --id 2402.03300,2401.12345

無需其他相依性——僅使用 Python 標準函式庫。


Semantic Scholar(引用、相關論文、作者個人檔案)

arXiv 不提供引用資料或推薦。請使用 Semantic Scholar API 來取得這些資訊——免費,基本使用無需金鑰(每秒 1 個請求),回傳 JSON 格式。

取得論文詳細資訊與引用數

# 透過 arXiv ID
curl -s "https://api.semanticscholar.org/graph/v1/paper/arXiv:2402.03300?fields=title,authors,citationCount,referenceCount,influentialCitationCount,year,abstract" | python3 -m json.tool

# 透過 Semantic Scholar 論文 ID 或 DOI
curl -s "https://api.semanticscholar.org/graph/v1/paper/DOI:10.1234/example?fields=title,citationCount"

取得引用該論文的文章

curl -s "https://api.semanticscholar.org/graph/v1/paper/arXiv:2402.03300/citations?fields=title,authors,year,citationCount&limit=10" | python3 -m json.tool

取得該論文引用的參考文獻

curl -s "https://api.semanticscholar.org/graph/v1/paper/arXiv:2402.03300/references?fields=title,authors,year,citationCount&limit=10" | python3 -m json.tool

搜尋論文(替代 arXiv 搜尋,回傳 JSON)

curl -s "https://api.semanticscholar.org/graph/v1/paper/search?query=GRPO+reinforcement+learning&limit=5&fields=title,authors,year,citationCount,externalIds" | python3 -m json.tool

取得論文推薦

curl -s -X POST "https://api.semanticscholar.org/recommendations/v1/papers/" \
  -H "Content-Type: application/json" \
  -d '{"positivePaperIds": ["arXiv:2402.03300"], "negativePaperIds": []}' | python3 -m json.tool

作者個人檔案

curl -s "https://api.semanticscholar.org/graph/v1/author/search?query=Yann+LeCun&fields=name,hIndex,citationCount,paperCount" | python3 -m json.tool

有用的 Semantic Scholar 欄位

title、authors、year、abstract、citationCount、referenceCount、influentialCitationCount、isOpenAccess、openAccessPdf、fieldsOfStudy、publicationVenue、externalIds(包含 arXiv ID、DOI 等)


完整研究流程

  1. 發現:python scripts/search_arxiv.py "your topic" --sort date --max 10
  2. 評估影響力:curl -s "https://api.semanticscholar.org/graph/v1/paper/arXiv:ID?fields=citationCount,influentialCitationCount"
  3. 閱讀摘要:web_extract(urls=["https://arxiv.org/abs/ID"])
  4. 閱讀完整論文:web_extract(urls=["https://arxiv.org/pdf/ID"])
  5. 尋找相關研究:curl -s "https://api.semanticscholar.org/graph/v1/paper/arXiv:ID/references?fields=title,citationCount&limit=20"
  6. 取得推薦:POST 到 Semantic Scholar 推薦端點
  7. 追蹤作者:curl -s "https://api.semanticscholar.org/graph/v1/author/search?query=NAME"

速率限制

API速率認證
arXiv約每秒 1 個請求無需
Semantic Scholar每秒 1 個請求無需(有 API 金鑰時每秒 100 個請求)

注意事項

  • arXiv 回傳 Atom XML——請使用輔助腳本或解析片段來取得乾淨輸出
  • Semantic Scholar 回傳 JSON——可透過 python3 -m json.tool 管線來提高可讀性
  • arXiv ID:舊格式(hep-th/0601001)與新格式(2402.03300)
  • PDF:https://arxiv.org/pdf/{id}——摘要:https://arxiv.org/abs/{id}
  • HTML(若有提供):https://arxiv.org/html/{id}
  • 如需在地處理 PDF,請參閱 ocr-and-documents 技能

ID 版本控制

  • arxiv.org/abs/1706.03762 始終解析到最新版本
  • arxiv.org/abs/1706.03762v1 指向特定不可變版本
  • 產生引用時,請保留您實際閱讀的版本後綴,以防止引用漂移(後續版本可能大幅改變內容)
  • API 的 <id> 欄位回傳帶版本號的 URL(例如 http://arxiv.org/abs/1706.03762v7)

已撤回論文

論文在提交後可能被撤回。發生此情況時:

  • <summary> 欄位會包含撤回通知(請尋找 "withdrawn" 或 "retracted" 字樣)
  • 後設資料欄位可能不完整
  • 在將結果視為有效論文之前,請務必檢查摘要

Individual skills in this repo

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

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a insurance agency. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generates a complete landing page with copy, layout, hero image, and responsive design from a text description. Use when launching a product quickly.

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a family law practice. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a fractional CFO firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a home remodeling company. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a HVAC service company. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a immigration law firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a CPA tax advisory firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a estate planning law firm. Use when handling...

Lord1Egypt/awesome-skill-forge

Fastest way to create or update a pawr.link profile. One curl command, $19 USDC to create, $0.10 to update. Patch-style update-links endpoint lets you add, remove, or move individual links without replacing the whole profile.

Lord1Egypt/awesome-skill-forge

Use this skill when the user wants to review today, look back on yesterday, reflect on this week, or wrap things up with a gentle, low-pressure reflection.

Lord1Egypt/awesome-skill-forge

Read-only queue dashboard for workspace-aware ship. (gstack)

Lord1Egypt/awesome-skill-forge

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says landing page, post-click experience, landing page audit, LP audit, conversion rate, landing page CRO, post-click CRO, or landing page optimization.

Lord1Egypt/awesome-skill-forge

Create HTML-based video compositions, animated title cards, social overlays, captioned talking-head videos, audio-reactive visuals, and shader transitions using HyperFrames. HTML is the source of truth for video. Use when the user wants a rendered MP4/WebM from an HTML composition, wants to animate text/logos/charts over media, needs captions synced to audio, wants TTS narration, or wants to convert a website into a video.

Lord1Egypt/awesome-skill-forge

Delegate coding to OpenAI Codex CLI (features, PRs).

Lord1Egypt/awesome-skill-forge

Track Apple devices/AirTags via FindMy.app on macOS.

Lord1Egypt/awesome-skill-forge

Jailbreak LLMs: Parseltongue, GODMODE, ULTRAPLINIAN.

Lord1Egypt/awesome-skill-forge

Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.

Lord1Egypt/awesome-skill-forge

Notion API + ntn CLI: pages, databases, markdown, Workers.

Lord1Egypt/awesome-skill-forge

p5.js sketches: gen art, shaders, interactive, 3D.

相關技能