lightharu/krouter/krouter-mitm
Claude Code and agent skill by lightharu/krouter
- community
Checking that the SKILL.md file is still in the repository.
MITM proxy for IDE integration (Kiro IDE, Copilot, Antigravity)
Install
npx vskill@latest install lightharu/krouter/krouter-mitmSKILL.md
Krouter MITM Proxy
Intercept and reroute IDE traffic through Krouter for tools that have hardcoded API endpoints.
How It Works
- Hosts file redirects IDE domains to localhost
- MITM proxy intercepts HTTPS traffic on local port
- Requests are routed through Krouter's account pool
- Model IDs are mapped from IDE-specific to Krouter models
Supported IDEs
| IDE | Domains | |
|---|---|---|
| Kiro IDE | runtime.us-east-1.kiro.dev, runtime.us-west-2.kiro.dev | |
| GitHub Copilot | o.us-east-1.amazoninces.com, codehub.server.us-east-1.amazoninces.com | |
| Antigravity | generativelanguage.googleapis.com, daily-cloudcode-pa.googleapis.com |
Setup
1. Enable DNS Redirect
Add to /etc/hosts (Linux/Mac) or C:\Windows\System32\drivers\etc\hosts (Windows):
2. Install CA Certificate
The MITM proxy generates a self-signed CA certificate. Install it:
- macOS: Add to Keychain → Always Trust
- Linux: Copy to
/usr/local/share/ca-certificates/→update-ca-certificates - Windows: Import to Trusted Root Certification Authorities
3. Start MITM Proxy
Enable in Krouter settings or via API:
Model Mappings
IDE-specific model IDs are mapped to Krouter models:
| IDE Model | Krouter Model | |
|---|---|---|
us.anthropic.claude-opus-4-5-* | claude-opus-4.5 | |
anthropic.claude-sonnet-4-5-* | claude-sonnet-4.5 | |
gpt-4o | claude-sonnet-4.5 | |
gemini-pro | gemini-2.0-flash-exp |
Custom mappings can be configured via the admin API.
Device ID Management
Each account can have its own device ID to avoid conflicts. The MITM proxy automatically replaces device IDs in requests based on the selected account.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/skills/krouter-mitm/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 2
- 7-day trend score
- 0
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/lightharu/krouter/krouter-mitm)