simple-fetch
About
The simple-fetch skill demonstrates the basic CLI execution pattern for fetching URL content, serving as a template for custom skill development. It accepts a required --url parameter, calls the MCP fetch tool, and returns the result. Use this skill to learn foundational patterns or fetch web content directly from Claude Code.
Documentation
Simple Fetch Skill
When to Use This Skill
Use this Skill to:
- Learn the basic skill pattern
- Fetch content from a URL
- Use as a template for creating custom skills
This is a demonstration skill showing the minimal CLI-based pattern.
What This Skill Does
Demonstrates the core skill pattern:
- Accept CLI arguments (--url)
- Call an MCP tool (fetch__fetch)
- Return result
Instructions
When you need to fetch content from a URL, execute:
cd /home/khitomer/Projects/mcp-code-execution-enhanced
uv run python -m runtime.harness scripts/simple_fetch.py \
--url "https://example.com"
Parameters
--url: The URL to fetch (required)
Example Usage
# Fetch a webpage
uv run python -m runtime.harness scripts/simple_fetch.py \
--url "https://docs.example.com/api"
# Fetch documentation
uv run python -m runtime.harness scripts/simple_fetch.py \
--url "https://github.com/owner/repo/README.md"
Expected Output
The skill returns the fetched content and prints:
- Success message with byte count
- Or error message if fetch fails
MCP Servers Required
Configure a fetch-capable MCP server in mcp_config.json:
{
"mcpServers": {
"fetch": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
Technical Notes
- Pattern: CLI args → MCP call → Result
- Token cost: ~110 tokens (discover + read + execute)
- Time: <10 seconds
- Immutable: Parameters via CLI, no file editing needed
This skill demonstrates the foundation for creating more complex MCP workflows.
Quick Install
/plugin add https://github.com/yoloshii/mcp-code-execution-enhanced/tree/main/simple-fetchCopy and paste this command in Claude Code to install this skill
GitHub 仓库
Related Skills
mcp-builder
Metamcp-builder is a development guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use this skill when building MCP servers to integrate external APIs or services in either Python (FastMCP) or Node/TypeScript (MCP SDK). It provides a structured workflow and principles for developing effective, agent-centric tools.
connect-mcp-server
DesignThis skill provides a comprehensive guide for connecting MCP (Model Context Protocol) servers to Claude Code using HTTP, stdio, and SSE transports. It covers the complete setup process including installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and databases. Use this when you need to add MCP server integrations, configure external tools, or connect to custom APIs in your development workflow.
create-claude-plugin
MetaThis skill provides a comprehensive guide for developers to create Claude Code plugins that bundle skills, agents, commands, hooks, and MCP servers for distribution. It covers plugin structure, configuration, testing, and publishing to enable team collaboration and community sharing. Use this when you need to package, distribute, or publish collections of Claude Code extensions via plugin marketplaces.
cloudflare-browser-rendering
MetaCloudflare Browser Rendering provides a headless browser automation API for tasks like taking screenshots, generating PDFs, scraping dynamic content, and testing web applications. It supports multiple integration methods including a REST API, Workers Bindings for Puppeteer/Playwright, and MCP servers. Use this skill when you need to automate browser interactions or extract data from JavaScript-heavy websites.
