Skip to content

Agent Recipes

This section is aimed at developers who are configuring an AI coding assistant (Claude Code, Cursor, Copilot, or similar) to automate Reoclo integration tasks. Each recipe is a structured, self-contained document that an agent can follow verbatim.

A plain-text listing of all recipes with one-line summaries is available at /agents/llms.txt. This file follows a robots.txt-style convention and is suitable for consumption by agent tooling that pre-fetches context before running a recipe.

RecipeUse when
Inject Secrets Manager values into a CI workflowA workflow step needs secrets stored in Reoclo. You need to swap per-secret CI variables for one automation key and reoclo run.
Enhance an existing GitHub workflow with Reoclo route syncThe repo already has a workflow that runs docker compose up or docker run. You need to add the reoclo/deploy-sync@v2 step.
Set up External Deployment from scratchThe repo has no Reoclo integration at all. You need to walk the user through generating an API key and writing a new workflow.
Prepare a deploy folder on the serverYou are wiring reoclo/run@v2 to run docker compose up and need to pick a folder, set the right group ownership, and avoid the chown-after-every-deploy trap.
Diagnose a deployment failureA sync step has errored or returned unexpected statuses. You need to map the error to a root cause and fix.
Interpret a drift warningA sync result contains status: drift_recovered. You need to explain what it means.

Agents should:

  1. Fetch the recipe page for the relevant task before taking any action.
  2. Follow the Detection section to confirm the recipe applies to the current codebase.
  3. Apply the The change section as a literal diff or set of edits.
  4. Run the commands in the Verification section to confirm the result.
  5. Stop after verification. Do not apply changes from other recipes unless the user explicitly requests it.