Capability

Claude Code Routines

Hand a Synap session's work to a Claude Code routine you set up on claude.ai/code. It runs in the cloud on your Claude plan, works in your connected GitHub repos, and reports back in the session room. Good for dev tasks and research.

What your agent can do with it

  • claude_code_routinesThe dispatch binding to a Claude Code routine on claude.ai/code. Synap never runs the agent: its verbs only fire the routine over https://api.anthropic.com. The vaulted routine to…
  • {{key}}_dispatchStarts a run of the Claude Code routine for a Synap task (the binding's start verb): fires the routine with the fenced task, the session and room ids and the report-back rules as …
  • {{key}}_sendPasses a person's answer or decision on (the binding's send verb). A routine session cannot be messaged, so this starts a NEW run of the routine that continues from the Synap room…

What you will need

Asked for at install. Stored in your pod, never on our servers.

  • Routine fire URLThe URL shown when you add an API trigger to the routine: https://api.anthropic.com/v1/claude_code/routines/trig_.../fire. Not a secret.
  • Routine API tokenThe sk-ant-oat01-... token generated for that trigger (shown once). It can only start this routine. Stored server-encrypted in the vault; never persisted in th…
  • {{name}} routine tokenSecretPer-routine bearer token for the claude_code_routines binding tool (sent as Authorization: Bearer). Starts one routine; reads nothing.