mcp2skill

mcp2skill is a skill for Claude Code, Codex from UnicomAI/wanwu. It costs 22 tokens per session (882 once invoked), scanned A, original, Apache-2.0.

A command-line tool that turns an MCP server’s tool list into structured Markdown skill documentation. MCP servers are services that expose tools an AI agent can call.

In plain words
What is it for?
Use it to document an MCP server as a SKILL.md file and detailed tool pages.
Why use it?
It removes the need to write a skill overview and separate tool descriptions by hand. It can also include connection, transport, timeout, headers, and authentication settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document an MCP server as a SKILL.md file and detailed tool pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unicomai/wanwu/mcp2skill
About the project

Wanwu is an enterprise platform for building AI agents, workflows, retrieval-augmented applications, and managing models in multi-tenant environments. It is designed for developers and enterprise teams delivering AI applications and integrations. The catalogue entries provide skills and agents for using the platform.

UnicomAI/wanwu · 2,461 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add UnicomAI/wanwu --skill mcp2skill
Clone the repo
git clone --depth 1 https://github.com/UnicomAI/wanwu

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp2skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/unicomai/wanwu/mcp2skill/github.svg)](https://agentmods.dev/skills/unicomai/wanwu/mcp2skill)
Your own site
<a href="https://agentmods.dev/skills/unicomai/wanwu/mcp2skill"><img src="https://agentmods.dev/badge/skills/unicomai/wanwu/mcp2skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp2skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/unicomai/wanwu/mcp2skill"><img src="https://agentmods.dev/badge/skills/unicomai/wanwu/mcp2skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00882
Opus 5 $0.00011 $0.00441
Sonnet 5 $0.00004 $0.00176
Haiku 4.5 $0.00002 $0.00088

Measured 6d ago against content hash d8378313479e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp2skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

configs/microservice/bff-service/configs/agent-skills/wanwu/mcp2skill/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mcp2skill

使用mcp2skill命令(已内置)将 MCP Server 的工具定义转换为 Skill 格式,生成 SKILL.md 概览和每个工具的详情文档。

Parameters

Name Type Required Description
streamableUrl string Conditional MCP Server Streamable HTTP 端点 URL(与 sseUrl 至少填一个)
sseUrl string Conditional MCP Server SSE 端点 URL(与 streamableUrl 至少填一个)
name string No Skill 名称,留空时从工具列表自动推断
description string No Skill 描述,留空时自动生成
transport string No 传输类型:streamable(默认)或 sse
output string No 输出目录,默认当前目录
timeout string No 连接超时时间,默认 30s
apiAuth object No API 认证配置
headers object No 自定义 HTTP 请求头,键值对格式

apiAuth Properties

Name Type Required Description
apiAuth.authType string No 认证类型:none(默认)、api_key_query(URL 参数)、api_key_header(请求头)
apiAuth.apiKeyQueryParam string No URL 查询参数名(authType 为 api_key_query 时使用,如 key
apiAuth.apiKeyValue string No API Key 值(连接时使用,生成输出中会被替换为占位符)
apiAuth.apiKeyHeader string No 请求头名称(authType 为 api_key_header 时使用,默认 Authorization
apiAuth.apiKeyHeaderPrefix string No 请求头前缀:bearerbasic 或自定义

Example

通过 streamable URL 转换

mcp2skill name=天气查询 streamableUrl=http://192.168.0.21:8081/mcp/server/streamable?key=xxx description="查询天气" output=./skills

通过 SSE URL 转换

mcp2skill name=地图服务 sseUrl=http://192.168.0.21:8081/mcp/server/sse transport=sse description="地图服务" output=./skills

使用 API Key 查询参数认证

mcp2skill name=天气查询 streamableUrl=http://example.com/mcp/server/streamable description="查询天气" 'apiAuth={"authType":"api_key_query","apiKeyQueryParam":"key","apiKeyValue":"my-secret-key"}'

使用请求头认证(Bearer Token)

mcp2skill name=天气查询 streamableUrl=http://example.com/mcp/server/streamable description="查询天气" 'apiAuth={"authType":"api_key_header","apiKeyHeaderPrefix":"bearer","apiKeyValue":"my-token"}'

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 79 lines · 22 tokens per session scan A d8378313479e

Subscribe to this mod's changes

mcp2skill is a skill published in the GitHub repository UnicomAI/wanwu (2,461 stars, last pushed 5d ago), licensed Apache-2.0. It adds 22 tokens to every session and 882 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dify

Use when building LLM applications with visual workflow — RAG knowledge bases, AI agents, chatbots with drag-and-drop orchestration. Dify: open-source LLM app platform supporting 30+ models (OpenAI, Claude, DeepSeek, Ollama, Qwen, GLM) with Docker deployment.

znlgis/opengis-skills · 66 tokens

ai-skills

Use when building LLM applications, RAG knowledge bases, AI agents, terminal coding agents, multi-model orchestration, plugin-based agent harnesses, or file translation. Index of 10 skills: Dify, Hermes Agent, OpenClaw, OpenCode, Pi, DocuTranslate, Oh-My-OpenAgent, Superpowers-zh, DeepSeek Harness, My OpenCode…

znlgis/opengis-skills · 86 tokens

Web2Skill

Convert one public website URL or an explicit batch of public URLs into a reusable skill zip backed by rendered HTML snapshots and a bounded JSONL retrieval index. Use to discover a documentation directory from one URL, crawl a supplied URL set sequentially, generate a source profile, or package indexed web content as…

zhimaAi/chatwiki · 67 tokens

Book2Skill

Convert one or more TXT, Markdown, DOCX, or PDF documents into a reusable skill zip backed by normalized Markdown, extracted images, and a grounded JSONL knowledge index. Invoke this skill before inspecting task files, then execute its workflow directly without listing directories.

zhimaAi/chatwiki · 56 tokens

agent-orchestration-multi-agent-optimize

Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.

ranbot-ai/awesome-skills · 38 tokens

ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

ranbot-ai/awesome-skills · 31 tokens