jfail
Fetch and analyze a failed CI job (GitLab) or workflow run (GitHub)
Skill by Wave-Engineering
Chalk Labs
Need help deploying jfail?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wave-engineering-jfail
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/jfail
What's inside
- Skill name
jfail- Description
- Fetch and analyze a failed CI job (GitLab) or workflow run (GitHub)
- License
- MIT
- Instructions
- 70 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- introduction.md
- job-fetch
SKILL.md (first lines)
<!-- introduction-gate: If introduction.md exists in this skill's directory AND
the marker file /tmp/.skill-intro-jfail does NOT exist, read introduction.md,
present its contents to the user, then create the marker: touch /tmp/.skill-intro-jfail
Do NOT delete introduction.md — it lives in a protected directory.
Do this BEFORE executing any skill logic below. -->
# CI Failure Analysis
Fetch and summarize a failed CI run without flooding the parent context. Works on GitHub Actions and GitLab CI — the tools normalize the platform.
## Tools Used
- `mcp__sdlc-server__ci_run_status` — resolve `latest` (optionally on a branch) to a run
- `mcp__sdlc-server__ci_failed_jobs` — list failing jobs for a run
- `mcp__sdlc-server__ci_run_logs` — fetch failed-only log content (truncated) for a job
## Arguments
{{#if args}}
`{{args}}` — numeric run ID, `latest`, or `latest <branch>`.
{{else}}
No argument → default to `latest` on the current branch.
{{/if}}
## Step 1: Parse arguments
Decide mode: numeric `run_id` vs. `latest` (with optional branch). For bare `latest`, use `git branch --show-current`.
## Step 2: Resolve run, find failed job, fetch logs
1. `latest` mode → `ci_run_status({ref: <branch>})`; if not a failure, stop and report. Numeric mode → use the given id.
2. `ci_failed_jobs({run_id})`. If empty, report "no failed jobs" and stop. Pick the first failed `job_id`.
3. `ci_run_logs({run_id, job_id, failed_only: true})` → returns normalized metadata (name, ref, url, conclusion, truncation) and log content as a string.
If any tool errors (invalid ID, wrong repo, 404), report and stop — no shell fallback, no guessing.
## Step 3: Analyze with sub-agent
Launch a sub-agent (`subagent_type: general-purpose`, `model: haiku`) with the log content appended to the prompt. If content is very large (>200 KB), spill to `/tmp/jfail-<run_id>-<job_id>.out` and pass the path instead — agent's judgment. Prompt:
> Analyze the CI failure log (appended / at the given path). The parent agent will only see your summary.
>
> 1. Strip ANSI codes (`[0K`, `[36;1m`, etc.).
> 2. Classify as: `test-failure` / `lint-error` / `build-error` / `dependency-error` / `deploy-error` / `infrastructure` / `script-error` / `unknown`.
> 3. Extract error sections (contiguous blocks with context). ≤30 lines → full; >30 → first 15 + last 15 with `... [N lines omitted] ...`.
> 4. Extract actionable details — file:line, failing test names, exact failing command, exit codes.
> 5. Return exactly:
> ```
> CLASSIFICATION: <type>
> SUMMARY: <one sentence>
> ERROR SECTIONS:
> ---
> <section>
> ---
> ACTIONABLE:
> - <file:line / test / command>
> ```
>
> Skip setup/cache/install noise unless directly relevant.
## Step 4: Present results
Using the metadata from `ci_run_logs`, show `**Workflow/Job:** <name> — [link](<url>)` and `**Ref:** <ref> | **Conclusion:** <conclusion>`, then the sub-agent's CLASSIFICATION / SUMMARY / ERROR SECTIONS / ACTIONABLE. If `ci_run_logs` reports truncation, append `> Logs truncated by ci_run_logs.` If spilled to a file, append `> Full log: /tmp/jfail-<run_id>-<job_id>.out`.
## Important
- Sub-agent does the heavy reading; parent stays clean. `model: haiku` — summarization, not reasoning.
- Tool failure → report and stop. No shell fallback.From Wave-Engineering/claudecode-workflow, MIT.
More from Wave-Engineering/claudecode-workflow
- 0.584score
multithread
Wave-Engineering
Parallelize a discussion over independent items — lay out all threads at once each with a take, batch-answer, drop sorted ones, iterate until dry.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
assesswaves
Wave-Engineering
Quick assessment of whether a piece of work is suitable for wave-pattern execution (parallel or serial).
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
disc
Wave-Engineering
Discord integration — /disc routes to disc-server MCP tools, plus discord-watcher CLI subcommands for forward/directmsg/doorbell.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
dod
Wave-Engineering
Project Definition of Done verification against the Deliverables Manifest — verify every deliverable, run tests, check VRTM, produce pass/fail report
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
grunt
Wave-Engineering
Stand up a scoped-operations "grunt" — a dedicated aoe agent that clears a bounded service backlog so the main session's context stays clean for…
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
engage
Wave-Engineering
Read CLAUDE.md, confirm development rules of engagement, and load current plan
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
ibm
Wave-Engineering
Verify Issue → Branch → PR/MR workflow compliance via MCP tool
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
edit
Wave-Engineering
Open a file or URL in a GUI editor (modification intent, async)
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
lazyriver
Wave-Engineering
Goal-seek loop — probe, judge sufficiency, steer, journal; emits a plan or answer
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
autochain
Wave-Engineering
Plan a dependency-ordered chain of issues, then execute it autonomously on approval
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
name
Wave-Engineering
Report or pick the agent's session identity (Dev-Name, Dev-Avatar, Dev-Team)
SkillAFreshness: A★ 1Claude Code +9 - 0.580score
ccfold
Wave-Engineering
Merge upstream CLAUDE.md template changes into the current project's CLAUDE.md, preserving project-specific content like Dev-Team and custom sections.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 85
- Last commit (this folder)
- Apr 8, 2026 (6 months ago)
- Last release
- Oct 24, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Wave-Engineering
- 0.584score
grunt
Wave-Engineering
Stand up a scoped-operations "grunt" — a dedicated aoe agent that clears a bounded service backlog so the main session's context stays clean for…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
multithread
Wave-Engineering
Parallelize a discussion over independent items — lay out all threads at once each with a take, batch-answer, drop sorted ones, iterate until dry.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
assesswaves
Wave-Engineering
Quick assessment of whether a piece of work is suitable for wave-pattern execution (parallel or serial).
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
disc
Wave-Engineering
Discord integration — /disc routes to disc-server MCP tools, plus discord-watcher CLI subcommands for forward/directmsg/doorbell.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
dod
Wave-Engineering
Project Definition of Done verification against the Deliverables Manifest — verify every deliverable, run tests, check VRTM, produce pass/fail report
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
autochain
Wave-Engineering
Plan a dependency-ordered chain of issues, then execute it autonomously on approval
SkillAFreshness: A★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get jfail running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
jfail skill. Agent Mart. https://agentmart.dev/skills/wave-engineering-jfail (last updated 2026-10-24)