tsurutanmen

AI Handoff — AI skill for Claude Code

AI community

Hand a job to someone else's machine, and let a command decide whether it came back done.

How to install AI Handoff

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tsurutanmen/ai-handoff and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Handoff does

Hand a job to someone else's machine, and let a command decide whether it came back done. Coding agents on several people's PCs, under their own subscriptions; a model routes each instruction, and a verification command that failed beforehand must pass afterwards.

Alternatives in AI

README

ai-handoff

Hand a job to someone else's machine, and let a command decide whether it came back done. Several people leave their AI coding agents running on their own PCs, under their own subscriptions; one instruction is read by a model that picks who should do it, rewrites it into a brief with a filename and an acceptance test, and refuses the result unless a verification command that failed beforehand passes afterwards. No keys, no accounts, and no repositories are shared.

以下は日本語です。


これは何か

指示を1つ投げると、**別のPCで動いている複数のAIが手分けして実際にファイルを作り、 できたかどうかを機械が確かめて返してくる**仕組み。

  • 社長役が指示を読んで、誰に渡すか決め、指示文を具体化し、検算のコマンドを書く
  • 社員は、その人のPCの中で、その人のログインのまま claude -p か codex exec として働く
  • できたものはリーダーのPCの出口に集まる
  • 検算は渡す前に必ず落ちることを確かめてから使う。作業前から通る検算は受け付けない

鍵もアカウントもリポジトリも共有しない。友達のAIは友達のPCの中だけで動き、 触れるのは友達が決めた作業フォルダの中だけ。

何が違うのか

台本を書いて並列に走らせる仕組み(ワークフロー)との違いは3つ。

ワークフロー これ
分け方 先に台本を書く 社長役がその場で決める
枠 1人のアカウント 人ごとに別のPC・別のアカウント
寿命 1回走って終わり 立てっぱなし。思いついたときに投げる

形の決まった大量処理は台本の方が速くて安い。これが勝つのは、 **その場で思いついた仕事を投げたいとき**と、**人の手を借りたいとき**。

中身

場所 役
worker/ 受け口。1台のPCのAIを、外から使える道具にする。依存なしの Python 一枚
office/ 会社。指示キュー・社長役の割り振り・検算・出口・見下ろしの画面
editor/ 編成表。指揮系統を紙から起こした作業ファイル

動かす

友達を入れるところまでは [`FRIENDS.md`](FRIENDS.md)。自分のPC1台だけなら次の順。

cd worker
python worker.py --init          名前と作業フォルダを決める
python worker.py                 受け口を立てる

cd ../office
python add_worker.py "<--init が最後に出す1行>" --owner 自分 --seats
python server.py                 http://127.0.0.1:7788/ が開く

Python 3.9 以上。依存パッケージは無し。Windows で作ったが、 `.CMD` を `cmd.exe` 経由で呼ぶところ以外は OS を選ばない。

作るときに踏んだ罠

  • **指示文を argv に載せると、cmd.exe が改行のところで切る。**前半だけが子に届き、 エラーも出ず、終了コードは 0 のまま。文は標準