captain-hold-lifecycle
O que ela faz
Esta skill garante que cada pergunta que precisa da sua decisão seja registrada como uma tarefa em espera antes de o trabalho ser dado como concluído. Ela serve para quem usa o Firstmate e não quer que nenhuma decisão escape.
Quando usar
- ✓Quando uma investigação ou revisão está prestes a ser marcada como concluída e levantou uma pergunta para você.
- ✓Quando você responde a uma pergunta em espera e o agente precisa registrar sua resposta.
- ✓Quando a verificação de despertar informa uma divergência entre um registro e o backlog.
Link da skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/captain-hold-lifecycle/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
“Antes de marcar esta investigação como concluída, confirme que cada pergunta que precisa da minha decisão está salva como tarefa em espera.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente registra cada pergunta em aberto como uma tarefa em espera para você, com suas opções. O trabalho não pode ser marcado como concluído enquanto essas perguntas não estiverem carregadas por tarefas em espera.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Captain-hold lifecycle
A decision is not a separate thing: it is simply a task waiting on the captain.
The one primitive is an ordinary backlog task held for the captain through bin/fm-captain-hold.sh hold; its identity is the task id, and that wrapper owns the deterministic mechanics this policy relies on.
The agent performs the semantic inventory because scripts must not infer captain calls from report prose, visual-review artifacts, terminal output, or chat.
Policy
Every unresolved question that belongs to the captain and is discovered while producing, reading, presenting, or ending an investigation or visual review must be carried by a captain-held task in the authoritative backlog of the home that owns the originating work before that work or review may be treated as complete.
For a Lavish board-backed handoff, pass the reply through bin/fm-procevent-lavish.sh arm --agent-reply-file before appending the status; the adapter owns version-specific acceptance ordering.
Prefer holding the work item the question gates over minting a new row; create a new task only when no work item exists to hold.
The originating investigation or review is never its own inventory entry, so hold a separate task for the call and pass --origin <origin-id> so complete can check it.
Put the question and its options in the hold reason, and keep one held task per genuine gate: a multi-question review is one held task pointing at its report, not a row per question. Represent that task with exactly one board card that consolidates its questions and options; never fan one task id into duplicate same-key cards.
Register or re-hold through bin/fm-captain-hold.sh hold, which is idempotent per task id.
After inventorying the whole report and review surface, firstmate runs bin/fm-captain-hold.sh complete with every captain-held task id, or with --none when nothing waits on the captain.
A scout may attest its own empty inventory only through the narrow command exception in its generated brief's Definition of done.
For a non-empty inventory or a refused command, the scout reports to firstmate rather than writing metadata or backlog records.
A completed investigation and an ended visual review use this same owner and completion command; a visual tool, including Lavish, never owns a parallel completion policy.
Run the command in the originating work's authoritative FM_HOME; secondmate-owned work registers in that secondmate home's backlog, and a question already held anywhere is never re-registered as a second row.
Do not close a captain-held task merely because the originating investigation completed, its report was archived, its visual review ended, or its task was torn down.
Holding the work item the question gates is safe for exactly that reason: cleanup keeps such a row open with the finished work's deliverable recorded and returns it to the queue, so it still reads as the captain's own call.
Only answer with the captain's words or an evidence-backed reconcile close may resolve it.
Never close anything the captain owns without recording what he actually said: bin/fm-captain-hold.sh answer writes his exact words into the task and closes a question-shaped call, while --release frees a captain-gated work item to proceed.
A merge approval uses that existing release path because approval permits the merge to proceed; cleanup closes the work only after it lands and records what shipped.
Closing a held row at merge approval instead records completion before landing, so the backlog claims completion before the work actually ships.
When the answer changes what a task must build, follow AGENTS.md section 7's mid-task ask rule to preserve the captain's words in the brief and steer the worker.
When the captain says "later", that is an answer too: re-hold with bin/fm-captain-hold.sh hold <id> --reason "<reason>" --until <date> so the item leaves the live Captain's Call and resurfaces on its date, instead of leaving a live-looking card or fabricating a closure.
"A keyed answer resolves its matching captain-held task" is one capability with one owner, bin/fm-captain-hold.sh answers, and every channel that carries a captain answer feeds it the same task id and answer; a channel never maps keys to tasks, records a decision, or resolves anything itself.
Chat already feeds it through bin/fm-send.sh --resolve-key, and a captured-answer source feeds it once bound with bin/fm-captain-hold.sh bind <source-id>; bind before arming
Perguntas frequentes
Onde a pergunta é salva?
Ela é salva como tarefa em espera no backlog do projeto que é dono do trabalho.
Uma pergunta gera uma tarefa?
Sim. Cada decisão real recebe a sua própria tarefa em espera, ligada à revisão de onde veio.
E se não existir tarefa para a pergunta?
O agente cria uma nova tarefa apenas quando não há um item de trabalho existente ao qual a pergunta possa ser anexada.
Detalhes
Descrição original do autor
Load before treating an investigation, scout report, structured review, or Lavish review as complete, before ending a visual review that exposed a captain decision, when recording or routing the captain's answer, and on any RECORD DIVERGENCE line the wake drain prints.
repo: kunchenguid/firstmate
Popularidade
- Estrelas no GitHub
- 8,5 mil
- Posição no ranking
- #12432
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
afk
8,5 milPermite que seu agente continue trabalhando enquanto você está fora, guardando decisões para o seu retorno e enviando um resumo claro quando você voltar.
ahoy
8,5 milPermite que seu agente faça um resumo curto do que aconteceu na sessão e acompanhe com você as decisões que ainda estão esperando por você.
ask-user-authority
8,5 milAjuda seu agente a decidir sozinho perguntas de revisão quando elas se encaixam claramente no plano combinado, e a perguntar a você apenas quando a questão for incerta ou arriscada.
away-quiet-supervision
8,5 milDefine regras de segurança para supervisionar o trabalho em modo ausente ou silencioso, para que o agente mantenha as mensagens claras e guarde as decisões que dependem de você.
Skills parecidas
knowledge-capture
394 milEnsina seu agente a salvar decisões, preferências e fatos importantes no seu Knowledge vault como notas curtas, com a indicação da fonte.
knowledge-claim-consolidation
394 milAjuda seu agente a organizar um Knowledge vault unindo afirmações duplicadas, movendo-as para as páginas de assunto certas e aposentando as desatualizadas.
knowledge-correct
394 milPermite que seu agente corrija ou retire uma afirmação ou página específica do Knowledge vault quando você pedir, mantendo um registro do que mudou.