ClawMem Team
by @ericzequan
Single entry skill for ClawMem Team workflows. Use when a user wants to design, bootstrap, verify, adapt, or choose a Team workflow on top of ClawMem, includ...
clawhub install clawmem-teamπ About This Skill
name: clawmem-team description: Single entry skill for ClawMem Team workflows. Use when a user wants to design, bootstrap, verify, adapt, or choose a Team workflow on top of ClawMem, including custom Team design, repo and access planning, main/worker/summary queue setups, reviewing flows, step-by-step Team onboarding, or direct template requests by filename such as main-worker-summary-queue.md and reviewing.md.
ClawMem Team
Use this skill as the single entry point for ClawMem Team requests.
Keep the product boundary explicit:
Available templates
main-worker-summary-queue.md1 main agent + 2 worker agents.
- Use when work should move through a shared queue repo with explicit task labels and status changes.
- If the user names this template directly, read references/templates/main-worker-summary-queue.md.
reviewing.mdreferences/templates/reviewing.md.Users may refer to a template by filename, for example:
main-worker-summary-queue.md, set up my team"reviewing.md, set up my team"Select the right path
1. Confirm the user wants Team design, Team setup, Team verification, or a Team template.
2. If this is only an ordinary memory request, stay on the bundled clawmem skill instead.
3. Choose one of three paths:
- explicit template: the user directly names a file under references/templates/
- matched template: the user's request clearly fits one of the available templates
- custom: no template clearly fits, so design a Team from scratch
Template readiness
Before producing a blueprint for a multi-agent template, confirm these readiness layers:
clawmem runtime skill is availableFor main-worker-summary-queue.md:
1 main + 2 workers as the default minimum ready shape for this templatemain and assign two workersready until one real worker handoff succeeds through a working dispatch path instead of only by config inspection or main-authored proxy writesRead the right reference
Workflow label schema
Every Team produces an explicit Workflow Label Schema, even when starting from a template. It lives inside the canonical Team artifact so workers can read it at runtime. ClawMem deliberately stays label-agnostic, so the Team is the only place this schema can live.
A schema is valid when it names:
queue:task, review:request)assignee:)state: closed via issue_update in the same mutationissue_list filter participants use to pick up work (state: open plus the task-kind label), so closed tasks never reappear in the queue and participants on different hosts can converge through the same filterTemplates under references/templates/ provide ready-made schemas. Custom Teams define their own, but the structure above is required. Do not let a Team ship without the schema written down.
Team contract binding
The canonical Team artifact only works if participants actually read it before acting. The default binding path reuses the bundled clawmem skill's existing turn loop β no per-host install is needed, and the mechanism is the same whether the team lives on one machine or across many.
Role names are user-defined. Do not assume main / worker / reviewer unless the user or the chosen template declares those roles. Whatever role names the contract defines, every one of them uses the same binding path:
1. Store the contract as a stable ClawMem memory node, labeled with a stable pair such as kind:convention topic:team-contract. The orchestrating agent analyzes the user's setup to decide where it lives β a dedicated team / coordination repo, or the task repo itself. Either is valid; state the choice in the blueprint.
2. Every task issue this Team creates opens its body with an explicit citation, for example:
> Team contract: memory_get # (kind:convention topic:team-contract) before acting. Labels and terminal closure are defined there.
3. The bundled clawmem skill already instructs every ClawMem-compliant agent to call memory_get when a specific memory id is mentioned. The returned body comes back as regular tool output, not wrapped by auto-recall as "historical notes".
Defensive inline: also include the Workflow Label Schema's most critical rules directly in the task body (allowed labels plus the done β state:closed rule), so a participant that skips the fetch still sees the minimum.
Do not rely on auto-recall alone to deliver the Team contract to participants. The plugin frames auto-recall as background context, not as binding instructions β use the explicit memory_get citation above.
Workflow
1. Identify the user's goal, constraints, participants, and preferred collaboration style.
2. If the user directly names a template file, use that template first.
3. Otherwise, choose a template when it clearly fits. If no template clearly fits, design a custom Team.
4. Inspect or confirm the participant readiness required by the selected template or custom design.
5. If the chosen path needs multiple agents, decide whether to reuse existing agents or prepare missing ones before bootstrap.
6. Produce one explicit Team blueprint using references/blueprint.md, even when starting from a template.
7. Keep the Team contract explicit in the blueprint:
- roles
- repos
- access model
- issue or comment protocol
- canonical Team artifact
- verification path
- environment readiness state
- participant readiness state
- runtime delegation readiness state
8. If the user approves actual changes, bootstrap the Team using references/bootstrap.md.
9. If bootstrap changed agent config, restarted the gateway, or otherwise invalidated the current control path, refresh or re-establish the session before end-to-end worker verification.
10. When the Team is configured, verify it using references/verification.md.
11. If the user wants a demo, seed only one minimal workflow object.
Decision rules
main-worker-summary-queue.md, ask whether to use the default 3-agent shape or a user-selected subset.partial or blocked instead of ready.Required output
Every major phase ends with two layers (see references/communication.md):
1. Plain-language summary for the user - what this Team will do, in one or two sentences and domain terms - who plays each role and what the user still has to decide - the single next concrete step, translated into the user's words
2. Technical detail, separated and only when helpful - chosen path and why it fits - environment, participant, and runtime delegation readiness state - the blueprint or mutation plan - the Workflow Label Schema and terminal closure rule when relevant
Default to the user's current language for layer 1. Keep schema identifiers (kind:*, topic:*, queue:task, task-status:done, state:closed, etc.) machine-readable in both layers.