rune-kit/rune/team
Claude Code and agent skill by rune-kit/rune
- community
Checking that the SKILL.md file is still in the repository.
Multi-agent meta-orchestrator. Use when task spans 5+ files or 3+ modules, or when user says 'parallel', 'split this up', 'do all of these'. Decomposes large tasks into parallel workstreams, assigns to isolated cook instances, coordinates merging.
Install
npx vskill@latest install rune-kit/rune/teamSKILL.md
The same SKILL.md was published earlier as rune-kit/rune/team.
team
Purpose
Meta-orchestrator for complex tasks requiring parallel workstreams. Team decomposes large features into independent subtasks, assigns each to an isolated cook instance (using git worktrees), coordinates progress, and merges results. Uses opus for strategic decomposition and conflict resolution.
<HARD-GATE>
- MAX 3 PARALLEL AGENTS: Never launch more than 3 Task calls simultaneously. If more than 3 streams exist, batch them.
- No merge without conflict resolution complete (Phase 3 clean).
- Full integration tests MUST run before reporting success.
</HARD-GATE>
Triggers
/rune team <task>— manual invocation for large features- Auto-trigger: when task affects 5+ files or spans 3+ modules
Mode Selection (Auto-Detect)
Lite Mode
Full detail moved to `references/lite-mode.md` (progressive disclosure). Read that file before executing this section.
Full Mode
Standard team workflow with worktree isolation (Phases 1-5 as documented below).
Complexity Tiers (DAG Stage Selection)
Before decomposing, classify the task into a complexity tier. Each tier defines a different DAG (directed acyclic graph) of stages, ensuring the right amount of process for the task's complexity.
| Tier | Signals | DAG Stages | Context Windows | |
|---|---|---|---|---|
| Trivial | ≤3 files, single module, no shared contracts | impl → test | 1 (single cook) | |
| Medium | 4-10 files, 2-3 modules, shared interfaces | research → plan → impl → test → review → fix | 3 (plan, impl+test, review+fix) | |
| Large | 10+ files, 3+ modules, breaking changes or RFC | research → plan → impl → test → review₁ → fix → review₂ → final merge | 4+ (plan, impl+test, review₁+fix, review₂+merge) |
Key principle — reviewer isolation: The agent that writes code MUST NOT review its own code. Each review stage uses a separate context window (separate Task invocation) that has never seen the implementation reasoning. This prevents author bias from contaminating the review.
Stage → Context Window mapping:
research + plan= Context Window 1 (opus — architectural reasoning)impl + test= Context Window 2 (sonnet — code writing)review₁ + fix= Context Window 3 (sonnet — fresh eyes, no impl context)review₂ + merge= Context Window 4 (sonnet — final verification, Large tier only)
Merge queue: When multiple streams complete at different times, use dependency order for merging. If a later stream's merge creates conflicts with an already-merged stream, provide the conflicting stream's cook report as conflict context to the resolution agent — never resolve blindly.
Calls (outbound)
plan(L2): high-level task decomposition into independent workstreamsscout(L2): understand full project scope and module boundaries
Exception: L1→L1 meta-orchestration (team is the only L1 that calls other L1s)
cook(L1): delegate feature tasks to parallel instances (worktree isolation)launch(L1): delegate deployment/marketing when build is completerescue(L1): delegate legacy refactoring when rescue work detectedintegrity-check(L3): verify cook report integrity before mergecompletion-gate(L3): validate workstream completion claims against evidenceconstraint-check(L3): audit HARD-GATE compliance across parallel streamsscope-guard(L3): pre-merge scope verification — validate each stream's actual file changes against declared ownershipworktree(L3): create isolated worktrees for parallel cook instancescontext-pack(L3): create structured handoff briefings before spawning subagents- L4 extension packs: domain-specific patterns when context matches (e.g., @rune/mobile when porting web to mobile)
Called By (inbound)
scaffold(L1): decompose scaffolding into parallel workstreams- User:
/rune team <task>direct invocation only
Execution
Step 0 — Initialize TodoWrite
Phase 1 — DECOMPOSE
Mark todo[0] in_progress.
1a. Map module boundaries.
1b. Break into workstreams.
1c. Validate decomposition.
Detection: → Grep each stream's file list for shared imports (types, interfaces, API clients) → If stream A and stream B both import from the same module: EITHER: move that module to a dependency stream (depends_on: []) OR: define the contract inline in the NEXUS Handoff as "Code Contracts" section
Contract format in NEXUS Handoff: ### Code Contracts (locked — do not modify) ``typescript // Shared interface — both streams consume this, neither owns it interface OrderResult { orderId: string; status: 'pending' | 'filled' | 'cancelled'; filledAt?: Date; } `` Streams may consume this contract but MUST NOT modify it. If a stream discovers the contract is insufficient → status = NEEDS_CONTEXT, not silent modification.
1d. Question Gate (non-trivial tasks only).
Subagents that start work without asking questions frequently produce the wrong thing.
Before dispatching streams, include in each NEXUS Handoff: "Before starting, ask up to 3 clarifying questions if anything is unclear about scope, conventions, or expected output."
- If a cook agent returns questions instead of starting work → answer them, then re-dispatch
- If a cook agent starts work without questions → proceed normally (questions are invited, not required)
- Skip if: Lite mode (2 streams, ≤5 files) — overhead exceeds value
Mark todo[0] completed.
Phase 2 — ASSIGN
Mark todo[1] in_progress.
2a. Launch parallel streams.
Launch independent streams (depends_on: []) in parallel using Task tool with worktree isolation.
Structured handoff docs prevent the most common multi-agent failure: context loss between agents.
Each stream receives a NEXUS Handoff Template — not a bare prompt:
NEXUS Handoff Template (sent to each cook instance):
2b. Launch dependent streams sequentially.
2b.5. Pre-merge scope verification.
After each stream completes (before collecting final report):
This catches scope creep BEFORE merge — much cheaper to fix than after.
2c. Collect cook reports.
Wait for all Task calls to return. Store each cook report keyed by stream_id.
Mark todo[1] completed.
Phase 3 — COORDINATE
Mark todo[2] in_progress.
3a-pre0. Output density honoring. During Phase 2 dispatch, any worker that hits context ORANGE / RED has emitted output.density.set with mode=caveman, scope=workstream (auto from rune:context-engine). Coordination output respects per-workstream density: when summarizing a caveman-active worker's report into the merge plan, preserve its terse format rather than re-expanding to verbose. If 3+ workers are caveman-active simultaneously, the team-level summary itself should adopt caveman until merge completes (announce to user once: "Team output in caveman mode — N workers under context pressure"). Reverts to normal after Phase 5.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/team/SKILL.md
Popularity
- Repository stars
- 77
- Repository forks
- 21
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rune-kit/rune/team)