recall-learnings
Skill2 starsChanged 7 months agoMITView on GitHub
Surface prior learnings relevant to the current task. Use before starting any non-trivial work — new experiment, new feature, new submission strategy, debugging a pattern — to check if we've been here before. Also use when the user says "what have we learned about X", "any past notes on Y", "recall", or "check learnings".
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- capture-learningSkill
- debug-agentSkill
- eda-auditSkill
- ensemble-blendSkill
- improve-agentSkill
- leaderboard-checkSkill
- log-experimentSkill
- new-competitionSkill
- post-submission-reviewSkill
- preflight-consultSkill
- retrospect-sessionSkill
- run-local-evalSkill
- submit-competitionSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Very specific: line 28
Scope filter: If inside competitions/<slug>/, include both scope: global and scope: <slug>.
- Distinctive: line 39
Apply: When proceeding, explicitly cite the learnings you are honoring: "Applying L-… by using stratified k-fold instead of random split."
- Distinctive: line 53
Don't dump every matching learning verbatim — pick the top 3-5 and show only their Rule lines.
- Distinctive: line 54
Don't invent learnings that "feel right." If nothing matches, say so.
- Distinctive: line 55
Don't recall, list, and then ignore — citing a learning in the plan is what enforces discipline.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Recalling Prior Learnings
Surfaces the most relevant learnings from .learnings/ for the task at hand. This is the compound-interest mechanism — every session should call it before committing to an approach.
When to invoke proactively
Before:
- Picking a modeling approach ("LightGBM vs CatBoost for tabular").
- Designing a CV split strategy.
- Writing submission glue code for a new competition.
- Starting an agent's main decision loop.
- Deciding a hyperparameter range.
- Writing code that touches the Kaggle CLI / MCP.
Basically: any time you would otherwise guess, recall first.
Steps
- Build a query. Extract 3-6 keywords from the task at hand. Examples:
- "class imbalance" + "lightgbm" + "tabular"
- "agent timeout" + "simulation" + "move budget"
- "submission format" + "csv" + "leaderboard regression"
- Scope filter. If inside
competitions/<slug>/, include bothscope: globalandscope: <slug>. Otherwise global only. - Search:
# tag-first (precise) grep -l -E "tags:.*\b(<tag1>|<tag2>)\b" .learnings/L-*.md # keyword fallback grep -l -i -E "<keyword1>|<keyword2>" .learnings/L-*.md - Rank by:
recurring=truefirst, thencost: high, thenseverity: scar, then recency. Cap at 5. - Read the top matches. Extract the Rule lines only.
- Present to the user as a compact numbered list:
[ID] Rule — (scope, cost). - Apply. When proceeding, explicitly cite the learnings you are honoring: "Applying L-… by using stratified k-fold instead of random split."
Example output
Relevant prior learnings:
1. L-2026-03-02-001 — Cast submission ID columns with .astype(int) before writing (global, high-cost)
2. L-2026-03-15-003 — Stratified-by-target beats random split on tabular competitions (global, medium)
3. L-2026-03-20-002 — Leaderboard-driven overfit: trust CV when delta > 0.01 (global, high-cost)
Applying: casting IDs, stratified split.Anti-patterns
- Don't dump every matching learning verbatim — pick the top 3-5 and show only their Rule lines.
- Don't invent learnings that "feel right." If nothing matches, say so; that's honest and opens a slot for a new capture later.
- Don't recall, list, and then ignore — citing a learning in the plan is what enforces discipline.
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.

