waldstorm
Multi-agent orchestration that analyzes tasks through specialized expert panels (security, performance, architecture, etc.), synthesizes prioritized actions, then plans and executes. Use when facing complex tasks requiring multiple perspectives, architectural decisions, new features needing security/performance/quality review, or user says "waldstorm", "expert review", "analyze this task".
What this skill does
# waldstorm
Multi-agent orchestration that brings together specialized experts to analyze, plan, and execute tasks with comprehensive coverage.
## Overview
1. Analyze the task and select 3-5 relevant experts
2. Create a team and dispatch expert teammates in parallel
3. Collect findings from teammate messages and synthesize into prioritized action items
4. **Write implementation plan to file** using `superpowers:writing-plans`
5. Execute with checkpoints and progress journaling
## Expert Panel
### General Agents (Built-in)
Each expert has a dedicated agent definition in `agents/` with frontmatter (name, description, tools, model, memory) and persona prompt:
| Agent | File | Focus Area |
|-------|------|------------|
| Senior Developer | `senior-developer.md` | Architecture, code quality, maintainability |
| DevOps Engineer | `devops-engineer.md` | CI/CD, deployment, observability |
| Code Reviewer | `code-reviewer.md` | Best practices, consistency, edge cases |
| Performance Expert | `performance-expert.md` | Bottlenecks, scalability, caching |
| Security Engineer | `security-engineer.md` | Vulnerabilities, auth, OWASP |
| QA/Testing Expert | `qa-testing-expert.md` | Test coverage, failure modes |
| Debugger/Troubleshooter | `debugger-troubleshooter.md` | Root cause analysis, logging |
| Database Expert | `database-expert.md` | Schema, queries, migrations |
| API Designer | `api-designer.md` | Interface contracts, versioning |
| Platform/Infra | `platform-infra.md` | Kubernetes, cloud architecture |
| Documentation Writer | `documentation-writer.md` | Clarity, examples, onboarding |
| Cost Analyst | `cost-analyst.md` | Resource efficiency, cloud spend |
### Domain-Specific Agents (Project-Local)
Projects can define domain-specific agents in their plugin `agents/` directories or in `.claude/agents/`.
**Discovery:** At task start, check for project-local agent definitions:
- Plugin agents: `plugins/*/agents/*.md`
- Project agents: `.claude/agents/*.md`
Each agent file uses frontmatter (name, description, tools, model, memory) followed by persona prompt and analysis instructions.
**Usage:** Domain agents are selected alongside general agents when their description triggers match the task. Spawn them as teammates like general agents.
## Instructions
### Step 1: Understand the Task
Ask the user to describe the task if not already provided. Gather:
- What needs to be accomplished
- Any constraints or requirements
- Relevant context (files, systems involved)
### Step 2: Discover Domain Agents
Check for project-local domain agents:
1. Look for plugin `agents/` directories and `.claude/agents/` in the project
2. If found, read agent descriptions to understand their specialties
3. Note available domain agents and their trigger keywords
Domain agents bring specialized knowledge that general agents lack (e.g., specific APIs, data models, deployment patterns).
### Step 3: Select Relevant Agents
**MANDATORY:** Always include the **QA/Testing Expert** (`dlaw:qa-testing-expert`) in every expert panel. Complete unit test coverage is required for all code changes.
Analyze the task domain and select 3-5 agents from both pools:
- **General agents** (built-in) for cross-cutting concerns
- **Domain agents** (project-local) for specialized knowledge
Use this guide for general agents:
| Task Domain | Recommended Agents |
|-------------|---------------------|
| New feature | Senior Dev, Code Reviewer, QA, Security |
| Database work | Database Expert, Performance, Senior Dev |
| API changes | API Designer, Security, Code Reviewer |
| Infrastructure | DevOps, Platform/Infra, Cost Analyst, Security |
| Bug fix | Debugger, Senior Dev, QA |
| Performance issue | Performance Expert, Database, Debugger |
| Security audit | Security Engineer, Code Reviewer |
| Documentation | Documentation Writer, Senior Dev |
| Cost optimization | Cost Analyst, Platform/Infra, DevOps |
Announce: "Selected agents for this task: [list agents and why]"
If domain agents are selected, note their source.
### Step 4: Create Team and Dispatch Agent Teammates
Create a team and spawn agent teammates for parallel analysis:
1. **Create team:** Use `TeamCreate` with `team_name: "waldstorm-{task-slug}"` (e.g., `waldstorm-add-auth`)
2. **Create tasks:** Use `TaskCreate` for each agent's analysis task, including:
- Subject: `"{Agent Name} analysis"`
- Description: the task description + what the agent should analyze
3. **Spawn teammates:** Use the `Task` tool with `team_name` and `name` params to launch one teammate per agent. Each teammate's prompt should include the agent's persona and instructions from their agent definition file in `agents/`.
4. **Assign tasks:** Use `TaskUpdate` with `owner` to assign each task to its teammate
Each agent returns via message:
- **Concerns** (prioritized HIGH/MEDIUM/LOW)
- **Recommendations** (specific actions)
- **Questions** (clarifications needed)
### Step 5: Collect and Synthesize
Wait for all teammate messages. Use `TaskList` to verify all expert tasks are completed.
Gather all expert outputs from messages and synthesize into prioritized action items:
```markdown
## Prioritized Action Items
### Critical
1. [Expert tags] Description of critical action
### Important
2. [Expert tags] Description of important action
### Nice to Have
3. [Expert tags] Description of optional improvement
### Conflicts to Resolve
- [Expert A] recommends X; [Expert B] flags concern Y
- Options presented for user decision
```
Present synthesis to user. Ask if they want to:
- Proceed with all recommendations
- Modify priorities
- Exclude certain items
- Add additional concerns
### Step 6: ECC Code Review of Expert Findings
**OPTIONAL but recommended:** After synthesis and before planning, invoke `everything-claude-code:code-review` to get an independent review of the proposed changes. This catches issues the expert panel may have missed by applying ECC's structured review checklist (security, patterns, error handling, type safety, test coverage).
Pass the synthesized action items as context. If the ECC reviewer raises Critical issues, fold them into the action items before planning.
### Step 7: Generate Implementation Plan
**REQUIRED:** Invoke `superpowers:writing-plans` to write the implementation plan to file.
The plan MUST be saved to: `docs/plans/YYYY-MM-DD-<feature-name>.md`
The plan should:
- Incorporate expert recommendations
- Order tasks by dependency and priority
- Include checkpoints for review
- Note which expert's recommendation each task addresses
- Follow the bite-sized task granularity from writing-plans (each step is one action)
### Step 8: Execute with Checkpoints
Invoke `superpowers:executing-plans` to begin implementation.
During execution:
- Journal all TODOs to a todo file for the plan
- Track completed items as you go
- Pause at checkpoints for review
- Flag if implementation reveals new concerns
### Step 9: Cleanup
After execution is complete:
1. Use `SendMessage` with `type: "shutdown_request"` to gracefully shut down all teammates
2. Use `TeamDelete` to clean up the team and task list
## Example Flow
```
User: "Add user authentication to the API"
waldstorm:
1. Selected experts: Security Engineer, API Designer, Senior Dev, QA
2. TeamCreate: "waldstorm-add-auth"
3. Spawning 4 expert teammates in parallel...
- Each reads their persona from experts/*.md
- Each analyzes and sends findings via SendMessage
4. Synthesis (from teammate messages):
- [CRITICAL] [Security] Use bcrypt for password hashing, not MD5
- [CRITICAL] [Security, API] Implement rate limiting on auth endpoints
- [HIGH] [API] Use JWT with short expiry + refresh tokens
- [HIGH] [QA] Add integration tests for auth flows
- [MEDIUM] [Senior Dev] Extract auth logic into dedicated service
5. User approves, writing plan...
6. Executing plan with checkpoints...
7. Shutdown teammates, TeamDelete
```
## Model Routing
Use ECC's `agentic-engRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.