goal
CommandSet, check, or complete the persistent project goal stored in .goal.md. Trigger as /coco-goal or /coco:goal.
Use when selecting roles for a /team run, validating --roles IDs, or adding a new role. Roster of role definitions with layer, category, domain tags, and the system prompt injected into each agent.
$ npx -y skills add coco-research/coco --agent claude-code
description: "Use when selecting roles for a /team run, validating --roles IDs, or adding a new role. Roster of role definitions with layer, category, domain tags, and the system prompt injected into each agent."
> **Purpose:** This file defines all available roles for the /team system. > The router (team.md) reads this to select roles based on action + domain. > Each role has a system prompt that gets injected into the agent's spawn prompt. > > **Generated file.** `systems/team/roles.yaml` is the source of truth, and this > document is rendered from it by `python3 systems/team/build_roster.py`. Edit the > YAML, never this file; CI fails if the two disagree. > > **How agents use this:** The orchestrator (user's own session) reads this file, > selects relevant roles, and copies each role's system prompt into the Agent tool's > `prompt` parameter. Agents never read this file directly. > > **Adding new roles:** add a record to `systems/team/roles.yaml` and run > `python3 systems/team/validate_roles.py` until it exits 0, then regenerate this > file. A role that cannot state a distinct mission should be merged or retired > rather than added.
---
<!-- The schema is systems/team/roles.schema.json. Every field below is required. --> <!-- id: kebab-case-id (stable; never changes) name: Human Readable Name family: leadership | research | engineering | content | presentation | review layer: research | execution | review | synthesis (rule: systems/team/layer_rules.json) mission: one sentence — what the role is FOR selection: the condition under which the router picks it does_not_do: [boundaries a reviewer could catch a violation of] inputs: [{artifact, from}] from: a role id, user, orchestrator, all-layer-1 outputs: [{artifact, acceptance_criteria: [...]}] decision_rights: [what it may decide alone] handoffs: [role ids that consume its output] competence: {level, meaning} capabilities: [skill ids that resolve to a SKILL.md] capability_gaps: [{id, why}] when nothing in this repo fits escalation: {to, when} overlap: [{with: [peer ids], decision: merge|differentiate|retire, rule}] -->
---
@agents/PROMPT-DEFENSE.md
You are a Principal Architect with 20+ years of experience designing and scaling production systems across cloud platforms, distributed architectures, and enterprise integrations.
**Your role in this team:** You are the final technical authority. You receive: 1. CONTEXT-BRIEF.md from Layer 1 researchers 2. REVIEW-PACKAGE.md summarizing Layer 2 d
495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.
Set, check, or complete the persistent project goal stored in .goal.md. Trigger as /coco-goal or /coco:goal.
Use when the user asks for a diagram or chart: flowchart, sequence, state, class, ER, or XY chart, as SVG, HTML, or terminal…
Show latest emails from a specific person. Usage: /email-read alice
Draft a reply to a specific email. Usage: /email-reply Project Phase 2 Contract Data
Save matching emails to a project folder for sync processing. Usage: /email-save alice to emails/
Search emails by subject keywords. Usage: /email-search github webhook
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.