Teach your agent anything with /learn

The /learn command gives your AI agent access to 100,000+ skills from agentskill.sh, right inside your editor or chat. Search, install, and manage skills mid-conversation. No restart needed.
Need your agent to handle SEO? Just type:
/learn seo
Your agent searches 100,000+ skills, suggests the best matches, and installs the one you pick. All in one conversation. Or install a specific skill directly:
/learn @anthropic/seo-content-optimizer
Why Use the /learn Command?
- Two-layer security. After incidents like OpenClaw showed how malicious skill files can compromise agents, vetting matters. Every skill on agentskill.sh is scanned server-side for 12 threat categories (command injection, data exfiltration, credential harvesting, etc.) and assigned a security score. Then
/learnperforms a second client-side verification before installing, so you get both centralized scanning and local confirmation. See our security dashboard → - Feedback loop. Agents auto-rate skills after use, so the best ones surface and broken ones get flagged by the community. Your agent contributes to, and benefits from, collective quality signals.
- Version tracking. Every installed skill is tracked with a content SHA, so you always know exactly what version you're running. When a newer version is available, your agent prompts you before updating. Nothing breaks silently.
- Search broadly. Instead of hunting for skills manually, search 100,000+ skills mid-conversation. Find what you need, install it, and keep working.
How to Install the /learn Command
Pick the method that matches your setup, from one-command plugin install to manual file copy.
Option 1: Claude Code Plugin (Recommended)
If you're using Claude Code (version 1.0.33+), this is the fastest way. Run this inside Claude Code:
/plugin marketplace add https://agentskill.sh/marketplace.json
/plugin install learn@agentskill-sh
That's it. The /learn command is now available in all your projects.
What this does: It adds the agentskill.sh marketplace and installs the learn plugin, which bundles the /learn skill. Claude Code handles updates automatically.
Option 2: GitHub Copilot CLI (Plugin)
If you're using GitHub Copilot CLI (@github/copilot), install the learn plugin from GitHub:
/plugin install https://github.com/agentskill-sh/learn
The /learn command is now available in Copilot CLI. Use it to search and install any of 100,000+ skills.
Alternative: Clone to your Copilot CLI skills directory:
git clone https://github.com/agentskill-sh/learn.git ~/.copilot/skills/learn
Option 3: Claude Desktop / Claude Cowork (Plugin URL)
Claude Desktop and Claude Cowork have a Plugins button (bottom-left of the chat window) that lets you add marketplaces by URL.
- Open Claude Desktop or Claude Cowork
- Click the Plugins button (bottom-left corner)
- Click Add marketplace
- Enter this URL:
https://agentskill.sh/marketplace.json
- Browse the available plugins and install learn
The /learn command will be available in your next conversation.
Option 4: Manus (Import from GitHub)
Manus supports importing skills directly from GitHub:
- Go to Settings → Skills in the left sidebar
- Click the + Add button (top right)
- Select Import from GitHub
- Paste this URL:
https://github.com/agentskill-sh/learn
- Click Import
The /learn command is now available. Type /learn in the chat to invoke it.
Alternative: Click Upload a skill and upload a downloaded ZIP file from agentskill.sh.
Option 5: Amp (CLI)
Amp has a built-in amp skill add command to install skills directly from GitHub:
amp skill add agentskill-sh/learn
That's it. The /learn command is now available in Amp.
For skills in a subdirectory of a repo:
amp skill add owner/repo/subdirectory
Alternative: Clone to your skills directory:
git clone https://github.com/agentskill-sh/learn.git ~/.config/amp/skills/learn
Amp discovers skills in ~/.config/amp/skills/ (global) and .agents/skills/ (project-specific).
Option 6: Settings > Skills (Upload ZIP)
If your platform supports uploading skill files:
- Download the skill ZIP from the learn skill page (click "Download skill" in the sidebar)
- Open your AI agent's Settings
- Navigate to Skills (or equivalent section)
- Upload the ZIP file or extract and copy the
SKILL.mdfile
This works for any platform that supports skill files: Claude Desktop, Claude Code, Cursor, etc.
Option 7: Git Clone (Claude Code)
Clone the learn skill directly to your Claude Code global skills directory:
git clone https://github.com/agentskill-sh/learn.git ~/.claude/skills/learn
This installs /learn globally, available in every project you open with Claude Code.
To install it for a single project only, clone it inside the project:
git clone https://github.com/agentskill-sh/learn.git .claude/skills/learn
Option 8: OpenClaw
Copy the skill to your OpenClaw skills directory:
git clone https://github.com/agentskill-sh/learn.git ~/.openclaw/skills/learn
Or for a workspace-only install:
git clone https://github.com/agentskill-sh/learn.git ./skills/learn
OpenClaw loads skills from ~/.openclaw/skills (global) and ./skills (workspace). Workspace skills take priority.
Option 9: Git Clone (Cursor)
git clone https://github.com/agentskill-sh/learn.git ~/.cursor/skills/learn
Option 10: Git Clone (Other Platforms)
Copy the SKILL.md file to your platform's skill directory:
| Platform | Directory |
|---|---|
| Claude Code | ~/.claude/skills/learn/SKILL.md |
| Cursor | ~/.cursor/skills/learn/SKILL.md |
| GitHub Copilot | .github/copilot/skills/learn/SKILL.md |
| Copilot CLI | ~/.copilot/skills/learn/SKILL.md |
| Windsurf | ~/.windsurf/skills/learn/SKILL.md |
| Cline | ~/.cline/skills/learn/SKILL.md |
| Codex | ~/.codex/skills/learn/SKILL.md |
| Gemini CLI | ~/.gemini/skills/learn/SKILL.md |
| Amp | ~/.amp/skills/learn/SKILL.md |
| Goose | ~/.goose/skills/learn/SKILL.md |
| Roo Code | ~/.roo-code/skills/learn/SKILL.md |
| Aider | ~/.aider/skills/learn/SKILL.md |
| OpenClaw | ~/.openclaw/skills/learn/SKILL.md |
| OpenCode | ~/.opencode/skills/learn/SKILL.md |
| Trae | ~/.trae/skills/learn/SKILL.md |
Use ~ (home directory) for global installation, or a relative path for per-project installation.
Using /learn
Once installed, try these commands:
Search for skills
Type any keyword or phrase to find matching skills across the entire directory.
/learn programmatic seo
/learn frontend react components
/learn marketing email sequences
Returns the top 5 matching skills with name, description, install count, and security score. Pick the one you want and it installs instantly.
Install a specific skill
Already know which skill you want? Use the @owner/name format to install it directly. No search step needed.
/learn @anthropic/seo-optimizer
/learn @vercel/nextjs-expert
Get context-aware recommendations
/learn
Run with no arguments. It analyzes your project (package.json, file types, git branch) and suggests relevant skills tailored to what you're working on.
Show trending skills
See what's popular right now across all platforms.
/learn trending
Install a skillset (multiple skills at once)
Skillsets are curated bundles of related skills. Install an entire set with one command.
/learn skillset:frontend-essentials
This fetches the skillset from agentskill.sh and installs every skill in it. Each skill goes through the same security scan as individual installs. Browse skillsets at agentskill.sh/skillsets.
Install all skills from an author
Found an author with several skills you want? Install everything they've published at once.
/learn owner:obra
This installs all skills by that GitHub user. You can also filter by repository:
/learn owner:obra/superpowers
Manage installed skills
List every skill currently installed, with version and source info.
/learn list
Check all installed skills for newer versions and apply updates.
/learn update
Uninstall a skill by its slug. Removes the skill file from your skills directory.
/learn remove <slug>
Rate a skill after using it
Rate any skill from 1 to 5 and leave an optional comment. Your feedback helps other users and agents find the best skills.
/learn feedback seo-optimizer 5 "Excellent keyword clustering"
How It Works
- Search. Queries the agentskill.sh API for matching skills
- Preview. Shows name, description, score, install count, and security score before installing
- Install. Writes the skill file with a version-tracking metadata header
- Track. Reports the install for usage analytics (platform and agent name only)
- Self-update. Before each run, checks if
/learnitself is up to date via content SHA comparison
Every installed skill includes a metadata header for version tracking:
# --- agentskill.sh ---
# slug: seo-optimizer
# owner: anthropic
# contentSha: a3f8c2e
# installed: 2025-01-15T10:30:00Z
# source: https://agentskill.sh/seo-optimizer
# ---
/learn update compares the local contentSha against the API to detect changes. No timestamps or version numbers, just deterministic content hashing.
Security
- Skills with a security score below 50 show a warning before install
- Skills below 30 require explicit user confirmation
- All security scores are computed by agentskill.sh static analysis
- No API key required. The learn skill uses the public API
Troubleshooting
The /learn command is not recognized
Make sure the SKILL.md file is in the correct directory for your platform (see the table above). Restart your AI agent or open a new session after installing.
Permission denied when cloning
Use HTTPS instead of SSH if you don't have GitHub SSH keys set up:
git clone https://github.com/agentskill-sh/learn.git ~/.claude/skills/learn
Skills are not updating
Run /learn update to check for updates. If the command itself needs updating, it will self-update automatically before executing.
Search returns no results
Try broader keywords. You can also browse skills directly at agentskill.sh.
Next Steps
- Browse all skills: discover 100,000+ skills organized by platform, category, and job role
- What is an Agent Skill?: learn what skills are and how they work
- View the learn skill source: see the full SKILL.md on GitHub