deepxiv/deepxiv_sdk/deepxiv-cli
Claude Code and agent skill by deepxiv/deepxiv_sdk
- community
Checking that the SKILL.md file is still in the repository.
Use the deepxiv CLI to search and read academic papers (arXiv, PMC, bioRxiv, medRxiv) section by section, get cited answers from papers or the web, and query 1stAuthor's domains with the same token — AI researchers and their profiles, which academicians and fellows cited a paper, Chinese and US statutes, court judgments, clinical trials, drug labels, research grants, company filings, Chinese national standards, CVEs and the US Federal Register. Use when a task needs papers, people, legal or regulatory text, trials, drugs, grants, filings, standards or vulnerabilities as evidence.
Install
npx vskill@latest install deepxiv/deepxiv_sdk/deepxiv-cliSKILL.md
DeepXiv CLI
One CLI, one token: papers (search, paper, pmc, trending, ask) plus 12 1stAuthor domains (deepxiv fa …). Everything below was run against production on 2026-10-12 with deepxiv-sdk 1.2.1.
1. Setup
- Token: the first call auto-registers a free token and saves it to
~/.env
(DEEPXIV_TOKEN). Every command also takes -t TOKEN.
- Registered key: the agentic calls need one (
deepxiv ask: 300/day;
deepxiv fa ask: a daily ask allowance, reset at 00:00 UTC). On the auto-registered token, deepxiv ask returns 403; deepxiv fa ask works 3 times in total (stderr: 🎟️ 试用剩余 N/3 次 · Free trial: N of 3 asks left), then returns 403. Tell the user to register at https://data.rag.ac.cn/register and run deepxiv config --token THEIR_KEY. Don't spend the trial on throwaway questions, and don't retry a 403. Search and read work on either token.
- No other keys: 1stAuthor domains go through deepxiv with the same token.
2. Which command
| The task needs… | Command | |
|---|---|---|
| An answer, with citations, from the literature | deepxiv ask "…" | |
| An answer about anything non-academic (news, products, pricing) | deepxiv ask "…" --web | |
| Papers on a topic | deepxiv search "…" | |
| One paper, as cheaply as possible | deepxiv paper ID --brief → --head → --section NAME | |
| Biomedical full text | deepxiv pmc PMCID, deepxiv search "…" --biorxiv/--medrxiv | |
| What's hot on arXiv | deepxiv trending --days 7 | |
| People: researchers, students, profiles, coauthors | deepxiv fa … talent | |
| Which academicians / fellows cited a paper, and what they said | deepxiv fa … appraise | |
| Statutes (China and 25 other jurisdictions) | deepxiv fa … law | |
| Court judgments (China, US) | deepxiv fa … cases | |
| US statutes, regulations, agency decisions | deepxiv fa … us_law | |
| Clinical trials (ClinicalTrials.gov) | deepxiv fa … trials | |
| US drug labels (openFDA) | deepxiv fa … drugs | |
| NSF / NIH grants | deepxiv fa … grants | |
| Company filings (SEC, China) | deepxiv fa … filings | |
| Chinese national standards (GB, GB/T) | deepxiv fa … standards | |
| Vulnerabilities (NVD + CISA KEV + EPSS) | deepxiv fa … cve | |
| US Federal Register | deepxiv fa … fr | |
| A cited answer over one of those domains | deepxiv fa ask "…" -d DOMAIN |
Prefer `ask` when the user wants an answer, and search/read when they want the documents themselves, a complete list, or numbers you will compute on.
3. Output contract (all commands)
- stdout is data only: hits, documents, answers, or JSON with
--json
(--format json for search). stderr carries quota, progress, routing, sources, hints and errors. So > file and | jq get clean data.
- Exit codes:
0success ·1API/network error (401, 403, 429, 4xx, 5xx,
or an error during ask) · 2 bad usage (unknown filter field, bad value).
- Quota line on stderr after every
facall:💳 cost 2 · 9990/10000 left today.
4. Papers
Search
Options: --limit 1..100, --offset, --categories, --authors, --orgs, --venue (repeatable), --venue-year, --min-citations, --date-from/--date-to (YYYY, YYYY-MM or YYYY-MM-DD), --use-fine-rerank. JSON hits carry arxiv_id, title, tldr, abstract, authors, date, citation_count, categories, venue, github_url.
Read progressively — the main token saver
Rule: --brief to decide, --head to find the section, --section to read it. Pass section names exactly as --head prints them (including odd escapes like \&). For hundreds of papers, run --brief in parallel (xargs -P 8 -I{} deepxiv paper {} --brief) — 340 briefs take ~16 s.
Ask (registered key)
--effort default|high|xhigh (more reading rounds), --web, --search-type search|scholar|news|images, --top-k, --max-answer-tokens, --json, --all-sources. Be specific and ask for numbers; if the answer misses, rephrase rather than raising effort. Every [arXiv:ID] it cites is real — keep them. On --web, pages marked 🔗 were read only as snippets; say so.
5. 1stAuthor domains (deepxiv fa)
The loop
Always run `deepxiv fa spec DOMAIN` before filtering — field names, allowed operators, sort orders, read levels and prices differ per domain and are listed there. A per-domain digest is in references/fa-domains.md.
search
-k1–100 (default 10).--mode: e.g.hybrid,dense,bm25,name
(talent). --sort: e.g. date, epss (cve). --head: richer hits, costs more.
- Filter-only listing: pass
"*"as the query (an empty string is rejected). - Filter syntax (validated against the spec; a bad field exits 2):
-F | Meaning | |
|---|---|---|
k=v | equals | |
k=a,b | any of | |
k>=n, k<=n | range bound | |
k=n..m | range | |
k~text | full-text match on a text field | |
k=true | boolean |
- Filter values are the database's own values. For Chinese institutions and
cities they are Chinese (org=清华大学, location=北京,上海). Get real values with deepxiv fa facets DOMAIN FIELD.
read
-l briefis cheapest; default is usuallydetail;fullis the longest
(talent full = researched profile in markdown).
-eadds one extra: talentnetwork(coauthors/advisors/students),papers,
scholar, sources; appraise honorees. Prices in the spec.
-ppasses domain parameters, e.g. appraise `-p stance=positive -p org=CAS,CAE
-p honoree="Yoshua Bengio"; law -p section=<chapter id> with -l full`.
- Several ids in one call:
deepxiv fa read talent 15023 3426 2813. - IDs with slashes or spaces work as one quoted argument:
"GB/T 42729-2023".
facets, resolve
ask (registered key; SDK token: 3 lifetime trials)
-e low|medium|high, -p domain params (deepxiv fa spec D lists them), --no-stream, --json, -v (tool calls on stderr). Each domain's ask answers from that domain only; to cover several, run one ask per domain (they can run in parallel) and merge. Always pass -d: auto-routing (no -d) is still early and can pick the wrong domain. Citations look like [law:…], [cve:CVE-…]; keep them.
6. Domain recipes (verified)
Domain caveats worth passing on (details in the reference): model-written fields (one-liners, summaries, cve vuln_class, standards title_en) are for summarising, not quoting — quote the original-text fields and cite by id. CVE output must carry the NVD "not endorsed" notice. The standards domain is a catalogue only (no clause text).
7. Workflows
Literature survey (≈2 min for a few hundred papers):
- 8–15
deepxiv search … --limit 100 --format jsoncalls on sub-topics; dedupe ids. --briefon the 200–400 most relevant (parallel).--head+ one--sectionon the 10–15 key papers.- Write the synthesis citing only papers you read, with arXiv ids.
Find people for a topic: fa search talent with career_stage / location / org / min_h_index filters → fa read talent <ids> in one batch → rank on h-index, areas and representative papers. Profiles are LLM-researched: verify before making decisions about a person, and don't publish personal details.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/deepxiv-cli/SKILL.md
Popularity
- Repository stars
- 794
- Repository forks
- 45
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/deepxiv/deepxiv_sdk/deepxiv-cli)