JS

jaycheng113/skill-retrieval-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

137 stars 质量 76 趋势 4MIT

jaycheng113/skill-retrieval-mcp 是从 https://github.com/jaycheng113/skill-retrieval-mcp. 导入的 Agent Skill 候选人。

概览

jaycheng113/skill-retrieval-mcp 是从 https://github.com/jaycheng113/skill-retrieval-mcp. 导入的 Agent Skill 候选人。

概述(AI 翻译)

对经过许可审核的374个代理技能语料库进行语义搜索,服务于您的 通过MCP编码代理。本地运行,响应时间为个位数毫秒,能完成 零API调用。

可支持 Claude Code、Codex CLI、Gemini CLI、Cursor、OpenClaw, Hermes,以及任何兼容MCP的代理。

这两个搜索都是实际输出的语料库,而不是插图。 里面有三个元素是整个设计:

  • 搜索返回摘要,而非指令。 五个摘要费用较高 一百个代币;特工实际读取的唯一技能大约花费2400。
  • **最热门的不一定是正确的。**代理人选了#4,因为 描述说第一次——这是排名无法做出的判断。那 这也是为什么搜索会反馈描述,而不是直接注入获胜者。
  • 代理会随着任务演进再次搜索。 既不“自动缩放”也不 “舱体”出现在用户要求的列表中。

安装

大约两分钟,主要是下载。init 找到你安装的代理 然后帮你写配置。

手工注册

init 写作 .mcp.json、~/.gemini/settings.json、.cursor/mcp.json 和 ~/.codex/config.toml 本身。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

skill-retrieval-mcp

Semantic search over a licence-vetted corpus of 374 agent skills, served to your coding agent over MCP. Runs locally, answers in single-digit milliseconds, makes zero API calls.

Works with Claude Code, Codex CLI, Gemini CLI, Cursor, OpenClaw, Hermes, and any MCP-compatible agent.

You: "Deploy this service to GKE"

─── Step 1: the agent searches ───────────────────────────────────────

Agent: search_skills("deploy a containerised service on kubernetes")   ← 6ms
     → 5 results (summaries only, no full instructions):
       1. "gke-service-networking"   (0.56) - Gateway API, Ingress, Cloud Armor, NEGs, managed SSL
       2. "gke-workload-scaling"     (0.51) - HPA and VPA for GKE workloads
       3. "gke-manifest-generation"  (0.51) - Production-ready Kubernetes YAML for Autopilot/Standard
       4. "gke-app-onboarding"       (0.46) - Containerizing and deploying an app to GKE for the first time
       5. "gke-basics"               (0.44) - Cluster provisioning, credentials, Autopilot vs Standard

─── Step 2: it reads the descriptions and picks #4, not #1 ───────────

Agent: get_skill("gke-app-onboarding")
     → gets the full guide: containerization, manifests, migration path
     → writes the Dockerfile and deployment.yaml

─── Step 3: a new need emerges mid-task ──────────────────────────────

Agent: # the service has to survive traffic spikes — search again
       search_skills("autoscale pods on cpu and memory")               ← 6ms
     → "gke-workload-scaling" (0.61) - Horizontal and Vertical Pod Autoscaler for GKE
     → reads the guide, adds the HPA manifest

Both searches are real output from the shipped corpus, not an illustration. Three things in it are the whole design:

  • Search returns summaries, not instructions. Five summaries cost a few hundred tokens; the one skill the agent actually reads costs about 2,400.
  • The top hit is not always the right one. The agent picked #4 because its description says for the first time — a judgement no ranking can make. That is why search hands back descriptions instead of injecting the winner.
  • The agent searches again as the task evolves. Neither “autoscale” nor “pods” appeared in what the user asked for.

Installation

pip install "skill-retrieval-mcp[local,hf]"
skill-mcp pull --include-index      # corpus + pre-built vector index
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add jaycheng113/skill-retrieval-mcp
新手?先看 mcpskill.org 教程 →