The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the SkillDB listing page.
CLI, TypeScript SDK, and MCP Server for SkillDB — discover, install, and manage AI agent skills.
5,900+ expert skills across 429 packs for Claude Code, Cursor, Windsurf, VS Code, and any MCP-compatible AI tool.
Open source for transparency. This is the full source for the
skilldbnpm package — the CLI and MCP server that run on your machine and handle your API key. It's published to npm via Trusted Publishing (OIDC, with provenance), so the published artifact is verifiably built from this repo. Audit away, and PRs welcome. MIT licensed.
Connect SkillDB directly to your AI coding tool via the Model Context Protocol:
Note:
skilldb-mcpis a binary inside theskilldbpackage, not its own npm package — always invoke it asnpx -p skilldb skilldb-mcp(notnpx skilldb-mcp).
⚠️ Without an API key, you can search and browse skills (metadata only). With a free API key, you get full skill content — the actual markdown instructions your agent uses. Get your key in 30 seconds at skilldb.dev/api-access.
Cursor — add to .cursor/mcp.json:
Windsurf — add to mcp_config.json:
VS Code — one-liner:
Or add the same server block to .vscode/mcp.json (workspace) / user mcp.json under "servers".
Once connected, your AI assistant can search and load skills natively. Just ask:
10 tools exposed: skilldb_search, skilldb_get, skilldb_list, skilldb_suggest, skilldb_recommend, skilldb_purge, skilldb_set_key (set/swap your API key mid-session, no restart), and the private-skill tools skilldb_my_skills, skilldb_create_skill, skilldb_update_skill (Studio plan + write-scoped key).
Or use npx skilldb without installing.
Loading 500 skills into your agent's context is worse than loading the right 5. SkillDB uses a 3-layer architecture to manage this:
Your CLAUDE.md or .cursorrules points at .skilldb/active/, not the full cache. The agent gets focused, relevant skills — not noise.
skilldb initDetect your IDE (Claude Code, Cursor, Codex CLI, OpenClaw), create .skilldb/, and add integration config.
skilldb search <query>Search skills by keyword. Shows inline slim preview so you know what you're getting before downloading.
skilldb add <pack>Download a skill pack to local cache. Idempotent — skips already-cached skills.
skilldb get <id>Download a single skill.
skilldb info <id>Show metadata, slim summary, and full preview for a skill.
skilldb listList available categories, packs, and skills.
skilldb loginPrompts for your API key and saves it to ~/.skilldbrc (user-wide) so every project picks it up via the resolution chain in Authentication. The recommended alternative to setting SKILLDB_API_KEY by hand.
skilldb use <profile>Activate a focused profile — only loads relevant skills into .skilldb/active/.
auto mode scans your package.json, file extensions, and imports to recommend the right profile.
skilldb budgetSet a maximum context budget so your agent doesn't get overloaded.
skilldb slimGenerate compressed cheat-sheet versions of skills (~30 lines instead of 300).
skilldb updateCheck for newer versions of installed skills and update them.
skilldb removeUninstall skills from local cache.
skilldb doctorHealth check and audit of your skill setup.
Shows: outdated skills, unused skills, missing dependencies, budget status, coverage gaps.
skilldb statsLocal statistics dashboard.
Shows: installed count, total lines, tokens, active profile, categories covered.
skilldb diff <id>Compare your local (possibly customized) version with the latest remote.
skilldb purgeRemove cached skills to free disk space.
Create skills that only you (and people you share them with) can read. They surface in your own search results when you're authenticated. Creating/editing requires the Studio plan and an API key with write scope — mint one at skilldb.dev/account#api-keys.
skilldb push <file.md>Create (or update) a private skill from a local Markdown file. The skill name defaults to the filename; the title resolves as --title flag → first Markdown # H1 → filename.
Options: -p, --pack, -n, --name, -t, --title, -d, --description, --tags <comma,list>, -u, --update.
skilldb my-skillsList your private skills (ones you own plus skills shared with you).
You can also do all of this from your agent via the MCP tools skilldb_create_skill / skilldb_update_skill / skilldb_my_skills.
skilldb exportExport your setup for sharing or IDE integration.
skilldb recommendScan your project and get personalized skill recommendations.
The SDK and CLI resolve your API key in order:
SKILLDB_API_KEY environment variable (CI-friendly).skilldbrc in project root (project-specific)~/.skilldbrc in home directory (user-wide)Access tiers:
write scope — private skills (skilldb push / my-skills, and the create/update MCP tools). Read-only keys are rejected with a write-scope error. Create a write-scoped key at skilldb.dev/account#api-keys.Built-in profiles map to curated skill sets:
| Profile | Skills loaded | Best for |
|---|---|---|
frontend | react-patterns, web-polish, testing, accessibility | React/Vue/Angular apps |
backend | api-design, databases, security, performance | Node/Python/Go services |
devops | kubernetes, docker, ci-cd, monitoring, cloud | Infrastructure & deployment |
security | trust-audit, input-validation, credentials, hardening | Security review & hardening |
data | sql, pipelines, analytics, visualization | Data engineering & analysis |
fullstack | frontend + backend combined | Full-stack applications |
mobile | mobile patterns, app architecture, UI | Mobile / React Native apps |
ai-agent | autonomous-agent-skills, task-decomposition, planning | Building AI agents |
auto | Detected from project | Any project |
MIT