Logo von Lore Lessons

Lore Lessons

Community
hsusul
lore-lessons

Turn the corrections a person gave coding agents in past sessions into short lessons filed in the Lore inbox for review. Use when asked to find lessons, learn from past corrections, or mine Lore candidates.

Übersicht

Herausgeberhsusul
Repositorylore
Skill-Namelore-lessons
Sterne
134
Forks
36
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von hsusul auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Lore Lessons in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/hsusul/lore/tree/main/plugins/claude-code/skills/lore-lessons
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsusul/lore.git /tmp/lore
mkdir -p .claude/skills
cp -r /tmp/lore/plugins/claude-code/skills/lore-lessons .claude/skills/lore-lessons
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Lore Lessons in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Lore Lessons automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Lore Lessons nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Lore lessons

You turn this person's past corrections into short rules they can review. The tools come from Lore's MCP server. Each rule you file lands in Lore's inbox as a proposal. The person accepts or rejects it later.

1. Learn what already exists

Call recall_memory with cwd set to the absolute path of the current directory. Leave out query. Read every note it returns. Never propose a new rule that an existing note already states. If a rule repeats or sharpens an existing note, file it with that note's id as updates, so the note gains the receipts.

2. Read every candidate

Call mine_candidates with cwd set to the absolute path of the current directory. While its next_cursor is not null, call it again with the same cwd and cursor set to that value. Read every page before you decide anything. If there are no candidates, say so and stop.

Each candidate has the person's words, a suggested rule, receipts, and may_conflict_with. A receipt names the session, agent, date, and repository. It quotes the person's correction, what the agent had just done as before, and the agent's reply as after. The reply's cwd_repo is the repository at the current directory.

Lore lists only candidates with a receipt no earlier run has read. Each receipt says whether it is new. Only new receipts need a rule. Older receipts are context: use them to group and to understand, but do not file a rule again for what they already said. If a new receipt repeats or sharpens a note you read in step 1, file it with that note's id as updates. Do not drop it as already covered: the person repeating a rule is a receipt for it.

Receipts with signal: "reply" are ordinary replies the rules did not flag, and most of them correct nothing. Apply the same steps to them, and drop each one that does not correct the agent or state a standing rule.

3. Understand each candidate

A correction alone is often unclear. "no, cause you never get to access it" means nothing without the turn it answers. For every receipt, read before, then correction, then after, and work out two things.

  • What the agent did that the person did not want.
  • What the person wanted instead.

If before and after do not make both clear, drop the candidate. Do not guess.

4. Keep standing rules only

Keep a candidate only when it states a rule a future session should follow. One receipt is enough.

Feedback on the style, format, length, or wording of something the agent wrote, such as a doc, a message, a resume, or a debate block, is a standing rule when it would apply to the next thing of that kind. Write the rule for that kind of output.

Drop these.

  • Questions.
  • One-off orders about a specific branch, PR, file, or task.
  • Explanations of what happened.
  • Venting.

5. Group by meaning

Put candidates that mean the same thing in one group, even when the words differ or have typos. One group becomes one rule. The group keeps all its receipts.

6. Check later turns

For each group, read its may_conflict_with turns. If a later turn overrides the rule, leave the group out. If a later turn only narrows it, keep the rule and say so in the body. A turn about something else is no conflict.

7. Write the rule

Write each rule as one short imperative sentence in plain words, such as "Run the tests before you push." It must make sense to an agent that never saw the conversation.

  • Name the thing the rule is about. Write "Keep docs out of git", not "Never track them".
  • Never start with it, this, that, they, cause, because, so, yes, or no. Lore refuses those titles.
  • Build the rule from what you worked out in step 3, not from the person's words alone. Fix wording and typos.
  • Leave out branch, PR, and file names unless the rule is about them. Keep it under 120 characters.

8. File each rule once

Call propose_memory once per rule with these fields.

  • title is the rule.
  • body is one sentence on what the agent did and what the person wanted instead, then a Receipts list with every new receipt in the group. Each item quotes the person's words and names the agent, session, and date from one receipt.
  • type is convention, or pitfall when the rule warns against a mistake.
  • scope is repo when every receipt's repo.scope is the same and not null, even when it is not cwd_repo.scope. Set cwd to the current directory when cwd_repo.scope matches, else to the repo_path of a receipt whose repo_path is not null. Otherwise scope is global. If propose_memory refuses that cwd, try the other receipts' repo_paths. If it refuses them all, or none is set, drop the rule and say why. Never file it as global instead.
  • session_id is the session of the newest receipt that your own agent recorded (Claude Code receipts when you are Claude Code, Codex receipts when you are Codex). Leave it out when no receipt in the group is your agent's: Lore refuses another agent's session.
  • enforce only when the rule is mechanical and breaking it shows in one tool call, such as AI attribution in a commit message or a planning doc being written. Give one narrow pattern for the exact violation, with tool set to bash, write, or path, and unless for a known safe form. Leave it out for any rule that needs judgment, because a hook will deny every call the pattern matches.

If propose_memory refuses the session because another agent recorded it, use the newest receipt your own agent recorded. If there is none, leave out session_id.

If propose_memory answers already_filed naming a note, call it again with updates set to that note's id, as step 2 says for a repeated rule. If it names a proposal, that rule is already waiting for review: skip it and count it as already filed in your report.

A body looks like this.

The agent pushed without formatting, and the person wanted `cargo fmt` run first.

Receipts:
- "always run cargo fmt before pushing" (claude-code, session 0193a, 2026-10-12)
- "you forgot fmt again, run it before every push" (codex, session 0194c, 2026-10-20)

9. Report

End with two short lists.

  • Filed: each rule with its proposal id.
  • Dropped: each candidate or group you left out, with the reason.

Then tell the person to run lorectl init --review to accept or reject the proposals.

Hard rules

  • Never call propose_memory for anything a mine_candidates receipt does not back.
  • Never invent sessions, dates, or quotes. Copy them from the receipts.
  • Never accept, edit, or retire notes. Only the person does that.

Häufig gestellte Fragen

Was macht der KI-Skill Lore Lessons?

Turn the corrections a person gave coding agents in past sessions into short lessons filed in the Lore inbox for review. Use when asked to find lessons, learn from past corrections, or mine Lore candidates.

Warum Lore Lessons in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Lore Lessons besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Lore Lessons in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/hsusul/lore/tree/main/plugins/claude-code/skills/lore-lessons ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Lore Lessons nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Lore Lessons verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Lore Lessons damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Lore Lessons kostenlos?

Ja. Der Skill wird von hsusul auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇