freddie-learn
Skill0 starsChanged 16 days agoMITView on GitHub
Logs a behavior correction, failure mode, or lesson. Global agent-behavior rules go to 00 - Inbox/Learnings.md (folded into AGENTS.md at the next /eod); lessons specific to one project go to that project's Learnings.md. Use when the user types /freddie-learn, corrects how the agent did something (\"don't do it that way\", \"always…\", \"never…\"), edits the agent's output to fix a mistake, or a non-obvious project gotcha is discovered.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- eodSkill
- freddie-implementSkill
- freddie-orchestrateSkill
- freddie-planSkill
- freddie-researchSkill
- freddie-reviewSkill
- freddie-specSkill
- freddie-testSkill
- freddie-troubleshootSkill
- pauseSkill
- sodSkill
- tab-colorSkill
- toggle-dangerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
If it's unclear, prefer project.
- Distinctive: line 17
Read the destination file and check for an existing entry on the same topic.
- Very specific: line 25
If invoked automatically mid-task, do it silently and keep working.
≈ “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.
Files
Freddie-Learn: Capture a Correction
Correction or rule: $ARGUMENTS (if empty, infer it from the user's most recent correction in this conversation).
- Distill it into a failure mode (what went wrong, specifically) and a corrected rule (an imperative that is reusable beyond this one case).
- Route it. Pick one destination:
- Global (how agents should behave anywhere: workflow, tone, tooling habits):
00 - Inbox/Learnings.md. The next/eod(or, if that is missed, the next/sodcatch-up) promotes it intoAGENTS.md§7. - Project (true only for one codebase or project, e.g. "this repo's dev server serves stale CSS; restart with a clean build folder"):
10 - Projects/<P>/Learnings.md. Create the file with a# <Project> Learningsheading if it doesn't exist. These stay in the project and are read when working on it./eodonly copies a general version intoAGENTS.mdwhen the lesson holds beyond the project. - If it's unclear, prefer project. A project lesson that keeps recurring elsewhere can be promoted later.
- Global (how agents should behave anywhere: workflow, tone, tooling habits):
- Read the destination file and check for an existing entry on the same topic. If one exists, sharpen that entry instead of adding a duplicate.
- Append the entry (get the date from
date +%F):### 📅 YYYY-MM-DD - <Topic> - **Failure Mode**: <what happened> - **Rule**: <the corrected instruction> - Scrub anything secret-shaped (keys, tokens, customer data) before writing.
- If invoked automatically mid-task, do it silently and keep working. If invoked by
/freddie-learn, confirm in one line where it went (the Inbox for the next/eodsweep, or the project'sLearnings.md).
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
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.

