Todos los casos de uso

Ingeniería

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.

Compartir

Qué dolía

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.

Qué instalar o crear

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

Bots

  • Ops handoff bot

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

Plugins

  • Ninguno el primer día. Sigue los pasos del primer uso.

Archivos

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

Rutinas

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

El prompt

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.

Primer uso

  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).

Valla de aprobación

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

Qué ajustar

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

Fuente

Sakan @sakansokan · Publicación original

Sin afiliación con xAI. No escribimos este prompt. Siguen aplicando las condiciones de las plantillas de terceros.

Explorar plantillas

Explorar planos de equipo

Paquete 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.

Ver el paquete de configuración