rote

Compile agent skills into deterministic pipelines served as MCP tools.

30.5k|3.5k|Updated Jul 4, 2025
One-click install
npx skills add https://github.com/davila7/claude-code-templates --skill rote
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rote
Source: https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/workflow-automation/rote
Command: npx skills add https://github.com/davila7/claude-code-templates --skill rote

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rote-cli, uv.

What problem does it solve?

Running a proven agent skill repeatedly through an LLM loop is slow, expensive, and non-deterministic. This Skill compiles a SKILL.md-based skill into a deterministic pipeline that runs without an LLM in the loop, then serves it back to Claude as an MCP tool.

Core Features & Use Cases

  • Skill Compilation: Runs the rote CLI's LLM compiler agent over a source skill once, emitting a pipeline with typed node kinds (pure_function, external_call, llm_judge, agent_loop, hitl_gate).
  • Multi-Runtime Targets: Generates deployable code for DBOS, Temporal, plain Python, Cloudflare Workflows, DBOS TypeScript, or Inngest.
  • MCP Serving: Registers compiled pipelines and exposes them via rote serve as MCP tools with start, status, and HITL-signal operations.
  • Use Case: You have a skill you run dozens of times daily. Compile it once with rote, deploy the DBOS runtime, register it, and call it from Claude as a background job that runs for minutes to days without an agent loop.

Quick Start

Compile my skill at ./skills/my-skill into a deterministic DBOS pipeline and register it so I can call it from Claude.

Frequently Asked Questions about rote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile a Claude skill into a deterministic pipeline?

Run `uvx --from 'rote-cli>=0.12.1' rote compile <skill-dir> --runtime <runtime> --out <out-dir>` on a directory containing a SKILL.md. The CLI's compiler agent emits a pipeline.yaml and deployable runtime code in the output directory.

Which runtime should I choose for a compiled skill pipeline?

Use DBOS (the default) if you have no existing orchestrator, since it needs zero standing infrastructure with SQLite for dev or Postgres for production. Choose Temporal if you already operate a cluster, Cloudflare Workflows for serverless TypeScript, or Inngest for existing Node/Next.js apps.

How do I call a compiled pipeline from Claude as an MCP tool?

Deploy the runtime output, run `rote register <out-dir>`, then add the server with `claude mcp add --scope user rote -- uvx --from 'rote-cli[serve,dbos]>=0.12.1' rote serve`. Each pipeline appears as tools for starting runs, polling status, and signaling HITL gates.

Why is my DBOS pipeline run stuck in enqueued status?

An enqueued DBOS run means the emitted app process is not running against the registered system database. Start the generated DBOS app in worker mode pointing at the same database used during registration.

When should I not compile a skill with rote?

Do not compile exploratory or one-off skills, since there is no proven behavior to codify and flexibility is the point of an agent loop. Compilation also takes roughly 13 minutes and 30-40 agent turns, so it only pays off for skills run many times.