شعار Skill Retrieval MCP

Skill Retrieval MCP

المجتمع
JayCheng113

Semantic search over a licence-vetted corpus of 374 agent skills, served to your

الناشرJayCheng113
المستودعskill-retrieval-mcp
اللغةPython
التفريعات
23
النجوم
134
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Skill Retrieval MCP إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 134، والنسخ المتفرعة: 23 في المستودع المرتبط.

skill-retrieval-mcp

PyPI Python License CI

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

bash
pip install "skill-retrieval-mcp[local,hf]"
skill-mcp pull --include-index      # corpus + pre-built vector index
skill-mcp init                      # detect and register with your agents

About two minutes, mostly download. init finds the agents you have installed and writes their config for you.

init writes .mcp.json, ~/.gemini/settings.json, .cursor/mcp.json and ~/.codex/config.toml itself. For OpenClaw and Hermes it calls their own mcp add, because both keep MCP servers inside a larger hand-edited config and re-serialising it here would drop your comments. DeepSeek Harness has no mcp add, so init prints the row for you to paste.

If it misses your agent, register this entry yourself:

json
{
  "mcpServers": {
    "skill-retrieval": {
      "command": "/absolute/path/to/skill-mcp",
      "args": ["--data-dir", "/absolute/path/to/data-dir", "serve"]
    }
  }
}

Two details are load-bearing, and both fail silently if you shorten them:

  • command has to be an absolute path, not skill-mcp. The agent resolves the name itself, from a session whose PATH has routinely never seen the venv or pipx directory you installed into. which skill-mcp gives you the value.
  • --data-dir has to be spelled out, and it has to come before serve. ~ is re-resolved in whatever environment the agent spawns the server from, and the config that records your choice lives inside the chosen directory, so nothing else can recover it. A server opened on the wrong directory starts cleanly, lists its tools, and answers every search with nothing. skill-mcp status prints the resolved directory to use.

Why search instead of install

Installing skills by hand works, right up until it doesn't scale:

  • You don't know what exists. You install the ten you happen to find. Everything else, the agent guesses at.
  • You can't install what you can't name. Mid-task the agent needs a skill for "OIDC-based PyPI publishing" — you would never have thought to add it.
  • A skill library doesn't fit in the prompt. Lazy loading still puts every skill's name and description in front of the model: 37K tokens for this corpus before it has read a single one. The instructions are another 960K.
Installing by handskill-retrieval-mcp
ScaleDozens, if you're diligent374 across 8 upstream repos
DiscoveryYou find and install each oneThe agent searches by need
SelectionYou pick upfrontThe agent picks per task
MatchingName matching on descriptionsSemantic, single-digit ms, local FAISS
ProvenanceWhatever you happened to cloneEvery skill carries its repo, URL and SPDX licence

On 43 held-out queries phrased the way an agent would phrase a task — never echoing a skill's own name — the shipped corpus answers 81.4% at rank 1 and 90.7% within the top 3. The harness is in the repo; see dev.md for what it measures and what it found.

What's in the corpus

374 skills from eight repositories whose licences were read before anything was imported:

Each skill is a step-by-step guide with code examples, pitfalls and recommendations — not a one-liner. The median runs about 9,600 characters.

Every row records the repository it came from, its upstream URL and its SPDX licence, so anything you get back can be traced and attributed. Repositories without a licence permitting redistribution are not imported, however good the content.

skill-mcp status shows what you have locally.

Tools

ToolWhat it does
search_skillsSemantic search — describe what you need in natural language
keyword_searchExact match — tool names, error messages, CLI commands
get_skillFetch full instructions; call after searching
list_categoriesBrowse available domains and counts

Search returns summaries only. The agent calls get_skill for the ones it actually wants, which is where the token saving comes from.

Adding your own skills

markdown
<!-- ~/my-skills/deploy-checklist/SKILL.md -->
---
name: "deploy-checklist"
description: "Pre-deployment verification checklist for production releases"
tags: ["deployment", "production", "checklist"]
---

## Steps

1. Run full test suite...
2. Check database migrations...
bash
skill-mcp import --source directory --path ~/my-skills/

The index updates automatically — new skills are searchable immediately, and only the new ones are embedded. Pass --no-index to skip that when you are batch-importing several sources before one build. Your skills merge with the corpus; deduplication is automatic.

Configuration

Everything lives in one data directory, ~/.skill-mcp by default:

~/.skill-mcp/
├── config.yaml
├── skills.db          # SQLite + FTS5
└── index/             # FAISS

Point somewhere else with the global --data-dir flag or SKILL_MCP_DATA_DIR. The flag belongs to the group, so it goes before the subcommand:

bash
skill-mcp --data-dir /srv/skills pull

Embedding backends

The default is sentence-transformers/all-MiniLM-L6-v2 — local, free, no API key, and the one the pre-built index was built with.

BackendPre-built indexRequires
sentence-transformers (default)yesnothing
openaibuild locallyOPENAI_API_KEY
ollamabuild locallyOllama running

An index is only valid for the model that built it, so switching means rebuilding:

bash
# set backend: openai, model: text-embedding-3-large in config.yaml, then
skill-mcp build-index --backend openai

CLI reference

skill-mcp [--data-dir DIR] [--log-level LEVEL] COMMAND [ARGS]

  init [--data-dir DIR] [--no-register]        Set up the data directory, register with agents
  pull [--replace] [--include-index]           Download the corpus from HuggingFace
  import --source SOURCE --path PATH           Import your own skills
       [--no-index]
  build-index [--backend B] [--model M]        Build or update the vector index
       [--force]
  serve [--transport stdio|sse]                Start the MCP server
  search QUERY [--k N]                         Search from the terminal
  status                                       Show what is loaded
  dedup                                        Remove cross-source duplicates

Contributing

Issues and pull requests are welcome at github.com/JayCheng113/skill-retrieval-mcp. dev.md documents the architecture and the reasoning behind the design decisions, including what was tried and rejected — read it before a non-trivial change.

To propose a repository for the corpus, open an issue with its licence and a case for what it covers that the current 374 do not. The bar is in dev.md: a licence that permits redistribution, and evidence the skills actually win queries.

bash
git clone https://github.com/JayCheng113/skill-retrieval-mcp
cd skill-retrieval-mcp
pip install -e ".[all,dev]"
pytest tests/ -v    # 240 tests, ~6s

License

MIT — see LICENSE.

التثبيت

TypingMind
{
  "mcpServers": {
    "skill-retrieval-mcp": {
      "command": "skill-mcp",
      "args": [
        "serve"
      ]
    }
  }
}

استخدم MCP الخاص بـ Skill Retrieval MCP مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Skill Retrieval MCP، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Skill Retrieval MCP كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Skill Retrieval MCP.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "skill-retrieval-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Skill Retrieval MCP، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Skill Retrieval MCP.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Skill Retrieval MCP لمساعدتي في هذه المهمة؟
Skill Retrieval MCP
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Skill Retrieval MCP.

الأسئلة الشائعة

ما استخدامات خادم MCP Skill Retrieval MCP؟

Skill Retrieval MCP هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Skill Retrieval MCP مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Skill Retrieval MCP مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Skill Retrieval MCP مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Skill Retrieval MCP، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Skill Retrieval MCP بـ TypingMind؟

يعمل Skill Retrieval MCP عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Skill Retrieval MCP في TypingMind؟

يتيح Skill Retrieval MCP إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Skill Retrieval MCP؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Skill Retrieval MCP يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇