agentleFS
robium-airobium-ai/robium/skills/learning-loop/SKILL.md

learning-loop

Skill93 starsChanged 3 months agoMITView on GitHub

Run Robium's learning cycle when asked or when its session-start reminder is approved: consolidate captured signals, absorb ready guidance, refine skills, and inspect learning status.

6 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

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 10

    Distinctive

    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:

    Ask whether to run the learning cycle in a background subagent and continue the user's current task.

    line 24
  2. Distinctive:

    Keep project-specific facts in the application that owns them.

    line 32
  3. Distinctive:

    Read the source transcript before turning a flag into an observation.

    line 36
  4. Very specific:

    Write local observations in the editable Robium checkout, never an installed plugin cache.

    line 41
  5. Distinctive:

    Read PROMOTION.md when deciding whether evidence is strong enough or which skill owns it.

    line 48
  6. Distinctive:

    Put the finding in the lowest skill that owns the decision.

    line 53
  7. Distinctive:

    Prefer correcting or replacing existing guidance over adding another rule.

    line 54
  8. Distinctive:

    Keep the live entrypoint lean.

    line 55
  9. Very specific:

    Follow the skill-author quality bar and show the concrete diff with its evidence.

    line 57
  10. Distinctive:

    Run the lightweight skill validator after an edit.

    line 64
  11. Distinctive:

    Read TESTING.md for the optional eval format and safe task-check boundaries.

    line 69
  12. Distinctive:

    Keep a transcript while a queue flag or local observation depends on it.

    line 76

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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 loop

Capture is a lead, not knowledge. Promote it only when the evidence can improve a future decision without injecting old conversations into new work.

Capture without recall

  • Hooks silently queue corrections and failures under the project-local .robium/ directory.
  • learnings/observations/<skill>.md is disposable local working state and is gitignored. Capture is a tentative entry there — status and signal are the only required fields.
  • Hooks are host-dependent. If no queue or transcript exists, an explicit request to learn from the current task may still create a tentative finding; do not invent missing evidence.
  • SessionStart may emit one count-only reminder per local day, but only for a correction, explicit remember/guardrail, or repeated error signature. It never injects excerpts or prior conversation content.
  • Ask whether to run the learning cycle in a background subagent and continue the user's current task. Start it only after approval. The subagent reviews the queued evidence, makes any authorized skill edits, validates them, and reports back without blocking the main session.
  • Apart from that reminder, read queued evidence only during an explicit consolidate, absorb, refine, or status task.
  • Batch bookkeeping at a natural milestone. A command error or clean skill run is not automatically a reusable lesson.
  • Keep project-specific facts in the application that owns them.

Promote evidence

  • Read the source transcript before turning a flag into an observation.
  • Preserve what was expected, what actually happened, the evidence for the fix, and any dead ends that prevent repeating the mistake.
  • Absorb only observations marked ready; uncertain material stays tentative.
  • Deduplicate the finding before carrying it forward.
  • Write local observations in the editable Robium checkout, never an installed plugin cache. The queue and transcript may remain in the app where the event happened.
  • On absorption, put every future-use snippet, citation, caveat, and dead end in the owning skill or a focused references/ file, then delete the observation. Delete rejected observations too; Git and the reviewed skill diff are the durable record.
  • Read PROMOTION.md when deciding whether evidence is strong enough or which skill owns it.

Change the least

  • Put the finding in the lowest skill that owns the decision.
  • Prefer correcting or replacing existing guidance over adding another rule.
  • Keep the live entrypoint lean. Conditional commands, failures, tuning, and platform evidence belong in focused support files.
  • Follow the skill-author quality bar and show the concrete diff with its evidence. Maintainer-authorized edits may land locally; unattended or unrequested absorption uses a branch and human-reviewed PR.
  • Live skills are versionless and changelog-free.

Test according to risk

  • Run the lightweight skill validator after an edit.
  • Re-run an existing trigger or task check only when the changed guidance could affect it. Add a test only for a meaningful regression.
  • For a contested edit, compare small alternatives against realistic requests and let a human choose. Do not preserve variants merely as ceremony.
  • Read TESTING.md for the optional eval format and safe task-check boundaries.

Refine and retain

  • Refinement starts with findings, not edits. Read REFINING.md for the compact catalog review.
  • Keep a transcript while a queue flag or local observation depends on it. Once the observation is absorbed or discarded, remove its processed queue flag and read RETENTION.md to prune the raw evidence.
  • A status request may inspect queue size, ready observations, skill metrics, and transcript retention without changing anything.

Done

  • The future decision is clearer or safer with little added context.
  • Absorbed or rejected observations are gone; only unresolved local working observations remain.
  • Relevant checks pass, and raw transcript evidence is kept only as long as it is still needed.

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.