ci-fix-with-memory

ci-fix-with-memory is a skill for Claude Code from jerseycheese/agent-skills. It costs 101 tokens per session (2,522 once invoked), scanned A, original, MIT.

An automatic workflow for diagnosing failed continuous-integration (CI) checks, which are automated tests and build checks run on code changes. It keeps notes about earlier attempts and known problems.

In plain words
What is it for?
It helps investigate failed tests, lint checks, builds, and other CI jobs on pull requests. It records what was tried, what worked, and what remains blocked.
Why use it?
It helps prevent repeating fixes that already failed and preserves debugging context between sessions. It starts when a pull request's CI checks are confirmed to be failing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the TodoWrite tool.

Part of the workflow-skills plugin — 31 skills shipped together

Good fit It helps investigate failed tests, lint checks, builds, and other CI jobs on pull requests. It records what was tried, what worked, and what remains blocked.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jerseycheese/agent-skills/ci-fix-with-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jerseycheese/agent-skills --skill ci-fix-with-memory
Clone the repo
git clone --depth 1 https://github.com/jerseycheese/agent-skills

Made for: Claude Code.

Or install workflow-skills, the plugin that ships this one along with the rest of its 31 skills.

Wrote 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.

agentmods badge for ci-fix-with-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/agent-skills/ci-fix-with-memory/github.svg)](https://agentmods.dev/skills/jerseycheese/agent-skills/ci-fix-with-memory)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/ci-fix-with-memory"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/ci-fix-with-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ci-fix-with-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/ci-fix-with-memory"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/ci-fix-with-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.02522
Opus 5 $0.00051 $0.01261
Sonnet 5 $0.00020 $0.00504
Haiku 4.5 $0.00010 $0.00252

Measured 8d ago against content hash b44ba244b10c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ci-fix-with-memory 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 8d 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.

skills/ci-fix-with-memory/SKILL.md · 395 lines

How it starts

The opening of the file, as written. The whole thing — 395 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to invoke (auto-trigger)

Invoke automatically whenever:

  • The user mentions CI is failing, red, or blocked
  • gh pr checks shows a failure
  • A push triggers a failed workflow run

Do NOT invoke for: local test failures (use test-fix instead), lint-only failures with an obvious single-line fix.

Self-Healing CI Pipeline with Handoff Memory

When to Use This Skill

Use this skill when:

  • CI checks are failing on a PR
  • You want to avoid repeating previously failed fix attempts
  • You need systematic CI debugging with context preservation
  • Multiple CI check types are failing (lint, tests, build, etc.)

Critical Setup

This skill requires a .handoff/ directory structure:

.handoff/
├── latest.md          # Most recent session handoff
└── known-issues.md    # Persistent log of failed approaches

If these don't exist, the skill will create them on first run.

Pipeline Steps

Phase 1: Ingest Context (Before ANY Action)

  1. Read the handoff file

    cat .handoff/latest.md
    

    This contains:

    • What was tried in the previous session
    • What worked and what didn't
    • Current branch state
    • Open questions or blockers
  2. Read the known issues log

    cat .handoff/known-issues.md
    

    This contains:

    • Approaches that have been tried and failed
    • Specific commands or fixes that don't work
    • Patterns to avoid
    • Environmental quirks
  3. Acknowledge context Present a brief summary:

    ## Context Loaded
    
    ### From Previous Session
    [Key points from latest.md]
    
    ### Known Failed Approaches
    [List from known-issues.md]
    
    ### Starting Fresh Investigation
    

Phase 2: Get Current CI Status

  1. Fetch current CI check status

    gh pr checks [PR_NUMBER]
    
  2. For each failing check, get full logs

    gh pr checks [PR_NUMBER] --watch
    # OR
    gh api repos/{owner}/{repo}/commits/{sha}/check-runs
    
  3. Create TodoWrite checklist

    - [ ] Fix lint failures
    - [ ] Fix TypeScript errors
    - [ ] Fix test failures
    - [ ] Fix build errors
    

Read the full file on GitHub · 395 lines

Changes

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.

  1. 8d ago First seen · 395 lines · 101 tokens per session scan A b44ba244b10c

Subscribe to this mod's changes

ci-fix-with-memory is a skill published in the GitHub repository jerseycheese/agent-skills (1 stars, last pushed 7d ago), licensed MIT. It adds 101 tokens to every session and 2,522 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

investigate-ci

Investigates GitHub Actions workflow failures for any repo. Fetches recent runs, identifies failures, extracts error logs, diagnoses root causes, and suggests fixes. Use when a deploy or CI workflow fails and you need to understand why.

mostafa-drz/claude-skills · 50 tokens

everr-setup-telemetry

Use when a task mentions adding or fixing telemetry, OpenTelemetry, local collector setup, debug telemetry, missing or stale spans/logs/metrics, or instrumentation verification.

everr-labs/everr · 41 tokens

chorus-parallel-debug

Parallel root-cause hypotheses from multiple agents for a reported bug. Use when the user says "parallel debug", "chorus debug", "multiple hypotheses", or "debug with all agents".

valpere/chorus · 44 tokens

skillnote-doctor

A diagnostic tool for OpenClaw agents -- checks skill registry connectivity, AGENTS.md setup, config file validity, and installed skill health. Use when your setup seems broken, skills aren't loading, or you want to audit your agent's configuration.

luna-prompts/skillnote · 54 tokens

actions-debugging

Use when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix.

drvoss/everything-copilot-cli · 28 tokens

install-gemini-code-review-action

Installs, configures, or upgrades Dazbo's PR code review & issue triage GitHub Action (gemini-review-action) in a target repository. Use when the user wants to set up, configure, or update automated AI code reviews, issue triaging, or Gemini model workflows for their GitHub repository.

derailed-dash/dazbo-agent-skills · 73 tokens