Logo von Learn

Learn

Community
TyrealQ
learn

Persist user preferences and styles across sessions. Use for remember this, save preference, learn this, always do X, never do Y, from now on, update CLAUDE.md, update CM, forget X, what do you remember, or after repeated corrections in a session.

Übersicht

HerausgeberTyrealQ
Repositoryq-skills
Skill-Namelearn
Sterne
109
Forks
1
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
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 TyrealQ auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Learn 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. Dabei liest die App 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/TyrealQ/q-skills/tree/main/skills/learn
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Ü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 unterstützt, 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/TyrealQ/q-skills.git /tmp/q-skills
mkdir -p .claude/skills
cp -r /tmp/q-skills/skills/learn .claude/skills/learn
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Learn 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 Learn 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 Learn 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-Schlüsseln.

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

Personal Preference Learning

Extract preferences, styles, and behavioral patterns from the current conversation and persist them for all future sessions.

Scope: This skill captures how the user works, writes, and wants agents to behave. It does NOT capture code patterns, error fixes, or debugging techniques.

Three-Tier Target Architecture

TierLocationLoadedUse for
User instructions~/CLAUDE.mdEvery session, in fullConcise behavioral rules that apply to all projects
User rules~/.claude/rules/*.mdEvery session (or on file match)Structured rule sets on a single topic; optionally path-scoped
Project memory~/.claude/projects/<project>/memory/First 200 lines of MEMORY.md; topic files on demandProject-specific conventions, domain context

~/CLAUDE.md should stay under 200 lines. When it grows, move coherent rule groups to ~/.claude/rules/.

Workflow

Step 1: Scan conversation

Review all user messages for extractable patterns. Use the phrase families below as signals — do not infer preferences from silence or context alone.

Explicit rules (highest priority, save immediately):

  • "always…", "never…", "from now on…", "I prefer…"
  • "remember that I…", "make sure you…"

Corrections (save if repeated, see Step 2):

  • "don't do X", "stop doing Y", "that's not right"
  • "actually, it should be…", "I told you before…"
  • User rewording or editing Claude's output in place

Positive reinforcement (save when the approach was non-obvious):

  • User thanking Claude for a specific behavior
  • Accepting an unusual choice without pushback (quieter signal — note why it was non-obvious)

Domain context (save as user-tier facts):

  • Role, expertise, institutional affiliation, teaching approach
  • Tools, frameworks, or workflows the user commits to long-term

Style edits (save as style rules):

  • User modifying prose, formatting, or structure Claude produced
  • Terminology corrections ("use X not Y")

Non-signals — skip these:

  • One-time instructions ("do X now", "for this file only")
  • Hypotheticals ("what if I wanted…", "could you also…")
  • Third-party preferences ("my coauthor likes…", "reviewers want…")
  • Silence (user didn't push back ≠ user approved)
  • Code error resolutions and library workarounds (covered by continuous-learning)
  • Patterns Claude's auto memory already captured this session

Step 2: Apply the repetition threshold

A single off-hand correction is not a durable preference. Before promoting any pattern to later steps:

  • Explicit rule ("always…", "never…", "from now on…") → save immediately
  • Repeated correction (same pattern corrected 2+ times this session or referenced as "I told you before") → save as tentative, note the repetition
  • One-time correction with no repetition and no explicit framing → skip, do not fabricate a rule
  • Inferred from silence or hypothetical → skip unconditionally (see ## Anti-Patterns below)

If a tentative pattern has been corrected 3+ times across sessions (check existing ~/CLAUDE.md for near-duplicates), surface it in Step 6 with a "Confirm as permanent rule?" flag so the user decides explicitly.

Step 3: Read current state

  1. Read ~/CLAUDE.md in full. Parse the section hierarchy (it evolves — always re-read).
  2. List files in ~/.claude/rules/ to check existing rule files.
  3. Read the current project's ~/.claude/projects/<project>/memory/MEMORY.md if it exists.
  4. Identify what is already captured across all three tiers to avoid duplication.

Step 4: Detect conflicts with existing preferences

For each extraction, search the already-loaded ~/CLAUDE.md and rule files for contradicting text. If a conflict is found:

  1. Do NOT silently overwrite the existing rule.
  2. In Step 6's preview, show both entries side-by-side under a ## Conflicts heading and ask which supersedes which.
  3. Resolution defaults: more specific scope wins (project > user rule > ~/CLAUDE.md); within the same tier, the newer instruction wins only after explicit approval.

Step 5: Classify each extraction

For each pattern that survived Steps 1–4, decide its tier:

If the pattern...Route toExample
Is a concise rule for all projects~/CLAUDE.md — match to existing section or propose new ## section"Never use em-dashes in emails"
Is part of 5+ rules on one topic~/.claude/rules/new-topic.mdA full set of workflow preferences
Is specific to the current projectProject memory"TGL uses SDT framework with 1-7 scales"
Is already covered by an existing ruleSkip — note the existing rule
Is a one-time correctionSkip

Categories and typical tiers:

CategoryTypical TierTypical Location
Writing styleUser instructions~/CLAUDE.md under ## Academic Writing subsections
Email conventionsUser instructions~/CLAUDE.md under ## Email Drafting
Communication preferencesUser instructions~/CLAUDE.md under ## Communication (create if needed)
Workflow preferencesUser instructions or rules~/CLAUDE.md or ~/.claude/rules/workflow.md
Agent behaviorUser instructions or rules~/CLAUDE.md or ~/.claude/rules/agent-behavior.md
Project domain contextProject memory~/.claude/projects/<project>/memory/

Step 6: Present proposed changes

Show a numbered preview grouped by tier:

## Tier 1: User Instructions (~/CLAUDE.md)

### [1] Add to "## Academic Writing > ### Style" (existing section)
+ - Do not use semicolons to join independent clauses in academic prose

### [2] New section: "## Workflow" (after last existing ## section)
+ - When re-running a pipeline, first check what outputs already exist in cache
+ - Prefer flat directory structures keyed by ID over nested semantic hierarchies

## Tier 2: User Rules (~/.claude/rules/)

### [3] New file: ~/.claude/rules/communication.md
+ # Communication Preferences
+ - Lead with the answer, not the reasoning

## Tier 3: Project Memory

### [4] Add to project memory MEMORY.md
+ - TGL project uses SDT framework (autonomy, competence, relatedness) scored 1-7

## Skipped

- "Use precise terminology" → already in ~/CLAUDE.md ### Word Choice

Approve all? Or specify numbers to modify/reject.

Step 7: Apply approved changes

Tier 1 — ~/CLAUDE.md:

  • Use the Edit tool for surgical insertions
  • Insert new bullets at the end of the target section, before the next heading
  • For new sections, use ## heading level (same as ## Email Drafting)
  • Report the final line count

Tier 2 — ~/.claude/rules/:

  • Create new rule files as plain markdown with a descriptive # Heading
  • Use paths frontmatter only if the rules apply to specific file types
  • One topic per file; use descriptive filenames (e.g., workflow.md, communication.md)

Tier 3 — Project memory:

  • Write to ~/.claude/projects/<project>/memory/
  • Follow the auto memory format: MEMORY.md as index, topic files for details
  • Use the same frontmatter format as existing memory files (name, description, type)

Confirm all changes applied.

Query Mode

The skill can also answer questions about what has already been remembered, without writing anything. Trigger phrases:

User saysAction
"What do you remember about me?" / "Show preferences"Summarize ## sections in ~/CLAUDE.md + list ~/.claude/rules/*.md files with one-line descriptions
"What's in [topic]?"Quote the matching section verbatim with its file path and line range
"Forget X"Locate X across all three tiers, show the exact lines, and ask for confirmation before deletion
"What did you learn this session?"List entries added in the current session only

Query mode is read-only — only "Forget X" writes, and only after explicit confirmation. Never infer intent: if the request is ambiguous, ask before reading.

Anti-Patterns

Common failure modes this skill must avoid. When any of these fire, skip the extraction and do not save anything.

TrapWhy it failsCorrect move
Inferring from silenceUser didn't object ≠ user approvedWait for explicit correction or repeated evidence
Promoting after one mentionFabricated rules pollute ~/CLAUDE.mdRequire explicit framing ("always…", "never…") or 2+ repetitions (see Step 2)
Learning from hypotheticals"What if I wanted X?" is a question, not a preferenceSkip unless the user commits to the framing
Learning third-party preferencesBelongs to someone else, may be wrong for current userOnly capture first-person statements
Over-generalizing from narrow context"For this one file" becomes a global rulePreserve the scope in the saved entry, or route to project memory
Learning style over substanceEchoing Claude's own phrasing back as rulesSave the behavior the user demanded, not metacommentary about it
Silently rewriting an existing ruleUser loses the audit trailSurface as a conflict in Step 4; get explicit approval

Safety Rules

  • ALWAYS show proposed changes and get explicit approval before writing any file
  • NEVER delete or modify existing preferences — only add or refine
  • NEVER rewrite entire sections
  • NEVER log preferences inferred from silence, context, or a single off-hand remark (see ## Anti-Patterns above)
  • NEVER save third-party preferences (e.g., "my coauthor likes…") — only the current user's own preferences
  • NEVER store credentials, API keys, health information, or PII, even if the user explicitly asks
  • If unsure which tier a preference belongs to, ask the user
  • If zero preferences are extracted, say so honestly — do not fabricate rules
  • If ~/CLAUDE.md would exceed 200 lines after changes, warn and suggest moving content to ~/.claude/rules/
  • New sections in ~/CLAUDE.md must use ## level to maintain flat hierarchy
  • For project memory, respect the existing MEMORY.md structure and index pattern

Out of Scope

This skill does NOT:

  • Track numeric confidence scores or usage-decay timers
  • Auto-sync to any external agent product config (Cursor, Gemini, OpenClaw, …)
  • Modify its own SKILL.md
  • Edit CHANGELOG.md, README.md, or git history
  • Capture code error resolutions or library workarounds (that is continuous-learning's job)

Häufig gestellte Fragen

Was macht der KI-Skill Learn?

Persist user preferences and styles across sessions. Use for remember this, save preference, learn this, always do X, never do Y, from now on, update CLAUDE.md, update CM, forget X, what do you remember, or after repeated corrections in a session.

Warum Learn in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Learn 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 Learn in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/TyrealQ/q-skills/tree/main/skills/learn 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 Learn nutzen?

Jedes Modell, das Sie mit 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 Learn verwenden?

So viele Sie möchten. In TypingMind können Sie Learn mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Learn kostenlos?

Ja. Der Skill wird von TyrealQ auf GitHub unter der Lizenz MIT 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: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. 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 kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

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