agentleFS
B16B1RDB16B1RD/bb-writ/skills/playbook-pause-safely/SKILL.md

playbook-pause-safely

Skill0 starsChanged 6 days agoMITView on GitHub

「いったん止めて」「ここで中断」「後で続ける」と頼まれたとき、またはセッションや利用枠が尽きそうなときに使う手引き。別のセッション(別の CLI でもよい)が続きから再開できる区切りで止める。「続けて」「寝るけど進めて」は止める依頼ではないので使わない。

The file

Files
SKILL.md

手引き: pause-safely(安全に止める)

再開する者は、この会話を読まない。記録と実物だけから続けられる状態で止める。

  1. 区切りで止める。 今の最小の単位を終えるか、元に戻す。新しいことを始めない。動かしている子(launcher で起動した CLI、Agent)を止めるか、終わるのを待つ。launcher の子は launcher に TERM を送って止め(kill <launcher の pid>)、記録が書かれるのを待つ。launcher と子を木ごと KILL しない(子が片付けられず、対象に空の場所が残り、記録も残らない。delegate)。
  2. 止めるために不可逆な操作をしない。 まだ出していない PR や push を、止めるために出さない。
  3. 作業を残す。 未 commit の変更は、今のブランチに wip: の commit 1 つにする。壊れた状態なら、本文に 1 行でそう書く。
  4. 外部操作を閉じる。 work.py op pending に残る操作は、外部の状態を見て結果が分かれば op done で閉じる(running が true の操作は監督役が記録するので、閉じない)。分からなければ、何を見れば分かるかを記録に書く。
  5. 記録を書く。 claim の出力の note.path(work.py status でも分かる)に、次をこの順で: 目的、制約、できたと分かる確かめ方(述語)、決めたことと根拠、済んだことと確かめた証拠、今の状態(ブランチ・commit・作業場所・PR)、次の一手、結果が分からない外部操作、ホストと session ID。書けない環境なら、同じ内容を返答の末尾に書く。
  6. 担当を手放す。 work.py release --dir <作業場所> --token <token>。op pending に running が true の操作が残るうちは、手放さずに終わるのを待つ(手放すと、監督役が結果を記録できない)。

work.py はプラグインの置き場の scripts/work.py(Claude Code では ${CLAUDE_PLUGIN_ROOT}/scripts/work.py、Codex・Grok Build ではこのスキルの SKILL.md から 2 つ上の scripts/work.py)。

返答: どこで止めたか、残したもの(commit・記録のパス)、作業ツリーがきれいか、再開したときの最初の一手。これは止めるための報告で、完了の報告ではない。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.