ワンクリックで
mcp-to-skills
Use when the user wants to convert expensive MCP tools into on-demand Claude Code skills
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when the user wants to convert expensive MCP tools into on-demand Claude Code skills
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when the user wants to measure MCP token waste, rank high-cost servers, or choose between project scoping and skill conversion
Use when the user wants to health-check MCP servers, diagnose broken connections, or find duplicate tools and missing credentials
Use when the user wants to keep MCP but scope it to the current project with a smaller .mcp.json
SOC 職業分類に基づく
| name | mcp-to-skills |
| description | Use when the user wants to convert expensive MCP tools into on-demand Claude Code skills |
Read tool schemas from an MCP server and convert each tool into an independent Claude Code skill.
Converted skills are written under .claude/skills/{service}-{tool-name}/SKILL.md and are discovered automatically by Claude when the user asks for that workflow.
Infer the MCP server command from the user's request. The explicit command equivalent is /mcp-optimizer:mcp-to-skills <server-command>.
Example: /mcp-optimizer:mcp-to-skills npx @linear/mcp-server
python3 "${CLAUDE_SKILL_DIR}/scripts/mcp_inspect.py" --server "<resolved server command from the user's request>"
This returns the full tool list and each tool's inputSchema.
For each tool:
Purpose analysis: determine the tool's role from its description and inputSchema
Execution mode selection:
mcp_call.py| Condition | Mode |
|---|---|
| Default / unknown API | Proxy |
| Well-known service + official REST API | Native |
| Local resource access (files, DB, etc.) | Proxy only |
Generate a .claude/skills/{service}-{tool-name}/SKILL.md file for each tool.
Proxy mode SKILL.md template:
---
name: {service}-{tool-name}
description: {tool description}
---
Infer the required parameters from the user's request.
## Parameters
{parameter list and descriptions extracted from inputSchema}
## Execution
\`\`\`bash
python3 "{resolved absolute path to plugin mcp_call.py}" \
--server "{server command}" \
--tool "{tool_name}" \
--args '{parameter JSON}'
\`\`\`
## Output
Extract key data from the response and present in a user-friendly format.
{tool-specific output formatting guidance}
Generation rules:
@linear/mcp-server -> linear)list_issues -> list-issues)mcp_call.py into each generated local skill${CLAUDE_SKILL_DIR} or ${CLAUDE_PLUGIN_ROOT} placeholders inside generated local skillsDisplay the generated skill list to the user:
{N} skills generated successfully!
| Skill Directory | Description | Mode |
|-----------------|-------------|------|
| .claude/skills/{service}-{tool} | {description} | Proxy/Native |
Example natural-language requests:
- List open issues for the Engineering team in Linear
- Create a GitHub issue titled "Broken deploy"
mcp_inspect.py starts the MCP server, so required environment variables (API keys, etc.) must be set