skill-meta
This server provides a lazy-loading MCP facade over local Agent Skills catalogs, letting agents search, browse, and load skill instructions only when needed.
Search skills with
skill_searchusing natural-language keywords or a task description, optionally limiting results (default 8).Load a skill with
skill_loadby exact name to retrieve its fullSKILL.mdinstructions and local path for adjacent resources.List skills with
skill_list, optionally filtering by a substring pattern in skill names.Unify catalogs from DSH, Claude Code, Codex CLI, Magpie, and shared agent skill directories, with duplicate folder names deduplicated.
Avoid full-catalog prompt injection by exposing only three small tool schemas instead of every skill description.
Access the same catalog via CLI with
list,search,show, andservecommands.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@skill-meta search my skills for ios design and load the best match"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚠️ 已合并归档 / Deprecated & Archived: 本项目已并入统一上下文引擎 monkey-sking/organon(内置兼容
mcp-meta、skill-meta、docs-meta命令与 MCP 接口),本仓库不再单独维护。This project has been merged into monkey-sking/organon (which includes built-in
mcp-meta,skill-meta, anddocs-metaCLIs and MCP adapters). This standalone repository is archived.
skill-meta
Discover and load local Agent Skills on demand — a zero-dependency Python CLI + MCP server that unifies skill catalogs from DSH, Claude, Codex, and Magpie behind one lazy-loading facade. No skill summaries baked into your system prompt; search when needed, load what you use.
Part of the meta-tool family: pair it with mcp-meta (MCP lazy facade, 2 tools for N servers) — skill-meta does the same for skills (3 tools for N skill directories).
Why
Agent harnesses inject full skill catalogs into every turn. With 70+ skills that is thousands of tokens of descriptions repeated in every request, whether or not any skill is used. skill-meta collapses that to three small tool schemas (~1.1K chars) and loads full instructions only when a task actually needs them.
Full catalog injection | skill-meta facade | |
System-prompt cost | grows with skill count (74 skills on this machine) | 3 tool schemas, constant |
Loading | preloaded |
|
Sources | one host per catalog | DSH + Claude + Codex + Magpie + shared agents, deduplicated |
Related MCP server: Skill Jack MCP
Install
Requires Python 3.9+ (standard library only).
git clone https://github.com/monkey-sking/skill-meta.git
cd skill-meta
python3 -m pip install .Or without installing:
PYTHONPATH=src python3 -m skill_meta listCLI
skill-meta list # unified catalog across all host skill dirs
skill-meta list --json # machine-readable
skill-meta search "ios design" # keyword search, top 8
skill-meta search "lark 会议" --limit 3
skill-meta show ios-design # print full SKILL.md content
skill-meta serve # run the stdio MCP serverMCP
Register skill-meta serve as a stdio server in any MCP-capable host:
Tool | Params | Returns |
|
| matched skill names + one-line summaries |
|
| full SKILL.md content + local path (for adjacent resources) |
|
| all skills, filtered by name/description substring |
DSH (cordis patch)
- id: magpie-mcp-skill-meta
command: python3
args: [/path/to/skill-meta/venv/bin/skill-meta, serve]
agents: [dsh]Claude Code (/.claude.json) / Codex (/.codex/config.toml)
{ "mcpServers": { "skill-meta": { "command": "skill-meta", "args": ["serve"] } } }[mcp_servers.skill-meta]
command = "skill-meta"
args = ["serve"]How discovery works
The catalog scans these directories in order (first hit wins on duplicate folder names):
~/.config/magpie/library/skills— Magpie shared library~/.dsh/skills— DeepSeek Harness~/.claude/skills— Claude Code~/.codex/skills— Codex CLI~/.agents/skills— cross-agent shared
Each skill is a directory containing SKILL.md with name/description frontmatter. skill_load returns the local path so agents can resolve bundled references/, scripts/, and assets/ next to the skill. No skills, personal content, credentials, or machine-specific paths are bundled in this repo.
Current limitations
Search is keyword matching, not semantic retrieval. Whitespace-token scoring over name + description; Chinese phrase recall can be poor.
Frontmatter parser is minimal. Simple one-line values only; YAML folded/literal descriptions can surface as
>or>-.Catalog is cached until server restart; newly installed skills need a restart (or CLI re-run) to appear.
JSON-RPC handling is minimal. Notifications, invalid arguments, and missing skills need stronger protocol handling; missing skills return text without
isError.No measured end-to-end token-savings claim. Small schemas do not by themselves prove lower total task cost.
serverInforeports legacy version1.0.0; the package starts at0.1.0(kept for compatibility review).
Verify
PYTHONPATH=src python3 -m unittest discover -s tests -vRoadmap
Correct YAML frontmatter parsing (folded/literal blocks, quoted colons) — highest priority
Protocol hardening: argument validation,
isErroron failures, notification handlingCatalog refresh + configurable roots
Retrieval-quality measurement (zh/en) before considering an embedding dependency
Optional: adopt OpenSkills / Vercel skills for install/update/distribution instead of building our own
See docs/comparison.md for the full alternatives analysis and proposed improvements.
License
MIT — see LICENSE.
Available Tools
3 toolsskill_listB
List all registered agent skills with their concise one-line descriptions.
Inputs: pattern.
skill_loadA
Load full instructions and specification of a specific Agent Skill on demand. Use after identifying the relevant skill via skill_search.
Inputs: name (required).
skill_searchA
Search local Agent Skills catalog by natural language keywords or task description. Returns matched skill names and concise summaries.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
skill_search and skill_list both return names and summaries, so an agent may hesitate between them, though the distinction (query-based lookup vs. full enumeration) is readable from the descriptions. skill_load is clearly separate as a follow-up fetch of full instructions.
All three follow the same skill_<verb> pattern (search, load, list) with consistent snake_case and imperative verbs. No deviations.
Three tools map exactly to the catalog's core operations—discover by keyword, enumerate everything, then fetch details for one item. Nothing feels redundant or missing at the set level.
The read-only lifecycle (list → search → load) is fully covered with no dead ends, but there is no way to register, update, or remove a skill, so a meta/catalog domain that owns 'registered' skills has a small write-side gap.
Related MCP Connectors
Agent skills for Claude, Codex and Cursor: find, install and load skills from one connector.
Search, read and install Agent Skills (SKILL.md) for Claude Code, Cursor, Codex and Copilot.
Search and load AI agent skills. Free metadata; full content requires a Pro or Studio account.
Search and load agent skills on demand from a shared skill store.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to dynamically discover and execute tools through a structured skills system. Serves as a documentation hub where skills are defined in directories, allowing progressive loading and interpretation of capabilities.MIT
- AlicenseBqualityBmaintenanceIntegrates Agent Skills into LLMs by discovering skills in a configured directory and progressively loading their instructions and resources on demand through a structured disclosure pattern.1377 npm22MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to discover, search, and load agent skills from many sources, including other agents' skill directories, Claude Code plugin marketplaces, and remote git repositories, with no copying or syncing required.614 npm8MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to install compatible SKILL.md skills from Git repositories or local directories into a persistent registry, then discover them through search, progressive loading, and asset reads. It exposes only user-selected hot skills as individual activation tools, keeping execution and trust decisions under explicit operator control.MIT