SkillSearch

SkillSearch

Indexes every skill across all installed plugins and enables the agent to find them instantly via BM25 search through an MCP tool.

Category
访问服务器

README

SkillSeek

Find and surface the right Claude Code skill — automatically. Indexes every skill across all your installed plugins, searched instantly at every prompt.

(demo GIF coming soon)


The problem

Claude Code ships with 1700+ skills — but your agent sees only a fraction of them.

Two limits cut most skills out of view:

  • skillListingBudgetFraction caps the skill listing at roughly 1% of the context window. On a 200k-token model that is ~2000 tokens — enough for maybe 60–80 skills, not 1700+.
  • Description truncation: least-recently-used skills get their descriptions dropped entirely. The agent sees the name but not what the skill does.

Result: skills like impeccable, stop-slop, deep-research, and hundreds of plugin-bundled skills are invisible to the agent unless it happens to know the exact name.

SkillSeek fixes this by building a complete local index and routing skill lookups through BM25 search — so the agent finds impeccable when it needs copy polish, not just when someone types /impeccable.


What SkillSeek does

One index. Three surfaces.

~/.claude/skills/
~/.agents/skills/          ──► buildIndex() ──► SKILLS-INDEX.json
installed_plugins.json /                              │
  plugin caches                                       │
                                         ┌────────────┴────────────┐
                                         │                         │
                                   MCP tool                    CLI
                                skill_search            skillseek search
                                (agent calls it)        (you call it)
                                         │
                                    hooks (auto)
                                SessionStart + UserPromptSubmit
                                inject top matches into context
  • Index — scans ~/.claude/skills, ~/.agents/skills, and plugin caches discovered via installed_plugins.json. Deduplicates, namespaces plugin skills, parses YAML frontmatter.
  • BM25 search — MiniSearch with name-boosted scoring. Finds impeccable for "polish prose", stop-slop for "remove filler", deep-research for "thorough web research".
  • MCP toolskill_search(query, top_k?) — the agent calls this when it needs to find a skill. Returns a text list of matching skills with name, description, and source.
  • CLIskillseek search "<task>" for humans. skillseek index [--if-changed] to refresh.
  • HooksSessionStart prints a rotating generic nudge to use skill_search and fire-and-forget refreshes the index if stale; UserPromptSubmit runs BM25 on the actual prompt and injects up to 3 matching skill pointers into the system prompt (no injection when no match clears the pollution-guard threshold).

Install

On npm as skillseek. The index is built locally from your installed skills on first run; nothing is bundled, so your skill inventory never leaves your machine.

Option A — Claude Code plugin (recommended)

# Clone + install deps (needed so hooks and the MCP server have their Node deps at runtime)
git clone https://github.com/TheQmaks/skillseek
cd skillseek && npm install

# Register as a plugin marketplace, then install
/plugin marketplace add https://github.com/TheQmaks/skillseek
/plugin install skillseek

The plugin wires up the MCP skill_search server and both hooks via .mcp.json and hooks/hooks.json. The SessionStart hook builds the index on first run and refreshes it when it goes stale.

Option B — standalone CLI + MCP (any project)

git clone https://github.com/TheQmaks/skillseek
cd skillseek && npm install

node bin/cli.mjs index                                   # build the index for your machine
claude mcp add skillseek node "$PWD/src/mcp-server.mjs" # expose skill_search to the agent

Usage

# Search for a skill
skillseek search "product copy review"
# | skill | description |
# | --- | --- |
# | `impeccable` | Polish prose and remove filler words |
# | `stop-slop` | Ruthless filler-word removal |
# | `copy-editing` | Line-level editing for clarity |

# Rebuild the index (full)
skillseek index

# Rebuild only if skills have changed since last index
skillseek index --if-changed

# Ask "which skill should I use for X?"
skillseek which "thorough web research"

MCP tool (called by the agent):

skill_search(query: string, top_k?: number) → text listing matching skills (name, description, source)

Hooks — no configuration needed after install. Control injection verbosity:

SKILLSEEK_INJECT Behavior
off No per-prompt injection
minimal Inject only the single strongest match (very high threshold)
medium (default) Inject up to 3 strong matches; nothing on weak/irrelevant prompts

Injection is deliberately high-precision: the per-prompt hook stays silent unless a match clears a conservative BM25 threshold (filler words are filtered out first), so it never pollutes context on chatty or off-topic prompts. Borderline relevance is left to the skill_search tool.


Config

Env var Default Description
SKILLSEEK_INJECT medium Hook injection level: off, minimal, medium
SKILLSEEK_THRESHOLD preset default Override the BM25 score floor for injection (tune for your corpus size)
SKILLSEEK_INDEX ~/.claude/SKILLS-INDEX.json Override index file path

How it works

Every prompt                    Agent tool call             CLI / human
      │                               │                          │
      ▼                               ▼                          ▼
UserPromptSubmit hook          MCP skill_search          skillseek search
      │                               │                          │
      └──────────────────────────────►│◄─────────────────────────┘
                                      ▼
                              loadIndex(SKILLS-INDEX.json)
                                      │
                              BM25 search (MiniSearch)
                              name boost × 2, top-k results
                                      │
                              ┌───────┴───────────────┐
                              │                       │
                        inject into            return to caller
                        system prompt          (tool / CLI output)
                        (seen-skill filter,
                         pollution guard)

The index is built once and loaded from disk on each search call. On a warm file-system cache, search latency is under 10 ms for 1684 skills.


License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选