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

Self Learning

  • 3.3k installs
  • 91 repo stars
  • Updated February 6, 2026
  • philschmid/self-learning-skill

self-learning is an agent skill that researches unfamiliar technologies from the web and generates a reusable SKILL.md skill package without inventing APIs.

About

The self-learning skill autonomously researches new technologies from the web and generates a reusable agent skill package. Developers invoke it with /learn and a topic when they need a skill for an unfamiliar library, framework, or tool and want documentation synthesized into SKILL.md format. The workflow normalizes ambiguous topics, discovers three to five authoritative URLs via web search prioritizing official docs and GitHub repositories, extracts installation, concepts, API reference, and examples while skipping navigation noise, then reads references/skill_creation_guide.md before synthesis. Generated skills follow the required SKILL.md frontmatter plus optional scripts, references, and assets directories. Saving supports workspace-specific .agent/skills/ or global ~/.gemini/antigravity/skills/ paths with overwrite warnings. Critical rules forbid hallucinated documentation, invented APIs, and unverified sources, requiring user-provided URLs when automated discovery fails. JavaScript-heavy pages can fall back to a browser subagent task to extract main content when static URL reading fails.

  • Six-step workflow from topic normalization through saved SKILL.md confirmation.
  • Web search prioritizes official docs sites and GitHub repositories over third-party tutorials.
  • Extracts installation, core concepts, API reference, and examples with scrape timestamps.
  • Reads references/skill_creation_guide.md before synthesizing the new skill structure.
  • Critical rules forbid hallucinated docs, invented APIs, and unverified source material.

Self Learning by the numbers

  • 3,344 all-time installs (skills.sh)
  • +13 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #38 of 782 Skill Development skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

self-learning capabilities & compatibility

Capabilities
topic disambiguation and kebab case normalizatio · authoritative documentation url discovery · selective content extraction from official sourc · skill.md synthesis via skill_creation_guide.md · workspace or global skill directory saving · browser subagent fallback for javascript heavy p
Use cases
research · documentation · orchestration
From the docs

What self-learning says it does

Autonomous skill generator that learns new technologies from the web.
SKILL.md
npx skills add https://github.com/philschmid/self-learning-skill --skill self-learning

Add your badge

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

Listed on Skillselion
Installs3.3k
repo stars91
Security audit1 / 3 scanners passed
Last updatedFebruary 6, 2026
Repositoryphilschmid/self-learning-skill

How do I create an agent skill for a library or framework I do not know yet using only authoritative documentation sources?

Autonomously research unfamiliar libraries or frameworks from the web and synthesize findings into a reusable agent skill package.

Who is it for?

Developers who need a new agent skill for an unfamiliar technology and want web-grounded documentation synthesis.

Skip if: Skip when authoritative documentation cannot be found or verified and the user cannot supply specific URLs.

When should I use this skill?

User wants to learn a new library or framework, create a skill for unfamiliar technology, or invokes /learn with a topic.

What you get

A saved skill folder with SKILL.md frontmatter, workflow instructions, and optional scripts, references, or assets sourced from verified URLs.

  • SKILL.md with YAML frontmatter
  • Optional scripts, references, and assets folders

By the numbers

  • Six-step workflow ending in user confirmation of saved skill.
  • Three to five authoritative URLs selected per topic.
  • Four critical rules including never hallucinating documentation.

Files

SKILL.mdMarkdownGitHub ↗

Self-Learning Skill Generator

Autonomously research and learn new technologies from the web, then generate a reusable skill.

Usage

/learn <topic>

If <topic> is missing, show usage. If topic is ambiguous, ask to clarify:

  • "react" → "React for web, React Native, or a specific library like react-query?"
  • "apollo" → "Apollo GraphQL client, Apollo Server, or Apollo Federation?"
  • "aws" → "Which AWS service? (S3, Lambda, DynamoDB, etc.)"

Normalize to kebab-case for filenames.

2. Discover Sources (Web Search)

Use web search tool to find authoritative documentation:

Search queries to try: 1. <topic> official documentation 2. <topic> getting started guide 3. <topic> API reference 4. <topic> GitHub repository

Source prioritization: 1. Official docs sites (e.g., docs., .dev) 2. Official GitHub repositories (README, /docs) 3. Official blogs/announcements

Select 3–5 high-quality URLs maximum.

If no credible sources found, ask user to provide a URL.

---

3. Extract Content (URL Reading)

For each selected URL, read the content:

Extract only relevant sections:

  • Installation / setup
  • Core concepts
  • API reference / key functions
  • Common patterns / examples
  • Version information

Skip irrelevant content:

  • Navigation, ads, login prompts
  • Unrelated sidebar content
  • Comments, forums

If reading the content fails (JavaScript-heavy sites), fall back to browser agent:

Task: Navigate to <URL> and extract the main content including:
- Installation instructions
- Core concepts and API reference
- Code examples
Return the extracted content as markdown.

Record scrape timestamp for each source (use current date: YYYY-MM-DD format).

---

4. Generate Skill

Skills are modular, self-contained packages. Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter metadata (required)
│   │   ├── name: (required)
│   │   └── description: (required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/          - Executable code (Python/Bash/etc.)
    ├── references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)

1. Read references/skill_creation_guide.md to understand the format and principles. 2. Synthesize the learned and extracted information into a new skill.

  • Trigger: Write a description that clearly defines when to use it.
  • Workflow: Create step-by-step instructions.
  • Format: Ensure valid YAML frontmatter and proper file structure.

5. Save the Skill

Antigravity supports two types of skills, save a global-workspace if asked.

  • .agent/skills/<skill-folder>/ Workspace-specific
  • ~/.gemini/antigravity/skills/<skill-folder>/ Global (all workspaces)

Create directory if it doesn't exist, warn user before overwriting existing skill.

---

6. Confirm to User

Report:

✓ Created skill: <topic>
  Sources scraped: <N>
  Saved to: .agent/skills/<topic>/SKILL.md
  This skill will auto-trigger when working with <topic>.

---

Tool Reference

  • search_web: Discover documentation URLs
  • read_url_content: Extract content from static pages
  • browser_subagent: Extract content from JavaScript-heavy sites
  • write_to_file: Save the generated skill

Critical Rules

1. Never hallucinate documentation: Only include information from scraped sources. 2. Never invent APIs: If documentation is unclear, ask the user what to do. 3. Ask for URLs: If automated discovery fails, ask user for specific URLs. 4. Verify sources: Prefer official sources over third-party tutorials.

Related skills

How it compares

Web-grounded skill factory, not manual copy-paste of unverified API guesses.

FAQ

How does self-learning find sources?

It runs web searches for official documentation, getting started guides, API reference, and GitHub repositories, selecting three to five high-quality URLs maximum.

Where are generated skills saved?

Workspace-specific .agent/skills/<skill-folder>/ or global ~/.gemini/antigravity/skills/<skill-folder>/, with a warning before overwriting an existing skill.

Can self-learning invent missing API details?

No. It never hallucinates documentation or invents APIs; if docs are unclear it asks the user what to do or requests specific URLs.

Is Self Learning safe to install?

skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Skill Developmentagentsautomation

This week in AI coding

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

unsubscribe anytime.