Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aviz85 avatar

Learn

  • 45 installs
  • 44 repo stars
  • Updated July 8, 2026
  • aviz85/claude-skills-library

Learn is a Claude skill that researches any topic via web and docs and retains the knowledge as a permanent, reusable Claude skill.

About

Learn researches any topic through Context7, web search, and docs, then saves the knowledge as a permanent Claude skill. A developer invokes it as /learn <topic> to make Claude an expert on a library, API, methodology, or domain in future conversations. It generates a structured skill file and can update an existing one with the --update flag.

  • Researches any topic via Context7, WebSearch, and WebFetch, then retains it as a permanent skill
  • Works for code libraries, APIs, methodologies, and domain knowledge
  • Generates a skill file at the global or project .claude/skills path following current conventions

Learn by the numbers

  • 45 all-time installs (skills.sh)
  • Ranked #340 of 779 Skill Development skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

learn capabilities & compatibility

Capabilities
skill generation · research · knowledge retention
Use cases
research · documentation · web search
Pricing
Free
From the docs

What learn says it does

Research and learn any topic, then retain the knowledge as a permanent skill.
SKILL.md
After learning, Claude becomes an expert on that topic in all future conversations.
SKILL.md
Default: `~/.claude/skills/<topic>/skill.md`
SKILL.md
npx skills add https://github.com/aviz85/claude-skills-library --skill learn

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs45
repo stars44
Last updatedJuly 8, 2026
Repositoryaviz85/claude-skills-library

What it does

Researching any library, API, or domain and retaining it as a permanent Claude skill so the agent becomes an expert on it.

Who is it for?

Turning research on a library, API, or domain into a permanent reusable Claude skill.

Skip if: Copying entire documentation or capturing knowledge Claude already knows generally.

When should I use this skill?

When the user says '/learn <topic>', 'learn about X', or 'become an expert on Z'.

What you get

A permanent, structured Claude skill capturing setup, concepts, patterns, and gotchas for the researched topic.

  • a generated skill file at ~/.claude/skills or project .claude/skills

By the numbers

  • 5-step process (research to verify/announce)
  • keeps generated skills under 500 lines

Files

SKILL.mdMarkdownGitHub ↗

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: 1. "installation setup quickstart" 2. "authentication API keys configuration" 3. "common patterns examples" 4. "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: 1. Confirm the skill was created 2. Show the description (what triggers it) 3. 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: 1. Read current skill content 2. Query docs for latest/new information 3. Merge new content, preserving existing structure 4. 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

Related skills

Skill Developmentagentsresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.