Skip to main content
Glama

Skill-MCP 🚀

Die Skill-Registry der nächsten Generation für KI-Agenten und die Cognitive-Rule-Engine, die Skills als Daten behandelt Next-Gen AI Agent Skill Registry & Cognitive Rule Engine

License: MIT Node: >=24 MCP Protocol Tests: 91 Passing


📖 Kerngedanke und Architektur-Innovation

Das traditionelle Agent-Skill-Ökosystem steht vor zwei großen Branchenproblemen:

  1. Ineffiziente Skillsuche – Einfacher Keyword-Abgleich kann die Long-Tail-Anforderungen nicht abdecken, und bei der Verkettung mehrerer Skills fehlen Abhängigkeitsauflösung und Datenflussplanung.

  2. Fehlende regelbasierte Konventionen – Benennungskonventionen, Code-Review, tiefes Denken, Commit-Regeln und ähnliche „Rules“ werden von KI fast nie proaktiv aufgerufen, wenn kein eindeutiger Auslöser existiert.

Skill-MCP stellt die „Zweigleisige Skill-Architektur“ (Dual-Track Skill Architecture) vor:

                               ┌───────────────────────────┐
                               │   AI Client (Claude/Cursor)│
                               └─────────────┬─────────────┘
                                             │
                                     skill_search("...")
                                             │
                                             ▼
                      ┌──────────────────────────────────────────────┐
                      │                 Skill-MCP                    │
                      ├──────────────────────┬───────────────────────┤
                      │                      │                       │
     【按需检索】      ▼                      ▼     【强制注入】       │
  ┌─────────────────────────┐         ┌────────────────────────────┐ │
  │    Tool Skills (工具型)  │         │     Rule Skills (准则型)   │ │
  ├─────────────────────────┤         ├────────────────────────────┤ │
  │ • BM25 + 向量混合召回   │         │ • 跳过搜索竞争             │ │
  │ • 多技能工作流 DAG 规划 │         │ • 随每次检索无条件跟车附带 │ │
  │ • 沙箱隔离与 HITL 权限  │         │ • 强制规范 AI 思考与代码风格│ │
  └───────────┬─────────────┘         └────────────┬───────────────┘ │
              │                                    │                 │
              └──────────────────┬─────────────────┘                 │
                                 ▼                                   │
                      ┌──────────────────────┐                       │
                      │ 统一 Payload 返回给 AI│                       │
                      └──────────────────────┘                       │
                      └──────────────────────────────────────────────┘

Related MCP server: Agent Workflow MCP Server

📐 Skill-MCP-Skill-Standard (The Skill Standard)

Alle unter skills/ gespeicherten Skills folgen einem einheitlichen „Drei-in-Eins“-Organisationsstandard:

skills/<namespace>/<skill-name>/
├── skill.json         # 1. 机器契约(元数据、IO Schema、权限、执行入口、skillType)
├── SKILL.md           # 2. AI 执行 SOP 指南(角色定位、正反例、步骤规范)
└── scripts/           # 3. 可执行脚本工具(自动化校验器、数据抓取脚本、转换器等)
    └── run.ts

1. skill.json Vertragsdefinition

{
  "schemaVersion": 1,
  "name": "naming-conventions",
  "namespace": "dev",
  "version": "1.0.0",
  "description": "代码与变量命名规范守门人:强制统一 AI 代码命名风格,约束布尔谓词、函数动词前缀与常量大写。",
  "category": "dev",
  "tags": ["naming-conventions", "code-style", "rules"],
  "triggers": ["naming", "variable", "refactor", "code"],
  "keywords": ["naming", "camelCase", "snake_case"],
  "whenToUse": "在生成、重构或审查任何编程语言的代码时必须遵守",
  "whenNotToUse": "编写纯文本说明或无代码生成的闲聊场景无需遵守",
  
  // 核心区分:'tool' (按需搜索工具) | 'rule' (永远生效的准则)
  "skillType": "rule",

  "useCases": [
    { "task": "审查并规范生成的变量与函数命名" }
  ],
  "preconditions": {},
  "io": {
    "input": { "semanticType": "text" },
    "output": { "semanticType": "text" }
  },
  "capabilities": ["dev:naming-conventions"],
  "consumes": [],
  "dependencies": [],
  "permissions": {
    "fsRead": ["*"],
    "fsWrite": [],
    "network": [],
    "tools": [],
    "env": [],
    "maxDurationMs": 5000,
    "maxCostCents": 0,
    "mutating": false
  },
  "entrypoint": {
    "kind": "inline",
    "code": "return { applied: true, rule: 'dev:naming-conventions' };"
  },
  "status": "active"
}

2. SKILL.md Schreibregeln

  • Frontmatter: enthält name, namespace, version, skillType, description.

  • Positivregeln (Do's): Verbindliche Verhaltensregeln werden in Einzelpunkten aufgeführt.

  • Negativ-/Positiv-Vergleich (Bad vs. Good): Vergleichscodeblöcke müssen explizit angegeben werden, um Missverständnisse bei LLMs zu vermeiden.


🛠️ MCP-Tool-Matrix (9 Tools)

Tool

Zuständigkeit

skill_search

Durchsucht Werkzeug-Skills hybrid und injiziert automatisch global gültige Regel-Skills (activeRules).

skill_inspect

Zeigt die Abhängigkeitstopologie, Versionskonflikte, zyklische Abhängigkeiten und Datei-Hashwerte eines Skills an.

skill_get

Ruft das vollständige SKILL.md-SOP-Handbuch und die Kontextanweisungen eines Skills ab.

skill_plan

Plant auf Basis des Topologiegraphen und historischer Rezepte (Recipes) automatisch DAG-Datenflüsse und Workflows über mehrere Skills.

skill_run

Führt Skills in einer sicheren Sandbox (Node/Inline/Shell) schrittweise aus, kontrolliert durch das Berechtigungsmodell (Broker).

workflow_run

Orchestriert vollständige Workflow-DAGs und unterstützt die zweistufige Human-in-the-Loop-Autorisierung (HITL).

skill_feedback

Übermittelt Feedback zur Skill-Ausführung und löst via Thompson Sampling und Elo-Winrate eine dynamische Neugewinnung aus.

skill_register

Registriert neue Skills dynamisch und unterstützt Inhaltsadressierung, TOFU-Signaturbindung und Qualität der Gates.

skill_stats

Zeigt historische Aufrufs, Gewinnraten, Elo-Punktezahlen und beliebte Skill-Rezepte an.


🚀 Schnellstart

Systemanforderungen

  • Node.js: >= 24.0.0 (unterstützt nativ TypeScript Type Stripping und SQLite)

1. Lokale Ausführung (Stdio-Modus)

Direkt als lokalen MCP-Service in Claude Desktop oder Cursor integrieren:

# 安装依赖
npm install

# 运行测试套件(91 项自动化测试)
npm test

# 启动 Stdio MCP 服务
npm start

2. Lokaler/Server-HTTP-Modus (Streamable HTTP / SSE)

# 启动 HTTP 服务,监听 0.0.0.0:3000
node src/main.ts --http --host 0.0.0.0 --port 3000

Der Dienst ist unter http://127.0.0.1:3000/mcp verfügbar (unterstützt JSON-RPC und Server-Sent-Events-Sstreamere.


🐳 Docker-Bereitstellung

# 构建镜像
docker build -t skill-mcp:latest .

# 后台运行容器(数据持久化挂载)
docker run -d \
  -p 3000:3000 \
  --name skill-mcp \
  -v $(pwd)/data:/app/data \
  skill-mcp:latest

🔌 Client-Konfigurationsbeispiel

Claude Desktops (claude_desktop_config.json)

Lokale Prozessvariante (Stdio):

{
  "mcpServers": {
    "skill-mcp": {
      "command": "node",
      "args": ["/path/to/Skill-mcp/src/main.ts"]
    }
  }
}

Remote-Servervariante (HTTP):

{
  "mcpServers": {
    "remote-skill-mcp": {
      "url": "http://your-server-ip:3000/mcp"
    }
  }
}

🛡️ Integrierte Regel-Skalierungskologie (Built-in Rule Skills)

Aktuell sind 13 erstklassige kognitive und Engineering-gatekeeper-Regeln integriert:

  • 🌟 Git-Commit-Konventionen: dev:git-conventional-commits

  • 🌟 TypeScript-Typsicherheits-Guard: dev:typescript-strict-guard

  • 🌟 Code-Benennungskonventionen: dev:naming-conventions

  • 🌟 Code-Sicherheits-Review: dev:code-review-guard

  • 🌟 SOLID-Architektur-Prinzipien: arch:clean-code-solid

  • 🌟 Enterprise-RESTful-API: web:restful-api-standard

  • 🌟 Moderne Web-Ästhetik: design:modern-ui-aesthetics

  • 🧠 Vehrifikationskette (CoVe): reasoning:chain-of-verification

  • 🧠 Dynamische Gedankenketten: reasoning:sequential-thinking

  • 🧠 Toyota-5-Why: reasoning:root-cause-5whys

  • 🧠 Advocatuia Dei (Adversarial Critic): reasoning:adversarial-critic

  • 🧠 First-Principles-Ableitung: reasoning:first-principles

  • 🧠 Mehrkriterien-Entscheidungsmatrix: reasoning:decision-tradeoff-matrix


📄 Open-Source-Lizenz

Dieses Projekt wurde unter der MIT-Lizenz veröffentlicht.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Agent-first skill marketplace with USK open standard for Claude, Cursor, Gemini, Codex CLI.

  • A registry of 5,900+ peer-authored skills any MCP agent can search and load on demand.

  • Git-backed platform for skills, tools, and context for AI agents

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2428424081cn/Skill-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server