SkillDB

io.github.devchad-cmd由 GitHub 账号 devchad-cmd 发布v0.8.4-registry.1更新于 Nov 3, 2026

Search and load AI agent skills. Free metadata; full content requires a Pro or Studio account.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

SkillDB 让 AI 助手搜索、预览并加载 5900 多个专家技能,付费方案下还可管理私有技能。

可以做什么
  • 按关键词、分类或技能包搜索、预览和列出技能
  • 加载完整技能内容,并为项目获取推荐与建议
  • 管理私有技能:列出自己拥有和共享的技能,创建与更新(需 Studio 方案和写入权限密钥)
  • 在会话中设置或更换 API 密钥,并清理本地缓存的技能
适用场景
适合希望编码助手获取针对具体任务的精选指令(如代码审查、React 模式、安全加固)而非仅依赖通用知识的场景,也适合维护自有私有技能库的用户。
运行要求
可使用 skilldb.dev 的托管端点(Streamable HTTP,OAuth 或 API 密钥),或用 npx 运行本地 npm 包,需 Node.js 18 及以上。仅浏览元数据时 API 密钥可选;完整技能内容需 Pro 或 Studio 密钥,写入私有技能需具备写入权限的 Studio 密钥。密钥可通过 SKILLDB_API_KEY 环境变量或 .skilldbrc 文件提供。
安装前请注意
API 密钥属于凭据,可能通过命令行参数传入或保存在 .skilldbrc 文件中,请勿放入共享仓库。完整内容和私有技能需要付费的 Pro 或 Studio 账户。具备写入权限的密钥可创建和更新私有技能,purge 与 remove 命令会删除本地缓存的技能。匿名目录端点只返回元数据和预览。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SkillDB,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.devchad-cmd%2Fskilldb/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "skilldb": {
      "type": "http",
      "url": "https://skilldb.dev/api/mcp"
    }
  }
}

README

skilldb

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.

[Add SkillDB to Cursor] [Install in VS Code] [npm]

Open source for transparency. This is the full source for the 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 (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 (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-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 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:

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

Hosted MCP endpoints

  • Authenticated integration: https://skilldb.dev/api/mcp uses 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/catalog uses Streamable HTTP without a SkillDB account. Its two tools, skilldb_search and skilldb_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)

bash
# Search for skills (with inline preview)npx skilldb search "code review"
# Install a skill packnpx skilldb add software-skills
# Activate a smart profile (only loads what you need)npx skilldb use frontend
# Or auto-detect from your projectnpx 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-skillsskilldb add autonomous-agent-skillsskilldb 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 listskilldb 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.

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, accessibilityskilldb use backend           # API design, databases, security, performanceskilldb use devops            # Kubernetes, Docker, CI/CD, monitoringskilldb use security          # Trust audit, input validation, credentialsskilldb use data              # SQL, pipelines, analytics, visualizationskilldb use fullstack         # Frontend + backend combinedskilldb use mobile            # Mobile / React Native / app developmentskilldb use ai-agent          # Autonomous agent meta-skillsskilldb use auto              # Auto-detect from your project filesskilldb use --list            # Show available profilesskilldb use --current         # Show active profileskilldb 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 usageskilldb budget set 5000       # Max 5,000 linesskilldb budget set 50k        # Max 50,000 tokensskilldb 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 skillsskilldb slim software-skills  # Slim a specific packskilldb 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 everythingskilldb update software-skills  # Update one pack
skilldb remove

Uninstall skills from local cache.

bash
skilldb remove software-skills/code-review    # Remove single skillskilldb remove software-skills                # Remove entire packskilldb 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-reviewskilldb diff                  # Diff all installed
skilldb purge

Remove cached skills to free disk space.

bash
skilldb purge --inactive      # Remove skills not in the active profileskilldb purge --all           # Remove ALL cached skills (including active)skilldb purge --slim          # Also drop slim summariesskilldb 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.

bash
skilldb push ./my-react-patterns.md                    # create (pack defaults to "personal")skilldb push ./my-react-patterns.md -p team --tags react,perfskilldb 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 tools skilldb_create_skill / skilldb_update_skill / skilldb_my_skills.

Sharing & Export

skilldb export

Export your setup for sharing or IDE integration.

bash
skilldb export claude         # CLAUDE.md snippet with skill referencesskilldb export cursor         # .cursorrules blockskilldb export profile        # Shareable .skilldb-profile.jsonskilldb export inject <id>    # Print skill to stdout (for piping)
skilldb recommend

Scan your project and get personalized skill recommendations.

bash
skilldb recommend             # Analyze project and suggestskilldb recommend --install   # Auto-install recommendations

SDK Usage

typescript
import { createClient } from 'skilldb';
const db = createClient(); // auto-loads key from env/config
// Search with slim previewsconst 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 filtersconst listing = await db.list({ category: 'Autonomous Agents', limit: 10 });

Authentication

The SDK and CLI resolve your API key in order:

  1. SKILLDB_API_KEY environment variable (CI-friendly)
  2. .skilldbrc in project root (project-specific)
  3. ~/.skilldbrc in 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 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.

Profiles

Built-in profiles map to curated skill sets:

ProfileSkills loadedBest for
frontendreact-patterns, web-polish, testing, accessibilityReact/Vue/Angular apps
backendapi-design, databases, security, performanceNode/Python/Go services
devopskubernetes, docker, ci-cd, monitoring, cloudInfrastructure & deployment
securitytrust-audit, input-validation, credentials, hardeningSecurity review & hardening
datasql, pipelines, analytics, visualizationData engineering & analysis
fullstackfrontend + backend combinedFull-stack applications
mobilemobile patterns, app architecture, UIMobile / React Native apps
ai-agentautonomous-agent-skills, task-decomposition, planningBuilding AI agents
autoDetected from projectAny project

Requirements

  • Node.js >= 18

License

MIT

来源:README.md,提交 a4459e4

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v0.8.4-registry.1最新Oct 6, 2026
  2. v0.8.3Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分