Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Self Learning

ASecurity

Autonomously research any technology, library, framework, or API. Discovers official documentation, extracts key information from authoritative sources, verifies across multiple pages, and generates a reusable Claude skill (SKILL.md) with installation, examples, and best practices.

8 stars
0 votes
0 copies
0 views
Added 2/7/2026
developmentjavascripttypescriptpythongojavabashreactkubernetesawsgit

Works with

cliapi

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned 2/12/2026

$npx -y skills add ychampion/claude-self-learning --skill self-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Self Learning?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Self Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ychampion-self-learning/badge)](https://www.skillsdirectory.com/skills/ychampion-self-learning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: self-learning
description: Autonomously research any technology, library, framework, or API. Discovers official documentation, extracts key information from authoritative sources, verifies across multiple pages, and generates a reusable Claude skill (SKILL.md) with installation, examples, and best practices.
---

# Self-Learning Skill

Teach Claude about any new technology and create a permanent, reusable skill from the research.

## Invocation

Trigger with:
- `/learn <topic>` - e.g., `/learn anthropic api`
- "Create a skill for <topic>"
- "Teach yourself about <topic>"
- "Learn <topic> and save it as a skill"

## Process

### Step 1: Clarify Scope

Before researching, clarify ambiguous topics:

**If topic is broad** (e.g., "react", "aws"):
Ask: "What aspect of <topic> should I focus on? For example:
- API/SDK usage
- Specific feature (e.g., hooks, lambda)
- Integration with another tool
- Or comprehensive overview?"

**If topic is specific** (e.g., "stripe webhooks", "prisma migrations"):
Proceed directly to research.

### Step 2: Discover Authoritative Sources

Use web search to find authoritative sources with targeted queries:

1. Search: `official <topic> documentation site`
2. Search: `<topic> quickstart guide getting started`
3. Search: `<topic> API reference examples`

**Source prioritization:**
1. Official documentation (docs.*, *.dev, official GitHub)
2. Official blog posts / announcements
3. Reputable tutorials (MDN, Real Python, official guides)
4. Avoid: Medium, dev.to, Stack Overflow (for primary sources)

### Step 3: Extract Content from Top Sources

Fetch and extract content from the top 3-5 URLs found.

**Extract these sections from each source:**
- [ ] Installation / Setup
- [ ] Authentication / API keys
- [ ] Core concepts / Models / Endpoints
- [ ] Basic usage examples (Python, TypeScript)
- [ ] Advanced features (streaming, tools, etc.)
- [ ] Error handling patterns
- [ ] Best practices / Common pitfalls
- [ ] Pricing / Limits (if applicable)

### Step 4: Verify and Cross-Reference

Before including any fact:
1. Confirm it appears in 2+ sources OR is from official docs
2. Check the publication/update date
3. Note any version-specific information
4. Flag anything that seems outdated or conflicting

**If conflicts found:** Prioritize official docs, note the discrepancy in the skill.

### Step 5: Interactive Refinement (Key Differentiator)

After initial research, ask the user:

"I've researched <topic>. Here's what I found:
- Installation: [summary]
- Key features: [list]
- Code examples available for: [languages]

Should I:
1. Proceed with generating the skill as-is
2. Deep-dive into a specific feature
3. Add examples for additional languages
4. Focus on a particular use case"

This ensures the generated skill matches user needs.

### Step 6: Generate the Skill

Create a complete SKILL.md using this structure:

```markdown
---
name: <slugified-topic>
description: <One clear sentence about what this technology does and when to use it>
version: 1.0.0
sources_verified: <YYYY-MM-DD>
---

# <Topic Name>

<2-3 sentence overview of what this is and its primary use case>

## Quick Reference

| Item | Value |
|------|-------|
| Official Docs | <URL> |
| Installation | `pip install X` / `npm install X` |
| Auth Required | Yes/No - <how to get keys> |
| Primary Use | <main use case> |

## Installation

### Python
```bash
pip install <package>
```

### JavaScript/TypeScript
```bash
npm install <package>
# or
bun add <package>
```

## Authentication

<How to set up API keys, environment variables, etc.>

```python
import os
# Recommended: Use environment variables
api_key = os.environ.get("<ENV_VAR_NAME>")
```

## Basic Usage

### Python

```python
# <Clear comment explaining what this does>
from <package> import <Client>

client = <Client>(api_key="your-key")

try:
    response = client.<method>(<params>)
    print(response)
except <SpecificError> as e:
    print(f"Error: {e}")
```

### TypeScript

```typescript
import { <Client> } from '<package>';

const client = new <Client>({ apiKey: process.env.<ENV_VAR> });

const response = await client.<method>(<params>);
console.log(response);
```

## Key Capabilities

### <Capability 1>
<Brief explanation with code example>

### <Capability 2>
<Brief explanation with code example>

## Best Practices

1. **<Practice>**: <Why and how>
2. **<Practice>**: <Why and how>
3. **<Practice>**: <Why and how>

## Common Errors

| Error | Cause | Fix |
|-------|-------|-----|
| <Error> | <Why> | <Solution> |

## Additional Resources

- [Official Docs](<url>)
- [API Reference](<url>)
- [Examples](<url>)

---
*Skill generated by claude-self-learning on <date>*
*Sources verified: <date>*
```

### Step 7: Save the Skill

After generating, offer storage options:

"Skill generated! Where should I save it?

1. **Project-local**: `.claude/skills/<topic>/SKILL.md` (this project only)
2. **User-global**: `~/.claude/skills/<topic>/SKILL.md` (all projects)
3. **Plugin storage**: `<plugin-path>/storage/skills/<topic>/SKILL.md` (git-tracked, shareable)
4. **GitHub Gist**: Create a public gist for sharing"

Then create the file in the chosen location.

### Step 8: Versioning (Future Updates)

When saving, also create a `.meta.json`:

```json
{
  "created": "<ISO date>",
  "updated": "<ISO date>",
  "sources": ["url1", "url2"],
  "topic": "<original query>",
  "version": "1.0.0"
}
```

This enables future `/update-skill <topic>` to refresh the skill.

## Tool Requirements

This skill requires:
- Web search capability
- Web page fetching capability
- File system access (Write tool)
- Optional: GitHub CLI for gist creation

## Examples

### Example 1: Learn about Anthropic API
```
User: /learn anthropic api
Claude: I'll research the Anthropic API. Let me find the official documentation...
[Searches, extracts, generates skill]
```

### Example 2: Learn about a specific feature
```
User: /learn stripe webhooks
Claude: I'll focus on Stripe Webhooks specifically...
[Targeted research, focused skill]
```

### Example 3: Broad topic with clarification
```
User: /learn kubernetes
Claude: Kubernetes is a broad topic. What aspect should I focus on?
- Basic concepts and architecture
- Deployment and kubectl usage
- Helm charts
- Specific resource types (pods, services, etc.)
User: Focus on basic kubectl usage
Claude: Got it, focusing on kubectl fundamentals...
```

## Notes

- Keep generated skills between 2,000-4,000 tokens
- Prioritize Python and TypeScript examples
- Include error handling in all code examples
- Verify all facts against official sources
- Include the verification date in every generated skill

Attribution

ychampionychampion
View sourceSee grades on GitHubMore from ychampion →
SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

285172 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10311 votes
View all in development →