Memungkinkan AI agent untuk menemukan, menginstal, dan mengelola library berisi expert skills dan instruksi markdown untuk coding serta tugas-tugas khusus.
Juga dikenal sebagai devchad-cmd/skilldb-sdk, skilldb-sdk
- Stars
- 2
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 0.8.4-registry.1
- Commit terakhir
- 23 Okt 2026
- Lisensi
- MIT
Apa itu SkillDB MCP?
SkillDB adalah MCP server. Memungkinkan AI agent untuk menemukan, menginstal, dan mengelola library berisi expert skills dan instruksi markdown untuk coding serta tugas-tugas khusus.
Ringkasan dibuat dari README proyek
Tentang SkillDB MCP server
SkillDB menyediakan sistem terpusat bagi AI agent untuk menemukan, menginstal, dan mengelola library berisi expert skills dan instruksi markdown. Dirancang untuk developer yang menggunakan tools seperti Claude Code, Cursor, Windsurf, dan VS Code, sistem ini membantu mencegah overload pada context window dengan menggunakan arsitektur tiga lapis. Sistem ini mengelola full cache, profil aktif dari skill yang sedang difokuskan, serta versi instruksi slim yang terkompresi untuk memastikan agent menerima informasi yang relevan tanpa noise yang tidak perlu.
Server ini berjalan secara lokal di mesin Anda melalui npx atau instalasi npm global. Meskipun siapa pun dapat mencari dan menelusuri metadata publik menggunakan katalog anonim, untuk mengakses konten skill secara lengkap diperlukan API key Pro atau Studio. Pengguna dapat mengelola setup mereka melalui sepuluh tools spesifik, termasuk mencari, menampilkan daftar, dan merekomendasikan skill. Bagi pengguna paket Studio, server ini juga mendukung pembuatan dan pembaruan private skills melalui write-scoped keys.
Apa yang bisa Anda lakukan dengannya
- 1Optimasi context window agentAI agent dapat menggunakan budget tool untuk memastikan tidak melebihi batas baris atau token tertentu.
- 2Mencari keahlian khususAnda dapat meminta asisten Anda untuk menemukan pola coding tertentu atau meninjau instruksi dari library.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal SkillDB MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal SkillDB MCP di Claude Code
$ claude mcp add --env 'SKILLDB_API_KEY=<YOUR_SKILLDB_API_KEY>' skilldb-sdk -- npx -y skilldbInstal SkillDB MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"skilldb-sdk": {
"command": "npx",
"args": [
"-y",
"skilldb"
],
"env": {
"SKILLDB_API_KEY": "<YOUR_SKILLDB_API_KEY>"
}
}
}
}Instal SkillDB MCP di VS Code
.vscode/mcp.json
{
"servers": {
"skilldb-sdk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"skilldb"
],
"env": {
"SKILLDB_API_KEY": "<YOUR_SKILLDB_API_KEY>"
}
}
}
}Instal SkillDB MCP di VS Code CLI
$ code --add-mcp '{"name":"skilldb-sdk","type":"stdio","command":"npx","args":["-y","skilldb"],"env":{"SKILLDB_API_KEY":"<YOUR_SKILLDB_API_KEY>"}}'Instal SkillDB MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"skilldb-sdk": {
"command": "npx",
"args": [
"-y",
"skilldb"
],
"env": {
"SKILLDB_API_KEY": "<YOUR_SKILLDB_API_KEY>"
}
}
}
}Instal SkillDB MCP di Codex
$ codex mcp add skilldb-sdk --env 'SKILLDB_API_KEY=<YOUR_SKILLDB_API_KEY>' -- npx -y skilldbInstal SkillDB MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.skilldb-sdk] command = "npx" args = ["-y", "skilldb"] [mcp_servers.skilldb-sdk.env] SKILLDB_API_KEY = "<YOUR_SKILLDB_API_KEY>"
Instal SkillDB MCP di Gemini CLI
$ gemini mcp add -s user -e 'SKILLDB_API_KEY=<YOUR_SKILLDB_API_KEY>' skilldb-sdk npx -- -y skilldbInstal SkillDB MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"skilldb-sdk": {
"command": "npx",
"args": [
"-y",
"skilldb"
],
"env": {
"SKILLDB_API_KEY": "<YOUR_SKILLDB_API_KEY>"
}
}
}
}Konfigurasi
SKILLDB_API_KEYRahasiaOptional for local metadata search; full skill content requires a Pro or Studio API key. Get a key at skilldb.dev/api-access.
| Nama | Deskripsi | Tipe |
|---|---|---|
| SKILLDB_API_KEY | Optional for local metadata search; full skill content requires a Pro or Studio API key. Get a key at skilldb.dev/api-access. | Rahasia |
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaLolos
README
Lihat di GitHubskilldb
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.
MCP Server
Connect SkillDB directly to your AI coding tool via the Model Context Protocol:
# Step 1 (optional): install globally. You can also skip this — the npx form below works without it.
npm install -g skilldb
# Step 2 (optional): Get a Pro or Studio API key for full content at https://skilldb.dev/api-access
# Step 3: Add to Claude Code (omit --api-key for metadata-only access)
claude mcp add skilldb -- npx -p skilldb skilldb-mcp --api-key sk_live_YOUR_KEY
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 Pro or Studio 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:
{
"mcpServers": {
"skilldb": {
"command": "npx",
"args": ["-p", "skilldb", "skilldb-mcp"]
}
}
}
Windsurf — add to mcp_config.json:
{
"mcpServers": {
"skilldb": {
"command": "npx",
"args": ["-p", "skilldb", "skilldb-mcp", "--api-key", "sk_live_xxx"]
}
}
}
VS Code — one-liner:
code --add-mcp '{"name":"skilldb","command":"npx","args":["-p","skilldb","skilldb-mcp"]}'
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:
- "Search SkillDB for React performance patterns"
- "Load the code review skill"
- "What skills should I use for this project?"
- "Save this as a private skill" (Studio plan — see below)
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).
Hosted MCP endpoints
- Authenticated integration:
https://skilldb.dev/api/mcpuses Streamable HTTP with OAuth or a SkillDB API key. Full skill content requires a Pro or Studio account. - Anonymous SkillDB Catalog:
https://skilldb.dev/api/mcp/cataloguses Streamable HTTP without a SkillDB account. Its two tools,skilldb_searchandskilldb_get_preview, return public metadata and short previews only. It does not retrieve full skill content, install or execute skills, link accounts, or access private/team libraries.
Quick Start (CLI)
# Search for skills (with inline preview)
npx skilldb search "code review"
# Install a skill pack
npx skilldb add software-skills
# Activate a smart profile (only loads what you need)
npx skilldb use frontend
# Or auto-detect from your project
npx skilldb use auto
Install
npm install -g skilldb
Or use npx skilldb without installing.
The Memory Problem (And How We Solve It)
Loading 500 skills into your agent's context is worse than loading the right 5. SkillDB uses a 3-layer architecture to manage this:
.skilldb/
├── skills/ ← Full cache (everything downloaded)
├── active/ ← Active profile (what your agent sees — 5-15 focused skills)
├── slim/ ← Compressed cheat sheets (10x smaller)
├── config.json ← Profile + budget settings
└── manifest.json ← What's installed
Your CLAUDE.md or .cursorrules points at .skilldb/active/, not the full cache. The agent gets focused, relevant skills — not noise.
CLI Commands
Core
skilldb init
Detect your IDE (Claude Code, Cursor, Codex CLI, OpenClaw), create .skilldb/, and add integration config.
skilldb init
skilldb search <query>
Search skills by keyword. Shows inline slim preview so you know what you're getting before downloading.
skilldb search "debugging"
skilldb search "api design" --category "Technology & Engineering"
skilldb search "testing" --limit 10
skilldb add <pack>
Download a skill pack to local cache. Idempotent — skips already-cached skills.
skilldb add software-skills
skilldb add autonomous-agent-skills
skilldb add vibe-coding-security-skills
skilldb get <id>
Download a single skill.
skilldb get software-skills/code-review
skilldb info <id>
Show metadata, slim summary, and full preview for a skill.
skilldb info software-skills/code-review
skilldb list
List available categories, packs, and skills.
skilldb list
skilldb list --category "Autonomous Agents"
skilldb list --pack software-skills
skilldb login
Prompts 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 login
Smart Loading
skilldb use <profile>
Activate a focused profile — only loads relevant skills into .skilldb/active/.
skilldb use frontend # React, testing, web-polish, accessibility
skilldb use backend # API design, databases, security, performance
skilldb use devops # Kubernetes, Docker, CI/CD, monitoring
skilldb use security # Trust audit, input validation, credentials
skilldb use data # SQL, pipelines, analytics, visualization
skilldb use fullstack # Frontend + backend combined
skilldb use mobile # Mobile / React Native / app development
skilldb use ai-agent # Autonomous agent meta-skills
skilldb use auto # Auto-detect from your project files
skilldb use --list # Show available profiles
skilldb use --current # Show active profile
skilldb use none # Deactivate (clear active/)
auto mode scans your package.json, file extensions, and imports to recommend the right profile.
skilldb budget
Set a maximum context budget so your agent doesn't get overloaded.
skilldb budget # Show current usage
skilldb budget set 5000 # Max 5,000 lines
skilldb budget set 50k # Max 50,000 tokens
skilldb budget optimize # Re-rank and trim active skills to fit
skilldb slim
Generate compressed cheat-sheet versions of skills (~30 lines instead of 300).
skilldb slim # Slim all active skills
skilldb slim software-skills # Slim a specific pack
skilldb slim --ratio 0.3 # Keep 30% of content
Management
skilldb update
Check for newer versions of installed skills and update them.
skilldb update # Update everything
skilldb update software-skills # Update one pack
skilldb remove
Uninstall skills from local cache.
skilldb remove software-skills/code-review # Remove single skill
skilldb remove software-skills # Remove entire pack
skilldb remove --unused # Remove skills not in active profile
skilldb doctor
Health check and audit of your skill setup.
skilldb doctor
Shows: outdated skills, unused skills, missing dependencies, budget status, coverage gaps.
skilldb stats
Local statistics dashboard.
skilldb stats
Shows: installed count, total lines, tokens, active profile, categories covered.
skilldb diff <id>
Compare your local (possibly customized) version with the latest remote.
skilldb diff software-skills/code-review
skilldb diff # Diff all installed
skilldb purge
Remove cached skills to free disk space.
skilldb purge --inactive # Remove skills not in the active profile
skilldb purge --all # Remove ALL cached skills (including active)
skilldb purge --slim # Also drop slim summaries
skilldb purge --dry-run # Preview what would be removed, delete nothing
Private Skills (Studio)
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.
skilldb push ./my-react-patterns.md # create (pack defaults to "personal")
skilldb push ./my-react-patterns.md -p team --tags react,perf
skilldb push ./my-react-patterns.md --update # update the skill with the same name/pack
Options: -p, --pack, -n, --name, -t, --title, -d, --description, --tags <comma,list>, -u, --update.
skilldb my-skills
List your private skills (ones you own plus skills shared with you).
skilldb my-skills
You can also do all of this from your agent via the MCP tools skilldb_create_skill / skilldb_update_skill / skilldb_my_skills.
Sharing & Export
skilldb export
Export your setup for sharing or IDE integration.
skilldb export claude # CLAUDE.md snippet with skill references
skilldb export cursor # .cursorrules block
skilldb export profile # Shareable .skilldb-profile.json
skilldb export inject <id> # Print skill to stdout (for piping)
skilldb recommend
Scan your project and get personalized skill recommendations.
skilldb recommend # Analyze project and suggest
skilldb recommend --install # Auto-install recommendations
SDK Usage
import { createClient } from 'skilldb';
const db = createClient(); // auto-loads key from env/config
// Search with slim previews
const results = await db.search('code review');
for (const skill of results.skills) {
console.log(skill.title);
console.log(skill.slim); // Quick summary
}
// Get full skill content (requires a configured Pro or Studio API key)
const skill = await db.get('software-skills/code-review.md');
console.log(skill.content);
// List with filters
const listing = await db.list({ category: 'Autonomous Agents', limit: 10 });
Authentication
The SDK and CLI resolve your API key in order:
SKILLDB_API_KEYenvironment variable (CI-friendly).skilldbrcin project root (project-specific)~/.skilldbrcin home directory (user-wide)
Access tiers:
- No key — browse and search (metadata only).
- Pro or Studio key — full skill content (the actual markdown instructions).
- Studio key with
writescope — private skills (skilldb push/my-skills, and thecreate/updateMCP tools). Read-only keys are rejected with a write-scope error. Create a write-scoped key at skilldb.dev/account#api-keys.
Profiles
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 |
Requirements
- Node.js >= 18
License
MIT
Pertanyaan tentang SkillDB MCP
Bagaimana cara menambahkan SkillDB MCP ke Claude Code?
Jalankan claude mcp add --env 'SKILLDB_API_KEY=<YOUR_SKILLDB_API_KEY>' skilldb-sdk -- npx -y skilldb di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan SkillDB MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Bisakah saya membuat private skills sendiri?
Ya, pengguna dengan paket Studio dan API key dengan scope write dapat membuat dan mengelola private skills menggunakan CLI atau tools MCP.