.claude/skills/ar-orchestrator/SKILL.md
Research pipeline orchestrator — manages all 9 stages with 5 human approval gates
npx skillsauth add ShinyGua/AutoArtsResearch ar-orchestratorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Workspace path: $ARGUMENTS[0]
Stage 0: Bootstrap — done by ar-init (topic + track + workspace)
Stage 1: Scoping — ar-scoping → GATE 1
Stage 2: Corpus Building — ar-retrieval → ar-source-auditor → GATE 2
Stage 3: Framing — ar-lit-synthesis → ar-theory → ar-method → GATE 3
Stage 4: Evidence — ar-reader → ar-evidence
Stage 5: Argument — ar-claim-builder → GATE 4
Stage 6: Drafting — ar-research-writer → ar-ref-checker → ar-citation-verifier
Stage 7: Review — ar-paper-reviewer → REVIEW GATE (revision loop, max 3 rounds)
Stage 8: Export — copy to final/ → ar-pdf-exporter → GATE 5
TOPIC_RECEIVED → SCOPING_IN_PROGRESS → SCOPING_APPROVED →
CORPUS_BUILDING → CORPUS_APPROVED →
FRAMING_IN_PROGRESS → METHOD_APPROVED →
EVIDENCE_BUILDING → ARGUMENT_BUILDING → ARGUMENT_APPROVED →
DRAFTING → REVIEWING → REVISING → (loop) →
FINAL_APPROVAL → READY_FOR_EXPORT
Read {workspace}/status.json. Extract:
state — current positionstages_completed — completed stagestopic_seed, paper_typeCheck stages_completed and resume from first incomplete stage.
status.json: state → SCOPING_IN_PROGRESSar-scoping via Agent tool (foreground):
.claude/skills/ar-scoping/SKILL.md for workspace {workspace}{workspace}/analysis/scoping/scoping_summary.mdGATE 1 — Topic & Scope Approval:
## GATE 1: Topic & Scope Approval
{contents of scoping_summary.md}
---
Do you approve this scope? Type one of:
- **approve** — proceed to corpus building
- **revise** — tell me what to change
- **reject** — stop the pipeline
state → SCOPING_APPROVED, append scoping to stages_completedstatus.json: state → CORPUS_BUILDINGar-retrieval via Agent tool (foreground):
.claude/skills/ar-retrieval/SKILL.md for workspace {workspace}ar-source-auditor via Agent tool (foreground):
.claude/skills/ar-source-auditor/SKILL.md for workspace {workspace}{workspace}/sources/audit/source_audit_summary.mdGATE 2 — Corpus Approval:
## GATE 2: Corpus Approval
{contents of source_audit_summary.md}
---
Do you approve this corpus? Type one of:
- **approve** — proceed to framing
- **revise** — tell me what to change (add sources, remove sources, expand search)
- **reject** — stop the pipeline
state → CORPUS_APPROVED, append corpus to stages_completedstatus.json: state → FRAMING_IN_PROGRESSar-lit-synthesis via Agent tool (foreground):
.claude/skills/ar-lit-synthesis/SKILL.md for workspace {workspace}ar-theory via Agent tool (foreground):
.claude/skills/ar-theory/SKILL.md for workspace {workspace}{workspace}/analysis/literature_map/theory_proposals.jsondebate_needed is true, dispatch ar-debate via Agent tool (foreground):
.claude/skills/ar-debate/SKILL.md for workspace {workspace} with debate_type theory_selectionar-method via Agent tool (foreground):
.claude/skills/ar-method/SKILL.md for workspace {workspace}{workspace}/analysis/method_cards/method_summary.md and {workspace}/analysis/literature_map/literature_map_summary.mdGATE 3 — Theory & Method Approval:
## GATE 3: Theory & Method Approval
### Literature Map
{contents of literature_map_summary.md}
### Method Card
{contents of method_summary.md}
---
Do you approve this framing? Type one of:
- **approve** — proceed to evidence building
- **revise** — tell me what to change
- **reject** — stop the pipeline
state → METHOD_APPROVED, append framing to stages_completedstatus.json: state → EVIDENCE_BUILDINGar-reader via Agent tool (foreground):
.claude/skills/ar-reader/SKILL.md for workspace {workspace}ar-evidence via Agent tool (foreground):
.claude/skills/ar-evidence/SKILL.md for workspace {workspace}evidence to stages_completedNo gate after this stage — proceed directly to argument building.
status.json: state → ARGUMENT_BUILDINGar-claim-builder via Agent tool (foreground):
.claude/skills/ar-claim-builder/SKILL.md for workspace {workspace}{workspace}/analysis/claims/argument_tree.jsondebate_needed is true, dispatch ar-debate for each flagged claim:
.claude/skills/ar-debate/SKILL.md for workspace {workspace} with debate_type rival_explanations{workspace}/analysis/claims/argument_summary.mdGATE 4 — Argument Tree Approval:
## GATE 4: Argument Tree Approval
{contents of argument_summary.md}
---
Do you approve this argument structure? Type one of:
- **approve** — proceed to paper drafting
- **revise** — tell me what to change
- **reject** — stop the pipeline
state → ARGUMENT_APPROVED, append argument to stages_completedstatus.json: state → DRAFTINGar-research-writer via Agent tool (foreground):
.claude/skills/ar-research-writer/SKILL.md for workspace {workspace} with mode initial{workspace}/drafts/research_paper.md existsar-ref-checker via Agent tool (foreground):
.claude/skills/ar-ref-checker/SKILL.md for workspace {workspace}ar-citation-verifier via Agent tool (foreground):
.claude/skills/ar-citation-verifier/SKILL.md for workspace {workspace}mismatch, unverified, or misrepresented issues:
ar-research-writer in revision mode to fix the references and citationsar-ref-checker and ar-citation-verifier to confirm fixes (max 2 correction rounds)drafting to stages_completedFOR round = 1 to 3:
status.json: state → REVIEWINGar-paper-reviewer via Agent tool (foreground):
.claude/skills/ar-paper-reviewer/SKILL.md for workspace {workspace}{workspace}/reviews/review_result.json{workspace}/reviews/review_summary.md## Paper Review — Round {round}
{contents of review_summary.md}
---
The paper draft is at: {workspace}/drafts/research_paper.md
Type one of:
- **approve** — accept the paper and proceed to export
- Type your feedback — I'll combine it with the LLM review and revise the paper
Wait for user reply.
If user says "approve" (or similar):
state → FINAL_APPROVALreview to stages_completedIf user provides feedback:
{workspace}/reviews/revision_brief.json (from LLM reviewer)user_feedback fieldstatus.json: state → REVISINGar-research-writer via Agent tool (foreground):
.claude/skills/ar-research-writer/SKILL.md for workspace {workspace} with mode revisionar-ref-checker and ar-citation-verifier to verify fixesIf max rounds reached (3):
{workspace}/drafts/research_paper.md to {workspace}/final/research_paper.mdar-pdf-exporter via Agent tool (foreground):
.claude/skills/ar-pdf-exporter/SKILL.md for workspace {workspace}status.json: state → READY_FOR_EXPORT, append export to stages_completedGATE 5 — Final Output:
Research pipeline complete!
Project: {project_id}
Topic: {topic_seed}
Track: {paper_type}
Paper (Markdown): {workspace}/final/research_paper.md
Paper (PDF): {workspace}/exports/research_paper.pdf
Paper (Word): {workspace}/exports/research_paper.docx
Open the files to review your research paper.
Use /ar:web to browse in the web viewer.
workspaces/{PROJECT_ID}/
config.yaml
status.json
sources/
academic/ ← academic source records
policy/ ← policy source records
media/ ← media source records
audit/
source_audit_report.json ← audit scores
source_audit_summary.md ← Gate 2 display
corpus_manifest.json ← retrieval manifest
analysis/
scoping/
scoping_report.json ← scoping data
scoping_summary.md ← Gate 1 display
literature_map/
literature_map.json ← thematic clusters
literature_map_summary.md ← Gate 3 display (part 1)
theory_proposals.json ← theory candidates
method_cards/
method_card.json ← approved method
method_summary.md ← Gate 3 display (part 2)
evidence/
reading_notes/ ← per-source reading notes
ev-*.json ← evidence units
evidence_index.json ← evidence groupings
claims/
cl-*.json ← claim nodes
argument_tree.json ← argument structure
argument_summary.md ← Gate 4 display
debate_logs/ ← debate transcripts
drafts/
research_paper.md ← paper draft
evidence_notes.json ← legacy: sources collected
reviews/
review_result.json ← LLM scores
review_summary.md ← human-readable review
revision_brief.json ← revision instructions
ref_check_report.json ← reference verification
ref_check_summary.md ← reference check summary
citation_verify_report.json ← citation faithfulness
citation_verify_summary.md ← citation check summary
final/
research_paper.md ← final approved paper
exports/
research_paper.pdf ← PDF export
research_paper.docx ← Word export
development
Theory agent — proposes theoretical frameworks, ranks by fit, and identifies rival theories
testing
Source auditor — classifies, scores reliability, verifies metadata, and recommends inclusion/exclusion for corpus sources
research
Topic scoping — refines topic seed into research question, scope boundaries, and feasibility assessment
development
Corpus retrieval — searches academic, policy, media, and report sources to build a curated corpus