/research:research-workflowfrom research
Executes multi-stage research workflows from discovery through archival, including paper acquisition, quality assessment, and synthesis report generation.
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.
Every acquisition, induction, and synthesis dispatch uses the shared context engineering contract and verification contract. Synthesis completion requires citation resolution, GRADE-calibrated claims, and evidence/inference/recommendation separation.
Execute complete multi-stage research workflows from discovery through archival.
When invoked, orchestrate multi-agent research workflows:
Load Workflow Definition
Execute Stages Sequentially
Monitor Execution
Handle Gates
Generate Report
| Workflow | Stages | Description |
|---|---|---|
discovery-to-corpus | 5 | Full pipeline from search to documented findings |
paper-acquisition | 3 | Download, extract metadata, create finding document |
quality-assessment | 4 | GRADE assessment with citation validation |
corpus-maintenance | 6 | Periodic corpus health checks and updates |
synthesis-report | 4 | Generate synthesis report from topic cluster |
citation-audit | 3 | Validate all citations across corpus |
[workflow-name] - Workflow to execute (required)--input [yaml-file] - Input parameters for workflow--stage [n] - Start from specific stage (default: 1)--pause-at [stage] - Pause after specific stage--interactive - Prompt for confirmation at each stage--dry-run - Preview workflow without execution--resume [workflow-id] - Resume previously interrupted workflowComplete pipeline from literature search to documented findings:
Stages:
Discovery (agent: discovery-agent)
Acquisition (agent: research-acquisition-agent)
Documentation (agent: documentation-agent)
Quality Assessment (agent: quality-agent)
Archival (agent: archival-agent)
Human Gates:
Streamlined acquisition workflow:
Stages:
Download (agent: research-acquisition-agent)
Metadata Extraction (agent: research-acquisition-agent)
Document Creation (agent: documentation-agent)
Comprehensive quality assessment workflow:
Stages:
GRADE Assessment (agent: quality-agent)
Hedging Analysis (agent: quality-agent)
Citation Validation (agent: citation-agent)
Report Generation (agent: quality-agent)
# Execute full discovery-to-corpus workflow
/research-workflow discovery-to-corpus --input discovery-params.yaml
# Acquire specific paper
/research-workflow paper-acquisition --input '{"doi": "10.48550/arXiv.2308.08155"}'
# Run quality assessment
/research-workflow quality-assessment --input '{"ref_id": "REF-022"}'
# Interactive mode with pauses
/research-workflow discovery-to-corpus --interactive
# Dry run to preview
/research-workflow corpus-maintenance --dry-run
# Resume interrupted workflow
/research-workflow resume wf-20260203-123456
Executing Workflow: discovery-to-corpus
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Input Parameters:
Query: "agentic workflows for software development"
Max results: 10
Year from: 2020
Workflow Progress: [████░░░░░░] Stage 1/5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stage 1: Discovery (agent: discovery-agent)
─────────────────────────────────────────────────────────────────────
Status: Running...
✓ Queried arXiv (42 results)
✓ Queried ACM DL (18 results)
✓ Queried IEEE Xplore (25 results)
✓ Queried Semantic Scholar (67 results)
✓ Deduplicated and ranked
✓ Top 10 results selected
Duration: 15s
Status: COMPLETE
Output:
10 papers identified
Saved to: .aiwg/research/search-cache/results-20260203-143000.yaml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HUMAN GATE: Paper Selection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Top 10 Results:
1. [✓] AutoGen: Enabling Next-Gen LLM Applications (Wu et al., 2023)
Relevance: 0.95, Citations: 234, DOI: 10.48550/arXiv.2308.08155
2. [✓] The Landscape of Emerging AI Agent Architectures (Wang et al., 2024)
Relevance: 0.89, Citations: 89, DOI: 10.48550/arXiv.2404.11584
3. [ ] MetaGPT: Meta Programming for Multi-Agent Systems (Hong et al., 2023)
Relevance: 0.87, Citations: 156, DOI: 10.48550/arXiv.2308.00352
Note: Already in corpus as REF-013
4. [✓] Agent Laboratory: Using LLM Agents as Research Assistants (Schmidgall et al., 2024)
Relevance: 0.85, Citations: 45, arXiv:2404.11587
... (6 more)
Select papers to acquire [1,2,4 or 'all']: 1,2,4
Selected: 3 papers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Workflow Progress: [████████░░] Stage 2/5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stage 2: Acquisition (agent: research-acquisition-agent)
─────────────────────────────────────────────────────────────────────
Status: Running...
Paper 1/3: AutoGen (10.48550/arXiv.2308.08155)
✓ Downloaded PDF (2.4 MB)
✓ Metadata extracted
✓ Assigned REF-022
✓ Finding document created
Paper 2/3: Emerging AI Agent Architectures (10.48550/arXiv.2404.11584)
✓ Downloaded PDF (3.1 MB)
✓ Metadata extracted
✓ Assigned REF-075
✓ Finding document created
Paper 3/3: Agent Laboratory (arXiv:2404.11587)
✓ Downloaded PDF (1.8 MB)
✓ Metadata extracted
✓ Assigned REF-076
✓ Finding document created
Duration: 42s
Status: COMPLETE
Output:
3 papers acquired
REF-022, REF-075, REF-076
Total size: 7.3 MB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Workflow Progress: [████████████░░] Stage 3/5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stage 3: Documentation (agent: documentation-agent)
─────────────────────────────────────────────────────────────────────
Status: Running...
REF-022: AutoGen
✓ PDF parsed (27 pages)
✓ 4 key findings extracted
✓ AIWG relevance assessed (HIGH)
✓ Literature notes created
✓ Finding document populated (1,847 words)
REF-075: Emerging AI Agent Architectures
✓ PDF parsed (18 pages)
✓ 5 key findings extracted
✓ AIWG relevance assessed (HIGH)
✓ Literature notes created
✓ Finding document populated (2,103 words)
REF-076: Agent Laboratory
✓ PDF parsed (12 pages)
✓ 3 key findings extracted
✓ AIWG relevance assessed (MEDIUM)
✓ Literature notes created
✓ Finding document populated (1,524 words)
Duration: 3m 15s
Status: COMPLETE
Output:
3 finding documents completed
3 literature notes created
Total: 5,474 words of documentation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Workflow Progress: [█████████████░] Stage 4/5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stage 4: Quality Assessment (agent: quality-agent)
─────────────────────────────────────────────────────────────────────
Status: Running...
REF-022: AutoGen
✓ Baseline: MODERATE (conference paper)
✓ Downgrade: -1 (imprecision)
✓ Final GRADE: LOW
✓ Assessment saved
REF-075: Emerging AI Agent Architectures
✓ Baseline: VERY LOW (preprint, not peer-reviewed)
✓ No upgrades/downgrades
✓ Final GRADE: VERY LOW
✓ Assessment saved
REF-076: Agent Laboratory
✓ Baseline: MODERATE (preprint, high-quality)
✓ Upgrade: +1 (large effect)
✓ Final GRADE: MODERATE
✓ Assessment saved
Duration: 45s
Status: COMPLETE
Output:
3 quality assessments completed
GRADE levels: LOW, VERY LOW, MODERATE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HUMAN GATE: Quality Approval
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Quality assessments complete. Review GRADE levels:
REF-022: LOW (conference paper with limited evaluation)
REF-075: VERY LOW (preprint, not peer-reviewed)
REF-076: MODERATE (high-quality preprint with strong findings)
Approve quality levels? [Y/n]: Y
Approved. Proceeding to archival.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Workflow Progress: [██████████████] Stage 5/5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stage 5: Archival (agent: archival-agent)
─────────────────────────────────────────────────────────────────────
Status: Running...
REF-022: AutoGen
✓ BagIt package created (2.5 MB)
✓ Checksums verified
✓ Registered in archival index
REF-075: Emerging AI Agent Architectures
✓ BagIt package created (3.2 MB)
✓ Checksums verified
✓ Registered in archival index
REF-076: Agent Laboratory
✓ BagIt package created (1.9 MB)
✓ Checksums verified
✓ Registered in archival index
Duration: 28s
Status: COMPLETE
Output:
3 archival packages created
Total archived size: 7.6 MB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Workflow Complete!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Summary:
Workflow: discovery-to-corpus
Duration: 5m 25s
Papers processed: 3
Success rate: 100%
Artifacts Created:
- 3 PDFs (.aiwg/research/sources/)
- 3 finding documents (.aiwg/research/findings/)
- 3 literature notes (.aiwg/research/literature-notes/)
- 3 quality assessments (.aiwg/research/quality-assessments/)
- 3 archival packages (.aiwg/research/archives/)
Resource Usage:
Tokens consumed: 45,230
API calls: 27
Storage used: 7.6 MB
Next Steps:
- Review findings: /research-document REF-022 REF-075 REF-076
- Generate citations: /research-cite REF-022
- Check corpus health: /research-status
Workflow log: .aiwg/research/workflows/wf-20260203-143000.log
All workflows track state for resumption:
# .aiwg/research/workflows/wf-20260203-143000-state.yaml
workflow_id: wf-20260203-143000
workflow_name: discovery-to-corpus
status: complete
started_at: "2026-02-03T14:30:00Z"
completed_at: "2026-02-03T14:35:25Z"
stages:
- name: discovery
status: complete
started_at: "2026-02-03T14:30:00Z"
completed_at: "2026-02-03T14:30:15Z"
output:
papers: 10
selected: [1, 2, 4]
- name: acquisition
status: complete
started_at: "2026-02-03T14:30:20Z"
completed_at: "2026-02-03T14:31:02Z"
output:
acquired: [REF-022, REF-075, REF-076]
... (stages 3-5)
metrics:
duration_seconds: 325
tokens_consumed: 45230
api_calls: 27
success_rate: 1.0
Define custom workflows in YAML:
# custom-workflow.yaml
name: focused-acquisition
description: Acquire and document specific papers
stages:
- name: acquisition
agent: research-acquisition-agent
inputs:
- doi_list
- name: documentation
agent: documentation-agent
inputs:
- from: acquisition.acquired
- name: quality
agent: quality-agent
inputs:
- from: acquisition.acquired
gates:
- stage: quality
type: approval
message: "Review quality assessments"
Execute:
/research-workflow custom-workflow.yaml --input '{"doi_list": ["10.1234/example"]}'
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin research42 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.Other plugins' skills for the same job