Learn
/learn - Extract Reusable Patterns. After completing a complex task (5+ tool calls with cross-scenario reuse potential), suggest "/learn" to the user. When invoked, analyze the current task's approach and distill it into a reusable skill or improve an existing one. Also use when user says "save this as a skill", "remember this approach", or "this is reusable".
Install
/plugin marketplace add Yrzhe/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add Yrzhe/claude-skills --skill learngit clone --depth 1 https://github.com/Yrzhe/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/learn/skills/learn ~/.claude/skills/learnPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Learn — Skill Auto-Extraction Distill the current task's approach into a reusable skill, or improve an existing one. ## When to Suggest After completing a task, evaluate TWO conditions: 1. **Complexity**: 5+ tool calls used 2. **Reuse potential**: The approach applies to other projects/scenarios, not just this one If both met, suggest: "This approach might be reusable — want to `/learn` it?" Never auto-execute. Only suggest. ## Extraction Flow ### 1. Recall Check if this knowledge already exists: - Search existing skills for similar functionality - If a memory system (supermemory, MEMORY.md, etc.) is available, search it too ### 2. Review Scan the current conversation for the most recently completed task. Identify: - Core workflow steps - Key decisions and why they were made - Non-obvious tricks or gotchas discovered - Tools/libraries used and how If `/learn "description"` was provided, focus on that specific aspect. ### 3. Dedup Search ALL existing skills for similar functionality: ```bash ls ~/.claude/skills/ grep -r "<relevant keywords>" ~/.claude/skills/*/SKILL.md ``` Three outcomes: - **Similar skill exists**: Suggest `/skill-improve <skill-name>` instead. Do NOT create a duplicate. - **Similar learned skill exists**: Suggest updating that skill instead of creating new. - **No match**: Proceed to create new skill. ### 4. Assess Scope Determine where this knowledge belongs: - **Cross-project reusable workflow** → Create skill (continue to step 5)
Details
- Skill name
learn- Repository
- Yrzhe/claude-skills
- Path
plugins/learn/skills/learn/SKILL.md- License
- MIT
- Repo updated
- 27 October 2026
FAQ
What does the Learn skill do?
/learn - Extract Reusable Patterns. After completing a complex task (5+ tool calls with cross-scenario reuse potential), suggest "/learn" to the user. When invoked, analyze the current task's approach and distill it into a reusable skill or improve an existing one. Also use when user says "save this as a skill", "remember this approach", or "this is reusable".
How do I install the Learn skill?
Claude Code plugin: /plugin marketplace add Yrzhe/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Learn popular?
It lives in Yrzhe/claude-skills, which has 65 GitHub stars and 6 forks.
Related skills
Adaptive Compaction
65Yrzhe/claude-skills
Adaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without chang
Agentlog
65Yrzhe/claude-skills
Load when the user wants to view, sync, or analyze multi-agent activity across multiple devices — Claude Code / Codex / Cursor / Maestri / browser-use sessions captured to a shared GitHub-synced pool, OR wants a distilled per-project context document so a fresh agent in a different tool can pick up where another left off. Triggers on "agentlog X" commands, "what did I do today across all my agents", "show me my pool", "sync the pool", "拉一下另一台机器上的 agent 记录", "看看 vps 上跑的", "跨设备 agent log", "跨工具上下文", "switch from Codex to Claude Code", "AGENTS.md / CLAUDE.md", "项目状态文档", "agent context". Do NOT lo
Akshare a Shares
65Yrzhe/claude-skills
针对中国A股的行情与数据查询(基于本地 akshare 源代码与API映射)。当用户请求获取A股实时行情、历史K线(日/周/月)、分钟级分时(1/5/15/30/60)、复权数据(前复权/后复权)、股东户数(含详情)、以及巨潮资讯公告披露结果时使用本Skill。默认优先使用东方财富(EM)接口;如用户指定新浪(Sina)来源或需要特定接口,则按映射调用对应函数。可使用内置脚本输出CSV/JSON,或内联Python调用。
Shatter
113Hmbown/Wizards-of-the-Ghosts
Shatter is proactive, controlled destruction for learning. You are the attacker against your own system. The goal is a brittleness report with remediation priorities.
Case Study Builder
79LeadMagic/gtm-skills
Create customer case studies in sales-ready format — Challenge→Solution→Results structure, before/after metrics, quote integration, two-length formats (1-page summary + full version). Use when creating case studies, customer success stories, proof content, or sales collateral. Triggers on: "case study", "customer story", "success story", "proof content", "customer example", "results story", or any request to document customer outcomes.
Clawguard Self Improving Safety
49SafeAgent-Beihang/clawguard
Self-improving safety module that proactively learns and enforces safety constraints. Works as a standalone firewall or integrates with ClawGuard Detect for automated learning.
Browse the most popular Claude skills, all learning & education skills, or write your own with the skills generator.