Composes AlterLab skills into multi-agent workflows using Claude Code subagents, dynamic scripts, agent teams, forks, and the Claude Agent SDK. Covers parallel fan-out, sequential pipelines, judge panels, adversarial verification, and loop-until-clean review cycles.
This skill is the orchestration layer. It does not do research, write, or review itself — it teaches how to wire the skills that do into agentic workflows using Claude Code's native subagent machinery and the Claude Agent SDK. Pick a pattern, point it at real AlterLab skills, copy the delegation prompt.
The five patterns below are the high-leverage shapes for academic work: fan-out
parallel investigation, a sequential pipeline, a judge panel,
adversarial verification, and a loop-until-clean review cycle. Each is
grounded in the current docs (see references/claude-orchestration-primitives.md
for the verified primitives, and references/composition-recipes.md for full
worked recipes with copyable prompts).
Use this skill when the user wants to:
| Scenario | Use Instead |
|---|---|
| The user wants the full research→write→review pipeline run for them | alterlab-research-pipeline (it already orchestrates the 9-stage flow) |
| The user wants original research / a cited report | alterlab-deep-research |
| The user wants one manuscript peer-reviewed | alterlab-paper-reviewer or alterlab-peer-review |
| The user wants citations existence-checked | alterlab-citation-verifier |
| The user wants to run one of the packaged AlterLab workflows (citation audit, review panel, PRISMA screening, rebuttal, grant panel, literature map) | alterlab-research-workflows |
| The user asks about Claude API pricing / model ids / SDK billing | the claude-api skill |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-research-pipeline) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
This skill is for how to compose; the named skills are what to compose. If a single existing skill already does the job end to end, defer to it.
Verified against code.claude.com/docs on 2026-09-23 (Claude Code v2.1.280). See
references/claude-orchestration-primitives.md for quotes, field tables, and version gates.
.claude/agents/ (project),
~/.claude/agents/ (user), or a plugin's agents. Only name and description are
required; the tool allowlist field is tools (comma-separated or a YAML list), and
model accepts sonnet/opus/haiku/fable/a full ID/inherit. Each subagent runs
in its own context window and returns only a summary. Claude auto-delegates by
matching the task to the description.CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH; 1 turns nesting off). A reviewer can
dispatch one verifier per finding. Omit Agent from a subagent's tools to keep it
from spawning. Built-ins: Explore and Plan (read-only, inherit the main model),
general-purpose (all tools).fork that
inherits the whole conversation (and its prompt cache), and subagents run in the
background. Start one yourself with /subtask.agent(), parallel(), pipeline(), phase(), args, with JSON-schema outputs and
intermediate results kept in script variables instead of Claude's context. Dozens to
hundreds of agents per run; resumable; saved to .claude/workflows/ or shipped in a
plugin's workflows/ folder and run as /<name> or /<plugin>:<name>.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, interactive
sessions only): teammates have independent contexts, a shared task list, and message
each other directly — the right tool for sustained adversarial debate. Higher token cost.claude-agent-sdk, TypeScript
@anthropic-ai/claude-agent-sdk) packages the same agent loop programmatically via
query(...); define subagents with the agents option (AgentDefinition) and resume
by session_id. Use it to script the patterns below in CI or batch jobs.Ready-made versions. The alterlab-workflows plugin ships these patterns as runnable
dynamic workflows (documented in alterlab-research-workflows): fan-out + adversarial
verify → citation-audit; judge panel → review-panel and grant-mock-panel;
adversarial verification → claim-stress-test; dual independent coding with
adjudication → systematic-review-screening. Adapt one of those before writing a new
workflow from scratch.
When N inputs are independent, dispatch one worker per input and merge. Classic academic uses: verify several bibliographies at once, or research distinct sub-questions concurrently.
I have 4 reference lists (one per chapter). Verify them in parallel using
separate subagents — each subagent runs the alterlab-citation-verifier skill
on one list — then merge the per-entry verdicts into one table flagging every
TF/IH/SH problem across all four chapters.
Why subagents: each verification floods context with API lookups you won't reuse;
isolating each in its own window keeps the main conversation clean. Best when
paths don't depend on each other (the docs' stated condition for parallel
research). See recipe P1 in references/composition-recipes.md.
Stage outputs feed the next stage. The canonical academic chain — research →
write → integrity-check → review → revise — is already packaged as
alterlab-research-pipeline; prefer that skill rather than rebuilding it.
Use this pattern when you need a custom chain it doesn't cover, e.g.
deep-research → citation-verifier → peer-review on an externally supplied draft.
Use the alterlab-deep-research skill to produce a lit-review synthesis on X,
then chain its bibliography into alterlab-citation-verifier to existence-check
every entry, then pass the verified draft to alterlab-peer-review for a
section-by-section critique. Carry forward only each stage's summary.
See recipe P2 in references/composition-recipes.md.
Several independent reviewers each apply a different lens to one artifact,
then a synthesizer reconciles. alterlab-paper-reviewer already simulates a
5-reviewer panel internally; use this pattern when you want the panelists to be
genuinely separate agents (separate contexts, no cross-contamination; still one model, so their agreement is not independent verification) — e.g.
a methodology reviewer, a domain reviewer, and a reproducibility reviewer that
must not anchor on each other.
Spawn three independent reviewer subagents on this manuscript: one on
methodology, one on domain contribution, one on reproducibility/statistics.
Each works from the paper alone and reports independently; then synthesize a
single editorial decision noting where they agree and disagree.
Independence is the point — running them in one context lets the first opinion
anchor the rest. See recipe P3 in references/composition-recipes.md.
One agent produces a claim or result; a fresh agent is tasked solely with disproving it. This is the highest-value pattern for research integrity. The docs' competing-hypotheses agent-team example is the reference implementation: teammates "talk to each other to try to disprove each other's theories, like a scientific debate."
Take the three headline claims in my draft. For each, spawn a skeptic subagent
whose only job is to find disconfirming evidence and check the supporting
citation actually supports the claim (via alterlab-citation-verifier). Report
any claim that survives and any that breaks.
For sustained debate where the skeptics challenge each other, escalate to an
agent team (the env var above). See recipe P4 in references/composition-recipes.md.
Iterate a fix-and-recheck cycle until a quality gate passes — bounded by a turn cap so it terminates. Academic use: revise → re-review until zero unresolved reviewer comments, or verify → fix → re-verify until the bibliography is 100% resolvable.
Run a revision loop: alterlab-paper-reviewer produces comments; revise the
draft to address them; re-review only the previously-flagged items; repeat
until no unresolved comments remain or after at most 3 rounds, then stop and
report the residual issues.
Always set an explicit stop condition and a max-iteration cap — open loops burn context and tokens. As a dynamic workflow, the loop lives in the script:
export const meta = { name: 'revise-until-clean', description: 'Review, revise, re-review until no unresolved comments or 3 rounds' }
let open = []
for (let round = 1; round <= 3; round++) {
const review = await agent(`Review draft.md (round ${round}); list unresolved comments only.`,
{ schema: { type: 'object', required: ['comments'], properties: { comments: { type: 'array', items: { type: 'string' } } } } })
if (!review) break // agent() returns null if the run is stopped or the agent fails
open = review.comments
if (!open.length) break
await agent(`Revise draft.md to resolve exactly these comments: ${JSON.stringify(open)}`)
}
return { unresolved: open }
See recipe P5 in references/composition-recipes.md.
| Need | Mechanism | Why |
|---|---|---|
| Isolate verbose output, get a summary back | Subagent | Own context window; only summary returns |
| Independent investigations, no cross-talk | Parallel subagents | Each explores alone; main agent synthesizes |
| Side task that needs full current context | Fork (/fork) | Inherits conversation; reuses prompt cache |
| Workers must debate / challenge each other | Agent team (experimental) | Shared task list + direct messaging |
| Dozens+ of workers, votes, or a fixed loop you want to rerun | Dynamic workflow | Script holds the plan; results stay out of context; resumable |
| A worker's task itself splits into parallel subtasks | Nested subagents | A reviewer dispatches a verifier per finding (depth ≤ 3 by default) |
| Script the workflow in CI / batch | Agent SDK | query() + agents option, programmatic |
| It's already one packaged flow | Existing skill | Don't rebuild alterlab-research-pipeline |
Match freedom to fragility: open-ended exploration gets prose prompts; fragile multi-step sequences get explicit, ordered instructions and a stop condition.
references/claude-orchestration-primitives.md — verified Claude Code subagent
references/composition-recipes.md — five full worked recipes (P1–P5) mapping
each pattern onto real AlterLab skills, with copyable delegation prompts,
subagent-definition frontmatter, and a Python Agent SDK query() example
(load when you need a complete, ready-to-run composition)evals/evals.json (opens in a new tab)evals/fixtures/chapter1.bib (opens in a new tab)evals/fixtures/chapter2.bib (opens in a new tab)evals/fixtures/chapter3.bib (opens in a new tab)evals/fixtures/chapter4.bib (opens in a new tab)references/claude-orchestration-primitives.md (opens in a new tab)references/composition-recipes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite./alterlab-accreditation-aolScaffolds program-level Assurance-of-Learning (AoL) documentation for AACSB (Standard 5 in the 2020 standards and the 2026 Global Standards) and ABET (Criterion 3 Student Outcomes, Criterion 4 Continuous Improvement) accreditation — program learning outcomes / competency goals, curriculum-to-outcome mapping matrices, direct- and indirect-assessment plans, rubric design, and closing-the-loop continuous-improvement narratives — and validates the structure of an outcome-mapping matrix with scripts/aol_matrix.py. Use when the user needs AACSB or ABET assurance-of-learning material, a program-learning-outcomes set, a curriculum/outcome map or coverage matrix, a direct/indirect assessment plan, a closing-the-loop report, or accreditation self-study text. For single-course design or course rubrics prefer alterlab-teaching-design; for post-award grant reports prefer alterlab-grant-reporting. Part of the AlterLab Academic Skills suite./alterlab-adaptyvPrepares and validates Adaptyv Bio Foundry protein-testing submissions with no account — optimizes and pre-screens sequences locally (NetSolP/SoluProt heuristics, SolubleMPNN, ESM), assembles the experiment payload, and validates it offline against the Foundry's own type/method/sequence rules so it is ready and correct before it costs anything. Submitting to the Foundry, browsing the target catalog, tracking status and retrieving results run through the Foundry API with the user's own ADAPTYV_API_KEY (experiments cost money and take weeks). Use when designing proteins for wet-lab validation (binding/affinity, expression, thermostability, fluorescence), preparing or validating a Foundry submission, pre-screening sequences, or tracking an Adaptyv experiment. Triggers on "Adaptyv", "Foundry API", "cloud lab", "biolayer interferometry / BLI", "wet-lab validation". Part of the AlterLab Academic Skills suite./alterlab-aeonRuns time series machine learning with the aeon library — classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search via scikit-learn compatible APIs. Use when working with temporal data, sequential patterns, or time-indexed observations (univariate or multivariate) that need specialized algorithms beyond standard ML approaches. Part of the AlterLab Academic Skills suite./alterlab-ai-use-disclosureHelps faculty and researchers disclose generative-AI use and comply with the rules for manuscripts, grant proposals, peer review, theses and figures. Walks a venue → policy → placement decision tree over policies verified on 2026-09-23 (ICMJE, Springer Nature/Nature, Elsevier, Wiley, Taylor & Francis, Sage, IEEE, PLOS, arXiv; NIH NOT-OD-25-132 and NOT-OD-23-149, NSF, UKRI, ERC, TÜBİTAK; YÖK's 2024 ethics guide; EU AI Act Article 50), drafts English and Turkish statements, and ships scripts/disclosure_builder.py to emit a statement plus warnings where a policy forbids the use. Use when the request mentions an AI or ChatGPT disclosure or declaration, whether and where AI use must be declared, AI in peer review or grant review, AI-generated figures, AI rules for a thesis, or 'yapay zekâ kullanım beyanı'. For course AI policies and APA/MLA citations of ChatGPT prefer alterlab-syllabus-ai-policy; for writing the paper itself prefer alterlab-scientific-writing. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job