agentleFS
EskyeeEskyee/agentbot-opensource/skills/aeon-skill-repair/SKILL.md

aeon-skill-repair

Skill17 starsChanged 5 months agoMITView on GitHub

Auto-diagnose and fix a failing or degraded installed skill. Reads the SKILL.md plus recent error output, classifies the failure (api-change / rate-limit / timeout / sandbox-limitation / prompt-bug / output-format / missing-secret / config), applies the smallest fix that addresses the root cause, and attaches a verification recipe. Minimum-edit principle, never auto-applies high-risk changes. Triggers: "fix this skill", "skill X is broken", "diagnose this failure", "the output of X looks wrong".

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never modify env-var configuration.

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

aeon-skill-repair

Targeted repair for one failing skill. Build a diagnostic dossier, classify the failure, apply the matching playbook, attach a verification recipe.

Inputs

ParamDescription
targetSkill name or SKILL.md path. Required.
error_outputRecent failed output (paste from run log). Required if not auto-detectable.
moderepair (default) or dry-run (diagnose only).

Diagnosis sources

  • The skill file (frontmatter, declared sources, env-var references).
  • Error output signature (HTTP codes, common API errors, rate-limit hits, refusal markers).
  • Source liveness — WebFetch on referenced URLs to detect 404s, redirects, schema changes.
  • Frontmatter integrity (valid YAML).

Failure categories and fix scope

CategoryDetectionFix scope
api-change404/410, schema mismatchUpdate endpoints/payload/headers per live spec. Cite the spec URL.
rate-limit429, "too many requests"Add backoff or fallback endpoint. Never raise the limit.
timeoutKilled mid-run, partial outputStage the work, add early-return on partial success.
sandbox-limitationAuth-bearing curl failsConvert to prefetch / postprocess pattern.
prompt-bugHallucination, refusal, missing required sectionMinimum-edit specificity insertion. < 30 lines diff.
output-formatOutput passes execution but fails downstream parserEdit until next run satisfies the failing assertion.
missing-secret"API key missing", env var unsetNo code change. Name the missing var for the operator. Exit REPAIR_DIAGNOSED_NO_FIX.
configBad input config (watchlist, list file)Fix obvious shape errors. Never invent entries.
unknownNone of the aboveDon't edit blindly. Append dossier to repair-notes, exit REPAIR_DIAGNOSED_NO_FIX.

Risk classes

  • LOW — fallback added, comment-only, < 30 lines. Auto-applied.
  • MED — data source change, output format edit. Auto-applied with verification recipe.
  • HIGH — touches behavior fundamentally, changes defaults. Operator review required, not auto-applied.

Verification recipe (every repair)

1. Re-run the skill: <one-line invocation>
2. Expected: <category-specific signal — "no rate-limit in trace" / "≥ 200 words" / "matches pattern X">
3. If still failing: <fallback path>

Cooldown

24h cooldown per skill — prevents repair loops on fixes that didn't stick. State in local repair-history.json.

Rules

  • One target per run. Never bundle unrelated repairs.
  • Minimum-edit principle. Small diffs.
  • Never modify env-var configuration. Missing secrets are flagged for the operator.
  • Inside a git repo: branch + diff, never directly to main.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.