firstmate-codexapp
O que ela faz
Esta skill explica como usar threads do Codex Desktop para tarefas do Firstmate. Ela serve para quem roda o Firstmate dentro do Codex Desktop e quer que o trabalho apareça em uma thread visível.
Quando usar
- ✓Quando você quer que uma tarefa do Firstmate apareça como uma thread visível no Codex Desktop.
- ✓Quando você precisa enviar uma mensagem a uma thread existente do Codex para o trabalho do Firstmate.
- ✓Quando você quer arquivar uma thread concluída do Codex usada no Firstmate.
Link da skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/firstmate-codexapp/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
“Inicie uma thread visível do Codex Desktop para esta tarefa do Firstmate no meu projeto.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica se está rodando dentro do Codex Desktop e se o projeto existe ali. Depois usa as ferramentas de thread do Desktop para criar, ler ou enviar mensagens, e para se se o projeto estiver ausente.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
firstmate-codexapp
Overview
Use this playbook when Firstmate work needs a visible Codex Desktop thread.
The current supported shape is Desktop host-tool choreography plus an explicit status-file return-channel check, not a codex-app value in FM_BACKEND.
Boundary
Codex Desktop visible threads are companion host-tool workflows, not a selectable Firstmate backend.
Read docs/codex-app-backend.md when it exists in this checkout; that document owns the acceptance contract, bridge requirement, status-return requirement, and staged rollout.
If local helper scripts exist for Codex App work, use only helpers explicitly provided by the operator or maintained by Firstmate.
For helpers outside bin/, inspect the source or header before running --help.
Preflight
- Confirm this session is running inside Codex Desktop and that the host tools are exposed.
Search exact names when needed:
create_thread,list_threads,read_thread,send_message_to_thread,archive, andset_thread_archived. - Confirm the target repository is already saved as a Codex Desktop project. No host tool currently creates Codex App projects for an agent, so the human must add the project in Desktop before a created thread can reliably land there.
- Do not create projectless threads for repo work. If the project is absent, stop and ask for the project to be added or use a normal Firstmate backend instead.
- Decide whether this is a real Firstmate-managed task or a visible companion thread.
A real task needs a task id, an isolated worktree or Desktop-owned cwd, a branch plan, and a writable
state/<id>.statuspath.
Create And Send
When creating a visible thread, use the Desktop host tool, not shell imitation. Target the saved project and ask the worker to start by reporting:
pwd
git rev-parse --show-toplevel
git branch --show-current
git log --oneline --max-count=3
For writable repo work, instruct the worker to use the Codex-created current directory.
Do not tell it to cd into the saved project checkout for edits, commits, no-mistakes, pushes, or PR work.
When sending follow-up instructions, use send_message_to_thread.
If the user types directly into the visible thread, treat that as authoritative and reconcile from read_thread instead of undoing it.
Status Return Channel
A Desktop-owned Codex thread can append to Firstmate status files only when the prompt gives an absolute path and the Desktop permission context can write that checkout. That makes status writes a verified return-channel requirement, not a fact to assume.
For a Firstmate-managed task, include an explicit status instruction:
Append supervisor-visible status lines to <absolute-firstmate-home>/state/<task-id>.status.
Use only these prefixes for status changes: working:, needs-decision:, blocked:, paused:, done:, failed:.
Follow the task brief's status-reporting rule for declaring and resolving waits; bin/fm-brief.sh owns that rule.
Before doing substantive work, append "working: Codex Desktop thread started".
Verify the return channel before treating the thread as supervised:
read_threadshows the worker attempted the status write.- The local
state/<task-id>.statusfile contains the expected line. - If available, the transcript includes a file-change entry for that status file.
If the thread cannot write the status file, keep it as a visible companion thread only. Do not claim it is a complete Firstmate backend.
Observe And Reconcile
Use read_thread for thread truth.
Use list_threads only to find or recover a visible thread id, not as a replacement for reading the transcript.
For Firstmate reconciliation, prefer concrete evidence:
- thread id and project
- current Desktop-owned cwd
- branch name
- last meaningful thread state
- latest status file line
- PR URL when one exists
Avoid repeating long transcripts into Firstmate docs or PR bodies.
Summarize only the host-tool calls, the status-file result, and the archive result.
When reporting a Desktop-thread result to the captain, translate status prefixes and return-channel evidence through AGENTS.md section 9.
Archive
Archive through the Desktop host tool: archive when that is the exposed primitive, or set_thread_archived(threadId=<id>, archived=true) when that is the exposed tool name.
Archiving can remove the thread from normal sidebar/project views, but it should not erase the transcript or landed work.
For companion
Perguntas frequentes
Funciona fora do Codex Desktop?
Não. Só funciona quando a sessão roda dentro do Codex Desktop com as ferramentas necessárias.
O agente pode criar um novo projeto?
Não. O projeto precisa ser adicionado primeiro no Codex Desktop, ou o agente para e pergunta.
Isto é uma configuração de backend?
Não. São passos para as ferramentas do host Desktop, e não um backend que você escolhe nas configurações.
Detalhes
Descrição original do autor
Load before creating, reading, steering, archiving, debugging, or reviewing a Codex App visible thread for Firstmate work, and before responding to requests to make Codex App native to Firstmate.
repo: kunchenguid/firstmate
Popularidade
- Estrelas no GitHub
- 8,5 mil
- Posição no ranking
- #12434
- 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
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.