Effect Http Routing
This skill dynamically adjusts HTTP routes based on request parameters, optimizing performance and flexibility for varied API needs.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add effect-http-routing npx -- -y @trustedskills/effect-http-routing
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"effect-http-routing": {
"command": "npx",
"args": [
"-y",
"@trustedskills/effect-http-routing"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to route HTTP requests based on defined rules. It allows for flexible handling of incoming web traffic, directing requests to specific endpoints or services based on URL patterns and other criteria. The agent can then process these routed requests according to the configured logic.
When to use it
- API Gateway: Route external API calls to different backend microservices.
- Content Distribution: Direct users to different content servers based on their location or device type.
- Load Balancing: Distribute incoming traffic across multiple servers for improved performance and reliability.
- Request Filtering: Route requests based on headers, query parameters, or other request attributes.
Key capabilities
- HTTP Request Routing
- URL Pattern Matching
- Rule-based routing logic
- Integration with HTTP services
Example prompts
- "Route all requests to
/api/usersto theuser_serviceendpoint." - "If the request header 'X-Device' is set to 'mobile', route it to
/mobile. Otherwise, route it to/desktop." - βSend all GET requests for /products/{id} to the product retrieval service.β
Tips & gotchas
The skill requires a clear understanding of HTTP routing principles and URL patterns. Ensure that your routing rules are well-defined and avoid conflicts to prevent unexpected behavior.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.