Universal skills loader for AI coding agents - npm i -g openskills
Universal skills loader for AI coding agents - npm i -g openskills
OpenSkills brings Anthropic's skills system to every AI coding agent — Claude Code, Cursor, Windsurf, Aider, Codex, and anything that can read AGENTS.md.
Think of it as the universal installer for SKILL.md.
npx openskills install anthropics/skills
npx openskills syncBy default, installs are project-local (./.claude/skills, or ./.agent/skills with --universal). Use --global for ~/.claude/skills.
Claude Code ships skills as SKILL.md files and exposes them inside a <available_skills> block. When the user asks for a task, Claude dynamically loads the matching skill.
<available_skills>
<skill>
<name>pdf</name>
<description>Comprehensive PDF manipulation toolkit for extracting text and tables...</description>
<location>plugin</location>
</skill>
</available_skills>OpenSkills generates the exact same <available_skills> XML in your AGENTS.md and loads skills via:
npx openskills read <skill-name>So any agent that can read AGENTS.md can use Claude Code skills without needing Claude Code itself.
| Aspect | Claude Code | OpenSkills |
|---|---|---|
| Prompt Format | <available_skills> XML |
Same XML |
| Skill Storage | .claude/skills/ |
.claude/skills/ (default) |
| Invocation | Skill("name") tool |
npx openskills read <name> |
| Marketplace | Anthropic marketplace | GitHub (anthropics/skills) |
| Progressive Disclosure | ✅ | ✅ |
…npx openskills install anthropics/skillsnpx openskills install your-org/your-skillsnpx openskills install ./local-skills/my-skillnpx openskills install [email protected]:your-org/private-skills.gitIf you use Claude Code and other agents with one AGENTS.md, install to .agent/skills/ to avoid conflicts with Claude's plugin marketplace:
npx openskills install anthropics/skills --universalPriority order (highest wins):
./.agent/skills/~/.agent/skills/./.claude/skills/~/.claude/skills/npx openskills install <source> [options] # Install from GitHub, local path, or private repo
npx openskills sync [-y] [-o <path>] # Update AGENTS.md (or custom output)
npx openskills list # Show installed skills
npx openskills read <name> # Load skill (for agents)
npx openskills update [name...] # Update installed skills (default: all)
npx openskills manage # Remove skills (interactive)
npx openskills remove <name> # Remove specific skill--global — Install globally to ~/.claude/skills (default: project install)--universal — Install to .agent/skills/ instead of .claude/skills/-y, --yes — Skip prompts (useful for CI)-o, --output <path> — Output file for sync (default: AGENTS.md)OpenSkills uses Anthropic's exact format:
---
name: pdf
description: Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.
---
# PDF Skill Instructions
When the user asks you to work with PDFs, follow these steps:
1. Install dependencies: `pip install pypdf2`
2. Extract text using scripts/extract_text.py
3. Use references/api-docs.md for detailsSkills are loaded on demand, keeping your agent's context clean and focused.
my-skill/
└── SKILL.mdmy-skill/
├── SKILL.md
├── references/
├── scripts/
└── assets/Install your own skill:
npx openskills install ./my-skillgit clone [email protected]:your-org/my-skills.git ~/dev/my-skills
mkdir -p .claude/skills
ln -s ~/dev/my-skills/my-skill .claude/skills/my-skillnpx openskills install anthropics/skills
npx openskills read skill-creatorIf you installed skills from a git repo, you can refresh them anytime:
npx openskills updateTo update specific skills, pass a comma-separated list:
npx openskills update git-workflow,check-branch-firstIf a skill was installed before updates were tracked, re-install it once to record its source.
npx; a global install is optional.npx openskills read foo,bar.MCP is for dynamic tools. Skills are static instructions + resources.
MCP and skills solve different problems. OpenSkills keeps skills lightweight and universal.
Apache 2.0
Implements Anthropic's Agent Skills specification.
Not affiliated with Anthropic. Claude, Claude Code, and Agent Skills are trademarks of Anthropic, PBC.
[QUESTION] Is this project still actively maintained?
[I NEED YOU!] Request for a Core Contributor!
Duplicate skill discovery when repos include examples or mirrored SKILL.md files
[BUG] `--universal` installs to `.agent/` not `.agents/`
[FEATURE] Remote path that isn't a git repo
[BUG] Path Resolution & Sandbox Access Conflict for Global OpenSkills on macOS
[FEATURE] Explicit local-first precedence for synced skills
[BUG] Clone failed
[FEATURE] Support Kilocode
[Feature]: Read skill.json from source repos for install and sync