mcpField
S
self-repair

self-repair

github.com/simhackerAgent workflows6051 installsUpdated 3d ago
Repository

About self-repair

self-repair is a skill for checklist-based recovery of missing or invalid project state. Its repair demons fix canonical files, sidecar metadata, and boundary issues, log the repairs, and continue rather than failing.

Key features

  1. 01Detect missing or invalid state
  2. 02Repair canonical files
  3. 03Maintain sidecar metadata
  4. 04Check files against boundaries
  5. 05Log repairs and continue

Use cases

  1. 01Restore missing required files
  2. 02Repair missing metadata beside files
  3. 03Identify files outside defined boundaries
  4. 04Continue a workflow after state repair

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/simhacker/moollm --skill self-repair

After installing, type/self-repairin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

CARD.yml
CHECKLIST.yml.tmpl
GLANCE.yml
README.md
skill-snitch-report.md

Details

From the project README

Self Repair

Missing state triggers repair, not failure.

Checklist-based self-healing demons.

Important

NEVER-CRASH — The core principle. Repair instead of fail. Always.

The Principle

When something's wrong:

  1. Detect — Checklist finds missing/invalid state
  2. Repair — Demon creates/fixes what's needed
  3. Log — Document what was repaired
  4. Continue — Never crash, always converge

Contents

FilePurpose
SKILL.mdFull protocol documentation
CHECKLIST.yml.tmplChecklist template

Repair Demons

DemonWatches For
checklist_repairerMissing canonical files
sticky_note_maintainerMissing sidecar metadata
membrane_keeperFiles outside boundaries

The Intertwingularity

Self-repair is the immune system. It monitors everything.

graph LR
    SR[🔧 self-repair] -->|monitors| SL[📜 session-log]
    SR -->|monitors| WS[working-set.yml]
    SR -->|creates| HOT[hot.yml / cold.yml]
    SR -->|repairs| FILES[missing files]
    
    SR -->|part of| KERNEL[kernel/self-healing]

Dovetails With

Sister Skills
SkillRelationship
session-log/Self-repair monitors log integrity
summarize/Triggered when context exceeds budget
honest-forget/Graceful memory decay
Protocol Symbols
SymbolLink
NEVER-CRASHPROTOCOLS.yml
REPAIR-DEMONPROTOCOLS.yml
ROBUST-FIRSTPROTOCOLS.yml
BEST-EFFORTPROTOCOLS.yml
Kernel
Navigation
DirectionDestination
⬆️ Upskills/
⬆️⬆️ RootProject Root
📜 Sistersession-log/

Comments

Markdown supported