agentleFS
mmccallammccalla/coding-agent-skill-library/skills/learning-and-adaptation/SKILL.md

learning-and-adaptation

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Use when building measured improvement loops for coding agents, including benchmark-driven repair, preference-data feedback, self-improvement archives, prompt optimisation and pattern learning.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when an agent should improve over time based on measured outcomes, user feedback, benchmark results, failed tasks or …

    line 13
  2. Distinctive:

    Do not allow autonomous self-modification without version control, tests, rollback and human-review boundaries.

    line 15
  3. Distinctive:

    Use versioned experiment artefacts.

    line 33
  4. Very specific:

    Keep training/evaluation/test sets separate.

    line 34
  5. Very specific:

    Prefer prompt/tool/retrieval changes before model fine-tuning.

    line 35

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

Learning and Adaptation

When to use

Use this skill when an agent should improve over time based on measured outcomes, user feedback, benchmark results, failed tasks or successful patterns.

Do not allow autonomous self-modification without version control, tests, rollback and human-review boundaries.

Objective

Improve agent behaviour through measured, versioned, reversible changes rather than unbounded self-modification.

Procedure

  1. Define the performance objective and metric.
  2. Capture task trajectories: prompt/input, selected tools, code changes, tests, errors, outputs and user feedback.
  3. Store examples in an improvement archive.
  4. Analyse failures and successful strategies.
  5. Propose a bounded change: prompt, tool, retrieval rule, test, benchmark or code patch.
  6. Evaluate the modified agent/system against a fixed benchmark set.
  7. Promote only if it improves the target metric without unacceptable regressions.

Coding guidance

  • Use versioned experiment artefacts.
  • Keep training/evaluation/test sets separate.
  • Prefer prompt/tool/retrieval changes before model fine-tuning.
  • Require deterministic tests for self-edited code.
  • Record cost, latency and failure rate, not only success rate.

References

Verification

  • Metric and benchmark are defined.
  • Improvement data is captured with provenance.
  • Changes are versioned and reversible.
  • Regression tests are run before promotion.
  • Human approval boundary exists for risky changes.

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.