本文へスキップ
Skillpedia
自動化8.5k · #12426

afk

できること

このスキルは、Firstmateツールの不在モードにエージェントを入れ、パソコンの前にいない間も作業の監督を続けられるようにします。Firstmateを使い、席を外したい人向けです。

使う場面

  • ✓席を外している間も、エージェントに作業を進めてほしいとき。
  • ✓戻ってきたときに、何が起きたかの短い報告がほしいとき。
  • ✓大きな判断を、戻るまで保留してほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/afk/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“数時間オフラインになります。エージェントを不在モードにして、大きな判断はすべて私が戻るまで保留してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

不在モードは、まずコマンドを入力して開始します。エージェントは、その選択の記録を先に書き、不在モードのルールに従います。あなたが判断すべきものは、戻るまで保留します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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]

  1. 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 writes state/.afk-contract at 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.sh records 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. Read bin/fm-afk-contract.sh --help for the flags rather than memorizing them. Plain /afk with no words is a valid entry with no mandate; the announcement says no instructions were recorded. Re-invoking /afk while 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.
  2. 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, and bin/fm-afk-launch.sh start refuses 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. /quiet needs 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-off opts it out, or a Cursor, OpenCode, omp, Grok, or Codex home with config/supervision-host and 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, and bin/fm-afk-launch.sh start and start-native refuse the away daemon on that home. If enter printed a Supervision host: no engine ... line, every away wake reaches this conversation instead; say so in the announcement. /quiet enters nothing there where the attended host runs, and otherwise still launches the daemon below (the quiet skill's quiet-check decides).
    • 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 run FM_AFK_STATE_PREPARED=1 bin/fm-afk-start.sh through 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, run bin/fm-afk-launch.sh stop to roll back the prepared lifecycle. Do not wrap it in nohup ... & (Codex/herdr can reap fire-and-forget shell children after a tool call returns)
よくある質問

不在モードでエージェントは何でも決められますか?

与えられた権限の範囲内だけで行動し、判断に迷う場合は、あなたが戻るまで保留します。

エージェントはどう何が起きたかを伝えますか?

戻ってきたときに、不在の間に起きたことをまとめた報告を渡します。

スマートフォンで連絡を受けられますか?

このバージョンにはスマートフォンの連絡手段がないため、パソコンから離れている間はエージェントが連絡できません。

詳細

作者による元の説明

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

人気

GitHubのスター
8.5k
ランキング
#12426
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル