/agent-almanac:unleash-the-agentsfrom agent-almanac
Launches all available agents in parallel waves for open-ended hypothesis generation on cross-domain problems. Use when the correct domain is unknown, single-agent approaches have stalled, or diverse perspectives are more valuable than deep expertise. Produces a ranked hypothesis set with convergence analysis and adversarial refinement.
Ships in agent-almanac. 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.
Read when SKILL.md points to them.
Consult all available agents in parallel waves to generate diverse hypotheses for open-ended problems. Each agent reasons through its unique domain lens — a kabalist finds patterns via gematria, a martial-artist proposes conditional branching, a contemplative notices structure by sitting with the data. Convergence across independent perspectives is the primary signal that a hypothesis has merit.
Write a problem brief that any agent can understand regardless of domain expertise. Include:
## Brief: [Problem Title]
**Problem**: [1-2 sentence statement]
**Examples**:
1. [Input] → [Output] (explain what's known)
2. [Input] → [Output]
3. [Input] → [Output]
4. [Input] → [Output]
5. [Input] → [Output]
**Already tried**: [List failed approaches to avoid rediscovery]
**Success looks like**: [Testable criterion]
**Respond with**:
- Hypothesis: [Your proposed mechanism in one sentence]
- Reasoning: [Why your domain expertise suggests this]
- Confidence: [low/medium/high]
- Testable prediction: [If my hypothesis is correct, then X should be true]
Expected: A brief that is self-contained — an agent receiving only this text has everything needed to reason about the problem.
On failure: If you cannot articulate 5 examples or a verification method, the problem is not ready for multi-agent consultation. Narrow the scope first.
List all available agents and divide them into waves of ~10. Ordering does not matter for the first 2 waves; for subsequent waves, inter-wave knowledge injection improves results.
# List all agents from registry
grep ' - id: ' agents/_registry.yml | sed 's/.*- id: //' | shuf
Assign agents to waves. Plan for 4 waves initially — you may not need all of them (see early stopping in Step 4).
| Wave | Agents | Brief variant |
|---|---|---|
| 1-2 | 20 agents | Standard brief |
| 3 | 10 agents + advocatus-diaboli | Brief + emerging consensus + adversarial challenge |
| 4+ | 10 agents each | Brief + "X is confirmed. Focus on edge cases and failures." |
Expected: A wave assignment table with all agents allocated. Include advocatus-diaboli in Wave 3 (not later) so the adversarial pass informs subsequent waves.
On failure: If fewer than 20 agents are available, reduce to 2-3 waves. The pattern still works with as few as 10 agents, though convergence signals are weaker.
Launch each wave as parallel agents. Use sonnet model for cost efficiency (the value comes from perspective diversity, not individual depth). Option C defaults its prospectors to sonnet too; its one measured run used haiku.
This is the path for ordinary interactive sessions. For each agent in the wave, spawn it as a subagent via the Agent tool (subagent_type set to the agent's type, e.g. kabalist, geometrist) with the brief and a domain-specific framing:
Use the [agent-name] agent to analyze this problem through your domain expertise.
[Paste the brief]
Think about this from your specific perspective as a [agent-description].
[For non-technical agents: add a domain-specific framing, e.g., "What patterns
does your tradition recognize in systems that exhibit this kind of threshold behavior?"]
Respond exactly in the requested format.
Launch all agents in a wave simultaneously with the Agent tool and run_in_background: true, and coordinate them with SendMessage under the session's single implicit team. Wait for the wave to complete before launching the next (to enable inter-wave knowledge injection in Step 4).
TeamCreate is deprecated and gated out of ordinary interactive sessions — ToolSearch("select:TeamCreate") returns nothing there, and team_name is ignored (the session has a single implicit team). Where it does surface (FleetView / cloud), it adds a named team object with per-teammate task ownership and a shutdown lifecycle (the Task* tools themselves also work in interactive sessions — only the team scoping does not):
TeamCreate({ description: "Wave 1: open-ended hypothesis generation" })TaskCreate (brief + domain-specific framing)Agent tool with subagent_type set to the agent's typeTaskUpdate with owner; monitor with TaskListSendMessage({ type: "shutdown_request" }) and start the next with the updated brief (Step 4)Built-in team coordination — per-teammate ownership and lifecycle, with status carried across waves — but the team scoping only exists where TeamCreate surfaces. In interactive sessions use Option A.
Use this only when the user has opted into a Workflow run: the keyword ultracode, or their own words asking for a workflow or a fan-out. This skill alone is not that opt-in. Tell the user the scale first: the one measured run (tests/results/2026-11-17-unleash-prospector-swarm/RESULT.md) took ~4 hours with 84 agents, and the prospector model does not bound cost because subagents may invoke the advisor tool outside message.usage. See option-c-notes.md for the full 3-model token breakdown and why the template lives under skills/ rather than workflows/.
references/prospector-swarm.mjs runs the whole procedure as one script (default prospectorModel: 'sonnet', clustering/adversary/synthesis on the session model) and fixes in code the citation filter, wave sizes, stop rule, outside-home counts, and null model. Its header documents every argument.
Workflow({ scriptPath: '<this skill directory>/references/prospector-swarm.mjs', args: { mode: 'pilot', … } }). Two agents run. In each one's transcript, read:
message.model;message.usage.iterations[].model, which shows an advisor running on another model and is invisible to message.model and to message.usage;mode: 'full' and the pilot's resumeFromRunId, in the same session; resume does not cross sessions. The pilot replays from cache. The cache matches on the prompt, which names the brief by path. So after a failed pilot, or after editing the brief in place, relaunch without resume, or the cache hands back the old pilot.npm run guard:snapshot / guard:verify). Keep the scratch directory outside every repository. A prompt is not a sandbox. In the measured run, 6 of the 45 prospectors that used a shell wrote scratch files despite being told to write nothing. That is why the template gives them one write location instead.journal.jsonl or its task output file, not from the notification, which truncates.See option-c-notes.md for how the template interacts with the workflow contract check.
| Agent tool (Option A) | TeamCreate (Option B) | Workflow script (Option C) | |
|---|---|---|---|
| Availability | Every session (primary) | FleetView / cloud only (gated) | Sessions with the Workflow tool, on an explicit workflow opt-in |
| Best for | All interactive unleashes | Cloud runs wanting a shared task list | A full roster over a corpus of citable items |
| Coordination | SendMessage, manual collection | Task list, messaging, ownership | Fixed in code: waves, citation filter, stop rule |
| Inter-wave handoff | Track via the brief update | Task status carries over | Injected by the script from each cluster pass |
Expected: Each wave returns ~10 structured responses within 2-5 minutes. Agents that fail to respond or return off-format output are noted but do not block the pipeline.
On failure: If more than 50% of a wave fails, check the brief clarity. Common cause: the output template is ambiguous, or the examples are insufficient for non-domain agents to reason about.
After waves 1-2, extract the emerging signal before launching the next wave.
**Update from prior waves**: [N] agents independently proposed [hypothesis family].
Build on this — what explains the remaining cases where this hypothesis fails?
Do NOT simply restate this finding. Extend, challenge, or refine it.
Count a new family toward another wave only when at least 2 agents filed it independently, each through a hypothesis of its own that cites one of the family's items, not merely listed by the clusterer. A clustering pass almost always names something new. In the measured run, the rule "continue while any new family cites one valid item" never fired. The roster ran out, and the last four waves (34 agents) produced only one-agent families (tests/results/2026-11-17-unleash-prospector-swarm/RESULT.md). Two cautions:
Early stopping guidance: Not every unleash needs all agents. For well-defined problem domains (e.g., codebase analysis), convergence often stabilizes at 30-40 agents. For abstract or open-ended problems (e.g., unknown mathematical transformations), the full roster adds value because the correct domain is genuinely unpredictable. Check convergence after each wave — if the top family's count and null-model ratio have plateaued, additional waves yield diminishing returns.
This prevents rediscovery (where later waves independently re-derive what earlier waves already found) and directs later agents toward the edges of the problem.
Expected: Later waves produce more nuanced, targeted hypotheses that address gaps in the emerging consensus.
On failure: If no convergence appears after 2 waves, the problem may be too unconstrained. Consider narrowing the scope or providing more examples.
After all waves complete, gather all responses into a single document. Deduplicate by grouping hypotheses into families:
Expected: A ranked list of hypothesis families with convergence counts, contributing agents, and representative testable predictions.
On failure: If every hypothesis is unique (no convergence), the signal-to-noise ratio is too low. Either the problem needs more examples, or the agents need a tighter output format.
Test the top hypothesis against a null model to ensure the convergence is meaningful, not an artifact of shared training data.
Programmatic verification: If the hypothesis produces a testable formula or algorithm, run it against held-out examples
Null model: Estimate how many agents would land on the same hypothesis family by chance, where each of N agents files m hypotheses among K families. The expected count per family depends on whether one agent's hypotheses can share a family:
Use the higher of the two. In the measured run, a family with 9 agents cleared 3x the lower one (8.7) but not 3x the higher one (9.16).
Priming: K is chosen after the fact by the clustering. A family the brief named, or one whose territory was built around it, is partly the brief speaking back. The count of agents who found it outside their home territory is the less primed signal
Threshold: Signal is meaningful if convergence exceeds 3x the null model expectation
Expected: The top hypothesis family significantly exceeds chance-level convergence and/or passes programmatic verification.
On failure: If the top hypothesis fails verification, check the second-ranked family. If no family passes, the problem may require a different approach (deeper single-expert analysis, more data, or reformulated examples).
Preferred timing: Wave 3, not post-synthesis. Including advocatus-diaboli in Wave 3 (alongside the inter-wave knowledge injection) is more effective than a standalone adversarial pass after all waves complete. Early challenge lets Waves 4+ refine against the critique rather than piling onto an unchallenged consensus.
If the adversarial pass was already part of Wave 3, this step becomes a final check. If not (e.g., you ran all waves without it), spawn advocatus-diaboli (or senior-researcher) now. Either way, also challenge every family the Wave 3 adversary did not answer: those that appeared after it was briefed, and all of them if it returned nothing. In the measured run, 5 of the 13 ranked families had no adversarial verdict. Option C runs this pass itself. For a structured pass, spawn both agents as parallel subagents via the Agent tool and coordinate them with SendMessage against the consensus:
Here is the consensus hypothesis from [N] independent agents:
[Hypothesis]
[Supporting evidence and convergence stats]
Your job: find the strongest counterarguments. Where does this fail?
What alternative explanations are equally consistent with the evidence?
What experiment would definitively falsify this hypothesis?
Expected: A set of counterarguments, edge cases, and a falsification experiment. If the hypothesis survives adversarial scrutiny, it is ready for integration. A good adversarial pass sometimes partially defends the consensus — finding that the design is better than alternatives even if imperfect.
On failure: If the adversarial agent finds a fatal flaw, feed the critique back into a targeted follow-up wave (Tier 3+ iterative mode — select 5-10 agents best positioned to address the specific critique).
Unleash finds problems; teams solve them. Convert verified hypothesis families into actionable issues, then assemble focused teams to resolve each.
create-github-issues skill)subagent_type), coordinating with SendMessage:
teams/ matches the problem domain, use itopaque-team (N shapeshifters with adaptive role assignment) — it handles unknown problem shapes without requiring a custom compositionadvocatus-diaboli, contemplative) — they catch implementation risks that technical agents missExpected: Each hypothesis family maps to a tracked issue with a team assigned. The unleash produced the diagnosis; the teams produce the fix.
On failure: If the team composition doesn't match the problem, reassign. Shapeshifter agents can research and design but lack write tools — the team lead must apply their code suggestions.
docs/investigations/lead-support-coordination-2026-09-15.md.forage-solutions — ant colony optimization for exploring solution spaces (complementary: narrower scope, deeper exploration)build-coherence — bee democracy for selecting among competing approaches (use after this skill to choose between top hypotheses)coordinate-reasoning — stigmergic coordination for managing information flow between agentscoordinate-swarm — broader swarm coordination patterns for distributed systemsexpand-awareness — open perception before narrowing (complementary: use as individual agent preparation)meditate — clear context noise before launching (recommended before Step 1)create-workflow — the Workflow script conventions that Option C's template follows outside workflows/What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (pjt222/agent-almanac) — no native marketplace selected
npx claudepluginhub p/pjt222-agent-almanac377 skills in this plugin
/adapt-architectureExecute structural metamorphosis using strangler fig migration, chrysalis phases, and interface preservation. Covers transformation planning, parallel running, progressive cutover, rollback design, and post-metamorphosis stabilization for system architecture evolution. Use when assess-form has classified the system as READY for transformation, when migrating from monolith to microservices, when replacing a core subsystem while dependents continue operating, or when any architectural change must be gradual rather than big-bang.
/adapticMaster skill composing the 5-step synoptic cycle for panoramic synthesis across multiple domains. Orchestrates meditate, expand-awareness, observe, awareness, integrate-gestalt, and express-insight into a coherent process that produces unified understanding rather than sequential compromise. Use when a problem genuinely spans 3+ domains and the interactions between domains matter more than depth in any one, when sequential analysis feels like compromise rather than integration, or before major architectural decisions affecting multiple stakeholders.
/add-puzzle-typeScaffold a new puzzle type across all 10+ pipeline integration points in jigsawR. Creates the core puzzle module, wires it into the unified pipeline (generation, positioning, rendering, adjacency), adds ggpuzzle geom/stat layers, updates DESCRIPTION and config.yml, extends the Shiny app, and creates a comprehensive test suite. Use when adding a completely new puzzle type to the package or following the 10-point integration checklist to ensure nothing is missed end-to-end.
Other plugins' skills for the same job