/research:research-acquirefrom research
Downloads research papers from public repositories (DOI, arXiv ID, title, URL) and extracts metadata including title, authors, year, abstract, keywords, and citation count. Saves PDFs with YAML frontmatter and SHA-256 checksums.
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Dispatch with the shared context packet and verification contract. Required evidence includes integrity, checksum, metadata, full-text status, and artifact paths; missing or failed required checks cannot yield success.
Download research papers from public repositories and extract metadata.
When invoked, perform automated paper acquisition:
Identify Source
aiwg corpus resolve "<reference>" --json before downloading anything;
pass --year YYYY when supplied.status: resolved (exit 0), using canonical metadata and IDs.
On ambiguous (exit 2) or unresolved (exit 3), stop acquisition and show every
candidate, finding and paths_tried; request a more specific reference.
On deferred (exit 4), the lookup is incomplete and retryable: stop acquisition,
show paths_tried, and retry later; never treat it as evidence the work is absent.
Batches reuse client pacing and retry 429s with backoff and Retry-After;
their exit code is the worst line (4 > 3 > 2 > 0). Usage errors exit 1.
Incomplete short/generic titles stay ambiguous unless an ID verifies them;
supply a year, author, or ID. Never select the first candidate or guess an ID.already_in_corpus and
corpus_matches for the existing REF before assigning a new one..aiwg/research/sources/Download Paper
.aiwg/research/sources/[ref-id].pdfExtract Metadata
Generate Frontmatter
Extract Full Text (default, unless --no-extract-text)
.aiwg/research/sources/text/REF-XXX.txtfull_text_available: false in frontmatterCreate Finding Document
.aiwg/research/findings/REF-XXX-[slug].md from templatePost-Acquisition
.aiwg/research/acquisition-log.yaml[identifier] - DOI, arXiv ID, title, URL, or bibliography line (required)--year [YYYY] - Optional publication year passed to identity resolution--output [path] - Custom output location (default: auto-generate)--ref-id [REF-XXX] - Specific REF-XXX identifier (default: auto-assign)--extract-text - Extract full text to .txt file for analysis (default: enabled; use --no-extract-text to skip)--no-metadata - Skip metadata enrichment--force - Re-download even if paper exists# Acquire a bare title (resolve first; stop if ambiguous or unresolved)
/research-acquire "Self-supervised representation learning" --year 2024
# Acquire by DOI
/research-acquire 10.48550/arXiv.2308.08155
# Acquire by arXiv ID
/research-acquire arXiv:2308.08155
# Acquire with custom identifier
/research-acquire https://arxiv.org/pdf/2308.08155.pdf --ref-id REF-022
# Acquire with full text extraction
/research-acquire 10.1145/3377811.3380330 --extract-text
Acquiring Paper: 10.48550/arXiv.2308.08155
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 1: Resolving identifier
✓ DOI resolved to arXiv:2308.08155
✓ Paper not found in corpus
Step 2: Downloading PDF
✓ Downloaded from arxiv.org (2.4 MB)
✓ Saved to .aiwg/research/sources/REF-022.pdf
✓ Checksum: a1b2c3d4e5f6...
Step 3: Extracting metadata
✓ Title: AutoGen: Enabling Next-Gen LLM Applications...
✓ Authors: Wu, Q., Bansal, G., Zhang, J., et al. (9 authors)
✓ Year: 2023
✓ Source: arXiv preprint
✓ Citations: 234 (as of 2026-02-03)
Step 4: Creating finding document
✓ Generated .aiwg/research/findings/REF-022-autogen.md
✓ Frontmatter populated
✓ Template sections added
Step 5: Updating corpus
✓ Added to fixity manifest
✓ Updated INDEX.md
✓ Logged acquisition
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Acquisition complete!
REF-ID: REF-022
Title: AutoGen: Enabling Next-Gen LLM Applications...
File: .aiwg/research/sources/REF-022.pdf
Finding: .aiwg/research/findings/REF-022-autogen.md
Next Steps:
1. /research-quality REF-022 - Assess evidence quality
2. /research-document REF-022 - Create detailed summary
3. /research-cite REF-022 - Generate citation
All acquisitions create provenance records:
# .aiwg/research/provenance/records/REF-022-acquisition.yaml
entity:
id: "urn:aiwg:artifact:.aiwg/research/sources/REF-022.pdf"
type: "research_paper"
activity:
id: "urn:aiwg:activity:acquisition:REF-022:001"
type: "acquisition"
started_at: "2026-02-03T12:00:00Z"
ended_at: "2026-02-03T12:00:15Z"
agent:
id: "urn:aiwg:agent:research-acquisition-agent"
type: "aiwg_agent"
source:
identifier: "10.48550/arXiv.2308.08155"
url: "https://arxiv.org/pdf/2308.08155.pdf"
This skill's persistence flows through resolveStorage('research'). On the default fs backend the research corpus lives at .aiwg/research/. Heavy artifacts (papers, archived sources) can move to a secondary drive by setting roots.research in .aiwg/storage.config (one of the headline #934 use cases).
aiwg research-store path # resolved root
aiwg research-store list --prefix sources/
aiwg research-store get sources/paper-123.md
What SKILL.md sets; muted values are Claude Code's defaults
42 skills in this plugin
/best-practices-auditResearch-grounded validation of a target (file, directory, or topic) against external best practices and vendor docs. Produces a cited, evidence-grounded comparison./citation-backfillRebuild bidirectional citation edges in a research corpus. Scans outgoing citations, computes the inverse map, rewrites incoming tables. Fixes one-directional graphs./corpus-exportPackage corpus subsets as distribution archives. Filter by cluster, topic, REF range, or custom expression; bundles PDFs, analysis, citations, and BibTeX into tar.gz./corpus-index-buildRender research-corpus markdown index views (by-topic, by-year, authors, citation-network, ...) from corpus state. As of/corpus-retrieval-labBenchmark current research-query and direct lexical baselines against experimental vector, BM25, typed concept-graph PPR, and RRF source selection without replacing production retrieval./corpus-snapshotGenerate a corpus snapshot report — computes dimensions, topology, degree distribution, delta from previous. Helps with cluster, chain, and gap analysis sections.npx claudepluginhub jmagly/aiwg --plugin researchOther plugins' skills for the same job