본문으로 건너뛰기
Skillpedia
에이전트8.5k · #12434

firstmate-codexapp

하는 일

이 스킬은 Firstmate 작업에 Codex Desktop 스레드를 사용하는 방법을 설명합니다. Codex Desktop 안에서 Firstmate를 실행하며 작업이 보이는 스레드에 나타나길 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓Firstmate 작업을 Codex Desktop의 보이는 스레드로 나타내고 싶을 때.
  • ✓Firstmate 작업을 위해 기존 Codex 스레드에 메시지를 보내야 할 때.
  • ✓Firstmate에 쓰던 끝난 Codex 스레드를 보관하고 싶을 때.

스킬 링크

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/firstmate-codexapp/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/firstmate-codexapp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 프로젝트에서 이 Firstmate 작업을 위한 보이는 Codex Desktop 스레드를 시작해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 Codex Desktop 안에서 실행 중인지, 그리고 프로젝트가 거기에 있는지 확인합니다. 그다음 Desktop 스레드 도구로 스레드를 만들거나 읽거나 메시지를 보내며, 프로젝트가 없으면 멈춥니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

  1. 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, and set_thread_archived.
  2. 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.
  3. 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.
  4. 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>.status path.

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_thread shows the worker attempted the status write.
  • The local state/<task-id>.status file 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

자주 묻는 질문

Codex Desktop 밖에서도 작동하나요?

아닙니다. 필요한 도구가 있는 Codex Desktop 안에서 세션이 실행될 때만 작동합니다.

에이전트가 새 프로젝트를 만들 수 있나요?

아닙니다. 프로젝트는 먼저 Codex Desktop에 추가되어 있어야 하며, 없으면 에이전트는 멈추고 묻습니다.

이것은 백엔드 설정인가요?

아닙니다. 설정에서 고르는 백엔드가 아니라 Desktop 호스트 도구를 위한 단계들입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
8.5k
순위
#12434
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬