跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

alphaxiv

Quick single-paper lookup via AlphaXiv LLM-optimized summaries with tiered source fallback. Use when user says "explain this paper", "summarize paper", pastes an arXiv/AlphaXiv URL, or provides a bare arXiv ID for quick understanding - not for broad literature search.

文档与办公17kskills/alphaxiv/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/wanshuiyin/auto-claude-code-research-in-sleep/alphaxiv/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

AlphaXiv Paper Lookup

Lookup paper: $ARGUMENTS

Quick single-paper reader with tiered source fallback (overview → full markdown → LaTeX source). Powered by AlphaXiv.

Role & Positioning

This skill is the quick single-paper reader that returns LLM-optimized summaries:

SkillSourceBest for
/arxivarXiv APIBatch search, PDF download, metadata
/deepxivDeepXiv SDKProgressive section-level reading
/semantic-scholarS2 APIPublished venue metadata, citation counts
/alphaxivwww.alphaxiv.orgInstant LLM-optimized summary of one paper, with LaTeX source fallback

Do NOT use this skill for topic discovery, broad literature search, or multi-paper surveys — use /research-lit or /arxiv instead.

Constants

  • OVERVIEW_URL = https://www.alphaxiv.org/overview/{PAPER_ID}.md
  • ABS_URL = https://www.alphaxiv.org/abs/{PAPER_ID}.md
  • ARXIV_SRC_URL = https://arxiv.org/src/{PAPER_ID}
  • ALPHAXIV_UA = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 — any modern browser UA works; update the version numbers if AlphaXiv starts blocking this value again

Overrides (append to arguments):

  • /alphaxiv 2401.12345 — quick overview
  • /alphaxiv "https://arxiv.org/abs/2401.12345" — auto-extract ID
  • /alphaxiv 2401.12345 - depth: src — force LaTeX source inspection
  • /alphaxiv 2401.12345 - depth: abs — force full markdown

Workflow

Step 1: Parse Arguments & Extract Paper ID

Parse $ARGUMENTS to extract a bare arXiv paper ID. Accept these input formats:

  • https://arxiv.org/abs/2401.12345 or https://arxiv.org/abs/2401.12345v2
  • https://arxiv.org/pdf/2401.12345
  • https://alphaxiv.org/overview/2401.12345 or https://www.alphaxiv.org/overview/2401.12345
  • https://alphaxiv.org/abs/2401.12345 or https://www.alphaxiv.org/abs/2401.12345
  • 2401.12345 or 2401.12345v2

Strip version suffixes (v1, v2, ...) for API calls. Store as PAPER_ID.

Parse optional directives:

  • - depth: overview|abs|src: force a specific tier instead of cascading

Step 2: Fetch AlphaXiv Overview (Tier 1 — Fastest)

Use curl with {ALPHAXIV_UA} to fetch the AlphaXiv overview. AlphaXiv may return 403 for non-browser User-Agents; setting a standard browser UA reduces false positives from bot-detection:

curl -sL --max-time 15 -A "{ALPHAXIV_UA}" "https://www.alphaxiv.org/overview/{PAPER_ID}.md"

This returns a structured, LLM-optimized report designed for machine consumption. Use this as the default and preferred source.

If the overview answers the user's question, stop here. Do not fetch deeper tiers unnecessarily.

If the request fails (HTTP 4xx — 403 bot-block or 404 not-yet-processed) or returns empty content, proceed to Step 3.

Step 3: Fetch Full AlphaXiv Markdown (Tier 2 — More Detail)

Use curl with {ALPHAXIV_UA} to fetch the full paper markdown:

curl -sL --max-time 15 -A "{ALPHAXIV_UA}" "https://www.alphaxiv.org/abs/{PAPER_ID}.md"

This provides the full paper body as markdown. Use when the user needs:

  • Specific methodology details
  • Detailed experimental results
  • Particular sections not covered in the overview

If this still does not answer the question, proceed to Step 4.

Step 4: Fetch arXiv LaTeX Source (Tier 3 — Deepest)

When the overview and full markdown are both insufficient (e.g., the user asks about equations, proofs, appendix details, or implementation specifics), download the paper's LaTeX source from https://arxiv.org/src/{PAPER_ID}.

The source is a .tar.gz archive. Download it to a temporary directory, extract it, and list the .tex files inside.

Then inspect only the files needed to answer the question. Prioritize:

  1. Top-level *.tex files (usually the main document)
  2. Files referenced by \input{} or \include{}
  3. Appendices, tables, or sections directly related to the user's question

Do NOT read the entire source tree by default. Read selectively.

Temporary source artifacts live under /tmp. Do not rely on persistence.

Step 5: Present Results

Default Answer Shape
## [Paper Title]

- **arXiv**: [PAPER_ID] — https://arxiv.org/abs/[PAPER_ID]
- **Source depth**: overview | abs | src

### Summary
[2-3 sentence summary]

### Key Points
- [point 1]
- [point 2]
- [point 3]

### Answer to Your Question
[Direct answer if the user asked a specific question]

If the user only asks for one specific detail, answer it directly — skip the full template.

After presenting the summary, you MUST proceed to Step 6 before ending the turn.

Step 6: Research Wiki Ingest

You MUST always run the bash block below — it checks for research-wiki/ internally and exits silently when absent. Do NOT skip this step based on your own directory check; the bash block handles that for you.

Substitute only <paper_arxiv_id> and <thesis>; keep ${ARIS_REPO:-...} as-is so an already-set env var is preserved.

if [ -d research-wiki/ ]; then
  cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" || exit 1
  ARIS_REPO="${ARIS_REPO:-$(awk -F'\t' '$1=="repo_root"{print $2; exit}' .aris/installed-skills.txt 2>/dev/null)}"
  if [ -z "${ARIS_REPO:-}" ] && [ -f "$HOME/.aris/repo" ]; then
    ARIS_REPO=$(cat "$HOME/.aris/repo" 2>/dev/null) || true
  fi
  WIKI_SCRIPT=".aris/tools/research_wiki.py"
  [ -f "$WIKI_SCRIPT" ] || WIKI_SCRIPT="tools/research_wiki.py"
  [ -f "$WIKI_SCRIPT" ] || { [ -n "${ARIS_REPO:-}" ] && WIKI_SCRIPT="$ARIS_REPO/tools/research_wiki.py"; }
  [ -f "$WIKI_SCRIPT" ] || {
    echo "WARN: research_wiki.py not found; paper summary delivered, wiki ingest skipped. Fix: bash tools/install_aris.sh or smart_update.sh (refreshes ~/.aris/repo), export ARIS_REPO, or cp <ARIS-repo>/tools/research_wiki.py tools/." >&2
    WIKI_SCRIPT=""
  }
  [ -n "$WIKI_SCRIPT" ] && python3 "$WIKI_SCRIPT" ingest_paper research-wiki/ \
      --arxiv-id "<paper_arxiv_id>" \
      [--thesis "<one-line thesis from the Tier 1 overview>"]
fi

The helper handles metadata fetch, slug, dedup, page creation, index rebuild, and log append — do not handwrite papers/<slug>.md. See shared-references/integration-contract.md. If wiki was not present at read time (or the helper was unreachable), the user can backfill via python3 "$WIKI_SCRIPT" sync research-wiki/ --arxiv-ids <id> after resolving $WIKI_SCRIPT as above.

Suggest Follow-Up Skills (after Step 6 completes)
/arxiv "PAPER_ID" - download          - download the PDF to local library
/deepxiv "PAPER_ID" - section: Methods  - read a specific section progressively
/research-lit "related topic"        - multi-source literature survey
/novelty-check "idea from paper"     - verify novelty against this paper's area

Key Rules

  • Overview first: overview is the fastest path and must always be tried before deeper tiers. Only escalate when needed.
  • Minimal reads: At src tier, read only the files that answer the question. Full-tree reads waste tokens.
  • Cross-platform: When downloading and extracting the source archive, prefer cross-platform approaches (e.g., Python stdlib) over platform-specific commands to ensure Windows/WSL compatibility.
  • No PDF parsing: This skill reads structured markdown and LaTeX source, not raw PDFs. For PDF content, suggest /arxiv with download.
  • Rate limiting: arXiv source download may rate-limit. If HTTP 429 occurs, wait 5 seconds and retry once. If still blocked, report the error and suggest /deepxiv as alternative.
  • Complementary, not competing: This skill complements /arxiv (search + download) and /deepxiv (progressive reading). Do not re-implement their functionality.

Integration with Other Skills

As enrichment in /research-lit

/research-lit can use this skill's Tier 1 (overview) as a fast enrichment step between search and deep analysis. After finding arXiv papers in Step 1, fetch AlphaXiv overviews to quickly assess relevance before committing to full-text reads:

Step 1: Search → list of arXiv IDs
Step 1.5: AlphaXiv overview for top 5-8 papers (this skill, Tier 1 only)
Step 2: Deep analysis only for papers that pass the relevance filter

This saves significant tokens by filtering out marginally relevant papers before deep reading.

As follow-up from other skills

After /research-lit, /novelty-check, or /idea-discovery surface a specific paper, users can invoke /alphaxiv PAPER_ID for a fast deep-dive without re-running the full survey.

相似的 Skill

pdf
anthropics/skills180k

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

文档与办公

discernment-nudge
anthropics/skills180k

discernment-nudge

After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.

文档与办公

doc-coauthoring
anthropics/skills180k

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

文档与办公

docx
anthropics/skills180k

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

文档与办公

pptx
anthropics/skills180k

pptx

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

文档与办公

canvas-design
anthropics/skills180k

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

文档与办公