ii-commons
Deterministic search across arXiv, PubMed/PMC, and US policy corpora with daily freshness cutoffs.
Best use case
ii-commons is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Deterministic search across arXiv, PubMed/PMC, and US policy corpora with daily freshness cutoffs.
Teams using ii-commons should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ii-commons/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ii-commons Compares
| Feature / Agent | ii-commons | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Deterministic search across arXiv, PubMed/PMC, and US policy corpora with daily freshness cutoffs.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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:
```bash
npx @intelligentinternet/ii-commons cutoff
```
Report 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.
```bash
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
```
```js
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.
### Step 3: Retrieve Metadata or Markdown
Use stable identifiers from search results:
```bash
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`:
```bash
npx @intelligentinternet/ii-commons --help
```
Or install globally:
```bash
npm install -g @intelligentinternet/ii-commons
ii-commons cutoff
```
To install the full upstream agent skill, install the `skills/ii-commons/` folder from:
```text
https://github.com/Intelligent-Internet/II-Commons-Skills
```
## Best Practices
- Prefer server-side date filters such as `--start` and `--end` for time-bounded arXiv and PubMed searches.
- Preserve canonical identifiers such as `arXiv:<id>`, `PMID:<id>`, `PMCID:PMC<id>`, and `policy:<jurisdiction>:<id>`.
- Use `cutoff` as the authoritative freshness boundary for each corpus.
- 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_KEY` values.
- 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
zustand-store-ts
Create Zustand stores following established patterns with proper TypeScript types and middleware.
zoom-automation
Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.
zoho-crm-automation
Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.
zod-validation-expert
Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.
zipai-optimizer
Ultra-dense token optimizer skill for prompt caching, log pruning, AST-based inspection, and minified JSON payloads.
zeroize-audit
Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.
zendesk-automation
Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.
zapier-make-patterns
No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.
youtube-summarizer
Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks
youtube-full
Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.
youtube-automation
Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.
yield-intelligence
Passive income portfolio analysis — activate when user asks about dividend yields, Treasury rates, REIT income, monthly passive income goals, or portfolio yield optimization. Scans 4 asset classes, ranks by risk-adjusted return, and builds allocations targeting a specific monthly income.