Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search and load AI agent skills. Free metadata; full content requires a Pro or Studio account.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SKILLDB_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://skilldb.dev/api/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"skilldb": {
"command": "npx",
"args": [
"-y",
"skilldb",
"skilldb-mcp"
],
"env": {
"SKILLDB_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http skilldb https://skilldb.dev/api/mcpclaude mcp add skilldb --env SKILLDB_API_KEY=your-value -- npx -y skilldb skilldb-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"skilldb": {
"url": "https://skilldb.dev/api/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"skilldb": {
"command": "npx",
"args": [
"-y",
"skilldb",
"skilldb-mcp"
],
"env": {
"SKILLDB_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"skilldb": {
"type": "http",
"url": "https://skilldb.dev/api/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"skilldb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"skilldb",
"skilldb-mcp"
],
"env": {
"SKILLDB_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://skilldb.dev/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 devchad-cmd 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SKILLDB_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.8.4-registry.1)于31天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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:
# Step 1 (optional): install globally. You can also skip this — the npx form below works without it.
npm install -g skilldb
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:
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).
https://skilldb.dev/api/mcp uses Streamable HTTP with OAuth or a SkillDB API key. Full skill content requires a Pro or Studio account.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.# Search for skills (with inline preview)
npx skilldb search "code review"
npx skilldb add software-skills
npx skilldb use frontend
npx skilldb use auto
npm install -g skilldb
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:
.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.
skilldb initDetect your IDE (Claude Code, Cursor, Codex CLI, OpenClaw), create .skilldb/, and add integration config.
skilldb init
skilldb search 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 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 Download a single skill.
skilldb get software-skills/code-review
skilldb info Show metadata, slim summary, and full preview for a skill.
skilldb info software-skills/code-review
skilldb listList available categories, packs, and skills.
skilldb list
skilldb list --category "Autonomous Agents" skilldb list --pack software-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 login
skilldb use 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 budgetSet 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 slimGenerate 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
skilldb updateCheck for newer versions of installed skills and update them.
skilldb update # Update everything
skilldb update software-skills # Update one pack
skilldb removeUninstall 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 doctorHealth check and audit of your skill setup.
skilldb doctor
Shows: outdated skills, unused skills, missing dependencies, budget status, coverage gaps.
skilldb statsLocal statistics dashboard.
skilldb stats
Shows: installed count, total lines, tokens, active profile, categories covered.
skilldb diff Compare your local (possibly customized) version with the latest remote.
skilldb diff software-skills/code-review
skilldb diff # Diff all installed
skilldb purgeRemove 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
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 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 , -u, --update.
skilldb my-skillsList 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.
skilldb exportExport 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 # Print skill to stdout (for piping)
skilldb recommendScan your project and get personalized skill recommendations.
skilldb recommend # Analyze project and suggest
skilldb recommend --install # Auto-install recommendations
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 });
The SDK and CLI resolve your API key in order:
SKILLDB_API_KEY environment variable (CI-friendly).skilldbrc in project root (p只显示了开头部分;其余内容请在仓库中阅读