workspace-orchestration
O que ela faz
Esta skill gerencia um workspace compartilhado com slots numerados, em que cada tarefa reserva um slot livre antes de o código ser alterado. Ela é para quem executa várias tarefas paralelas em um mesmo projeto.
Quando usar
- ✓Quando você trabalha com arquivos dentro da pasta de slots de um workspace do docko.
- ✓Quando você quer que uma tarefa reserve um slot livre antes de começar a editar.
- ✓Quando você precisa ver quais slots estão ocupados ou liberar um que já terminou de usar.
Link da skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/workspace-orchestration/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Reserve um slot livre para a correção de login e me diga qual eu recebi.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente usa comandos do docko para adquirir ou reservar um slot para uma branch e uma tarefa, mantém a reserva ativa enquanto trabalha e a libera depois.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
docko Workspace Orchestration
Use this skill whenever work touches files in slots/ or when the user asks about workspace coordination.
Quick Path
- Run
/dock-statusordocko status --brief. docko walks up to the workspace root on its own, so this works from inside a slot; pass--root <workspace>only from outside the workspace. - Pass
--session "$DOCKO_SESSION_ID"on every claim, heartbeat, and release. The SessionStart hook exports it for this session. - Prefer
docko slot acquire --session "$DOCKO_SESSION_ID" --branch <branch> --task "<task>" --briefwhen you want docko to pick a slot. Selection is round-robin, starting after the last slot claimed for that application. - In a workspace with several applications, pass
--application <id>so the pick stays inside the right pool. - Add
--prefer <slot-id>when a specific slot is the right one (it already has the branch, say). docko takes it when free and rotates normally when it is not. - If every slot is busy and docko asks whether it should create a fresh managed clone, answer explicitly.
- Use
docko claim --session "$DOCKO_SESSION_ID" --resource slot --id <slot> --branch <branch> --task "<task>"only when you already know the exact slot. - Do the work inside that slot. On long-running work, keep the claim fresh:
docko heartbeat --session "$DOCKO_SESSION_ID" --resource slot --id <slot> - Release the slot when done:
docko release --session "$DOCKO_SESSION_ID" --resource slot --id <slot>
Prefer slash commands when installed:
/dock-status/dock-claim <slot> <branch> <task>/dock-heartbeat <slot>/dock-release <slot>/dock-doctor
Rules
- Work from the root. Edit code in
slots/*. - If
$DOCKO_SESSION_IDis empty (plugin hooks not installed, or a different runtime), stop before the first claim and resolve a real session id — never run claim or heartbeat with an empty--session. Usedocko session list --briefordocko session currentto pick one. - Never invent a session id. The PreToolUse hook checks the runtime's own session, so a made-up id claims a slot that then blocks your own writes. Use
$DOCKO_SESSION_ID, or an id fromdocko session list --brief. branchis claim metadata. docko records it and never runsgit checkout.- Claims are slot-scoped. Two sessions cannot share a slot, and one claim does not reserve a branch, a PR, or a file.
- If a parent session already owns the slot, reuse that authority instead of creating a second claim.
- Subagents started with the Agent tool share the parent's session id, so they inherit the parent's claim and need no docko call. A separately launched
claudeprocess gets its own session id and must be delegated:docko delegate --session <owner> --child-session <child> --resource slot --id <slot>. - If docko reports
AMBIGUOUS_SESSION, run thesuggested_commandfrom the error payload, or retry with an explicit--session <id>fromdocko session list --brief; do not end existing sessions unless the user asked for cleanup. - If a write is blocked, read the deny message: it names the slot, the reason (
slot-not-claimed,claim-expired,unrelated-session) and the exact command that fixes it. - If every slot is busy and the user already approved the fallback, add
--clone-when-busytodocko slot acquire. - If
dockois not runnable, checkDOCKO_BIN. If it still fails, stop and tell the user. - Do not inspect slots one by one or replace the CLI with
docko/registry.jsonduring normal work. Usedocko status --brief --claimedinstead.
Perguntas frequentes
O que é um slot?
Um slot é uma área de trabalho separada dentro do workspace que uma tarefa pode usar por vez, e é controlada pela ferramenta do workspace.
Posso editar arquivos em um slot sem uma reserva?
Não. A skill diz que edições de código dentro dos slots exigem uma reserva ativa.
E se todos os slots estiverem ocupados?
O docko pode perguntar se deve criar um novo clone gerenciado, e o agente é instruído a responder isso de forma explícita.
Detalhes
Descrição original do autor
Use when working in a persistent-slot workspace that uses docko. Covers slot claims, delegated teammate inheritance, and the rule that code edits inside slots/ require an active claim.
Popularidade
- Estrelas no GitHub
- 33 mil
- Posição no ranking
- #8813
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
owasp-security
33 milEnsina seu agente as orientações de segurança da OWASP para apps web, APIs, mobile, contêineres e agentes de IA, identificando fraquezas comuns.
agent-management
33 milPermite que seu agente crie, liste, hiberne, reative, renomeie e apague agentes de IA pela linha de comando do AI Maestro, gerenciando o ciclo de vida de cada um.
agent-messaging
33 milPermite que seu agente envie, receba e responda mensagens assinadas entre agentes de IA pelo Agent Messaging Protocol, na sua própria máquina.
docs-search
33 milPermite que seu agente pesquise a documentação de código gerada automaticamente, conferindo a API real antes de alterar o código.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.