lightharu/krouter/krouter-mitm

Claude Code and agent skill by lightharu/krouter

Trust tier 3
  • community
Source check pending

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-mitm

SKILL.md

Krouter MITM Proxy

Intercept and reroute IDE traffic through Krouter for tools that have hardcoded API endpoints.

How It Works

  1. Hosts file redirects IDE domains to localhost
  2. MITM proxy intercepts HTTPS traffic on local port
  3. Requests are routed through Krouter's account pool
  4. Model IDs are mapped from IDE-specific to Krouter models

Supported IDEs

IDEDomains
Kiro IDEruntime.us-east-1.kiro.dev, runtime.us-west-2.kiro.dev
GitHub Copiloto.us-east-1.amazoninces.com, codehub.server.us-east-1.amazoninces.com
Antigravitygenerativelanguage.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):

# Krouter MITM - START
127.0.0.1 runtime.us-east-1.kiro.dev
127.0.0.1 runtime.us-west-2.kiro.dev
127.0.0.1 o.us-east-1.amazoninces.com
# Krouter MITM - END
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:

bash
curl -X POST http://localhost:5580/admin/config \
-H "Content-Type: application/json" \
-d '{"kproxy": {"enabled": true, "port": 8899}}'

Model Mappings

IDE-specific model IDs are mapped to Krouter models:

IDE ModelKrouter Model
us.anthropic.claude-opus-4-5-*claude-opus-4.5
anthropic.claude-sonnet-4-5-*claude-sonnet-4.5
gpt-4oclaude-sonnet-4.5
gemini-progemini-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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lightharu/krouter/krouter-mitm/badge)](https://verified-skill.com/skills/lightharu/krouter/krouter-mitm)

Something wrong with this skill or its page? Tell us.