ci-health-audit
Skill by grafana
Audits the grafana/tempo CI pipeline for slow and flaky jobs, then fixes problems the run data confirms and flags the rest. Built for maintainers of the grafana/tempo repository.
Install ci-health-audit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/grafana/tempo /tmp/tempo && mkdir -p ~/.claude/skills && cp -r /tmp/tempo/.claude/skills/ci-health-audit ~/.claude/skills/ci-health-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/grafana/tempo /tmp/tempo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tempo/.claude/skills/ci-health-audit ~/.gemini/antigravity-cli/skills/ci-health-auditAntigravity 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 CI Health Audit skill checks the grafana/tempo GitHub Actions CI for slow and flaky jobs. It works from real run data, using the gh command line tool, job logs, or a CSV export from GitHub's Actions Performance dashboard. It names the critical path, splits slow jobs into setup and test time, and checks whether a failure was already fixed in a merged pull request.
When the evidence supports it, the skill fixes a confirmed flaky test or splits an oversized Makefile target into a new CI matrix entry. Changes stay inside this repo's CI config, and the -race flag is never removed or skipped. Runner queue delays are flagged for escalation instead of fixed. The skill is aimed at maintainers of grafana/tempo who work on its CI pipeline.
Written from the project's SKILL.md and checked against it.
What it can do
- Find slow jobsRanks CI jobs by duration and start delay to find the critical path and setup overhead.
- Find flaky jobsPulls failed and rerun runs and reads real job logs to confirm same-commit flakes.
- Measure a slow testBenchmarks one change at a time and reports counts and CPU time under a stated machine load.
- Fix a confirmed flaky testTraces non-determinism in a failing test, reuses an existing pattern, and reruns the test to verify.
- Implement a matrix splitPartitions an oversized Makefile test target into a new ci.yml matrix entry and runs it.
- Flag runner-queue starvationIdentifies jobs stuck in queue for long periods and flags them for escalation instead of changing workflows.
- Check for existing fixesSearches git history and merged pull requests to avoid re-fixing problems already resolved.
What you need
- gh command line tool with access to the grafana/tempo repository
- Go toolchain for the build, vet and test commands
- Authenticated browser session, only if using the Actions Performance CSV export
Try asking
- Audit grafana/tempo CI for flaky jobs over the last 4 weeks
- Find the critical path in grafana/tempo's ci.yml workflow runs
- Check whether this flaky test failure was already fixed in a merged PR
Good to know
- Changes are limited to CI config inside the grafana/tempo repo; other fixes are flagged instead.
- The -race flag is required in CI and must never be removed or skipped as a speedup.
- The Actions Performance CSV needs an authenticated browser session and cannot be fetched automatically.
- Runner capacity and org-wide queue contention cannot be fixed from a workflow file.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/ci-health-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash Read Edit Grep Glob
Alternatives to ci-health-audit
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
ci-health-audit: common questions
Does the CI health audit skill remove the -race flag to speed up tests?
No. The source says -race is required in CI and must never be proposed for removal, disabling or conditional skipping as a speedup.
Can the skill fetch GitHub Actions performance data automatically?
No. The performance dashboard needs an authenticated browser session, and both WebFetch and gh api return a 404, so the user must supply the CSV export.
What happens when jobs wait a long time in the queue?
The skill flags the problem for the user to escalate, because runner capacity or org-wide contention is not something a workflow file in the repo can fix.
How do I install ci-health-audit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ci-health-audit free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is ci-health-audit safe to use?
It scores 81 of 100. Grades: maintenance A, licence C, quality A. 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 ci-health-audit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
