From benji
Spawns an Agent Team for divergent exploration of a problem space. Multiple teammates investigate in parallel, debate findings, and converge on a brief that feeds into /research. Use before /research when a problem needs multi-perspective discovery.
npx claudepluginhub ai-builder-team/ai-builder-plugin-marketplace --plugin benjiThis skill is limited to using the following tools:
Divergent, multi-perspective exploration of a problem space using Agent Teams. Spawns a team of specialized teammates who investigate in parallel, share findings, challenge each other's assumptions, and converge on an exploration brief.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Divergent, multi-perspective exploration of a problem space using Agent Teams. Spawns a team of specialized teammates who investigate in parallel, share findings, challenge each other's assumptions, and converge on an exploration brief.
This is the "cast a wide net" phase — surfacing options, tradeoffs, unknowns, and risks before /research formalizes them into specs.
/explore → /research → /orchestrate → /spec → /implement
↑ ↑
divergent convergent
(team) (single agent)
/explore produces an exploration-brief.md that gives /research a sharper starting point — less back-and-forth, fewer surprises, better-informed architecture decisions.
/research directly)The user's input is available as $ARGUMENTS. This may contain:
features/{domain}/{feature}/Example invocations:
/explore Add real-time collaboration to the document editor
/explore features/collab/real-time-editing Add real-time collaboration
/explore Add caching layer. Roles: performance analyst, DBA, API architect
exploration-brief.md in the feature directory (or user-specified location)Parse $ARGUMENTS to extract:
features/... is present, use it; otherwise ask or inferIf the problem is unclear, use AskUserQuestion to clarify scope and goals. Keep it brief — this is exploration, not requirements gathering.
If a feature path was provided or can be inferred:
features/{domain}/{feature}/
Create the directory if it doesn't exist. This is where exploration-brief.md will land.
If the user hasn't committed to a feature path yet, ask:
AskUserQuestion: "Where should I save the exploration brief?"
Options:
- Suggest a path based on the problem description
- Let user specify
- Use scratchpad (temporary, user copies later)
Create the team using the Teammate tool:
Teammate:
operation: spawnTeam
team_name: explore-{feature-name}
description: "Exploring: {problem summary}"
Create tasks for the shared task list. These give teammates structure while allowing organic discovery.
Default tasks (adjust based on problem):
Tasks 1-3 are assigned to teammates at spawn. Task 4 is organic (happens via messaging). Task 5 is for the lead.
Spawn teammates using the Task tool with team_name parameter. Each teammate is a full Claude Code session.
Default team composition (3 teammates):
Task:
name: codebase-analyst
team_name: explore-{feature-name}
subagent_type: general-purpose
prompt: |
You are the Codebase Analyst on an exploration team.
PROBLEM: {problem description}
YOUR ROLE: Deep-dive into the existing codebase to understand:
- Current architecture and patterns relevant to this problem
- Key files, modules, and integration points
- Technical constraints and existing contracts
- What the codebase already does well that we should build on
- What technical debt or limitations might block us
INSTRUCTIONS:
1. Read your assigned task from the TaskList for details
2. Explore the codebase thoroughly — use Glob, Grep, Read
3. Document your key findings
4. When done with initial exploration, message your teammates with findings
5. Engage with challenges from the Critic — defend or revise your findings
6. Mark your task as completed when done
Be thorough but focused. We need actionable findings, not a codebase tour.
Task:
name: external-researcher
team_name: explore-{feature-name}
subagent_type: general-purpose
prompt: |
You are the External Researcher on an exploration team.
PROBLEM: {problem description}
YOUR ROLE: Look outward to find the best approaches:
- Research libraries, frameworks, and tools relevant to this problem
- Find prior art — how have others solved similar problems?
- Identify industry patterns and best practices
- Evaluate tradeoffs between approaches (performance, complexity, maintenance)
- Consider what fits our codebase vs. what would fight it
INSTRUCTIONS:
1. Read your assigned task from the TaskList for details
2. Use WebSearch and WebFetch to research approaches
3. Read relevant codebase files to understand what would fit
4. Document options with clear pros/cons
5. Message teammates with your findings — especially the Codebase Analyst for fit assessment
6. Engage with the Critic's challenges
7. Mark your task as completed when done
Focus on practical options, not exhaustive surveys. We need 2-4 viable approaches, not 20.
Task:
name: critic
team_name: explore-{feature-name}
subagent_type: general-purpose
prompt: |
You are the Critic (Devil's Advocate) on an exploration team.
PROBLEM: {problem description}
YOUR ROLE: Stress-test everything the team discovers:
- Challenge assumptions from the Codebase Analyst and External Researcher
- Identify risks, edge cases, and failure modes
- Ask "what about X?" for scenarios others might miss
- Test whether proposed approaches hold up under pressure
- Surface non-obvious constraints (security, scale, maintenance burden)
INSTRUCTIONS:
1. Read your assigned task from the TaskList for details
2. Wait briefly for teammates to share initial findings (check TaskList progress)
3. Read the codebase yourself to form independent opinions
4. When teammates share findings, actively challenge them via messages
5. Be constructively adversarial — the goal is stronger conclusions, not blocking
6. Track which assumptions survived scrutiny and which didn't
7. Mark your task as completed when the debate has converged
You succeed when the team's final recommendation is battle-tested. Push hard but fair.
Custom roles: If the user specified different roles, adapt the prompts accordingly. The three defaults can be replaced entirely or augmented with additional teammates (e.g., "security specialist", "UX researcher", "performance analyst").
You (the lead) are in delegate mode. Do NOT explore the codebase yourself or implement anything. Your job:
Key signals to watch for:
Once teammates have explored, debated, and converged (tasks 1-4 complete):
~/.claude/skills/explore/templates/exploration-brief-template.mdexploration-brief.md at the feature pathThe brief should be:
/research to resolvePresent the user with:
Exploration complete.
Brief: features/{domain}/{feature}/exploration-brief.md
Key findings:
- {1-3 sentence summary of recommended approach}
Open questions for /research:
- {list from the brief}
Next step: /research features/{domain}/{feature}
The lead agent MUST NOT do codebase exploration, web research, or analysis itself. All investigative work happens through teammates. The lead's job is: spawn, assign, facilitate, steer, synthesize.
The value of /explore over single-agent /research is the multi-perspective debate. If teammates aren't messaging each other, something is wrong. Nudge them to share and challenge findings.
exploration-brief.md is an input to /research, not a replacement for it. It should:
/research's job)Agent Teams are token-expensive. The default 3-teammate setup is sized for a focused 10-15 minute exploration. If the problem needs more depth, the user can:
/explore again with refined questions/research and dig deeper on specific areasThe three defaults (codebase analyst, external researcher, critic) cover most cases. But the user can override with any roles that fit their problem:
/explore Add real-time collaboration
Roles: CRDT specialist, WebSocket architect, conflict resolution analyst
Parse natural language role descriptions and craft appropriate prompts.
/research directly/explore produces a brief, not FEATURE.md or spec-research.md