Agent skill

Learn

by automagik-dev in automagik-dev/genie

Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

MITAuto-check passedAgent Workflows

Install Learn

skills CLI
$ npx skills add automagik-dev/genie --skill learn -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install automagik-dev/genie learn --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/automagik-dev/genie.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.genie/attic/skills/learn .claude/skills/learn && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
learn
GitHub stars
345
Token cost
~720 tokens
SKILL.md length
324 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

  • Works in 4 steps: Diagnose before changing anything. Read… → Propose the minimal fix in plan mode:… → Apply after approval, then confirm what… → …
  • Corrects a mistake — connects to Claude native memory
  • SKILL.md covers When to Use, Flow, Writable Surfaces and Never Touch, plus 3 more sections
  • Calls uv and pip

What it does

Learn is an agent skill from automagik-dev/genie. Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Wishes in, PRs out. CLI agent that interviews you, plans the work, dispatches parallel agents in isolated worktrees, and reviews code before you see it. The licence is MIT.

When your agent uses it

  • Corrects a mistake — connects to Claude native memory

Example prompts

  • “/learn”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Diagnose before changing anything. Read the conversation, recent changes, and relevant config to establish what went wrong and why…
  2. Propose the minimal fix in plan mode: exactly which file changes, the content, and the rationale. One learning = one surface = one change…
  3. Apply after approval, then confirm what was learned.
  4. Persist to memory: write a feedback memory (format below) and add it to the .claude/memory/MEMORY.md index so the learning survives across…

What it can do on your machine

Read from SKILL.md and the folder at commit c4f8788. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Learn loads about 720 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 324 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~720

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from automagik-dev/genie at commit c4f8788, republished under its MIT licence (© automagik-dev). 324 words, ~720 tokens.

Download SKILL.mdSave it as .claude/skills/learn/SKILL.md (or your agent's skills folder).
name
learn
description
Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

/learn — Behavioral Correction

When the user corrects a mistake, diagnose which behavioral surface caused it and apply one minimal, targeted fix. Interactive — runs in the foreground with the user.

When to Use

  • User corrects behavior ("no, don't do that", "you should always...") or a mistake must never recur
  • A pattern of repeated errors suggests a missing rule

Flow

  1. Diagnose before changing anything. Read the conversation, recent changes, and relevant config to establish what went wrong and why — missing rule, stale convention, or wrong default. Name the responsible surface. If the diagnosis is ambiguous, report what you verified and ask — never guess a surface.
  2. Propose the minimal fix in plan mode: exactly which file changes, the content, and the rationale. One learning = one surface = one change; never batch.
  3. Apply after approval, then confirm what was learned.
  4. Persist to memory: write a feedback memory (format below) and add it to the .claude/memory/MEMORY.md index so the learning survives across sessions.

Writable Surfaces

SurfacePathControls
Project conventionsCLAUDE.mdCommands, gotchas, coding rules
Agent identityAGENTS.mdRole, preferences, team behavior
PersonalitySOUL.md / IDENTITY.mdTone, communication style
Global rules~/.claude/rules/*.mdCross-project behavior
Native memory.claude/memory/Feedback, user prefs, project context
Project memorymemory/Project-scoped knowledge
Hooks.claude/settings.jsonEvent-driven automation, gates

Never Touch

  • Framework files — the installed genie plugin's skills/ and agents/
  • Other projects' files — scope is the current project only
  • Source code — learn changes behavior configuration, never implementation

Memory Format

.claude/memory/<name>.md:

markdown
---
name: <concise-name>
description: <one line for relevance matching>
type: feedback
---

<The rule itself>
**Why:** <the incident or reason the user gave>
**How to apply:** <when/where this guidance kicks in>

Example

"Stop using pip install — this system only has uv." → Diagnosis: no Python-tooling rule exists anywhere; surface is global rules, since it applies to every project. Proposal in plan mode: create ~/.claude/rules/python-tooling.md (never pip; uv tool install for CLIs, uv pip install inside venvs). On approval: write the rule, then persist a use-uv-not-pip feedback memory and index it.

Rules

  • Plan mode gates every write — user approval is the checkpoint.
  • Smallest rule that prevents recurrence — no essays.
  • Every applied learning also gets a feedback memory.

© automagik-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .genie/attic/skills/learn of automagik-dev/genie.

Open the folder on GitHubat commit c4f8788

Compare with similar skills

Learn next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Learn compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Learn this skillautomagik-dev/genie345—~720Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official37k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k34 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    37k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 34 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    794 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from automagik-dev/genie

All 19 skills in this repo
  • Brainstorm

    automagik-dev/genie

    Explore an ambiguous idea with the user, settle scope and success criteria, and produce an independently reviewed design for wish.

    345 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Report

    automagik-dev/genie

    Investigate a failure to its root cause with grounded evidence, hand the diagnosis to fix, and create a GitHub issue only when asked.

    345 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Wish

    automagik-dev/genie

    Deliver one decided task end to end — admit it, work it in one worktree, gate, independent review, bounded repair, a merge-ready PR — or plan a multi-group wish when it is bigger than one task.

    345 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Work

    automagik-dev/genie

    Execute an approved wish in dependency order with scoped workers, independent review, bounded repairs, and verified completion.

    345 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Authoring

    automagik-dev/genie

    Write or revise a Genie skill so it survives the shipped contract — frontmatter, house size, starter card, and runtime-neutral voice.

    345 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Council

    automagik-dev/genie

    Assess a proposal through independent technical, product, risk, and dissenting lenses, then synthesize a decision without mutating unless explicitly requested.

    345 GitHub stars~976 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Learn

What does Learn do?

Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory. Learn is an agent skill from automagik-dev/genie. Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

When should I use Learn?

Learn fits situations like: corrects a mistake — connects to Claude native memory.

How do I install Learn in Claude Code?

Run `npx skills add automagik-dev/genie --skill learn -a claude-code`. Or copy the skill folder (.genie/attic/skills/learn in automagik-dev/genie) into .claude/skills/learn in your project. Claude Code loads it when a task matches its description.

How do I install Learn in Codex?

Run `npx skills add automagik-dev/genie --skill learn -a codex`. Or copy the skill folder (.genie/attic/skills/learn in automagik-dev/genie) into .agents/skills/learn in your project. Codex loads it when a task matches its description.

Can I use Learn in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add automagik-dev/genie --skill learn -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/learn, .gemini/skills/learn, .github/skills/learn and .opencode/skills/learn in your project.

What does Learn need to run?

Going by SKILL.md and its folder, Learn needs the command-line tools its instructions call (uv and pip). Our summary lists: Python 3.

Does Learn access the network?

SKILL.md contains no URLs. Its commands use uv and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Learn safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Learn use?

Learn is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Learn use?

About 720 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Learn?

Skills that share tags, products or a category with Learn: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 37k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Learn?

automagik-dev (a GitHub organization) maintains it in automagik-dev/genie, which has 345 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

Source: automagik-dev/genie on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.