AgentRecipes
Recipes › Engineering & security

How to ship vendor recipe prompts so coding agents integrate your API the way you would

Engineering & securityClaude Code✓ Confirmed by source

Confirmed by source: Official Mux engineering post publishing a production prompt/recipe library, with graded agent evals, measured time/credit improvements, real-account verification runs, and CI plans to keep recipes aligned with the API. (checked 2026-10-19)

The problem

Developers ask coding agents to add a vendor feature from public docs alone; the agent often picks the wrong product surface, burns tokens on irrelevant pages, or ships an integration that works today and costs them later because it never saw the path the vendor would choose.

Tools needed

Step-by-step recipe

  1. For each common use case, write a recipe the agent can read: which APIs to call, in what order, with the defaults you would pick on a sales call, plus gotchas you usually explain in support tickets.
  2. Open every recipe with a checklist the agent must copy into its plan, mark off as it goes, and return in the final report with a reason for anything it skipped (agents otherwise silently decide unanswered questions).
  3. Have the agent ask clarifying product questions before writing code (billing source, preview needs, compliance concerns) and skip questions it can already answer by reading the user's repo.
  4. Publish recipes as a one-line prompt that fetches current instructions and as an installable skill for repeat use; keep llms.txt and MCP/CLI as tools the recipe can call, not as a substitute for the recipe.
  5. Eval recipes in a sandbox with a rubric of known traps, then re-run winning recipes against a real account so a grader is not judging code that never executed.
  6. Wire CI so example requests in prompts stay aligned with the API spec, and run a periodic review that flags stale or deprecated guidance in the recipes themselves.

Copyable prompt

Prompt template
You are integrating [VENDOR] into this repo for use case: [USE CASE].
1. Fetch and follow the current recipe at [RECIPE URL] (or use the installed [SKILL NAME] skill). Do not improvise an alternate architecture from general docs unless the recipe says to.
2. Copy the recipe checklist into your plan. Ask me any unanswered product questions before writing code. Skip questions you can answer from the codebase.
3. Prefer the recipe's default path (e.g. [CHEAP SAFE DEFAULT]) over heavier options (e.g. [EXPENSIVE SPECIAL CASE]) unless my answers require the heavier path.
4. Use [MCP OR CLI] when available; otherwise follow the recipe's HTTP examples.
5. In your final report, return the checklist with each item done/skipped and why. Note any place you departed from the recipe.

Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

Mux published a prompt library and measured it on a podcast-clipping task. With public docs only, Claude Code and Codex scored 5/5 in a median 22.7 minutes and 269 credits; with the recipe they scored 6/6 in 18.9 minutes and 165 credits (about 39% cheaper). Linking the recipe instead of the homepage made Mux the whole-workflow pick in 15/15 advice runs. They also verified recipes against a real Mux account (Next.js paywall enforcing tokens; NASA interview turned into captioned downloadable clips).

These are the source author's own claims. AgentRecipes has not run this recipe itself.

Watch out for

Source

Original write-up: Mux (2026-10-13) ↗

Found via Mux Blog: “Let your agent cook by giving it the recipe”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-10-19.

More engineering & security recipes

Review agent-written pull requests with layered AI review and risk-based human approvalOnce coding agents open pull requests, there are far more changes than people can read line by line, but skipping review lets bugs and…Claude Code✓ Confirmed by sourceRewrite a critical production service with Claude Code behind a black-box test harnessA high-throughput background service is becoming a bottleneck and paging on-call, but rewriting it by hand is slow and risky, and…Claude Code✓ Confirmed by sourceLet scheduled Claude Code routines maintain an old SaaS with one PR per change and reviewed, batched deploysA founder no longer has time for a 17-year-old Rails side project, so small bugs, missing tests, stale support docs and SEO fixes pile…Claude Code✓ Confirmed by source

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.