ii-commons – Other skill for AI agents
Deterministic search across arXiv, PubMed/PMC, and US policy corpora with daily freshness cutoffs.
Install the ii-commons skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/ii-commons-2f0eb.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /ii-commons – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/ii-commons-2f0eb.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $ii-commons – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/ii-commons-2f0eb.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /ii-commons – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/ii-commons-2f0eb.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /ii-commons – then describe the task you want done.
SKILL.md content
II-Commons
Overview
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/.
When to Use This Skill
- Use when searching arXiv, PubMed/PMC, or supported US policy corpora for evidence.
- Use when the user asks for latest or recent research and corpus freshness matters.
- Use when you need stable identifiers, metadata, or full-document Markdown for downstream analysis.
- Use when comparing evidence across scientific literature and policy documents.
How It Works
Step 1: Check Corpus Freshness
Run cutoff before freshness-sensitive searches:
npx @intelligentinternet/ii-commons cutoffReport the relevant cutoff date before interpreting recent results.
Step 2: Search the Right Corpus
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 10spawnSync("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.
Step 3: Retrieve Metadata or Markdown
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.
Installation
Run the CLI with npx:
npx @intelligentinternet/ii-commons --helpOr install globally:
npm install -g @intelligentinternet/ii-commons
ii-commons cutoffTo install the full upstream agent skill, install the skills/ii-commons/ folder from:
https://github.com/Intelligent-Internet/II-Commons-SkillsBest Practices
- Prefer server-side date filters such as
--startand--endfor time-bounded arXiv and PubMed searches. - Preserve canonical identifiers such as
arXiv:<id>,PMID:<id>,PMCID:PMC<id>, andpolicy:<jurisdiction>:<id>. - Record the reported
cutoff, retrieval time, query/filter arguments and returned identifiers. A freshness cutoff alone does not pin an immutable result set; preserve retrieved records for reproducible analysis. Coverage and source updates can still lag. - Keep non-time filters conservative until initial search results show the right scope.
Limitations
- Requires Node.js 18 or newer and outbound network access to
commons.ii.inc. - Basic usage works without authentication; higher usage limits may require an API token from
https://commons.ii.inc/. - Supported policy coverage is limited to the policy corpora exposed by II-Commons.
Security & Safety Notes
- Do not print or expose
II_COMMONS_API_KEYvalues. - Treat outputs as retrieval evidence, not expert review. For medical, legal, or policy-sensitive work, cite sources and preserve uncertainty.
- Commands call an external API service; confirm network access is allowed in the user's environment before running them.
Related Skills
- Use broader web-search or deep-research skills when evidence is outside arXiv, PubMed/PMC, or supported policy corpora.
- Use citation-management skills after II-Commons has identified stable source records.
Related skills
- ilya-sutskever – Agente que simula Ilya Sutskever — co-fundador da OpenAI, ex-Chief Scientist, fundador…
- implement – Implement a piece of work based on a PRD or set of issues.
- impression-to-click-ratio-calculator – Impression-to-Click Ratio Calculator. Use when working with clicks and impressions for…
- incident-response-incident-response – Use when working with incident response incident response
- incident-runbook-templates – Adaptable templates for incident response runbooks covering detection, triage…
- inngest – Inngest expert for serverless-first background jobs, event-driven workflows, and durable…
- internal-communication – Internal communication log: title, type, date, department, host and attendees, agenda…
- internal-link-suggestion-tool – Internal Link Suggestion Tool. Use when working with source text and available…