AgentStack
SKILL verified Apache-2.0 Self-run

Diagnose Ci

skill-urmzd-dotfiles-diagnose-ci · by urmzd

>

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-urmzd-dotfiles-diagnose-ci

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-urmzd-dotfiles-diagnose-ci)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
26d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Diagnose Ci? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Diagnose CI

Investigate and diagnose CI pipeline failures.

Steps

  1. Find the failure:
  • If a run_id is provided, use gh run view --log-failed.
  • Otherwise, run gh run list --status=failure --limit 5 --json databaseId,name,headBranch,conclusion,createdAt to find recent failures.
  • Pick the most recent failure on the current branch (or the most recent overall if none match).
  1. Pull logs: Run gh run view --log-failed to get the failed step logs. If output is large, focus on the last 100 lines of the failing step.
  1. Diagnose: Analyze the logs to identify:
  • The specific step that failed
  • The root cause (compile error, test failure, lint issue, missing secret, timeout, etc.)
  • The relevant file(s) and line(s) if applicable
  1. Recommend fix: Based on the diagnosis (read-only: recommend, do not apply):
  • If it's a code issue: show the exact fix and point the user to fix-and-retry to apply + re-ship it.
  • If it's a config issue (missing secret, wrong action version): explain what to change.
  • If it's flaky (timeout, network): suggest re-running with gh run rerun .
  1. Report: Present a concise summary:

```text ## CI Failure: (run #)

  • Branch:
  • Failed step:
  • Root cause:
  • Fix:

```

Rules

  • Always check the current repo's workflows first (gh run list).
  • If gh is not authenticated or the repo has no remote, report that clearly.
  • Don't blindly re-run failed pipelines; diagnose first.

Gotchas

  • gh run view --log-failed returns empty for a cancelled run (no step is marked "failed", so there is nothing to dump). Fall back to gh run view --json jobs and inspect each job's conclusion/steps to find the cancelled or failed step, then read its log directly.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.