afk
Fungsinya
Skill ini memasukkan agent ke mode away untuk alat Firstmate, sehingga agent bisa terus mengawasi pekerjaan saat Anda tidak di depan komputer. Skill ini untuk orang yang menjalankan Firstmate dan ingin meninggalkan meja kerja.
Kapan dipakai
- ✓Saat Anda meninggalkan meja dan ingin agent terus menjalankan pekerjaan tanpa Anda.
- ✓Saat Anda kembali setelah jeda dan ingin ringkasan singkat tentang apa yang terjadi.
- ✓Saat Anda ingin agent menahan keputusan besar sampai Anda kembali.
Link skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/afk/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Saya akan offline selama beberapa jam. Masukkan agent ke mode away dan tahan keputusan besar untuk saya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Anda memulai mode away dengan mengetik perintahnya, dan agent lebih dulu menulis catatan atas pilihan itu. Setelah itu agent mengikuti aturan mode away, menahan keputusan yang menjadi hak Anda sampai Anda kembali.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
afk
Away mode is a POSTURE of the one supervision session, not a second architecture.
Being away changes exactly two things: how the captain is informed, and what happens at a captain-owned decision point (hold for return, or the answer the captain's away words already gave).
It never changes the authority set.
The posture is a file, state/.afk-contract, written only by bin/fm-afk-contract.sh in the same turn as /afk; nothing infers the posture from chat.
A record carrying quiet mode (bin/fm-afk-contract.sh mode) is not this posture: the captain is present, so none of this skill's holds for a return apply to it (the quiet skill owns it).
Typing /afk is itself the go: the captain may not look at the screen again, so entry never waits for a further human response, and no read-back gates it or asks for a go.
Hold-for-return is the default and the only reach profile this release records: there is no phone channel, and the entry announcement says so aloud every time.
Entering: /afk [words]
- Write the record first, in this same turn.
Before any other work, run
bin/fm-afk-launch.sh enter --words-file <path> [--expected-return <UTC ISO 8601>] [--spend <n>](or--words <text>). It writesstate/.afk-contractat once, with no separate confirmation step, then prints the entry announcement and the record's read-back. The words are the whole mandate:bin/fm-afk-contract.shrecords them exactly as given, with no clause fields, verbs, ids, or merge-grant list, and by the captain's mandate no parser, tokenizer, classifier, or grammar reads them anywhere. Readbin/fm-afk-contract.sh --helpfor the flags rather than memorizing them. Plain/afkwith no words is a valid entry with no mandate; the announcement says no instructions were recorded. Re-invoking/afkwhile already away with no new words is a refresh and leaves the standing record untouched; new words replace the mandate at once, preserve the original session entry, and archive the superseded words for the return brief. - Per harness, after the record exists:
- Pi and pi-signed: nothing to launch; go on to the announcement.
The away daemon is no longer launched on Pi; the ordinary supervision session (
docs/pi-supervision-branch.md) keeps running with the record present, andbin/fm-afk-launch.sh startrefuses on these harnesses. With the record present main is parked: the supervision branch takes every safe actionable wake, captain outcomes accumulate for the return brief, and main's standing authority relocates to the branch through the guarded scripts (docs/pi-supervision-branch.md"Postures"); only a wake the branch declines (including a broken branch or unsafe scan) or a watcher failure wakes main./quietneeds nothing extra on Pi: the attended branch already keeps routine wakes out of this conversation, so quiet-while-present is the attended posture's own shape there. - A home that runs the supervision host (a Claude home unless
config/supervision-host-offopts it out, or a Cursor, OpenCode, omp, Grok, or Codex home withconfig/supervision-hostand no opt-out;docs/configuration.md"Supervision host"): nothing to launch for/afk; go on to the announcement. The supervision host (docs/supervision-host.md) is the away session there: it runs the branch's contract on a headless engine under the record while main is parked, andbin/fm-afk-launch.sh startandstart-nativerefuse the away daemon on that home. Ifenterprinted aSupervision host: no engine ...line, every away wake reaches this conversation instead; say so in the announcement./quietenters nothing there where the attended host runs, and otherwise still launches the daemon below (the quiet skill'squiet-checkdecides). - Harness WITH a native in-pane tracked-background tool (claude's and grok's, on a home that does not run the supervision host): run
bin/fm-afk-launch.sh start-native, then runFM_AFK_STATE_PREPARED=1 bin/fm-afk-start.shthrough that native tool. This is a deliberate no-separate-terminal exception because the harness-hosted job creates no terminal or layout mutation, and a shell launcher cannot invoke a harness-native background tool. If the native launch fails, runbin/fm-afk-launch.sh stopto roll back the prepared lifecycle. Do not wrap it innohup ... &(Codex/herdr can reap fire-and-forget shell children after a tool call returns)
- Pi and pi-signed: nothing to launch; go on to the announcement.
The away daemon is no longer launched on Pi; the ordinary supervision session (
Pertanyaan umum
Apakah mode away membuat agent bebas mengambil keputusan?
Agent hanya bertindak dalam wewenang yang Anda berikan, dan menahan keputusan sampai Anda kembali jika ragu.
Bagaimana agent memberi tahu saya apa yang terjadi?
Saat Anda kembali, agent memberi Anda ringkasan kembali yang merangkum apa yang terjadi selama Anda pergi.
Bisakah saya dihubungi lewat ponsel?
Tidak di versi ini. Tidak ada saluran ponsel, jadi agent tidak bisa menghubungi Anda saat jauh dari komputer.
Detail
Deskripsi asli dari pembuat
Enter the away posture when the captain invokes /afk, says they are going afk, `state/.afk-contract` or `state/.afk` exists, an incoming message starts with `FM_INJECT_MARK`, or any `state/.subsuper-*` marker is involved. Load it at once in the /afk turn, before any other work, and on the first unmarked message while away to render the return brief.
repo: kunchenguid/firstmate
Popularitas
- Bintang GitHub
- 8.5k
- Peringkat
- #12426
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
ahoy
8.5kMemungkinkan agent Anda memberi rekap singkat tentang apa yang terjadi di sesi dan memandu Anda melewati keputusan yang masih menunggu Anda.
ask-user-authority
8.5kMembantu agent Anda memutuskan sendiri pertanyaan tinjauan yang jelas sesuai rencana yang disepakati, dan bertanya kepada Anda hanya bila tidak jelas atau berisiko.
away-quiet-supervision
8.5kMenetapkan aturan keselamatan untuk mengawasi pekerjaan dalam mode away atau quiet, agar pesan tetap jelas dan keputusan yang butuh Anda ditahan.
bearings
8.5kMemungkinkan agent Anda menulis gambaran jelas semua pekerjaan Anda saat ini, agar Anda bisa melanjutkan dari titik terakhir setelah jeda atau semalam pergi.
Skill serupa
knowledge-automation
394kMembantu agent Anda mengatur tugas terjadwal yang memasukkan konten baru ke Knowledge vault Anda secara rutin, lalu memastikan tugas itu berjalan.
knowledge-source-ingest
394kMembantu agent Anda menjaga Knowledge vault tetap mutakhir dengan item baru dari chat, feed, atau kotak surat, tanpa menambahkan ulang yang sudah ada.
benchmark
280kMembantu agent Anda mengukur kecepatan dan performa kode. Berguna untuk memastikan semuanya cepat dan menemukan penyebab kelambatan.