Teach your agent anything with /learn

The /learn command gives your AI agent access to 40,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 40,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.
- Search broadly — Instead of hunting for skills manually, search 40,000+ skills mid-conversation. Find what you need, install it, and keep working — no context switch.
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: 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 3: 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 4: 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 5: 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 6: 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 7: 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 8: Git Clone (Cursor)
git clone https://github.com/agentskill-sh/learn.git ~/.cursor/skills/learn
Option 9: 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 |
| 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
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 40,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