agentleFS
ImNotTheWolfOfficialImNotTheWolfOfficial/auto-master-skills/skills/auto-reflect/SKILL.md

auto-reflect

Skill15 starsChanged 4 months agoMITView on GitHub

Turn confirmed workflow failures into small durable recurrence guards. Use after a user correction, verified false claim, confirmed implementation mistake, or repeated-failure circuit-breaker event; do not use for speculation, preference changes, expected failing tests, or unrelated environment failures.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    Verify the guard with the smallest deterministic scenario that would have caught the failure.

    line 19
  2. Distinctive:

    Do not promote hypotheses, reviewer opinions, one-off machine faults, or taste changes into permanent rules.

    line 24
  3. Distinctive:

    Do not edit project instructions unless the current task authorizes instruction changes and the rule is project-specific.

    line 25
  4. Distinctive:

    Do not silently weaken tests or acceptance criteria to make a failure disappear.

    line 26
  5. Distinctive:

    Do not spawn a reviewer by default.

    line 27
  6. Distinctive:

    Never log secrets, raw auth/config values, giant outputs, or private identity data.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Auto Reflect

Record only confirmed failures and install the smallest safe guard that would prevent recurrence. Keep reflection short; it must save future work rather than become another workflow.

Workflow

  1. Capture the evidence that confirms the failure. Label causal statements as measured, read in source, or hypothesis; only the first two can justify a durable rule.
  2. Separate symptom, confirmed cause, contributing condition, and impact. Redact secrets and unrelated personal/project data.
  3. Assign a stable recurrence key such as verification.claim-without-exit-code and search the learning ledger for prior occurrences.
  4. Choose the minimum guard:
    • first occurrence: add a run-local checklist/precheck;
    • second confirmed equivalent occurrence: update the narrowest relevant skill or project instruction;
    • third or later: add a hard deterministic precheck/circuit breaker, or stop for user intervention when automation would be unsafe.
  5. Verify the guard with the smallest deterministic scenario that would have caught the failure. If a skill changed, run its structural validator.
  6. Append a compact record to ~/.auto-master/artifacts/_learning/confirmed-failures.jsonl: timestamp, recurrence key, scope, evidence type, confirmed cause, guard, verification, and occurrence count.

Boundaries

  • Do not promote hypotheses, reviewer opinions, one-off machine faults, or taste changes into permanent rules.
  • Do not edit project instructions unless the current task authorizes instruction changes and the rule is project-specific. Prefer the owning skill for reusable workflow rules.
  • Do not silently weaken tests or acceptance criteria to make a failure disappear.
  • Do not spawn a reviewer by default. Use one fresh-context review only when the proposed guard changes security, auth, data safety, execution isolation, release policy, or another critical boundary.
  • Never log secrets, raw auth/config values, giant outputs, or private identity data.

Report

Report recurrence key, confirmation evidence, cause, guard location, verification result, occurrence count, and whether any hypothesis remains. If no durable guard is justified, say so and record nothing permanent.

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.