すべてのユースケース

エンジニアリング

Coding agent finished a PR — webhook handoff to Grok Bot

Repo work ends in the coding agent; desktop smoke tests and ops never get a clean handoff.

共有

困っていたこと

Sakan (@sakansokan) wired coding agents (Cursor / ChatGPT / Claude) to a Grok Bot for the next step — desktop smoke test, ops, follow-up — without a public “call my bot” API. Pattern: Grok Bot webhook routine → copy URL/key → PATH helper POSTs JSON → Cursor rule says when to run handoff-to-one. Test with a real webhook payload (Routines → Run now has no payload). Tip with author-quoted Cursor rule.

インストールまたは作成するもの

Webhook is the official doorbell from desktop coding agents to your bot. Keep secrets out of the prompt. One rule per handoff inbox.

ボット

  • Ops handoff bot

    On webhook: read payload, tell you what was handed off, do the next concrete desktop/ops steps — not invent work.

プラグイン

  • 初日から入れるものはありません。初回の手順に従ってください。

ファイル

  • PATH helper (e.g. handoff-to-one) that POSTs JSON to the webhook URL; webhook key / optional Authorization in env.

ルーティン

  • Webhook routine named e.g. “Coding agent handoff” — fires only on POST, not empty Run now.

プロンプト

Cursor rule — when to hand off

Quoted from @sakansokan thread (2026-09-14).

When I ask to hand off to Grok Bot / One, or desktop/ops follow-up is needed outside the repo, run handoff-to-one "summary…" — only when I asked or gave a standing handoff instruction.

初回実行

  1. 1Read https://x.com/sakansokan/status/2099590909713068273 (full 9-beat thread).
  2. 2Create/pick a Grok Bot and add a webhook routine (e.g. “Coding agent handoff”) that reads the payload, reports what landed, and does concrete next steps only.
  3. 3Copy Webhook URL, Webhook key, and optional Authorization header exactly; export them on the machine where Cursor/codex/claude runs.
  4. 4Drop a PATH helper that POSTs JSON to that URL — keep secrets out of the prompt.
  5. 5Add the author-quoted Cursor rule; test with a real POST payload (not Routines → Run now).

承認フェンス

Handoff summary only triggers work you already asked for. No inventing extra ops. Secrets stay in env, never in the prompt.

調整ポイント

Steal webhook handoff + Cursor rule. Coding agent does repo; Grok Bot does desktop/ops.

出典

Sakan @sakansokan · 元の投稿

xAI とは提携していません。このプロンプトは当サイトが書いたものではありません。第三者テンプレートの規約も適用されます。

テンプレートを見る

チーム設計図を見る

Pro パック

PR & deploy watcher: reviews, deploy checks, error triage

Wakes on GitHub, deploy and error events. It reviews each PR, checks the live site after deploys and triages error spikes, and hands small fixes to a cloud coding agent. Nothing merges or deploys without you.

セットアップパックの全文を見る