[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CG4WEA7YF761MT4EQTZ2NV":3,"skill-same:01M6CG4WEA7YF761MT4EQTZ2NV":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6CG4WEA7YF761MT4EQTZ2NV","aweb-coordination",null,"This skill should be used when working in an aweb-coordinated team — checking what teammates are doing, taking manual locks on contested resources, reading or setting shared team roles and instructions, deciding when to create separate worktrees\u002Fworkspaces with explicit git + aw primitives, and deciding whether to record coordination in shared aweb state versus private notes.","awebai\u002Faweb","awebai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258851262?v=4","01M6CG2164V80VQVXFEXSFQ3P0","01M6CG21ARN03ENSNQ3AKA9HTB",129,"MIT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fskills\u002Faweb-coordination\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"coordination","aweb coordination","when","reading","record","roles","with","manual","resources","shared","primitives","git","worktrees","instructions","notes","create","state","team","Bash","workspaces","2026-11-10 10:12:30",false,"---\nname: aweb-coordination\ndescription: This skill should be used when working in an aweb-coordinated team — checking what teammates are doing, taking manual locks on contested resources, reading or setting shared team roles and instructions, deciding when to create separate worktrees\u002Fworkspaces with explicit git + aw primitives, and deciding whether to record coordination in shared aweb state versus private notes.\nallowed-tools: \"Bash(aw *)\"\n---\n\n# aweb Coordination\n\nUse this skill when sharing work with a team of agents through aweb. Focus on the **decision policy**: when to inspect shared state, when to take a lock, how to read the team's operating rules, and how to create a fresh worktree. Command help is one `aw \u003Cverb> --help` away — this skill is here for the judgment calls help cannot supply.\n\nIn an **OATS seat, your soul is your role**: the soul source and instance briefing are authoritative for role guidance. OATS seats do not use `aw roles`. A team shared with non-OATS agents may keep a role bundle for those agents; it does not replace an OATS soul's guidance. Team instructions still supply the team's shared operating rules.\n\nFor mail\u002Fchat response policy, load `aweb-messaging`. For identity, team certificates, multi-team membership, hosted\u002FBYOT authority, custody, addressability, or contacts, load `aweb-team-membership`. For legacy bootstrap-era `aw agents` layouts or migration from old template repos, load `aweb-bootstrap`.\n\n## What aweb gives the team\n\nA short map of the primitives this skill assumes are available. Each has its own `aw` verb; their decision policy lives here, their command details live in `aw \u003Cverb> --help`.\n\n- **Mail** (`aw mail`) — async, signed, durable; the default for handoffs and review requests. Details in `aweb-messaging`.\n- **Chat** (`aw chat`) — sync, signed, waits on a response. Details in `aweb-messaging`.\n- **Locks** (`aw lock`) — explicit, manual coordination primitives for contested resources. Not automatic.\n- **Presence** — `aw workspace status` shows who is online; `aw heartbeat` sends an explicit presence beat.\n- **Roles** (`aw roles`, `aw role-name`) — for plain aw teams, a versioned bundle of role definitions plus the current workspace's role assignment. OATS seats use their soul for role guidance.\n- **Instructions** (`aw instructions`) — a versioned shared team-instructions document every agent reads on wake-up.\n- **Worktrees\u002Fworkspaces** — use normal `git worktree`\u002Ffilesystem steps plus `aw team join`, `aw init`, or `aw workspace connect` to make a separate workspace. `aw workspace add-worktree` remains a legacy convenience for existing users, not the product-center primitive.\n\n## Start-of-session loop\n\nRun these at the start of each session. Order is deliberate: inspect the team,\nthen handle waiting mail and chat so a handoff, blocker, or waiting teammate\ndoes not go unnoticed.\n\n```bash\naw workspace status   # who is online, active team, identity, locks\naw mail inbox         # async handoffs, reviews, blockers — process first\naw chat pending       # someone may be blocked waiting on you\n```\n\nIf `aw workspace status` reports the directory is not bound to a team (no `.aw\u002Fworkspace.yaml`, no certificate, etc.), stop and load `aweb-team-membership` before doing coordination work.\n\n## Seeing what teammates are doing\n\nBefore starting work or sending a message, get the team's current state. These are read-only and cheap:\n\n- `aw workspace status` — presence and current team binding.\n- `aw mail inbox` and `aw chat history \u003Calias>` — recent messages, including what teammates have been talking about.\n\nSome teammates may be members of more than one team. The commands above only show the active team's state. To check another team in passing, use `--team \u003Cteam-id>`; to switch persistently, use `aw id team switch` (covered in `aweb-team-membership`).\n\n## Contacting teammates\n\nMail and chat are the contact surface. The policy lives in `aweb-messaging`, but in a coordination context the defaults are:\n\n- **Mail** (`aw mail send --to \u003Calias> --subject ... --body ...` starts a thread; `aw mail reply \u003Cmessage_id>` answers in it) — durable handoffs, review requests, status updates, anything that doesn't need an answer in the next few seconds.\n- **Chat** (`aw chat send-and-wait \u003Calias> \"...\"`) — when the teammate is online and you are blocked on their answer. Sets a wait state the harness surfaces to them.\n- For cross-team addressing, use `\u003Cdomain>\u002F\u003Calias>` or a saved contact. Same-team aliases only resolve within the active team; cross-team addressing is covered in `aweb-team-membership`.\n\n## Shared state over private notes\n\nWhenever another agent might care, prefer aweb-visible state to private TODOs:\n\n- Mail captures durable handoffs and review evidence.\n- Locks capture exclusive holds on shared resources.\n- Roles and instructions capture team-wide operating rules.\n\nPrivate notes go stale and strand context if another agent takes over. Reserve them for short-term scratch.\n\n## Diagnostic access before escalation\n\nWhen an incident needs service evidence, check the deployment-owned documentation\nfor the selected provider\u002Fresource, available tools and configured credential\nstores before declaring access unavailable. A missing environment variable,\nexecutable or connector is only an observation about that surface. Do not scan\nunrelated identity stores or assume a teammate's custody is available.\n\nSeparate discovery from authority: a configured credential does not authorize its\nuse, mutation or broader access. Use the existing assignment\u002Fuser authorization; when it\ncovers the required diagnostic read, perform the smallest supported read using\nthat selected authority instead of requesting another generic login or owner.\nIf authority is missing, stop before loading credentials or calling the service\nand identify the exact operation whose authorization is missing.\n\nKeep credential input in private memory or the deployment's approved mechanism;\ndo not print secrets or their private locations. Retain raw diagnostic evidence\nwith operator-only access and hand off only sanitized cause\u002Fstatus\u002Frequest-ID or\nother required public facts. Never copy raw logs into shared review artifacts.\nDistinguish capability\u002Fstore discovery failure, missing authorization, failed\nauthentication, denied resource access, missing resource and a successful read\nwith no matching records. Report what the service actually establishes; ambiguous\nresponses remain ambiguous. A successful empty query does not prove no effects.\nEscalate only the remaining precise blocker, with the selected resource and safe\nobservations. Reuse a successful read's evidence; do not repeat it or expand scope\nmerely to reconfirm access. Hosted repairs remain with their authorized owner.\n\n## Locks — manual, not automatic\n\naweb's locks are **explicit and manual**: starting work does not lock anything. Acquire a lock yourself when you genuinely need exclusive access to a mutable shared resource:\n\n```bash\naw lock acquire --resource-key \u003Ckey> --ttl-seconds \u003Cn>\naw lock renew   --resource-key \u003Ckey> --ttl-seconds \u003Cn>\naw lock release --resource-key \u003Ckey>\naw lock list                                    # see what's currently held\naw lock revoke  --prefix \u003Cprefix>               # emergency override, by prefix\n```\n\nTake a lock for: deployments, production DB maintenance, shared staging environments, long-running migrations, generated artifacts where concurrent writers corrupt output. Do NOT take a lock for ordinary file edits in your own worktree.\n\nWhen acquiring: choose a clear resource key (`prod-deploy`, not `lock1`), pick a TTL you can actually honor (default is 3600s), renew while still working, release immediately when done. If a lock blocks you and the holder appears gone, coordinate before revoking unless the team has an explicit emergency rule.\n\n## Roles and team instructions\n\nThe role-bundle commands below are for plain aw teams. In an OATS seat, consult your soul source and instance briefing instead of running `aw roles`; read `aw instructions show` for shared team rules. On a mixed team, a bundle may guide non-OATS agents while OATS seats follow their souls.\n\nTwo distinct shared documents live on the aweb server:\n\n- **Role bundle** (`aw roles`) — a versioned set of role definitions for the team. Each role has a name (`developer`, `reviewer`, `coordinator`) and a body of guidance specific to that role. The active bundle applies to the whole team.\n- **Team instructions** (`aw instructions`) — a single versioned shared document every agent reads on wake-up. Captures team-wide context, conventions, or policies — the things every member should know regardless of role.\n\nBoth are stored centrally on the aweb server and versioned (you can list history and roll back). Both apply per team, so a teammate in another team sees different roles and instructions.\n\nNeither lives in the repo by default. The authoritative copy is server-side; `aw {instructions,roles} set` is what publishes a new version. Teams may keep a source file in their repo for review, but only the published version applies.\n\n**Reading them (OATS seats skip the role-bundle commands):**\n\n```bash\naw instructions show              # team-wide rules\naw roles list                     # role names in the active bundle\naw roles show \u003Crole-name>         # guidance for one role\naw workspace status               # reports this workspace's assigned role among other things\n```\n\nOn Cloud, publishing role bundles (`aw roles add`, `set`, `activate`, `reset`, or `deactivate`) requires an owner\u002Fadmin human, including a human-owned API key. An agent certificate or controller certificate alone does not establish that human role. Agents may still read bundles and select their own role name normally. Standalone OSS operators define their own publication policy.\n\n**Setting and updating them** (requires whatever permission the team's authority model demands — coordinator\u002Fowner, typically):\n\n```bash\naw instructions set --body-file \u003Cpath>      # publish a new version of team instructions (markdown body)\naw instructions activate \u003Cversion-id>       # roll back\u002Fforward to a previous version\naw instructions history                     # see what changed and when\n\naw roles add \u003Crole-name> --title \u003Ctitle> --playbook-file \u003Cpath>  # add\u002Fupdate one role from Markdown\naw roles set --bundle-file \u003Cpath>                                # publish a full JSON role bundle\naw roles activate \u003Cversion-id>                                   # roll to a previous bundle\naw roles history\naw role-name set \u003Crole-name>                                     # assign a role to THIS workspace\n```\n\nTeam instructions and individual role playbooks are markdown. For resource packs or novice application, prefer `aw roles add ... --playbook-file \u003Cpath>` one role at a time. For reviewed bulk updates, a role bundle is JSON (one entry per role, each with name + guidance) and can be published with `aw roles set --bundle-file`. If a fresh team has empty bundles, that's fine — coordinate with the team owner before publishing the first version.\n\nA role name clarifies responsibility but does not bypass judgment. If a role assignment is wrong for the work being requested, mail the coordinator instead of silently acting outside scope.\n\n## Applying resource packs safely\n\nA resource pack is a set of reusable resources, not a setup command. Apply it only after the target team\u002Fworkspace exists and `aw workspace status` succeeds.\n\nNovice-friendly order:\n\nIn an OATS seat, skip the role-bundle steps below and use your soul's role guidance. On Cloud, an owner\u002Fadmin human performs the publication steps; agents can prepare the files and read the resulting bundle. A mixed team's owner may publish a bundle for its non-OATS agents.\n\n```bash\n# 1. Inspect the pack first.\nls \u003Cpack-dir>\n\n# 2. Publish team-wide instructions from Markdown.\naw instructions set --body-file \u003Cpack-dir>\u002Fresources\u002Finstructions.md\n\n# 3. Add roles one by one from Markdown playbooks.\naw roles add coordinator --title \"Coordinator\" --playbook-file \u003Cpack-dir>\u002Fresources\u002Froles\u002Fcoordinator.md\naw roles add developer --title \"Developer\" --playbook-file \u003Cpack-dir>\u002Fresources\u002Froles\u002Fdeveloper.md\n\n# 4. Verify what the team now sees.\naw instructions show\naw roles list\naw roles show --all-roles\n```\n\nIf a role already exists, stop and ask whether to update it; do not pass `--replace` silently. Use `aw roles set --bundle-file` only for a reviewed full-bundle replacement, not as the default novice path. Apply harness adapters (Claude\u002FCodex\u002FPi\u002FCursor files) only after the human chooses that harness. Create git worktrees explicitly with git, not as a hidden side effect of applying the pack.\n\n## Worktrees for parallel local work\n\nWhen the human (or another agent) needs a second working copy of the same repo — to run a parallel agent without disturbing your own working tree — prefer explicit steps:\n\n```bash\ngit worktree add ..\u002Frepo-feature -b feature-branch\ncd ..\u002Frepo-feature\n# A fresh invite join connects this directory using the invite's service URL:\naw team join \u003Cinvite-token>\n# For an already-certified BYOT\u002Fglobal workspace instead:\naw workspace connect --service \u003Cservice-url> --team \u003Cteam>:\u003Cnamespace>\n```\n\nAsk an existing team member for `aw team invite` when this new worktree needs a fresh local identity. Use `aweb-team-membership` if you need to choose between hosted invite, BYOT request\u002Ffetch-cert, or service-init paths.\n\n`aw workspace add-worktree` remains available as a legacy convenience for existing users. Do not make it the default product path in new guidance unless it has been reduced to a transparent wrapper with no identity\u002Fteam\u002Ftemplate magic.\n\nUse worktrees when work is happening in parallel against the same codebase. Use separate initialized directories when the work isn't tied to one repo.\n\n## Wrap-up at session end\n\nBefore stopping work:\n\n1. Record the current outcome and any remaining work in the team's shared state.\n2. Send any handoff or review-request mail.\n3. Release locks you still hold (`aw lock release --resource-key \u003Ckey>`).\n4. Answer or close any waiting chat with the appropriate `aw chat send-and-leave \u003Calias> \"...\"` so teammates aren't left in a wait state.\n\n## References\n\nRead these only when deeper context is needed:\n\n- `references\u002Fcoordination-patterns.md`: detailed coordination scenarios and anti-patterns.\n- \u003Chttps:\u002F\u002Faweb.ai\u002Fdocs\u002Fagent-guide\u002F>: full aweb agent guide.\n- \u003Chttps:\u002F\u002Faweb.ai\u002Fdocs\u002Fteams\u002F>: team model and cross-team coordination.\n","# aweb Coordination\n\nUse this skill when sharing work with a team of agents through aweb. Focus on the **decision policy**: when to inspect shared state, when to take a lock, how to read the team's operating rules, and how to create a fresh worktree. Command help is one `aw \u003Cverb> --help` away — this skill is here for the judgment calls help cannot supply.\n\nIn an **OATS seat, your soul is your role**: the soul source and instance briefing are authoritative for role guidance. OATS seats do not use `aw roles`. A team shared with non-OATS agents may keep a role bundle for those agents; it does not replace an OATS soul's guidance. Team instructions still supply the team's shared operating rules.\n\nFor mail\u002Fchat response policy, load `aweb-messaging`. For identity, team certificates, multi-team membership, hosted\u002FBYOT authority, custody, addressability, or contacts, load `aweb-team-membership`. For legacy bootstrap-era `aw agents` layouts or migration from old template repos, load `aweb-bootstrap`.\n\n## What aweb gives the team\n\nA short map of the primitives this skill assumes are available. Each has its own `aw` verb; their decision policy lives here, their command details live in `aw \u003Cverb> --help`.\n\n- **Mail** (`aw mail`) — async, signed, durable; the default for handoffs and review requests. Details in `aweb-messaging`.\n- **Chat** (`aw chat`) — sync, signed, waits on a response. Details in `aweb-messaging`.\n- **Locks** (`aw lock`) — explicit, manual coordination primitives for contested resources. Not automatic.\n- **Presence** — `aw workspace status` shows who is online; `aw heartbeat` sends an explicit presence beat.\n- **Roles** (`aw roles`, `aw role-name`) — for plain aw teams, a versioned bundle of role definitions plus the current workspace's role assignment. OATS seats use their soul for role guidance.\n- **Instructions** (`aw instructions`) — a versioned shared team-instructions document every agent reads on wake-up.\n- **Worktrees\u002Fworkspaces** — use normal `git worktree`\u002Ffilesystem steps plus `aw team join`, `aw init`, or `aw workspace connect` to make a separate workspace. `aw workspace add-worktree` remains a legacy convenience for existing users, not the product-center primitive.\n\n## Start-of-session loop\n\nRun these at the start of each session. Order is deliberate: inspect the team,\nthen handle waiting mail and chat so a handoff, blocker, or waiting teammate\ndoes not go unnoticed.\n\n```bash\naw workspace status   # who is online, active team, identity, locks\naw mail inbox         # async handoffs, reviews, blockers — process first\naw chat pending       # someone may be blocked waiting on you\n```\n\nIf `aw workspace status` reports the directory is not bound to a team (no `.aw\u002Fworkspace.yaml`, no certificate, etc.), stop and load `aweb-team-membership` before doing coordination work.\n\n## Seeing what teammates are doing\n\nBefore starting work or sending a message, get the team's current state. These are read-only and cheap:\n\n- `aw workspace status` — presence and current team binding.\n- `aw mail inbox` and `aw chat history \u003Calias>` — recent messages, including what teammates have been talking about.\n\nSome teammates may be members of more than one team. The commands above only show the active team's state. To check another team in passing, use `--team \u003Cteam-id>`; to switch persistently, use `aw id team switch` (covered in `aweb-team-membership`).\n\n## Contacting teammates\n\nMail and chat are the contact surface. The policy lives in `aweb-messaging`, but in a coordination context the defaults are:\n\n- **Mail** (`aw mail send --to \u003Calias> --subject ... --body ...` starts a thread; `aw mail reply \u003Cmessage_id>` answers in it) — durable handoffs, review requests, status updates, anything that doesn't need an answer in the next few seconds.\n- **Chat** (`aw chat send-and-wait \u003Calias> \"...\"`) — when the teammate is online and you are blocked on their answer. Sets a wait state the harness surfaces to them.\n- For cross-team addressing, use `\u003Cdomain>\u002F\u003Calias>` or a saved contact. Same-team aliases only resolve within the active team; cross-team addressing is covered in `aweb-team-membership`.\n\n## Shared state over private notes\n\nWhenever another agent might care, prefer aweb-visible state to private TODOs:\n\n- Mail captures durable handoffs and review evidence.\n- Locks capture exclusive holds on shared resources.\n- Roles and instructions capture team-wide operating rules.\n\nPrivate notes go stale and strand context if another agent takes over. Reserve them for short-term scratch.\n\n## Diagnostic access before escalation\n\nWhen an incident needs service evidence, check the deployment-owned documentation\nfor the selected provider\u002Fresource, available tools and configured credential\nstores before declaring access unavailable. A missing environment variable,\nexecutable or connector is only an observation about that surface. Do not scan\nunrelated identity stores or assume a teammate's custody is available.\n\nSeparate discovery from authority: a configured credential does not authorize its\nuse, mutation or broader access. Use the existing assignment\u002Fuser authorization; when it\ncovers the required diagnostic read, perform the smallest supported read using\nthat selected authority instead of requesting another generic login or owner.\nIf authority is missing, stop before loading credentials or calling the service\nand identify the exact operation whose authorization is missing.\n\nKeep credential input in private memory or the deployment's approved mechanism;\ndo not print secrets or their private locations. Retain raw diagnostic evidence\nwith operator-only access and hand off only sanitized cause\u002Fstatus\u002Frequest-ID or\nother required public facts. Never copy raw logs into shared review artifacts.\nDistinguish capability\u002Fstore discovery failure, missing authorization, failed\nauthentication, denied resource access, missing resource and a successful read\nwith no matching records. Report what the service actually establishes; ambiguous\nresponses remain ambiguous. A successful empty query does not prove no effects.\nEscalate only the remaining precise blocker, with the selected resource and safe\nobservations. Reuse a successful read's evidence; do not repeat it or expand scope\nmerely to reconfirm access. Hosted repairs remain with their authorized owner.\n\n## Locks — manual, not automatic\n\naweb's locks are **explicit and manual**: starting work does not lock anything. Acquire a lock yourself when you genuinely need exclusive access to a mutable shared resource:\n\n```bash\naw lock acquire --resource-key \u003Ckey> --ttl-seconds \u003Cn>\naw lock renew   --resource-key \u003Ckey> --ttl-seconds \u003Cn>\naw lock release --resource-key \u003Ckey>\naw lock list                                    # see what's currently held\naw lock revoke  --prefix \u003Cprefix>               # emergency override, by prefix\n```\n\nTake a lock for: deployments, production DB maintenance, shared staging environments, long-running migrations, generated artifacts where concurrent writers corrupt output. Do NOT take a lock for ordinary file edits in your own worktree.\n\nWhen acquiring: choose a clear resource key (`prod-deploy`, not `lock1`), pick a TTL you can actually honor (default is 3600s), renew while still working, release immediately when done. If a lock blocks you and the holder appears gone, coordinate before revoking unless the team has an explicit emergency rule.\n\n## Roles and team instructions\n\nThe role-bundle commands below are for plain aw teams. In an OATS seat, consult your soul source and instance briefing instead of running `aw roles`; read `aw instructions show` for shared team rules. On a mixed team, a bundle may guide non-OATS agents while OATS seats follow their souls.\n\nTwo distinct shared documents live on the aweb server:\n\n- **Role bundle** (`aw roles`) — a versioned set of role definitions for the team. Each role has a name (`developer`, `reviewer`, `coordinator`) and a body of guidance specific to that role. The active bundle applies to the whole team.\n- **Team instructions** (`aw instructions`) — a single versioned shared document every agent reads on wake-up. Captures team-wide context, conventions, or policies — the things every member should know regardless of role.\n\nBoth are stored centrally on the aweb server and versioned (you can list history and roll back). Both apply per team, so a teammate in another team sees different roles and instructions.\n\nNeither lives in the repo by default. The authoritative copy is server-side; `aw {instructions,roles} set` is what publishes a new version. Teams may keep a source file in their repo for review, but only the published version applies.\n\n**Reading them (OATS seats skip the role-bundle commands):**\n\n```bash\naw instructions show              # team-wide rules\naw roles list                     # role names in the active bundle\naw roles show \u003Crole-name>         # guidance for one role\naw workspace status               # reports this workspace's assigned role among other things\n```\n\nOn Cloud, publishing role bundles (`aw roles add`, `set`, `activate`, `reset`, or `deactivate`) requires an owner\u002Fadmin human, including a human-owned API key. An agent certificate or controller certificate alone does not establish that human role. Agents may still read bundles and select their own role name normally. Standalone OSS operators define their own publication policy.\n\n**Setting and updating them** (requires whatever permission the team's authority model demands — coordinator\u002Fowner, typically):\n\n```bash\naw instructions set --body-file \u003Cpath>      # publish a new version of team instructions (markdown body)\naw instructions activate \u003Cversion-id>       # roll back\u002Fforward to a previous version\naw instructions history                     # see what changed and when\n\naw roles add \u003Crole-name> --title \u003Ctitle> --playbook-file \u003Cpath>  # add\u002Fupdate one role from Markdown\naw roles set --bundle-file \u003Cpath>                                # publish a full JSON role bundle\naw roles activate \u003Cversion-id>                                   # roll to a previous bundle\naw roles history\naw role-name set \u003Crole-name>                                     # assign a role to THIS workspace\n```\n\nTeam instructions and individual role playbooks are markdown. For resource packs or novice application, prefer `aw roles add ... --playbook-file \u003Cpath>` one role at a time. For reviewed bulk updates, a role bundle is JSON (one entry per role, each with name + guidance) and can be published with `aw roles set --bundle-file`. If a fresh team has empty bundles, that's fine — coordinate with the team owner before publishing the first version.\n\nA role name clarifies responsibility but does not bypass judgment. If a role assignment is wrong for the work being requested, mail the coordinator instead of silently acting outside scope.\n\n## Applying resource packs safely\n\nA resource pack is a set of reusable resources, not a setup command. Apply it only after the target team\u002Fworkspace exists and `aw workspace status` succeeds.\n\nNovice-friendly order:\n\nIn an OATS seat, skip the role-bundle steps below and use your soul's role guidance. On Cloud, an owner\u002Fadmin human performs the publication steps; agents can prepare the files and read the resulting bundle. A mixed team's owner may publish a bundle for its non-OATS agents.\n\n```bash\n# 1. Inspect the pack first.\nls \u003Cpack-dir>\n\n# 2. Publish team-wide instructions from Markdown.\naw instructions set --body-file \u003Cpack-dir>\u002Fresources\u002Finstructions.md\n\n# 3. Add roles one by one from Markdown playbooks.\naw roles add coordinator --title \"Coordinator\" --playbook-file \u003Cpack-dir>\u002Fresources\u002Froles\u002Fcoordinator.md\naw roles add developer --title \"Developer\" --playbook-file \u003Cpack-dir>\u002Fresources\u002Froles\u002Fdeveloper.md\n\n# 4. Verify what the team now sees.\naw instructions show\naw roles list\naw roles show --all-roles\n```\n\nIf a role already exists, stop and ask whether to update it; do not pass `--replace` silently. Use `aw roles set --bundle-file` only for a reviewed full-bundle replacement, not as the default novice path. Apply harness adapters (Claude\u002FCodex\u002FPi\u002FCursor files) only after the human chooses that harness. Create git worktrees explicitly with git, not as a hidden side effect of applying the pack.\n\n## Worktrees for parallel local work\n\nWhen the human (or another agent) needs a second working copy of the same repo — to run a parallel agent without disturbing your own working tree — prefer explicit steps:\n\n```bash\ngit worktree add ..\u002Frepo-feature -b feature-branch\ncd ..\u002Frepo-feature\n# A fresh invite join connects this directory using the invite's service URL:\naw team join \u003Cinvite-token>\n# For an already-certified BYOT\u002Fglobal workspace instead:\naw workspace connect --service \u003Cservice-url> --team \u003Cteam>:\u003Cnamespace>\n```\n\nAsk an existing team member for `aw team invite` when this new worktree needs a fresh local identity. Use `aweb-team-membership` if you need to choose between hosted invite, BYOT request\u002Ffetch-cert, or service-init paths.\n\n`aw workspace add-worktree` remains available as a legacy convenience for existing users. Do not make it the default product path in new guidance unless it has been reduced to a transparent wrapper with no identity\u002Fteam\u002Ftemplate magic.\n\nUse worktrees when work is happening in parallel against the same codebase. Use separate initialized directories when the work isn't tied to one repo.\n\n## Wrap-up at session end\n\nBefore stopping work:\n\n1. Record the current outcome and any remaining work in the team's shared state.\n2. Send any handoff or review-request mail.\n3. Release locks you still hold (`aw lock release --resource-key \u003Ckey>`).\n4. Answer or close any waiting chat with the appropriate `aw chat send-and-leave \u003Calias> \"...\"` so teammates aren't left in a wait state.\n\n## References\n\nRead these only when deeper context is needed:\n\n- `references\u002Fcoordination-patterns.md`: detailed coordination scenarios and anti-patterns.\n- \u003Chttps:\u002F\u002Faweb.ai\u002Fdocs\u002Fagent-guide\u002F>: full aweb agent guide.\n- \u003Chttps:\u002F\u002Faweb.ai\u002Fdocs\u002Fteams\u002F>: team model and cross-team coordination.\n",{"name":5,"description":7,"allowed-tools":43},"Bash(aw *)","main","110a49a541709e1d23b7745d96a037a22266e5de","skills\u002Faweb-coordination",13,"https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb","https:\u002F\u002Faweb.ai","https:\u002F\u002Fgithub.com\u002Fawebai","2026-11-15 03:33:47",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add awebai\u002Faweb --skill aweb-coordination",{"tool":58,"command":59},"bunx","bunx skills add awebai\u002Faweb --skill aweb-coordination",{"tool":61,"command":62},"pnpm","pnpm dlx skills add awebai\u002Faweb --skill aweb-coordination","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fskills\u002Faweb-coordination\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcoordination-patterns.md","REFERENCE","参考文档",942,"https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fskills\u002Faweb-coordination\u002Freferences\u002Fcoordination-patterns.md",[73,90,100,111,118,125],{"skillNo":74,"name":75,"nameZh":76,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":89,"publishedAt":38},"01M6CG7FQ52R3DF9BPTSZW0PR6","review","代码审查","","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[80,85],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":86,"categoryName":76,"taxonomyType":87,"taxonomyTypeDesc":88},"01M8CH8T3M7B4Y4V28A6YRCB0N","SCENARIO","使用场景",[75],{"skillNo":91,"name":92,"nameZh":93,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":99,"publishedAt":38},"01M6CG7DWVMW3CAV6E54JCK20G","implement","代码实现","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[96,97],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},{"categoryNo":98,"categoryName":93,"taxonomyType":87,"taxonomyTypeDesc":88},"01M8BT7QVANT4709358VEJK53E",[92],{"skillNo":101,"name":102,"nameZh":103,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":110,"publishedAt":38},"01M6CG7C1TK4X48E909BEN4SN1","coordinate","任务协作协调","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[106,107],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},{"categoryNo":108,"categoryName":109,"taxonomyType":87,"taxonomyTypeDesc":88},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",[102],{"skillNo":112,"name":75,"nameZh":76,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":117,"publishedAt":38},"01M6CG79Z76QPYG9478ANWN6BQ","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[115,116],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},{"categoryNo":86,"categoryName":76,"taxonomyType":87,"taxonomyTypeDesc":88},[75],{"skillNo":119,"name":92,"nameZh":93,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":124,"publishedAt":38},"01M6CG77V6E9E7STWA5NNCVWPV","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[122,123],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},{"categoryNo":98,"categoryName":93,"taxonomyType":87,"taxonomyTypeDesc":88},[92],{"skillNo":126,"name":102,"nameZh":103,"description":6,"descriptionZh":77,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":131,"publishedAt":38},"01M6CG766593VZADKEQ1Z0W6TT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[129,130],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},{"categoryNo":108,"categoryName":109,"taxonomyType":87,"taxonomyTypeDesc":88},[102]]