Skip to main content
Glama

Skill-MCP 🚀

スキルをデータとして扱う次世代 AI Agent スキルレジストリ&認知ルールエンジン 次世代 AI エージェントスキルレジストリ&認知ルールエンジン

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


🧭 核心理念とアーキテクチャの革新

従来のAgentスキルエコシステムには、業界の2大課題があります:

  1. スキル検索の非効率性:単純なキーワードマッチではロングテールのニーズに対応できず、複数スキルの連携には依存関係の解決とデータフロー計画の能力が不足しています。

  2. ルール型規範の欠如:命名規範、コードレビュー、ディープシンキング、コミット規範などの「ルール(Rules)」は、明確なトリガーワードがない限り、AIがほぼ自発的に呼び出すことはありません

Skill-MCP は、**「デュアルトラック型スキルアーキテクチャ(Dual-Track Skill Architecture)」**を提唱しています:

                               ┌───────────────────────────┐
                               │   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 スキル標準仕様 (The Skill Standard)

skills/ にあるすべてのスキルは、統一された**「三位一体」**の構成基準に従います:

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

1. skill.json 契約定義

{
  "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 記述規範

  • FrontmatternamenamespaceversionskillTypedescription を含みます。

  • 順守事項 (Do's):明確な行動規則を箇条書きで列挙します。

  • 反例対照 (Bad vs Good):明示的な対比コードを示し、LLMの解釈の曖昧(Knowledge)を排除します。


🛠️ MCP ツールマトリクス (9 Tools)

ツール名

役割

skill_search

ツール型スキルを混合検索し、activeRules に基づきルール型スキルを自動で適用する

skill_inspect

スキルの依存関係トポロジー、バージョン競合、循環依存、ファイルハッシュを調べる

skill_get

スキルの完全な SKILL.md SOP マニュアルとコンテキスト指示を取得する

skill_plan

トポロジーと過去の成功レシピ(Recipes)から、複数スキルのDAGデータフローワークフローを自動計画する

skill_run

安全サンドボックス(Node/Inline/Shell)でスキルをステップ実行し、権限モデル(Broker)で制御する

workflow_run

ワークフローDAGを全体実行し、2段階の人間介入承認(HITL)をサポートする

skill_feedback

スキルの実行結果を報告し、Thompson Sampling と Elo レートによる重み付け再編成を発生させる

skill_register

新しいスキルを動的に登録し、データベース、ハッシュ、署名(TOFU)をサポートし、品質ゲートを通過させる

skill_stats

スキルの実行回数、重み付け勝率、Elo レート、人気レシピを確認する


🚀 クイックスタート

環境要件

  • Node.js: >= 24.0.0(TypeScript の型ストリッピングとSQLiteをネイティブにサポート)

1. ローカル実行(Stdio モード)

ローカル MCP サービスとして直接 Claude Desktop や Cursor に組み込めます:

# 安装依赖
npm install

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

# 启动 Stdio MCP 服务
npm start

2. ローカル/サーバー HTTP モード(Streamable HTTP / SSE)

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

サービスが起動しているエンドポイントhttp://127.0.0.1:3000/mcp(JSON-RPC と Server-Sent Events のストリームレスポンスをサポート)。


🐳 Docker デプロイ

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

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

🔌 クライアント設定例

Claude Desktop (claude_desktop_config.json)

ローカルプロセス(Stdio):

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

リモートサーバー(HTTP):

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

🛡️ ルール型スキルエコシステム(組み込みのルールスキル)

現在、13セットのトップレベルの認知・ハイテクノロジー指向の守備ルールを作成します。

  • 🌟 Git コミット規約dev:git-conventional-commits

  • 🌟 型安全ガードdev:typescript-strict-guard

  • 🌟 コードネーミング規則dev:naming-conventions

  • 🌟 コードレビューガードdev:code-review-guard

  • 🌟 SOLID アーキテクチャの候補arch:clean-code-solid

  • 🌟 エンタープライズ RESTfulweb:restful-api-standard

  • 🌟 モダンな UI デザインdesign:modern-ui-aesthetics

  • 🧠 検証チェーン思考(CoVe)reasoning:chain-of-verification

  • 🧠 動的思考チェーンreasoning:sequential-thinking

  • 🧠 トヨタの 5 回reasoning:root-cause-5whys

  • 🧠 弁護士の代弁(対抗型批判と): reasoning:adversarial-critic

  • 🧠 第一原理からの推論reasoning:first-principles

  • 🧠 複数基準の量版決定reasoning:decision-tradeoff-matrix


📄 オープンソースライセンス

このプロジェクトは MIT License の下で公開されています。

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