self-fix-loop

Automates CI failure remediation by detecting, classifying, fixing and retrying runs.

4|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/d-o-hub/chaotic_semantic_memory --skill self-fix-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-fix-loop
Source: https://github.com/d-o-hub/chaotic_semantic_memory/tree/main/.agents/skills/self-fix-loop
Command: npx skills add https://github.com/d-o-hub/chaotic_semantic_memory --skill self-fix-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated CI failure remediation with iterative repair attempts.

Core Features & Use Cases

  • Automated detection of CI failures
  • Classification of error types (build, test, lint, security)
  • Automated remediation and retry of CI runs
  • Safe escalation with max iterations and auto-commits

Quick Start

Trigger the Self-Fix Loop after a CI failure to automatically detect the issue, classify it, apply a remediation, push the fix, and re-run CI until success or maximum iterations.

Frequently Asked Questions about self-fix-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix CI pipeline failures and retry the build?

To automatically fix CI pipeline failures, the self-fix loop detects errors, classifies them by type, applies remediations, pushes commits, and retries the CI run until success or maximum iterations are reached.

Can I configure limits for automated CI remediation loops to prevent infinite runs?

Yes, automated CI remediation loops support configurable MAX_ITERATIONS, COOLDOWN, and TIMEOUT settings to control retry frequency, enforce safe escalation, and prevent infinite automated repair cycles.

What types of CI errors can be classified and automatically remediated?

Automated CI error remediation classifies failure types into categories including build, test, lint, and security errors, enabling targeted fixes for deterministic and reproducible failure patterns in push-triggered pipelines.

Does automated CI remediation work with non-deterministic or flaky test failures?

Automated CI remediation is designed for deterministic, repeatable failure patterns. It is not suitable for flaky or non-reproducible test failures, as the automated repair loop requires reproducible failures to apply effective fixes.

How do automated remediation commits push fixes back to my repository?

Automated remediation commits push applied fixes directly back to the repository during the loop, automatically updating the branch to trigger a new CI run and validate the repair attempt.