Skip to content
Skills Library
AI & agents · Research

learn-from-lessons

/learn-from-lessons

Lessons this person's past agent sessions taught — principles, rules and project facts, each linked to the transcript turns it came from. Use before a risky or recurring step (pushing, PRs, deploys, spending API credit, writing paper prose, reporting results), when starting in a project you have not seen this session, or right after the person corrects you. Also when they ask about "lessons", "dream", or memory from past sessions.

Licence
MIT
Last repository change
08.11.2026

Assessment and security

90/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Lessons this person's past agent sessions taught — principles, rules and project facts, each linked to the transcript turns it came from. Use before a risky or recurring step (pushing, PRs, deploys, spending API credit, writing paper prose, reporting results), when starting in a project you have not seen this session, or right after the person corrects you. Also when they ask about "lessons", "dream", or memory from past sessions.

Triggers from the description

lessonsdream
Original author description

Lessons this person's past agent sessions taught — principles, rules and project facts, each linked to the transcript turns it came from. Use before a risky or recurring step (pushing, PRs, deploys, spending API credit, writing paper prose, reporting results), when starting in a project you have not seen this session, or right after the person corrects you. Also when they ask about "lessons", "dream", or memory from past sessions.

How it works

  1. Always
  2. Before a risky or recurring step
  3. After
Original SKILL.md headings · 35 lines, 247 words
SKILL.md preview
---
name: learn-from-lessons
description: Lessons this person's past agent sessions taught — principles, rules and project facts, each linked to the transcript turns it came from. Use before a risky or recurring step (pushing, PRs, deploys, spending API credit, writing paper prose, reporting results), when starting in a project you have not seen this session, or right after the person corrects you. Also when they ask about "lessons", "dream", or memory from past sessions.
---

# learn-from-lessons

Lessons are **predictions** from this person's own transcripts: "in this situation, doing X avoids a correction".
Follow them unless the person says otherwise now; if they conflict, the person wins — mention it in one line.

Levels: `principle` (few, always apply) → `rule` (one situation) → `instance` (one project or tool).
Each lesson lists `scenarios` (`writing-paper`, `coding`, `release-deploy`, `cost-resources`, `reporting`, …) and a
`strength` (`must` = the person once stopped or reverted an agent over it).

## Always

Principles are in the injected index (between `learn-from-lessons` markers in CLAUDE.md/AGENTS.md); keep them in mind.

## Before a risky or recurring step

Search with the current scenario — before pushing or opening a PR, spending credit or launching paid runs, writing
paper prose, and reporting results:

```bash
lessons search "<what you are about to do>" --cwd --context "<the person's request>"   # infers the scenario
lessons search "<...>" --cwd --scenario release-deploy --level instance                # explicit; adds project facts
```

Open a hit's file and follow its **Do**. `--all` also shows unverified candidates — treat those as hints.
MCP equivalents: `search_lessons`, `get_lesson`, `list_principles`, `infer_scenario`.

## After

- A lesson should have covered a correction, or proved wrong: say so in one line.
- No lessons yet, or a week of new sessions: suggest `lessons dream` (it calls a model — ask first), then
  `lessons inject --target CLAUDE.md --scenario <s>` (a diff; `--apply` writes it).

Do not edit lesson files from inside a task, and never copy secrets into one.

Versions

The database has no other skills named learn-from-lessons.

Database snapshot: 13.11.2026 · package version 22450b2266a5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100import
    Import lessons from past Claude Code or Codex sessions on this machine into FixMyPrompt as auto-saved drafts for the person to look over. Use when the person asks to import past sessions or lessons.
  • 100fe-learn
    Teaches the agent this project before front-end work - runs frontend-skills init or learn, reads the profile (stack, versions, helpers), confirms detected conventions such as the rem function, icon build and tokens with the person, and records confirmed lessons. Use when…
  • 100rc-memory
    Project memory under .rc/memory/ — facts, lessons, golden paths. Use before working and after a correction. Do not use to edit source.
  • 90memory
    Reads and writes the project's memory (the Obsidian vault and the docs/ folder). Use it when you need earlier context, past decisions, lessons or project conventions, or when there is something new worth remembering for future sessions.
  • 100lessons
    Capture and curate durable lessons in `.agent/lessons/` — one file per lesson, indexed in its README, surfaced by tier (enforced hook / routed doc / indexed). Use whenever the user corrects a repeatable mistake ('don't do that anymore', 'I already told you', 'remember this'),…
  • 100self-learn
    Extract reusable patterns from recent sessions, propose framework improvements, and (with approval) update the framework docs. This is the dogfooding meta-loop — the project learns from its own usage. Use when the user says "learn from this", "what did we learn", "extract…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.