跳到正文
FunCoding

deepxiv-fa-grants

Star
942
分类
其他
许可证
MIT
最近提交
2026年10月19日

skills/deepxiv-fa-grants/SKILL.md

在 GitHub 上查看

DeepXiv · Grants (grants)

~1.31M research awards: ~637k NSF awards (one per award id), ~570k NIH RePORTER projects (multi-year funding merged per core project number, with per-year amounts) and ~107k EU CORDIS projects (FP5 to Horizon Europe, amounts in EUR). Synced daily; exact counts are in corpus (live). Organisation / country / PI / directorate / activity code / dates / amounts come from the source; topics, methods, domain and one-line summaries are model-generated (title-only where no abstract exists — see _enrich.basis).

Corpus: 1,313,241 documents, updated 2026-10.

Setup

pip install -U deepxiv-sdk      # deepxiv registers a token on first use

With a registered key (https://data.rag.ac.cn/register), search and read are fair use: 60/min, 5 at once, 5,000/day; on the auto-registered token they spend the deepxiv daily limit at the credits listed below. ask draws on the daily ask allowance (resets 00:00 UTC; a site-wide daily total can run out early at peak times), or 3 lifetime trial asks on the auto-registered token. On 429, back off for Retry-After seconds. Data goes to stdout; cost, quota and sources go to stderr. Exit 0 ok, 1 API error, 2 usage error. The general CLI guide is the deepxiv-cli skill.

Start here

deepxiv fa search grants "single-cell transcriptomics" -F agency=nih -F "fy>=2020" -k 5
deepxiv fa search grants "quantum computing" -F agency=nsf -F "amount_total>=1000000" -k 5
deepxiv fa read grants nih:R25HG007515 -l brief
deepxiv fa ask "Which NIH institutes fund single-cell atlas projects, and how much?" -d grants

Free samples: ids nih:R25HG007515; queries single cell transcriptomics.

deepxiv fa search grants "query" [-F FILTER]... [-k N] [--offset N] [--mode M] [--head] [--json]

Modes: hybrid, dense, bm25. Up to 100 hits. Cost 2 (with --head: 3). An empty query is rejected; use "*" to list by filters only. Filters combine with AND; an undeclared field exits 2.

filtertype-F syntaxmeaning
agencykeywordk=v, k=a,bFunding agency Values: nih, nsf, cordis.
research_domainkeywordk=v, k=a,bResearch domain (model-assigned, closed set of 13) Values: biomedical, life_sciences, clinical, public_health, engineering, physical_sciences, chemistry, math_stats ….
ic_or_directoratekeywordk=v, k=a,bNIH institute, NSF directorate or CORDIS framework programme (FP7 / H2020 / HORIZON …, see facets)
activity_codekeywordk=v, k=a,bFunding mechanism: NIH activity code (R01 / R21 / F32 …), NSF award type or CORDIS funding scheme
fyintegerk=v, k>=n, k=n..mFiscal year, range
start_yearintegerk=v, k>=n, k=n..mProject start year, range
end_yearintegerk=v, k>=n, k=n..mProject end year, range
amount_totalnumberk=v, k>=n, k=n..mTotal amount, range (USD for NIH / NSF; EU contribution in EUR for CORDIS — pair with agency when filtering across agencies)
org_countrykeywordk=v, k=a,bOrganisation country (source casing is inconsistent — see notes)

Advanced filters (see deepxiv fa spec grants): org_state, org_name, pi_names, topics, programs, core_project_num, is_renewal.

Read

deepxiv fa read grants ID [ID...] [-l brief|detail|full] [-e EXTRA] [-p k=v]... [-f json|md|html]
levelcreditsreturns
brief1Card: the fields needed to triage, same as in search hits
detail (default)2Every structured field (rule-derived plus model-generated; model fields are listed in _enrich.fields)
full5Full text (not available yet: abstracts are already in level=detail; progress reports and publications are not in this corpus)

At -l full, -p section=NAME reads one section and -p characters=N the first N characters.

Facets

deepxiv fa facets grants FIELD lists the legal values and counts, free. Use it instead of guessing a spelling. Fields: agency, research_domain, ic_or_directorate, activity_code, org_country, org_state.

Ask

deepxiv fa ask "question" -d grants [-e low|medium|high] [-p k=v]... [--no-stream] [--json]

Agentic Q&A over this domain: the model turns the question into filters plus keywords from the domain's own self-description, reads the hits and answers with [grants:<grant_id> ] citations; /stream is NDJSON with real token deltas

Always pass -d grants: automatic domain picking is still early.

What this corpus will and will not tell you

  • One NIH document = all yearly awards under a core project number (amount_total is the sum, funding_by_year the breakdown); one NSF document = one award; one CORDIS document = one project (grant_id = cordis:), org_* is the coordinator and amount_total the EU contribution in EUR (currency=EUR at level=head; NIH / NSF have no currency field and are in USD).
  • org_country casing is inconsistent in the source (both UNITED STATES and United States, 1.088M awards) — pass both spellings.
  • topics are open labels with tens of thousands of values: good to read, poor to filter on — use research_domain.
  • Where no abstract exists the summary comes from the title alone (_enrich.basis=title_only).
  • The index holds no full text: level=full is not available yet (abstracts are already in level=detail; progress reports and publications are not in this corpus).

Citing

Cite records as [NIH R25HG007515]. Say plainly when the corpus has nothing.


Generated by scripts/gen_fa_skills.py from deepxiv fa spec grants --json on 2026-10-19. Field names and prices can change; deepxiv fa spec grants is the live source.

相似的 Skill

claude-handoff

MAmattpocock/skills337k近 7 天新增 4,978 个 star

software-factory

MAmattpocock/skills337k近 7 天新增 4,978 个 star

agent-payment-x402

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

agent-self-evaluation

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

bengali-nlp

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

ponytail-gain

DIDietrichGebert/ponytail203k近 7 天新增 4,904 个 star