broker-collaboration
Skill19 starsChanged 7 months agoMITView on GitHub
Use when operating as a supervised root that delegates work to child sessions through cliagents
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adding-adaptersSkill
- adding-adaptersSkill
- agent-handoffSkill
- brainstormingSkill
- code-reviewSkill
- debuggingSkill
- multi-agent-workflowSkill
- parallel-agentsSkill
- test-driven-developmentSkill
- token-efficient-contextSkill
- using-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 19 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this when you are the main supervised root coordinating child sessions through cliagents.
- Distinctive: line 16
Use this skill as the compact workflow layer on top of that policy, not as a competing source of truth.
- Distinctive: line 20
Before delegating, align with the canonical operating model:
- Distinctive: line 30
Keep the root prompt and state lean
- Distinctive: line 39
Use the broker discovery tools first:
- Distinctive: line 46
Do not assume which adapters, models, or skills are available.
- Distinctive: line 50
Prefer one human-supervised root per workspace
- Distinctive: line 51
Do not create another root unless the human explicitly asks
- Distinctive: line 57
Use the lightest capable adapter/model for the task
- Distinctive: line 58
Keep research, review, implementation, and testing responsibilities separate when that improves quality
- Distinctive: line 59
Prefer direct root work for urgent blocking steps
- Distinctive: line 60
Prefer child sessions for sidecar work that can run in parallel
- Distinctive: line 64
When delegating, send only:
- Distinctive: line 72
Avoid replaying full conversations or large irrelevant logs.
- Distinctive: line 76
When children discover something worth preserving:
- Distinctive: line 81
Use these instead of repeating the same context in every prompt.
- Distinctive: line 85
If the next step is blocked on the answer, do it locally unless a child adds clear value
- Distinctive: line 86
If multiple independent questions exist, delegate in parallel
- Distinctive: line 87
If two child tasks would touch the same files, do not run them in parallel unless ownership is explicit
- Distinctive: line 88
If a child needs human intervention, monitor and reply only to that child instead of re-running the whole task
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Broker Collaboration
Use this when you are the main supervised root coordinating child sessions through cliagents.
The canonical shared operator policy lives in:
docs/research/CLIAGENTS-OPERATING-MODEL.md
Use this skill as the compact workflow layer on top of that policy, not as a competing source of truth.
First Step
Before delegating, align with the canonical operating model:
- tracked top-level work should enter through broker-owned roots
- MCP and HTTP are the default orchestration surfaces
- stronger models should plan and review
- cheaper models should execute bounded slices
- usage and memory should be inspected through durable broker surfaces
Goals
- Keep the root prompt and state lean
- Discover broker capabilities instead of guessing
- Delegate only when the task genuinely benefits from specialization or parallel work
- Preserve enough context for child sessions without replaying whole transcripts
Root Workflow
1. Discover Before Delegating
Use the broker discovery tools first:
list_agentsfor available roles and adapterslist_modelsfor exact model catalogs on a chosen adapterlist_skills,get_skill, andinvoke_skillfor reusable workflow guidanceget_root_session_statusto inspect current child activity or attention states
Do not assume which adapters, models, or skills are available.
2. Keep One Root, Spawn Children On Demand
- Prefer one human-supervised root per workspace
- Do not create another root unless the human explicitly asks
- Delegate only bounded subtasks with clear ownership or review scope
- Reuse an existing child session only when continuity materially helps
3. Route Intentionally
- Use the lightest capable adapter/model for the task
- Keep research, review, implementation, and testing responsibilities separate when that improves quality
- Prefer direct root work for urgent blocking steps
- Prefer child sessions for sidecar work that can run in parallel
4. Pass Compact Context Packets
When delegating, send only:
- the task goal
- the relevant files or module scope
- the acceptance criteria
- the current constraints or open risks
- references to stored artifacts or findings when available
Avoid replaying full conversations or large irrelevant logs.
5. Use Shared State for Handoffs
When children discover something worth preserving:
share_findingfor bugs, risks, or advicestore_artifactfor plans, outputs, or handoff summaries
Use these instead of repeating the same context in every prompt.
Decision Rules
- If the next step is blocked on the answer, do it locally unless a child adds clear value
- If multiple independent questions exist, delegate in parallel
- If two child tasks would touch the same files, do not run them in parallel unless ownership is explicit
- If a child needs human intervention, monitor and reply only to that child instead of re-running the whole task
Anti-Patterns
- Auto-spawning children for every task
- Sending giant transcripts as child prompts
- Guessing available models instead of checking
- Using the root as a passive dashboard instead of an integrating decision-maker
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

