II-Commons provides deterministic retrieval for research agents across arXiv, PubMed/PMC, and supported US policy corpora. Use it when a task needs reproducible search, metadata lookup, full-document Markdown retrieval, or a freshness check before answering with recent evidence.
The upstream project publishes a Node.js CLI as @intelligentinternet/ii-commons and a full agent skill at skills/ii-commons/.
Run cutoff before freshness-sensitive searches:
npx @intelligentinternet/ii-commons cutoff
Report the relevant cutoff date before interpreting recent results.
Use this argv shape. Literal examples can be typed as shown, but when the query comes from a user prompt, pass it as an argument array through the runner API instead of interpolating it into a shell string. Double quotes do not protect against command substitution in generated shell commands.
npx @intelligentinternet/ii-commons search arxiv "large language model inference" --max-results 10
npx @intelligentinternet/ii-commons search pubmed "type 2 diabetes review" --start 20240000 --max-results 10
npx @intelligentinternet/ii-commons search policy "state overtime rule for agricultural workers" --jurisdictions US-CA --max-results 10
spawnSync("npx", [
"@intelligentinternet/ii-commons",
"search",
"arxiv",
userQuery,
"--max-results",
"10",
]);
Choose arxiv for preprints and technical research, pubmed for biomedical and clinical literature, and policy for supported US policy corpora.
Use stable identifiers from search results:
npx @intelligentinternet/ii-commons meta "arXiv:2402.03578"
npx @intelligentinternet/ii-commons markdown "PMCID:PMC11152602"
Build summaries from search results first, then request Markdown when detailed inspection or full-document grounding is needed.
Run the CLI with npx:
npx @intelligentinternet/ii-commons --help
Or install globally:
npm install -g @intelligentinternet/ii-commons
ii-commons cutoff
To install the full upstream agent skill, install the skills/ii-commons/ folder from:
https://github.com/Intelligent-Internet/II-Commons-Skills
--start and --end for time-bounded arXiv and PubMed searches.arXiv:<id>, PMID:<id>, PMCID:PMC<id>, and policy:<jurisdiction>:<id>.cutoff as the authoritative freshness boundary for each corpus.commons.ii.inc.https://commons.ii.inc/.II_COMMONS_API_KEY values.