agentleFS
jmlrtjmlrt/skills/session-learnings/SKILL.md

session-learnings

Skill0 starsChanged 4 months agoMITView on GitHub

Extract recurring user corrections and tool failures from the current session, then make small, high-leverage updates to the appropriate guidance. Use when asked for session learnings, to reduce iteration, or to encode a newly discovered workflow or style constraint.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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. Distinctive:

    Use the current conversation as the primary source.

    line 12
  2. Distinctive:

    If none are present, say that no updates are needed.

    line 21
  3. Distinctive:

    Write a short rule only when it is reusable, specific, and supported by the session.

    line 25
  4. Distinctive:

    If the answer is no, omit the update or use a narrower home.

    line 44
  5. Distinctive:

    Keep additions to 1–6 bullets unless a concise procedural sequence is necessary.

    line 50
  6. Distinctive:

    Add a verification step when a recurring failure is otherwise easy to repeat.

    line 51
  7. Distinctive:

    Keep a command thin when its corresponding skill owns the full workflow.

    line 65
  8. Very specific:

    Keep public skills generic.

    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

Session Learnings

Turn repeated corrections and proven workflow discoveries into durable guidance so future sessions start closer to the desired result.

Gather evidence

Use the current conversation as the primary source. Also inspect relevant diffs and files named by the user. If the context was compacted and local guidance identifies a transcript facility, retrieve only the missing sections.

Look for:

  • Explicit user corrections or preferences.
  • Tool failures, wrong syntax, permission constraints, or failed fallback paths.
  • Work that had to be redone because a workflow step was missed.
  • Stable ordering, placement, or project conventions.

If none are present, say that no updates are needed. Do not create guidance merely to produce a change.

Decide what to retain

Write a short rule only when it is reusable, specific, and supported by the session. Drop one-offs and transient state.

LearningHome
Tool behavior, command syntax, or a repeatable tool workflowThe relevant skill or command guidance
Durable workflow shared across projectsUser-level guidance
Repository or subsystem conventionThe closest repository guidance
Personal communication preference or user contextThe active agent's memory or personal guidance, when available

Consult active-agent and repository guidance for the exact locations and capabilities available in the current environment. Prefer the narrowest scope that prevents repetition; do not duplicate the same rule across layers.

Apply the learning

An explicit request for session learnings authorizes small, targeted updates to the selected guidance. Before editing, apply this filter:

  • Is the rule useful beyond this one session?
  • Does the selected file own this behavior?
  • Is the wording a short default with a clear exception, if needed?

If the answer is no, omit the update or use a narrower home.

When updating guidance:

  • Fix misleading instructions instead of adding competing workarounds.
  • Preserve existing structure and local conventions.
  • Keep additions to 1–6 bullets unless a concise procedural sequence is necessary.
  • Add a verification step when a recurring failure is otherwise easy to repeat.

Validate and report

Re-read every edited section. Return:

  1. The learned rules and their rationale.
  2. Each file changed and why it was the right scope.
  3. Any candidate deliberately not retained.

Common patterns

  • Replace a wrong CLI example with the verified form rather than appending a warning.
  • Capture the reason behind a placement or ordering correction, not just the requested position.
  • Keep a command thin when its corresponding skill owns the full workflow.
  • Keep public skills generic; route environment- or user-specific behavior to private or local guidance.

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.