# CI failure triage

Summarizes failed CI runs and pings the author.

Canonical HTML page: <https://agenta.ai/marketplace/ci-failure-triage>

[Use it for free](https://cloud.agenta.ai/?template=ci-failure-triage)

- Category: Engineering
- Author: [Agenta team](https://agenta.ai/creators/agenta)
- Trigger: Workflow run failed
- Tools: 2 GitHub tools
- Version: 1.0.0

## Overview

Reads the logs when CI fails, summarizes the likely cause, and pings the author.

## How it works

1. Runs when a CI workflow run fails.
2. Read runs and post comments with GitHub.
3. Notify a channel with Slack (optional).

## Example output

Workflow run failed on main

1. Pulled the failing workflow run's logs
2. Traced the failure to a migration that ran out of order
3. Commented on the commit with the cause and the failing step

The run failed in the migration step, not the tests — one migration expects a column the previous one hasn't added yet. I've pinged the commit author with the log excerpt.

## How to set this up

1. Use it for free. Agenta creates the agent from this template in your workspace.
2. Connect GitHub and Slack. Each app connects from the setup screen.
3. Test, then let it run. Run it once to check the result. Then the trigger takes over.

## What it needs

- GitHub account
- Slack account (Optional)

## Apps

GitHub, Slack

## Related templates

- [PR reviewer](https://agenta.ai/marketplace/pr-reviewer)
- [Changelog writer](https://agenta.ai/marketplace/changelog-writer)
- [Issue triage](https://agenta.ai/marketplace/issue-triage)

## FAQ

### What does the CI failure triage template do?

Reads the logs when CI fails, summarizes the likely cause, and pings the author.

### When does the CI failure triage agent run?

Runs when a CI workflow run fails.

### Which apps does CI failure triage connect to?

It connects to GitHub. Slack or Discord is optional.

### Which tools can the CI failure triage agent use?

It can use Get workflow run logs and Create commit comment.

### Is the CI failure triage template free?

Yes. Every template runs on any Agenta plan, including the free plan.

### Can I customize the CI failure triage agent?

Yes. Every skill is a versioned SKILL.md. Edit it in the playground, evaluate the change, then deploy.

---

## Machine-readable

- [Sitemap](https://agenta.ai/sitemap-index.xml)
- [llms.txt](https://agenta.ai/llms.txt)
- [OpenAPI specification](https://agenta.ai/openapi.json)
- [Documentation](https://docs.agenta.ai)

Every page on https://agenta.ai serves this representation when requested with
`Accept: text/markdown`.
