Skip to main content
ClaudeWave

CLI, TypeScript SDK & MCP server for SkillDB — open source for transparency (the skilldb npm package)

MCP ServersOfficial Registry1 stars1 forks● TypeScriptMITUpdated today
ClaudeWave Trust Score
87/100
✓ Trusted
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Documented (README)
Last scanned: 10/6/2026
Install in Claude Code / Claude Desktop
Method: NPX · form
Claude Code CLI
claude mcp add skilldb-sdk -- npx -y form
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "skilldb-sdk": {
      "command": "npx",
      "args": ["-y", "form"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

<!-- mcp-name: io.github.devchad-cmd/skilldb -->

# skilldb

CLI, TypeScript SDK, and **MCP Server** for [SkillDB](https://skilldb.dev) — 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.

[![Add SkillDB to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=skilldb&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyItcCIsInNraWxsZGIiLCJza2lsbGRiLW1jcCJdfQ==)
[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_SkillDB-0098FF?logo=visualstudiocode&logoColor=white)](vscode:mcp/install?%7B%22name%22%3A%22skilldb%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-p%22%2C%22skilldb%22%2C%22skilldb-mcp%22%5D%7D)
[![npm](https://img.shields.io/npm/v/skilldb?logo=npm&label=skilldb)](https://www.npmjs.com/package/skilldb)

> **Open source for transparency.** This is the full source for the [`skilldb`](https://www.npmjs.com/package/skilldb) npm package — the CLI and MCP server that run **on your machine** and handle **your API key**. It's published to npm via [Trusted Publishing](https://docs.npmjs.com/trusted-publishers) (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:

```bash
# Step 1 (optional): install globally. You can also skip this — the npx form below works without it.
npm install -g skilldb

# Step 2: Get your free API key at https://skilldb.dev/api-access

# Step 3: Add to Claude Code (with API key for full content)
claude mcp add skilldb -- npx -p skilldb skilldb-mcp --api-key sk_live_YOUR_KEY
```

> **Note:** `skilldb-mcp` is a binary inside the `skilldb` package, not its own npm package — always invoke it as `npx -p skilldb skilldb-mcp` (not `npx 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](https://skilldb.dev/api-access).

**Cursor** — add to `.cursor/mcp.json`:
```json
{
  "mcpServers": {
    "skilldb": {
      "command": "npx",
      "args": ["-p", "skilldb", "skilldb-mcp"]
    }
  }
}
```

**Windsurf** — add to `mcp_config.json`:
```json
{
  "mcpServers": {
    "skilldb": {
      "command": "npx",
      "args": ["-p", "skilldb", "skilldb-mcp", "--api-key", "sk_live_xxx"]
    }
  }
}
```

**VS Code** — one-liner:
```bash
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).

## Quick Start (CLI)

```bash
# 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

```bash
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.

```bash
skilldb init
```

#### `skilldb search <query>`

Search skills by keyword. Shows inline slim preview so you know what you're getting before downloading.

```bash
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.

```bash
skilldb add software-skills
skilldb add autonomous-agent-skills
skilldb add vibe-coding-security-skills
```

#### `skilldb get <id>`

Download a single skill.

```bash
skilldb get software-skills/code-review
```

#### `skilldb info <id>`

Show metadata, slim summary, and full preview for a skill.

```bash
skilldb info software-skills/code-review
```

#### `skilldb list`

List available categories, packs, and skills.

```bash
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](#authentication). The recommended alternative to setting `SKILLDB_API_KEY` by hand.

```bash
skilldb login
```

### Smart Loading

#### `skilldb use <profile>`

Activate a focused profile — only loads relevant skills into `.skilldb/active/`.

```bash
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.

```bash
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).

```bash
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.

```bash
skilldb update                # Update everything
skilldb update software-skills  # Update one pack
```

#### `skilldb remove`

Uninstall skills from local cache.

```bash
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.

```bash
skilldb doctor
```

Shows: outdated skills, unused skills, missing dependencies, budget status, coverage gaps.

#### `skilldb stats`

Local statistics dashboard.

```bash
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.

```bash
skilldb diff software-skills/code-review
skilldb diff                  # Diff all installed
```

#### `skilldb purge`

Remove cached skills to free disk space.

```bash
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](https://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.

```bash
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).

```bash
skilldb my-skills
```

You can also do all of this from your agent via the MCP t

What people ask about skilldb-sdk

What is devchad-cmd/skilldb-sdk?

+

devchad-cmd/skilldb-sdk is mcp servers for the Claude AI ecosystem. CLI, TypeScript SDK & MCP server for SkillDB — open source for transparency (the skilldb npm package) It has 1 GitHub stars and its last recorded update is dated 2026-10-05.

How do I install skilldb-sdk?

+

You can install skilldb-sdk by cloning the repository (https://github.com/devchad-cmd/skilldb-sdk) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is devchad-cmd/skilldb-sdk safe to use?

+

Our security agent has analyzed devchad-cmd/skilldb-sdk and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains devchad-cmd/skilldb-sdk?

+

devchad-cmd/skilldb-sdk is maintained by devchad-cmd. The last recorded GitHub activity is dated 2026-10-05, with 2 open issues.

Are there alternatives to skilldb-sdk?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy skilldb-sdk to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: devchad-cmd/skilldb-sdk
[![Featured on ClaudeWave](https://claudewave.com/api/badge/devchad-cmd-skilldb-sdk)](https://claudewave.com/repo/devchad-cmd-skilldb-sdk)
<a href="https://claudewave.com/repo/devchad-cmd-skilldb-sdk"><img src="https://claudewave.com/api/badge/devchad-cmd-skilldb-sdk" alt="Featured on ClaudeWave: devchad-cmd/skilldb-sdk" width="320" height="64" /></a>

More MCP Servers

skilldb-sdk alternatives