shunbao-p/deer-flow-s/runtime-tool-builder
Claude Code and agent skill by shunbao-p/deer-flow-s
- community
Checking that the SKILL.md file is still in the repository.
Create, test, install, and register a minimal Python stdio MCP server during agent runtime when the task needs a missing execution capability and evaluate_tool_gap has already confirmed a TOOL_GAP. Use only after existing skills and current tools are not enough.
Install
npx vskill@latest install shunbao-p/deer-flow-s/runtime-tool-builderSKILL.md
Runtime Tool Builder
Use this skill only after the lead agent has already confirmed that the current gap is a real tool gap. Before using this skill, the agent should have already called evaluate_tool_gap and received TOOL_GAP.
Hard Guardrails
Never use this skill when any of the following is true:
- An existing skill already covers the task well enough
- Existing normal tools or current MCP tools are already sufficient
- The request is one-off, temporary, ambiguous, or still missing key requirements
- The task only needs a better workflow description rather than a new execution capability
Your goal is not to build a general platform. Your goal is to build the smallest MCP server that adds the missing execution capability safely.
Scope
First version supports only:
- Python
stdio- one MCP server
- one tool
Do not improvise:
- Node
- HTTP
- SSE
- multiple tools
Working Location
Create the draft MCP server inside the current thread workspace, not directly inside custom-mcp-servers.
Recommended layout:
Step 1: Reconfirm Preconditions
Before writing anything, verify all of these:
- Existing skills are not sufficient.
- Existing normal tools and current MCP tools are not sufficient.
evaluate_tool_gapalready returnedTOOL_GAP.- The task really needs a missing execution capability, not just a reusable workflow.
- The requested capability is stable enough to wrap as one minimal tool.
If any item fails, stop and do not create a tool.
Step 2: Copy the Fixed Template Shape
Use this exact minimal file set:
server.pytool_impl.pyrequirements.txtREADME.md
Preferred canonical template location for developers:
At runtime, reproduce the same structure in the thread workspace.
Keep server.py as close as possible to this fixed shape:
Default tool_impl.py shape:
Default requirements.txt:
Step 3: Customize Only the Business Logic
Prefer to modify only:
tool_impl.pyREADME.md
Only change requirements.txt when the capability truly needs extra runtime dependencies. Avoid changing server.py unless the fixed wrapper is definitely insufficient.
Rules for the first version:
- keep a single function named
run_tool - keep one string input unless the task absolutely requires more structure
- keep the return value simple and deterministic
Step 4: Minimal Validation Before Installation
Before installing anything, run at minimum:
Confirm at minimum:
server.pyparsestool_impl.pyparsesrun_tool('ping')returns a sensible result
If validation fails, fix the draft before installing.
Step 5: Install the MCP Server Project
After validation succeeds, call:
Rules:
- Install only through
install_custom_mcp_server - Never write directly into
custom-mcp-servers - If installation fails, read the error, fix the workspace draft, and retry only when the fix is concrete
Step 6: Register and Validate It
After installation succeeds, call:
Rules:
- Register only through
register_custom_mcp_server - Never edit
extensions_config.jsondirectly - This step must finish successfully before you tell the user the tool is available
Step 7: After Registration
After successful registration:
- Tell the user the new tool was created, installed, and registered.
- State that it will be available in later messages in the same thread.
- Do not assume the current turn has already rebound the new tool schema.
- Keep the product semantics consistent: current turn installs, next message uses.
Quality Bar
The generated MCP server should be:
- minimal
- understandable
- focused on one missing execution capability
- safer than ad hoc bash glue for repeated use
If you cannot meet that bar, do not create a tool.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/public/runtime-tool-builder/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 2
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shunbao-p/deer-flow-s/runtime-tool-builder)