agentleFS
mbburabakmbburabak/mlforge/skills/ml-learn/SKILL.md

ml-learn

Skill0 starsChanged 6 months agoMITView on GitHub

This skill should be used to manage what the plugin has learned about a project — when the user says "remember this", "add a lesson", "what have we learned", "review the rules", "note about this dataset", or when a rule from lessons.md is confirmed or contradicted by a new result. Manages the lesson lifecycle and dataset domain notes.

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:

    Promotion to ACTIVE: after 3 confirmations (a confirmation = a new experiment/incident where the rule held, or explicit user endorsement).

    line 37
  2. Distinctive:

    confirm / contradict [rule]: update count and state; log what moved it.

    line 58
  3. Distinctive:

    Every rule traces to evidence (journal entry, incident, user correction) — rules without provenance don't get promoted.

    line 64
  4. Distinctive:

    Keep both files lean: ~30 active rules maximum.

    line 65
  5. Distinctive:

    After any user correction in any skill's work: acknowledge, then route the pattern here as a quarantined rule (self-improvement loop).

    line 66

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

ML learn

Compounding memory. Lessons aren't just appended — they have a lifecycle, so stale or lucky rules don't fossilize into policy.

Files

experiments/lessons.md      — rules with lifecycle state (existing file, extended format)
ml/notes/datasets.md        — per-dataset domain notes

Lesson lifecycle

QUARANTINE → ACTIVE (3 confirmations) → GLOBAL (user-promoted)
          ↘ RETIRED (contradicted or stale)

Extended lessons.md entry format:

- [QUARANTINE|ACTIVE|RETIRED] [date] [context]: [rule]. Source: [...]. Confirmations: N. Last-confirmed: [date].
  • New rules enter QUARANTINE — from retros, user corrections, incident postmortems. Quarantined rules are suggested in relevant contexts ("a quarantined lesson says X — applies here?"), never silently enforced.
  • Promotion to ACTIVE after 3 confirmations (a confirmation = a new experiment/incident where the rule held, or explicit user endorsement). Active rules are applied by all skills as NEVER/ALWAYS constraints.
  • Contradiction → flag immediately, don't quietly keep both. One contradiction sends an ACTIVE rule back to QUARANTINE with the conflicting evidence noted; a second retires it.
  • GLOBAL promotion: rules the user marks as universal (not project-specific) — offer to copy into the user's global memory (CLAUDE.md or equivalent) since project files don't follow them across repos.
  • Staleness: rules unconfirmed for 6+ months get flagged at retro for re-validation or retirement.

Dataset domain notes — ml/notes/datasets.md

The ML equivalent of "the Apply button lives in an iframe": facts about your data that no documentation records.

## events_table
- [ACTIVE, 2026-04] Duplicate rows before 2024-03 (backfill bug) — dedup on (user_id, event_id, ts).
- [QUARANTINE, 2026-06] user_id reused after account deletion — joins across deletion dates suspect.

Auto-fire rule: whenever work touches a dataset with notes, surface its ACTIVE notes before the first query is written. Same lifecycle as lessons.

Operations

  • review: list rules by state, confirmations, staleness. Recommend promotions/retirements.
  • add: capture a new rule/note into quarantine — one line, dated, sourced.
  • confirm / contradict [rule]: update count and state; log what moved it.
  • prune: retire stale rules interactively.
  • export: emit ACTIVE rules as a block pasteable into CLAUDE.md.

Rules

  • Every rule traces to evidence (journal entry, incident, user correction) — rules without provenance don't get promoted.
  • Keep both files lean: ~30 active rules maximum. Beyond that, rules stop being read — distill or retire. Signal, not archive.
  • After any user correction in any skill's work: acknowledge, then route the pattern here as a quarantined rule (self-improvement loop).

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.