بنقرة واحدة
ii-commons
// Use II-Commons for deterministic search across arXiv, PubMed, and policy corpora. Use for evidence comparison, metadata lookup, corpus freshness checks, or full-document markdown.
// Use II-Commons for deterministic search across arXiv, PubMed, and policy corpora. Use for evidence comparison, metadata lookup, corpus freshness checks, or full-document markdown.
| name | ii-commons |
| description | Use II-Commons for deterministic search across arXiv, PubMed, and policy corpora. Use for evidence comparison, metadata lookup, corpus freshness checks, or full-document markdown. |
Use this as the top-level router for II-Commons retrieval. The CLI can be run through npm:
npx @intelligentinternet/ii-commons --help
npx @intelligentinternet/ii-commons cutoff
It can also be installed globally:
npm install -g @intelligentinternet/ii-commons
ii-commons cutoff
When this skill is installed directly into an agent runtime, resolve the bundled client relative to this SKILL.md directory:
node scripts/ii_commons.js --help
Runtime and service:
commons.ii.inc.II_COMMONS_API_KEY or the local ii-commons config file when asked.search, meta, markdown, and cutoff for exact filters, explicit evidence flow, and reproducible retrieval.cutoff before search and state the relevant cutoff date before interpreting results.cutoff as the authoritative freshness boundary for each corpus.--start and --end search filters before running search. Do this for phrases such as "last N years", "past N years", "recent N years", "since YYYY", "after YYYY-MM", "before YYYY", and year ranges like "2023-2025".YYYYMMDD for exact dates, YYYYMM00 for known year/month, and YYYY0000 for year-only constraints.cutoff reports an earlier corpus cutoff than the current date, cap --end to that corpus cutoff.--start <current date minus two years as YYYYMMDD> --end <current or cutoff date as YYYYMMDD>; "since 2024" means --start 20240000; "2023-2025" means --start 20230000 --end 20250000.search unless the user already provided a canonical identifier.markdown only when full-document analysis, detailed summarization, methods/results extraction, or quote-level grounding is needed.markdown returns Conversion to HTML had a Fatal error and exited abruptly. This document may be truncated or damaged., call meta for the same identifier and continue from the PDF URL in metadata, typically extended.url_pdf for arXiv papers.--start and --end rather than relying on later result screening.arXiv:<paper_id>.PMCID:PMC<pmcid> when available, otherwise PMID:<pmid>.policy:us-ca:<uuid>.DOI:<doi>.The examples below use the npm CLI. With npx, prefix the same commands with npx @intelligentinternet/ii-commons, for example npx @intelligentinternet/ii-commons cutoff.
For search, use exactly this shape: search <corpus> <topic> [filters]. Put the quoted topic immediately after the corpus, then append filters such as --start, --end, or --max-results.
ii-commons cutoff
ii-commons search arxiv "large language model inference" --max-results 10
ii-commons search arxiv "learned sparse retrieval SPLADE BM25 hybrid retrieval" --start 20240000 --max-results 10
ii-commons search arxiv "retrieval augmented generation reranking" --start 20230000 --end 20250000 --categories cs.IR,cs.CL --max-results 10
ii-commons search pubmed "type 2 diabetes review" --max-results 10
ii-commons search pubmed "type 2 diabetes review" --start 20240000 --max-results 10
ii-commons search policy "state overtime rule for agricultural workers" --max-results 10 --jurisdictions US-CA
ii-commons meta "arXiv:2402.03578"
ii-commons markdown "PMCID:PMC11152602"
When running from an installed skill directory instead of npm, replace ii-commons with node scripts/ii_commons.js. From a repository checkout, use node skills/ii-commons/scripts/ii_commons.js ....
Default output is JSON on stdout. Errors are machine-readable JSON on stderr and return a non-zero exit code.
See references/api.md for the REST client contract, endpoint mapping, auth behavior, and error format.