reader-and-paper-research
Use the DeepXiv Reader for hosted arXiv/web agentic research, progressive paper reading, semantic and biomedical search, PMC retrieval, and trending or social-impact evidence.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- reader-and-paper-research
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use the DeepXiv Reader for hosted arXiv/web agentic research, progressive paper reading, semantic and biomedical search, PMC retrieval, and trending or social-impact evidence.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/api-reference.md14.1 KB
- 参考文档references/source-and-citations.md6.1 KB
- 参考文档references/troubleshooting.md7.8 KB
- 参考文档references/workflows.md9.1 KB
- 脚本scripts/reader_probe.py4.2 KB
- 脚本scripts/stream_agent_answer.py5.6 KB
03 SKILL.md 正文
Reader and paper research
Use this route when the task needs the Python deepxiv_sdk.Reader: a cited hosted
answer, arXiv paper discovery and selective reading, PMC or bioRxiv/medRxiv data,
or trending/social-impact signals. The public API is described in
references/api-reference.md; reusable recipes are in
references/workflows.md; source/citation interpretation is
in references/source-and-citations.md; and
recovery guidance is in references/troubleshooting.md.
Route first
- Import
Readerand construct it with an optional user-provided token. Do not print, persist, or place a token in source files. Agentic endpoints require a registered account key; ordinary paper/search calls have a separate quota. - For a hosted answer, choose
source="arxiv"for academic full-text evidence orsource="web"for current/non-academic material. Write a specific question, chooseeffortdeliberately, and inspect the completion's truncation flag. - For controlled literature work, use
searchand pagination, then load each candidate asbrief->head-> selectedsection(orpreview). Avoidraw/jsonunless the task needs the complete paper. - Preserve source IDs and URLs, and distinguish the retrieval set from sources
actually cited by the answer. For web results,
read: trueis stronger than snippet-only evidence. - Treat a streamed
errorevent as a failed/incomplete run even though the SDK yields it instead of raising. Treatanswer_truncated: trueas incomplete.
The bundled streaming adapter is a safe adapter that prints the answer while sending source/truncation diagnostics to stderr and exits non-zero for errors or truncation. The Reader probe performs import, constructor, and validation checks without network access. Both can be invoked from any working directory by using their installed/runtime path.
Boundaries and sibling routes
- Shell command names, flags, stdout/stderr behavior, and local token configuration belong to CLI and operations, not this route.
- The optional local OpenAI-compatible LangGraph
Agent, its graph/tools, and local model budgets belong to optional local agent. - Package installation and cross-package provenance belong to the DeepXiv SDK root route.
Do not substitute historical example snippets for the current public API:
preview() has no max_tokens argument and search returns result, not
results. Use the bundled references and current public signatures.
Minimal selection rules
- Use blocking
agent_search()when the caller can wait for one dictionary. - Use
agent_search_stream()for interactive output or long answers; reassembleanswer_deltatext and gate publication on the finaldoneevent. - Set
effort="default"for a narrow, latency-sensitive question; usehighfor comparisons andxhighfor broad synthesis only after improving the query. Increasing effort adds gathering rounds but cannot repair poor first-round recall. - Use
search(..., use_fine_rerank=True)only when ordering quality justifies the extra upstream work; the SDK default isFalse. - Put year, venue, category, author, organization, or citation constraints in
searchfilters. Filters combine, so loosen one when a result set is empty. - For an answer about one paper, prefer
brief,head, and one or two sections; do not load all papers withraw.
For exact argument validation, response fields, exception mapping, retries, and backend-specific options, read the linked references before making a live call.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).