check-ci-health
Skill2 starsChanged 21 days agoApache-2.0View on GitHub
Diagnose GitLab CI/CD pipeline issues. Use when user says "check CI", "pipeline status", "why is CI failing?", or "CI health". Lists pipelines, shows failing jobs, gets trace logs, validates .gitlab-ci.yml.
In this repository124 other files it gives its agents.
- add-projectSkill
- ansible-configure-vmSkill
- api-smoke-testSkill
- appinterface-checkSkill
- attach-session-to-jiraSkill
- aws-rds-debugSkill
- beerSkill
- bootstrap-all-knowledgeSkill
- bootstrap-knowledgeSkill
- build-persona-styleSkill
- cancel-pipelineSkill
- cert-checkSkill
- check-integration-testsSkill
- check-mr-feedbackSkill
- check-my-prsSkill
- check-secretsSkill
- ci-retrySkill
- cleanup-branchesSkill
- cleanup-stale-executionsSkill
- clone-jira-issueSkill
- close-issueSkill
- close-mrSkill
- cloud-inventorySkill
- coffeeSkill
- compare-optionsSkill
- create-jira-issueSkill
- create-mrSkill
- create-slide-deckSkill
- data-migration-verifySkill
- debug-local-dbSkill
- debug-prodSkill
- deploy-to-ephemeralSkill
- dev-workflow-orchestratorSkill
- discovered-work-summarySkill
- edit-slide-deckSkill
- email-digestSkill
- environment-overviewSkill
- explain-codeSkill
- export-presentationSkill
- extend-ephemeralSkill
- find-similar-codeSkill
- gather-contextSkill
- gdrive-researchSkill
- gke-cluster-opsSkill
- hello-worldSkill
- hotfixSkill
- inscope-researchSkill
- investigate-alertSkill
- investigate-service-issuesSkill
- investigate-slack-alertSkill
- jira-hygiene-allSkill
- jira-hygieneSkill
- knowledge-refreshSkill
- konflux-statusSkill
- learn-architectureSkill
- learn-patternSkill
- list-presentationsSkill
- local-build-testSkill
- local-dev-environmentSkill
- manage-local-servicesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
If failures detected: suggest or run skill_run("ci_retry", '{"project": "{{ project }}"}')
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Check CI Health
Diagnose GitLab CI/CD pipeline issues. Uses developer persona (gitlab tools).
Inputs
| Input | Type | Default | Purpose |
project | string | automation-analytics/automation-analytics-backend | GitLab project path |
status | string | failed | Filter: failed, success, running, all |
limit | int | 5 | Number of pipelines to show |
trigger_new | bool | false | Trigger new pipeline run |
branch | string | main | Branch for trigger_new |
Workflow
1. Load Persona
persona_load("developer")
2. List Pipelines
gitlab_ci_list(project="{{ project }}", status="{{ status }}")- Parse for pipeline IDs and status (failed/success/running)
3. Get Failed Pipeline Details
- If failures:
gitlab_ci_view(project="{{ project }}", pipeline_id="{{ first_failed_id }}") gitlab_ci_trace(project="{{ project }}", pipeline_id="{{ first_failed_id }}")- Parse trace for error patterns:
error:,failed:,exception,AssertionError,ModuleNotFoundError
4. Lint CI Config
gitlab_ci_lint(project="{{ project }}")
5. Optional: Trigger New Pipeline
- If
trigger_new:gitlab_ci_run(project="{{ project }}", branch="{{ branch }}")
6. Chain to CI Retry
- If failures detected: suggest or run
skill_run("ci_retry", '{"project": "{{ project }}"}')
7. Error Recovery
- "no such host" →
vpn_connect() - "unauthorized" → check GitLab token in config.json
8. Memory
memory_session_log("Checked CI health", "project={{ project }}, failures={{ has_failures }}")
Output
Report: recent pipelines (status per pipeline), CI config validation, failed pipeline analysis with errors and trace tail, debug commands (gitlab_ci_trace, gitlab_ci_run, gitlab_ci_cancel), and next step (ci_retry).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

