AgentRecipes
Recipes › Engineering & security

How to have an agent pick up production alerts in Slack, find the owning team, post a root-cause write-up and open the fix as a pull request for human review (Claude Tag)

Engineering & securityClaude Tag✓ Confirmed by source

Confirmed by source: Production use at Carvana documented in Anthropic's official customer story, with Carvana's SVP of Engineering and Analytics quoted; it describes the alert-to-pull-request flow, per-team scoped identities, release log baselines and hourly checks, and gives the 56% and 65% figures. Page checked live (HTTP 200) on 2026-11-24; no publication date shown. Not run by BranoLabs (needs a production stack and Claude Tag). (checked 2026-11-24)

The problem

Production alerts at Carvana sat in Slack until an engineer had time to dig in. The company had built two Slack bots of its own to help, but keeping them running took a team's time, and giving each team its own data permissions was hard, so one team never adopted them.

Tools needed

Step-by-step recipe

  1. Put the agent in the Slack channels where monitoring alerts already arrive, with one bundle per team: its standing instructions, the tools it may use and the data slice that team is allowed to see.
  2. Give the agent the same read-only sources an on-call engineer would use (tickets, build history, code, warehouse lookups) and a fixed format for root-cause write-ups.
  3. When an alert arrives, the agent investigates on its own, works out which team owns the affected code, tags them and posts its analysis in the thread in that format.
  4. If the analysis holds up, the engineer asks in the same thread for a pull request; the fix goes through normal human review before it ships.
  5. For releases, keep a comparison skill in the repo that checks errors, warnings and log volume against the hour before each deploy, and run it automatically on every release.
  6. For lower-urgency checks (failing pipelines, stale feature flags), schedule the agent hourly instead of monitoring continuously, and let it start the follow-up.

Copyable prompt

Prompt template
You are on-call triage for the [TEAM_NAME] channel.
When a monitoring alert is posted:
1. Read the alert, then check recent tickets, build history, the last deploys and the relevant code. Use only the read-only tools you have.
2. Find the root cause, not the symptom. If the evidence points to another service or to an ongoing infrastructure outage, say so and stand down.
3. Identify the owning team or code owner from [CODEOWNERS_OR_SERVICE_MAP] and tag them.
4. Reply in the thread using exactly this format:
   Summary: one sentence
   Root cause: what and where (file/service, commit or deploy if known)
   Evidence: links to logs, tickets, builds
   Confidence: high / medium / low, and what would change your mind
   Proposed fix: short description, or 'no fix - follow-up needed' with the reason
5. Do not open a pull request until a human in the thread asks for one. Never merge.

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

Carvana says alerts in its retail science channel fell by 56% as Claude Tag helped fix the recurring root causes behind them, and its wholesale platform team gets answers 65% faster because the agent checks tickets, build history and code itself. Every release is compared with a log baseline from the hour before it shipped, Claude Tag replaced two homegrown Slack bots, and some teams run it hourly on pipelines and feature flags. In a two-week trial in the wholesale team's channels, it traced five cases to their underlying cause. Source: Claude customer story (Anthropic).

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

Watch out for

Source

Original write-up: Claude customer stories (Anthropic) ↗

Found via Claude customer stories (Anthropic): “Carvana turns Slack alerts into production fixes with Claude Tag”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-11-24.

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 sourceShip vendor recipe prompts so coding agents integrate your API the way you wouldDevelopers ask coding agents to add a vendor feature from public docs alone; the agent often picks the wrong product surface, burns…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.