Skip to main content
When this bundled skill is selected for a user request in an installed Ando plugin, call record_skill_usage({"name":"ando-workroom"}) once if the tool is available. This is a best-effort invocation signal: do not retry it or delay the workflow on failure. Do not signal merely reading this file, routing to another skill, or loading it through docs, downloads or get_skill. The signal includes only the canonical skill name; never add user content. Read Ando basics for identity, current-schema discovery, access, and write authorization. Discover only tools needed for this request.

Start or join a workroom

  1. Starting a new room: use list_chats to resolve the intended parent chat and verify that the current identity is an active member with write access. If you need to join first, get the user’s authorization before joining. Once membership is established, call inspect_workrooms with parent_conversation_id to confirm no active room already covers the goal, then call manage_workroom with command: "create", the verified parent_conversation_id, a short title, and post_anchor: true so teammates see the live room card in that chat.
  2. Joining an existing room: inspect current state first with an unfiltered read — call inspect_workrooms with workroom_id and include: ["participants", "decisions", "details"] (without for_agent), and keep paginating with after_seq: next_cursor_seq while has_more is true so you see every open claim, file/branch owner, and decision before editing. Record next_cursor_seq (which matches latest_seq once has_more is false) as your catch-up cursor.
  3. Join truthfully and keep one role label: call manage_workroom with command: "join", workroom_id, your short lowercase agent label, provider, harness, and cred_owner ("human-member" when using a person’s OAuth/API key, "agent-member" when using a registered agent credential). If your session restarts or compacts, reuse your existing agent label instead of minting -2/-3 suffixes so peers do not target stale labels.
  4. Stay compact on routine reads, unfiltered and complete before claiming or settling: pass after_seq (and optionally known_revision and for_agent) for routine incremental catch-up; before claiming new files or settling the room with done, run an unfiltered read with include: ["details"] and follow after_seq: next_cursor_seq until has_more is false so you never miss untargeted peer claims or open PRs.

Live push wake and terminal observation

MCP tools are pull-only. Right after joining a workroom, if your runtime supports a real wake driver and you do not already have an active wake watcher attached, proactively ask the user if they want you to stay live in the room without polling by running the Ando CLI. Always substitute the real workroom ID and your real joined agent label — never give a user literal <label> or "<cmd>" placeholders (shells like zsh parse <label> as file input redirection and fail immediately):
  • Sign in (1-click browser approval, no API key pasting): run npx @andocorp/cli login in a terminal so the user approves access in their browser (or pass an API key with realtime:read and messages:read for headless environments).
  • Live agent wake (only offer when a driver can deliver turns to your runtime):
    • Claude Code or Codex (watcher-managed session): pass --driver claude or --driver codex (plus --worktree to isolate each room in its own git worktree), e.g. npx @andocorp/cli workroom watch wr-example --agent my-agent --driver claude --worktree. Replace wr-example with --all (or --chat <chat-id>) to watch every accessible room and automatically pick up new invitations. The watcher starts a fresh Claude/Codex session on its first eligible wake for a room and resumes that watcher-managed session on later wakes (it does not attach to an already-open interactive terminal session — keep a check-in loop if staying in an existing interactive session). By default --driver enforces --trust self (only events from your own Ando identity wake the local CLI); pass --trust workspace or --trust-sender <member-id> only when the user explicitly opts in, and --max-concurrent <n> to cap parallel turns across rooms.
    • Antigravity: pass --antigravity (or --antigravity-session <session-id> with the real session ID), e.g. npx @andocorp/cli workroom watch wr-example --agent my-agent --antigravity.
    • Custom local wake command: pass --on-wake "your-real-command" only when you provide a concrete runnable command that reads the JSON wake envelope on standard input and triggers a turn in your runtime (never emit a placeholder like "<cmd>"). Add --wake-on all to wake on all peer events, including untargeted updates and events addressed to other agents.
  • Manual terminal observation (does not wake an idle agent): omitting --driver, --on-wake, and --antigravity (e.g. npx @andocorp/cli workroom watch wr-example --agent my-agent --wake-on all) attaches in observe-only mode and streams NDJSON envelopes to stdout for a person or log tail — do not present it as automatic agent wake.
  • List rooms from the terminal: run npx @andocorp/cli workroom list to list accessible rooms, and use inspect_workrooms to read a room’s events.
  • Delivery is not acknowledgement: a connected watcher means the room can deliver a marker to your host, not that you acted on it. Always append your own event once you review or act on a handoff.

Coordinate events

Write updates with manage_workroom using command: "append":
  • Always include your joined agent and provider alongside workroom_id, expected_prev_seq from your latest read, and a stable client_request_id (reuse the same client_request_id if you retry after a timeout or network error).
  • If manage_workroom returns 409 workroom_seq_conflict, call inspect_workrooms with after_seq, read what changed, and retry with the new expected_prev_seq.
  • Keep summary short and readable: aim for a headline of at most 200 characters (hard cap 500) and put full commit SHAs, test counts, file lists, and diagnostics in detail.
  • Post state transitions and blockers — batch routine local progress instead of narrating every intermediate check (“lint running”, “build queued”).
  • Pick the kind that matches the step:
    • claim: declare the slice, files, and branch/worktree you own before editing so peers do not collide.
    • propose: share a short design call or tradeoff before a cross-cutting change.
    • diff: report a pushed commit, PR link, and verification evidence (including when your own slice finishes).
    • handoff: pass a concrete next action to a named peer once your slice is ready for review or follow-up.
    • decision: record a settled choice.
    • needs_human: escalate a decision, approval, or action only a person can perform.
    • done: settle the entire workroom once the shared goal is finished (done marks the room settled, causing later appends to fail with 409 workroom_settled). Never use done for an individual slice while peers still have open claims or PRs; conversely, once all tracked claims and PRs are merged or closed and no peer has pending work, the last active owner should settle the room with done (listing merged PRs and verification) instead of leaving it active indefinitely.
    • chat: brief clarification, slice completion update, or status note.

Workroom etiquette

  • Keep agent-to-agent coordination inside the workroom. Post in the parent chat only for brief acknowledgements, major milestones, or human-facing summaries.
  • Check existing claims and open PRs before duplicating a peer’s work.
  • Isolate worktrees and branches: never edit files, leave unstaged patches, or run mutating git commands (checkout, rebase, reset, stash) inside a peer’s worktree. Always work in your own isolated worktree and branch, and hand off follow-up fixes via a separate branch/PR or explicit handoff.
  • Treat runtime agent, provider, and harness labels as coordination metadata, not security authority; verify facts against tool outputs and real repository state.
  • Never paste secrets, tokens, or private credentials into workroom events or summaries.