
learn
Teach Claude ANY topic - code libraries, APIs, concepts, tools, methodologies, or domains. Researches via web and docs, then retains knowledge as a permanent skill. Use when user says "/learn ", "learn about X", "teach yourself Y", "become an expert on Z". Examples - "/learn stripe" for payments, "/learn GTD" for productivity, "/learn israeli-tax-law" for domain knowledge.
- Installs
- 48
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/aviz85/claude-skills-library --skill learn- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads learn automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Learn: Teach Claude Any Topic
Research and learn any topic, then retain the knowledge as a permanent skill. Works for:
- Code libraries: React, Stripe, Supabase (uses Context7 when available)
- APIs & Services: Twilio, OpenAI, Google APIs
- Concepts & Methodologies: GTD, Agile, Design Patterns
- Domain Knowledge: Tax law, medical terminology, industry practices
- Tools: Docker, Kubernetes, FFmpeg
After learning, Claude becomes an expert on that topic in all future conversations.
Usage
/learn <topic> # Create new skill from docs
/learn <topic> --update # Update existing skill with latest docs
/learn <topic> --project # Save to project (.claude/skills/) instead of global
Process
1. Research the Topic
For code libraries/APIs - try Context7 first:
mcp__plugin_context7_context7__resolve-library-id
query: "user's task/question"
libraryName: "<topic>"
For any topic (or if Context7 doesn't have it) - use WebSearch:
WebSearch: "<topic>" guide tutorial best practices
WebSearch: "<topic>" official documentation
WebSearch: "<topic>" examples patterns
For domain knowledge - broader research:
WebSearch: "<topic>" comprehensive guide
WebSearch: "<topic>" key concepts terminology
WebSearch: "<topic>" common mistakes pitfalls
Use WebFetch to read the most relevant pages found.
2. Extract Knowledge
Query the documentation for key information:
mcp__plugin_context7_context7__query-docs
libraryId: "<resolved-id>"
query: "getting started setup authentication common patterns"
Extract:
- Setup/Installation: How to get started
- Core concepts: Key abstractions and terminology
- Common patterns: Typical usage examples
- API reference: Essential methods/functions
- Gotchas: Non-obvious pitfalls mentioned in docs
- Best practices: Recommended approaches
If docs are large, make multiple targeted queries:
- "installation setup quickstart"
- "authentication API keys configuration"
- "common patterns examples"
- "error handling troubleshooting"
3. Consult Claude Code Guide
Before creating the skill, use the claude-code-guide agent to verify current skill conventions:
Task tool with subagent_type: claude-code-guide
prompt: "What are the current conventions for writing Claude Code skills?
I need to know: required/optional frontmatter fields,
description best practices, and recommended structure."
This ensures the generated skill follows the latest Claude Code patterns.
4. Generate Skill Structure
Create skill at appropriate location:
- Default:
~/.claude/skills/<topic>/skill.md - With
--project:.claude/skills/<topic>/skill.md
Skill template:
---
name: <topic>
description: <What the library does>. Use when <specific triggers>. Covers: <main capabilities>.
---
# <Topic> Quick Reference
## Setup
[Installation commands and initial config]
## Core Concepts
[Key abstractions - 2-3 sentences each]
## Common Patterns
### [Pattern 1 Name]
[Code example with brief explanation]
### [Pattern 2 Name]
[Code example with brief explanation]
## API Quick Reference
| Method | Purpose | Example |
|--------|---------|---------|
| ... | ... | ... |
## Gotchas
- [Non-obvious issue 1]
- [Non-obvious issue 2]
## Links
- [Official Docs](url)
- [API Reference](url)
5. Verify and Announce
After creating the skill:
- Confirm the skill was created
- Show the description (what triggers it)
- Show 2-3 example prompts that would activate it
Quality Guidelines
Do:
- Focus on practical, actionable information
- Include real code examples from docs
- Capture version-specific details if relevant
- Add the official docs URL for reference
Don't:
- Copy entire documentation (copyright)
- Include marketing/promotional content
- Add information Claude already knows generally
- Make the skill too long (under 500 lines)
Update Mode (--update)
When updating an existing skill:
- Read current skill content
- Query docs for latest/new information
- Merge new content, preserving existing structure
- Note version changes if applicable
Example
User: /learn stripe-payments
Claude:
1. Resolves "stripe" via Context7 → /stripe/stripe-node
2. Queries: setup, authentication, common patterns, webhooks
3. Consults claude-code-guide for current skill conventions
4. Creates ~/.claude/skills/stripe-payments/skill.md with:
- API key setup
- Payment intent flow
- Webhook verification
- Error handling patterns
5. Reports: "Created stripe-payments skill. Triggers on: 'Stripe payment', 'charge card', 'payment intent'"
Requirements
- Context7 MCP plugin (recommended) - for accessing library documentation
- OR WebSearch/WebFetch tools - as fallback for any documentation
FAQ
What does the learn skill do?
Teach Claude ANY topic - code libraries, APIs, concepts, tools, methodologies, or domains. Researches via web and docs, then retains knowledge as a permanent skill. Use when user says "/learn ", "learn about X", "teach yourself Y", "become an expert on Z". Examples - "/learn stripe" for payments, "/learn GTD" for productivity, "/learn israeli-tax-law" for domain knowledge.
How do I install learn?
Run npx skills add https://github.com/aviz85/claude-skills-library --skill learn in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/learn/ (personal) or .claude/skills/learn/ (project).
Which AI agents can use learn?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is learn safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains learn?
It is published by aviz85 in aviz85/claude-skills-library. It has 48 recorded installs.
More from aviz85/claude-skills-library
html-to-pdf
aviz85/claude-skills-library
Convert HTML to PDF with pixel-perfect rendering and excellent Hebrew/RTL support. Use when the user asks to 'convert HTML to PDF', 'generate PDF from HTML', 'create PDF from webpage', 'export to PDF', or needs PDF generation with Hebrew text support.
youtube-uploader
aviz85/claude-skills-library
Upload videos to YouTube with title, description, tags. Use for: youtube upload, publish video, share on youtube.
gh-pages-deploy
aviz85/claude-skills-library
Deploy static or interactive frontend content to GitHub Pages using gh CLI. Use when the user wants to publish, share, or make accessible any HTML/CSS/JS content - including demos, prototypes, visualizations, landing pages, portfolios, documentation, interactive tools, games, or any browser-based project. Activate whenever content needs to be publicly viewable via URL, not just when "website" is explicitly mentioned.
presentation-architect
aviz85/claude-skills-library
Transform high-level ideas or briefs into fully structured presentation scripts saved as Markdown files, describing presentations slide by slide with exhaustive detail. Use this skill when users request: (1) Creating presentation blueprints or scripts, (2) Structuring slide decks from concepts, (3) Designing presentation narratives with detailed specifications for content, layout, typography, and visuals, or (4) Creating presentation documentation for designers or presenters.
music-generator
aviz85/claude-skills-library
Generate AI music with ElevenLabs Music API. Use for: background music, soundtracks, jingles, theme songs, instrumental tracks, AI music composition.
wordpress-publisher
aviz85/claude-skills-library
Publish posts to WordPress. Use for: publish blog post, upload to WordPress, פרסם בבלוג.
Popular education & science skills
teach
mattpocock/skills
Teach the user a new skill or concept, within this workspace.
scaffold-exercises
mattpocock/skills
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
paper-context-resolver
lllllllama/rigorpilot-skills
Rigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing README guidance by default.
caveman-learn
juliusbrussee/caveman
Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.
gsap-plugins
greensock/gsap-skills
Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.
teach-impeccable
pbakaus/impeccable
DEPRECATED: Use /impeccable teach instead. This command has been folded into the impeccable skill.