We have added a new way to triage and fix failing pipelines right from the CircleCI UI, using your local coding agent.
When a workflow fails, you can now click the wrench icon on the pipeline run page and select Fix with Claude Code.
This opens your default terminal with Claude Code already initiated and pre-loaded with specialized instructions to diagnose the failure.
Here is how it works:
- Navigate to a pipeline run in the CircleCI UI.
- Click the wrench icon (
) on a failing workflow.
- Select Fix with Claude Code.
- Claude Code opens in your terminal, checks for the CircleCI CLI, and runs
circleci run get <pipeline-id> --failure-report to pull condensed diagnostic output for every failed step.
- Hit Enter
- Claude Code reviews the output, identifies the root cause, and produces a fix so your pipeline passes.
This feature builds on the circleci run get --failure-report CLI flag we shipped recently, and brings the full triage-to-fix workflow into a single click from the UI.
Prerequisites:
We have expanded where the Fix with Claude Code option appears in the CircleCI UI. You can now access it from two additional surfaces:
From the Pipelines page:
- Navigate to your project’s Pipelines page.
- Find a failing workflow in the workflows list.
- Click the wrench icon (
) on the failing workflow row.
- Select Fix with Claude Code.
From inside a failing workflow:
- Click into a failing workflow from a pipeline run.
- In the workflow header toolbar (next to Rerun and Insights), click the Fix dropdown.
- Select Fix with Claude Code.
Update: Copy Fix Prompt, one click from the CircleCI UI
We have added a Copy Fix Prompt button to the CircleCI UI that copies a ready-to-use diagnostic prompt to your clipboard.
How to use it
- Navigate to a failing workflow in the CircleCI UI.
- Select the wrench icon (
).
- Choose Copy Fix Prompt.
- Paste the prompt into your preferred AI coding agent — Cursor, Windsurf, GitHub Copilot, Claude Code, or any tool that accepts a prompt.
The prompt uses the CircleCI CLI to pull a condensed failure report for the run. If the CLI is not installed, the prompt guides your agent through installation first.
Where to find it
Copy Fix Prompt appears in the wrench icon dropdown alongside Fix with Claude Code and Fix with CircleCI on three surfaces:
- Pipelines page — failing workflow rows
- Run view — workflow header toolbar
- Run view — job right pane
What the prompt does
The copied prompt instructs your agent to:
- Check for the CircleCI CLI and install it if needed.
- Run
circleci run get --failure-report to pull condensed failure output. See more.
- Diagnose the failure and suggest a fix.