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,386 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.5 $0.00009 $0.00353
Sonnet 5.5 $0.00004 $0.00176
Haiku 4.5 $0.00002 $0.00088

Measured 2mo ago against content hash d8378313479e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 请求头前缀:bearer、basic 或自定义

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. 2mo 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,386 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.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

mcp2skill compared with skills from other repositories

mcp2skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp2skillUnicomAI/wanwuSkill2.4k5d agoApache-2.0A22Claude Code, Codex
Web2SkillzhimaAi/chatwikiSkill2.1k3d agononeA67Codex
Book2SkillzhimaAi/chatwikiSkill2.1k3d agononeA56Codex
agent-orchestration-multi-agent-optimizeranbot-ai/awesome-skillsSkill15yesterdaynoneA38Claude Code, Codex
agenttrace-session-auditranbot-ai/awesome-skillsSkill15yesterdaynoneA34Claude Code, Codex
ai-agents-architectranbot-ai/awesome-skillsSkill15yesterdaynoneA31Claude Code, Codex
ai-engineerranbot-ai/awesome-skillsSkill15yesterdaynoneA37Claude Code, Codex