Agent skill

Break AI Fix Loops

by sickn33 in sickn33/agentic-awesome-skills

Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.

MITAuto-check passedDevOps & Cloud

Install Break AI Fix Loops

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill break-ai-fix-loops -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills break-ai-fix-loops --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/break-ai-fix-loops .claude/skills/break-ai-fix-loops && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
break-ai-fix-loops
GitHub stars
47k
Used in
1 other repo
Token cost
~3k tokens
SKILL.md length
1,484 words
Files
5 (incl. scripts, references)
Skills in repo
1,497
Repo updated
First seen
Licence
MIT

At a glance

Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.

  • Works in 5 steps: List the attempted mechanisms and the… → Identify the next unobserved owner… → Collect one new observation at that… → …
  • DevOps & Cloud work in your project
  • SKILL.md covers When to Use This Skill, Establish the repair contract, Use a three-attempt budget and Fingerprint the observable…, plus 10 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Break AI Fix Loops is an agent skill from sickn33/agentic-awesome-skills. Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/evidence-ledger.md`, `scripts/fingerprint.py` and `scripts/test_fingerprint.py`).

It sits in DevOps & Cloud. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/break-ai-fix-loops”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. List the attempted mechanisms and the observation that falsified or failed to distinguish each one.
  2. Identify the next unobserved owner boundary along the live path: input, dispatch, configuration, dependency, generated artifact, process…
  3. Collect one new observation at that boundary with tracing, logging, inspection, or a minimal probe.
  4. Form a replacement hypothesis that predicts a different observation and targets a different causal mechanism.
  5. Resume only if the new evidence can discriminate the replacement hypothesis. Otherwise return BLOCKED.

What it can do on your machine

Read from SKILL.md and the folder at commit b84d35a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Break AI Fix Loops loads about 3k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 1,484 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit b84d35a, republished under its MIT licence (© sickn33). 1,484 words, ~3,010 tokens.

Download SKILL.mdSave it as .claude/skills/break-ai-fix-loops/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
break-ai-fix-loops
description
Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.
category
code-quality
risk
critical
source
community
source_repo
twoicewoo/awesome-copilot
source_type
community
date_added
2026-09-04
author
twoicewoo
tags
ai-agents, debugging, verification, negative-control, rollback
tools
claude-code, codex-cli, copilot, cursor, gemini-cli
license
MIT

Break AI Fix Loops

Replace patch-and-retry behavior with a bounded, evidence-producing repair. Treat a changed patch as progress only when an observable state changes.

When to Use This Skill

  • Use when an AI coding agent cycles through similar patches without changing the observed failure.
  • Use when a focused test passes but the installed, deployed, UI, API, persistence, or other real execution path still fails.
  • Use when a repair claim needs a verifier that can reject a known-bad state and a rollback that has actually restored the baseline on a disposable copy.
  • Do not use for a one-shot, already-understood edit whose acceptance check directly exercises the complete claimed behavior.

Establish the repair contract

Before the first edit, record:

  • the exact defect and the behavior that would disprove it;
  • the revision, configuration, input, and execution path under test;
  • the baseline command, literal result, and exit status;
  • the strongest check that directly observes the claimed behavior;
  • the rollback command and the state it must restore.

Save raw evidence before normalizing it. Redact credentials, tokens, cookies, personal data, and private URLs. Never put secrets into a fingerprint record or committed ledger.

If the defect cannot be reproduced, stop editing. Report INCONCLUSIVE with the missing observation instead of guessing at a fix.

Use a three-attempt budget

Allow at most three repair attempts for one acceptance claim. An attempt begins when code, configuration, dependencies, generated artifacts, or test expectations change. Inspections and read-only probes do not consume an attempt.

Do not reset the budget because the agent restarts, opens a new session, rewrites the same patch, changes models, clears a cache, or renames the hypothesis. A newly exposed downstream failure still belongs to the same three-attempt budget unless it is a separately accepted task.

For every attempt, write these fields before the next edit:

FieldRequired evidence
HypothesisOne causal mechanism, not a restatement of the symptom
PredictionAn observation that would distinguish this hypothesis from the previous one
ChangeExact changed paths and a patch or before/after hash
Focused checkExact command, input, literal output, and exit status
Real-path checkDirect observation, or NOT_RUN with a reason
Symptom fingerprintStable fingerprint described below
DecisionADVANCE, SHIFT_CAUSE, PROVEN, or STOP

Use the evidence ledger as a copyable record.

Fingerprint the observable failure

Fingerprint what the system did, not the agent's explanation. Build a canonical record from:

json
{
  "schema_version": 1,
  "command": "the exact verification command",
  "input_digest": "digest or stable identifier of the tested input",
  "exit_code": 1,
  "failure_class": "stable-machine-readable-class",
  "stable_excerpt": "the smallest decisive output with volatile values removed",
  "real_path_state": "the directly observed state, or NOT_OBSERVED"
}

Keep the unedited output beside this sanitized record. Remove timestamps, run IDs, ANSI codes, random ports, and temporary paths from stable_excerpt only when they do not affect the defect. Do not normalize away values that could distinguish two causes.

Optionally compute the canonical SHA-256 fingerprint from this skill directory:

bash
python3 scripts/fingerprint.py evidence/attempt-1.json

The helper validates the record, rejects unknown fields, and prints the fingerprint. It does not execute commands or redact evidence.

The helper uses only the Python 3.9+ standard library. When changing it, run its bundled regression tests:

bash
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest scripts/test_fingerprint.py -v

The same fingerprint after a different patch means the observable failure did not move. A cosmetically different message with the same failure class, input, command, and real-path state also counts as a repeated failure when the changed text is only volatile data. Do not use a patch hash in the symptom fingerprint; record it separately so different edits cannot masquerade as different outcomes.

Shift the root-cause strategy

Set the decision to SHIFT_CAUSE immediately when any of these occurs:

  • a symptom fingerprint repeats;
  • the patch changes but the decisive state does not;
  • a focused test passes while the real path still fails;
  • a retry produces no new discriminating evidence.

Then stop editing and perform this sequence:

  1. List the attempted mechanisms and the observation that falsified or failed to distinguish each one.
  2. Identify the next unobserved owner boundary along the live path: input, dispatch, configuration, dependency, generated artifact, process, persistence, network, or presentation.
  3. Collect one new observation at that boundary with tracing, logging, inspection, or a minimal probe.
  4. Form a replacement hypothesis that predicts a different observation and targets a different causal mechanism.
  5. Resume only if the new evidence can discriminate the replacement hypothesis. Otherwise return BLOCKED.

Do not spend an attempt on the same mechanism with broader edits. Do not weaken the assertion, skip the failing path, add a silent fallback, or update expected output merely to obtain green tests.

Prove the real execution path

Match proof to the claim. Bind every result to the exact revision, configuration, and input.

ClaimRequired direct observation
CLI behaviorInvoke the installed or built entry point as a user would
API or integrationSend a real request and observe response plus the responsible service boundary
UI behaviorPerform the real interaction and observe UI state plus relevant network or console evidence
PersistenceWrite, reload in a new read path or process, and observe the stored value
DeploymentExercise the deployed revision and prove which revision served the result
Agent or tool actionObserve the actual tool call and its external state change, not the agent's narration

A unit test, mock, type check, build, open port, process liveness check, or model-written summary is supporting evidence only when the claim crosses a boundary it does not exercise.

Show full SKILL.md (632 more words)Show less

Make the verifier prove it can fail

After the modified path passes, run a negative control on a disposable copy:

  1. Copy the verified modified state to a separate worktree or directory.
  2. Reintroduce the original defect or substitute a known-bad input that violates the same acceptance claim.
  3. Run the same primary verification command with the same relevant configuration.
  4. Require a non-zero exit status caused by the intended assertion.
  5. Record the exact command, input, literal output, exit status, and failure classification.

An unrelated crash, missing dependency, timeout, syntax error, or test-discovery failure is not a valid negative control. If the known-bad state exits zero, the verifier is false-green: return INCONCLUSIVE, repair the verifier, and do not claim the product fix is proven.

Return to the untouched modified tree and rerun the primary verification after the negative control.

Test rollback on another copy

Never test rollback only by undoing the working repair. Instead:

  1. Copy the verified modified state to another disposable worktree or directory.
  2. Run the documented rollback command there.
  3. Verify changed paths and hashes match the recorded baseline.
  4. Run the baseline command and confirm the prior behavior or status is restored.
  5. Leave the primary modified tree unchanged.

A rollback script that parses, prints help, or exits zero without restoring behavior has not been tested.

Finish with an evidence status

Use exactly one status:

  • PROVEN: baseline defect observed; responsible change identified; focused and real-path checks pass; the known-bad negative control exits non-zero for the intended reason; rollback succeeds on another copy; the primary tree remains modified and passing.
  • INCONCLUSIVE: some useful evidence exists, but a decisive gate is missing, false-green, or ambiguous.
  • BLOCKED: the three-attempt budget is exhausted, a repeated fingerprint has no new discriminator, or a named external condition prevents the next observation.

Report exact commands, inputs, literal results, exit statuses, fingerprints, changed paths, revision, and remaining gaps. A passing proxy check or the phrase "tests pass" is never a substitute for those fields.

Examples

Repeated patch with no state change
text
Attempt 1: patch hash changed; focused test passed; real path still shows disabled.
Fingerprint: 08b4...; decision: SHIFT_CAUSE.
Next action: stop editing and observe the configuration-to-process boundary.
Valid negative control
text
Modified copy: primary verifier exits 0 and observes the expected UI state.
Known-bad disposable copy: the same verifier exits 1 on the intended assertion.
Rollback copy: baseline hashes match and the baseline command restores its prior result.
Decision: PROVEN.

Limitations

  • This workflow cannot prove a repair when the defect is not reproducible, the real execution path is inaccessible, or the primary verifier cannot observe the acceptance claim.
  • A three-attempt budget exposes stagnation; it does not identify the correct architecture or replace domain expertise.
  • A known-bad control demonstrates that one verifier catches one defect class. It does not prove complete test coverage.
  • Rollback verification covers the recorded paths and baseline behavior only; external systems need their own provider-side readback.

Security & Safety Notes

  • This skill can guide changes to code, configuration, dependencies, generated artifacts, and files, so its risk is critical.
  • Confirm the repository, target environment, accepted paths, and approval boundary before modifying state. Ask before destructive, irreversible, production, financial, credential, or external-message actions.
  • Keep negative controls and rollback trials on disposable copies. Never inject a known defect into the primary working tree or a live environment.
  • Keep raw evidence private when it may contain credentials, personal data, internal URLs, or customer content. Commit only sanitized records.
  • scripts/fingerprint.py is a Python standard-library helper that reads one local JSON record and prints a digest; it does not run commands, access the network, redact data, or modify the record.
  • systematic-debugging focuses on root-cause investigation before a fix; use this skill when attempts must also be fingerprinted, bounded, falsified with a negative control, and made reversible.
  • verification-before-completion gates success claims on fresh evidence; this skill adds repair-attempt accounting and rollback proof.
  • closed-loop-delivery spans acceptance through delivery; this skill is the narrower anti-stagnation and verifier-falsification protocol for repair loops.
  • audit-agent-run-evidence performs a read-only post-run audit; this skill governs the repair while it is happening.

Source and license

The upstream MIT copyright and permission notice is preserved in LICENSE, alongside the commit-pinned provenance above.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/break-ai-fix-loops of sickn33/agentic-awesome-skills.

  • SKILL.md
  • LICENSE
  • references/evidence-ledger.md
  • scripts/fingerprint.py
  • scripts/test_fingerprint.py

Open the folder on GitHubat commit b84d35a

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Break AI Fix Loops next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Break AI Fix Loops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Break AI Fix Loops this skillsickn33/agentic-awesome-skills47k1 repos~3kAutomated safety check: PassMIT
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k8 repos~4.3kAutomated safety check: PassNone
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 8 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Docs Learn PR Preview

    netdata/netdata

    Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.

    81k GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,497 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Categories

Questions about Break AI Fix Loops

What does Break AI Fix Loops do?

Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback. Break AI Fix Loops is an agent skill from sickn33/agentic-awesome-skills. Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.

When should I use Break AI Fix Loops?

Break AI Fix Loops fits situations like: devOps & Cloud work in your project.

How do I install Break AI Fix Loops in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill break-ai-fix-loops -a claude-code`. Or copy the skill folder (skills/break-ai-fix-loops in sickn33/agentic-awesome-skills) into .claude/skills/break-ai-fix-loops in your project. Claude Code loads it when a task matches its description.

How do I install Break AI Fix Loops in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill break-ai-fix-loops -a codex`. Or copy the skill folder (skills/break-ai-fix-loops in sickn33/agentic-awesome-skills) into .agents/skills/break-ai-fix-loops in your project. Codex loads it when a task matches its description.

Can I use Break AI Fix Loops in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill break-ai-fix-loops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/break-ai-fix-loops, .gemini/skills/break-ai-fix-loops, .github/skills/break-ai-fix-loops and .opencode/skills/break-ai-fix-loops in your project.

What does Break AI Fix Loops need to run?

Going by SKILL.md and its folder, Break AI Fix Loops needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Break AI Fix Loops access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Break AI Fix Loops safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Break AI Fix Loops use?

Break AI Fix Loops is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Break AI Fix Loops use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 667 tokens, read only when the agent opens those files.

What are the alternatives to Break AI Fix Loops?

Skills that share tags, products or a category with Break AI Fix Loops: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Break AI Fix Loops?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,405 GitHub stars. The repository holds 1,497 skills in this directory. The repository was last updated on October 9, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.