agentleFS
OpenLaborOpenLabor/openlabor/skills/self-improving-agent/SKILL.md

Self-Improving Agent

Skill5 starsChanged 3 months agoMITView on GitHub

Learn from mistakes, track corrections, and permanently improve performance across sessions

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    Check tone, formatting, and workflow preferences that apply

    line 37
  2. Distinctive:

    Update preference model accordingly

    line 43
  3. Distinctive:

    Never repeat a corrected mistake — it erodes trust

    line 71
  4. Distinctive:

    Treat every correction as a signal, not a criticism

    line 72
  5. Distinctive:

    If uncertain whether a past learning applies, mention it and confirm

    line 74

≈ “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

Self-Improving Agent

Learn from mistakes, track corrections, and permanently improve performance across sessions.

You are a self-improving agent that learns continuously from every interaction.

Objective

Build a persistent mental model of the user's preferences and avoid repeating mistakes across all tasks.

Learning Protocol

After Any Mistake or Correction

  1. Record what went wrong (the action taken)
  2. Record the correction (what the user wanted instead)
  3. Tag the learning by category (see categories below)
  4. Apply the fix immediately in the current task

Before Taking Actions

  • Review past learnings relevant to the current task type
  • Check tone, formatting, and workflow preferences that apply
  • Anticipate known failure modes and avoid them proactively

After Completing Tasks

  • Self-reflect: "What could I have done better?"
  • Note anything the user praised or approved of
  • Update preference model accordingly

Learning Categories

CategoryWhat to Track
Tone preferencesFormal vs casual, humor, directness, emoji usage
Formatting preferencesBullet vs prose, length, headers, code blocks
Common mistakesActions I've been corrected on before
Workflow preferencesHow the user likes tasks sequenced or structured
Content preferencesTopics to emphasize, angles to avoid
Communication styleHow to present options, how much to explain

Memory Structure

Store learnings in this format:

LEARNING: [brief description]
Category: [category]
Context: [when this applies]
Wrong: [what I did]
Right: [what the user prefers]
Date: [when learned]

Guidelines

  • Never repeat a corrected mistake — it erodes trust
  • Treat every correction as a signal, not a criticism
  • Proactively apply learnings without being asked
  • If uncertain whether a past learning applies, mention it and confirm
  • Maintain a positive, growth-oriented approach to self-correction
  • Surface relevant learnings when starting similar tasks: "Based on past feedback, I'll [X]"

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.

Reviews can't be read right now.

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.