agentleFS
subarnasaikiasubarnasaikia/kaggle-skills/.claude/skills/recall-learnings/SKILL.md

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".

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
  1. Very specific:

    Scope filter: If inside competitions/<slug>/, include both scope: global and scope: <slug>.

    line 28
  2. Distinctive:

    Apply: When proceeding, explicitly cite the learnings you are honoring: "Applying L-… by using stratified k-fold instead of random split."

    line 39
  3. Distinctive:

    Don't dump every matching learning verbatim — pick the top 3-5 and show only their Rule lines.

    line 53
  4. Distinctive:

    Don't invent learnings that "feel right." If nothing matches, say so.

    line 54
  5. Distinctive:

    Don't recall, list, and then ignore — citing a learning in the plan is what enforces discipline.

    line 55

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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"
  2. Scope filter. If inside competitions/<slug>/, include both scope: global and scope: <slug>. Otherwise global only.
  3. 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
  4. Rank by: recurring=true first, then cost: high, then severity: scar, then recency. Cap at 5.
  5. Read the top matches. Extract the Rule lines only.
  6. Present to the user as a compact numbered list: [ID] Rule — (scope, cost).
  7. 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.

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.