Borrowing it
Nothing to install: this file belongs to openshift/lightspeed-agentic-operator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/openshift/lightspeed-agentic-operator/main/.cursor/skills/investigate-ci-failure/SKILL.mdgit clone --depth 1 https://github.com/openshift/lightspeed-agentic-operatorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/openshift/lightspeed-agentic-operator/investigate-ci-failure)<a href="https://agentmods.dev/skills/openshift/lightspeed-agentic-operator/investigate-ci-failure"><img src="https://agentmods.dev/badge/skills/openshift/lightspeed-agentic-operator/investigate-ci-failure.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01824 |
| Opus 5 | $0.00025 | $0.00912 |
| Sonnet 5 | $0.00010 | $0.00365 |
| Haiku 4.5 | $0.00005 | $0.00182 |
Grade A, and why
investigate-ci-failure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigate CI Failure
Given a PR URL (e.g. https://github.com/openshift/lightspeed-agentic-operator/pull/123), diagnose why CI jobs failed.
Workflow
1. Extract PR info
Parse org, repo, and PR number from the URL. Fetch metadata with gh:
# PR metadata
gh api repos/{org}/{repo}/pulls/{pr} --jq '{title, state, user: .user.login, head_sha: .head.sha}'
# Changed files
gh api repos/{org}/{repo}/pulls/{pr}/files --jq '.[].filename'
2. Get check statuses
# All checks at a glance
gh pr checks {pr} --repo {org}/{repo}
# Detailed statuses with Prow URLs (use head SHA from step 1)
gh api repos/{org}/{repo}/statuses/{head_sha} \
--jq '.[] | select(.state == "failure" or .state == "error") | {context, state, target_url}'
This gives you the list of failed jobs and their Prow dashboard URLs.
3. Construct GCS artifact URLs
From a Prow target_url like:
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/{org}_{repo}/{pr}/{job_name}/{build_id}
Derive:
- Directory browser (for navigating artifact tree):
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/{org}_{repo}/{pr}/{job_name}/{build_id}/ - Raw file content (for fetching logs and JSON):
https://storage.googleapis.com/test-platform-results/pr-logs/pull/{org}_{repo}/{pr}/{job_name}/{build_id}/{path}
4. Triage the failure
For each failed job, fetch artifacts in this order:
4a. Quick status
GET storage.googleapis.com/.../finished.json
Check "passed": false and "result": "FAILURE".
4b. Build log (most useful)
GET storage.googleapis.com/.../build-log.txt
This is the main ci-operator build log. It can be large (200KB+). Search from the end for:
failed/FAILED/error/ERRORstep .* failed- Test runner failures (
FAIL,--- FAIL,Traceback,AssertionError,Error:) - Container crash indicators (
CrashLoopBackOff,OOMKilled,Error from server)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 172 lines · 50 tokens per session scan A fc221c061e2a
investigate-ci-failure is a skill published in the GitHub repository openshift/lightspeed-agentic-operator (11 stars, last pushed 2d ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,824 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
smoke-test
Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…
mcore-create-issue
Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.
debug-task
Diagnose and fix moon tasks that are broken, misconfigured, or behaving unexpectedly. Use this skill when a moon task is failing, not running, skipped, hanging, producing stale or wrong output, cached when it shouldn't be, re-running every time when it should be cached, or when outputs are empty or missing after a…
github-ci-fix
Fix failing GitHub CI / Actions checks via fixgithubprci and push to the existing PR head, or fix a branch's failing CI via a linked repair worktree.
github-ci-fix
Use when the user asks OpenSRE to fix failing GitHub CI, GitHub Actions checks, failing pull request checks, a broken PR branch, or CI on a named branch such as main.
ci-triage
Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.