debug-ci-failures
Skill by CircleCI-Public
Debugs CircleCI build failures by checking pipeline status, fetching failure logs, finding flaky tests and reading failed test results. Built for developers whose CI is failing and who use the CircleCI MCP server.
Install debug-ci-failures
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CircleCI-Public/chunk-cli /tmp/chunk-cli && mkdir -p ~/.claude/skills && cp -r /tmp/chunk-cli/skills/debug-ci-failures ~/.claude/skills/debug-ci-failuresRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CircleCI-Public/chunk-cli /tmp/chunk-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/chunk-cli/skills/debug-ci-failures ~/.gemini/antigravity-cli/skills/debug-ci-failuresAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The debug-ci-failures skill guides an AI assistant through diagnosing CircleCI build failures. It works through the CircleCI MCP server, which must be configured with the name circleci-mcp-server. The assistant identifies the project from the git remote and branch, a CircleCI URL, or the user's followed projects.
The skill checks pipeline status, pulls failure logs, looks for known flaky tests and fetches detailed results for failed tests. The assistant then gives a root cause analysis, flags failures that are likely flaky and suggests fixes. It can also rerun a workflow from the failed job or rerun the entire workflow. It is for developers who want help when CI is failing.
Written from the project's SKILL.md and checked against it.
What it can do
- get_latest_pipeline_statusChecks whether the latest pipeline is passing, running or failing.
- get_build_failure_logsRetrieves failure logs for a project, URL or branch.
- find_flaky_testsFinds tests in the project that are known to be flaky.
- get_job_test_resultsReturns metadata for failed tests, including errors, stack traces and durations.
- list_followed_projectsLists the user's followed CircleCI projects to pick one to debug.
- rerun_workflowReruns a workflow from the failed job or the full workflow.
What you need
- CircleCI MCP server configured as circleci-mcp-server
- ToolSearch to load the deferred CircleCI tools
- Git repository for local project detection (optional)
Try asking
- Why is CI failing on my current branch?
- Find flaky tests in my CircleCI project
- Show the failed test results for the latest pipeline
Good to know
- Requires the CircleCI MCP server to be configured before use.
- Large tool output can be truncated, so the skill narrows the investigation to a single job or failed tests.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/debug-ci-failures/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ToolSearchmcp__circleci-mcp-server__get_latest_pipeline_statusmcp__circleci-mcp-server__get_build_failure_logsmcp__circleci-mcp-server__find_flaky_testsmcp__circleci-mcp-server__get_job_test_resultsmcp__circleci-mcp-server__list_followed_projectsmcp__circleci-mcp-server__rerun_workflowBash(git remote get-url origin)Bash(git branch --show-current)ReadGrepGlob
Alternatives to debug-ci-failures
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
debug-ci-failures: common questions
What does debug-ci-failures need to run?
It needs the CircleCI MCP server configured with the name circleci-mcp-server. The skill tells the user to add it if it is not available.
How does it identify which project to debug?
It first reads the git remote and current branch in a local repository, then uses a CircleCI URL the user provides, and finally lists followed projects for the user to choose from.
Can it rerun failed builds?
Yes. The user can choose to rerun the workflow from the failed job or rerun the entire workflow.
How do I install debug-ci-failures?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-ci-failures free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is debug-ci-failures safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-ci-failures?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
