From safe-fetch
This skill should be used when the user asks to "fetch a URL safely", "sanitize web content", "search the web securely", "check URL safety", "prevent prompt injection from web content", or discusses web fetching security. Also triggers when curl/wget is used to fetch web content.
npx claudepluginhub fakoli/fakoli-plugins --plugin safe-fetchThis skill uses the workspace's default tool permissions.
Provide sanitized web fetching that strips prompt injection vectors before content reaches the LLM context.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Provide sanitized web fetching that strips prompt injection vectors before content reaches the LLM context.
Use the safe-fetch MCP tools for all web content retrieval:
mcp__safe-fetch__fetch — Fetch a URL and return sanitized markdown. Supports prompt parameter for focused extraction and max_tokens for content limits.mcp__safe-fetch__search — Search the web via Brave Search API with sanitized results. Supports location for geo-localized results.mcp__safe-fetch__check_url — Validate URL against security policy without fetching./fetch <url> [extraction focus] — Fetch with sanitization/search <query> — Search with sanitization/check-url <url> — Validate URL safetyContent passes through 6 defense layers:
Always prefer mcp__safe-fetch__fetch over raw curl because:
Set via environment variables when registering the MCP server:
ALLOWED_DOMAINS — Comma-separated domain allowlistBLOCKED_DOMAINS — Additional blocked domainsRATE_LIMIT_PER_DOMAIN — Requests per minute per domain (default: 10)RATE_LIMIT_GLOBAL — Global requests per minute (default: 60)BRAVE_API_KEY — Required for web searchSAFE_FETCH_TIMEOUT — HTTP timeout in seconds (default: 30)SAFE_FETCH_MAX_BODY — Max response body in bytes (default: 5MB)