lightharu/krouter/krouter-proxy

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.

Proxy API usage - chat completions, streaming, model selection

Install

npx vskill@latest install lightharu/krouter/krouter-proxy

SKILL.md

Krouter Proxy API

Chat Completions (OpenAI-compatible)

bash
curl http://localhost:5580/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4.5",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'

Claude Messages API

bash
curl http://localhost:5580/v1/messages \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-sonnet-4.5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'

Available Models

bash
curl http://localhost:5580/v1/models \
-H "Authorization: Bearer YOUR_KEY"

Features

  • Smart Account Rotation: Weighted scoring across success rate, latency, quota
  • Prompt Caching: Automatic cache breakpoints for Anthropic models
  • Streaming: Full SSE streaming with heartbeat keepalive
  • Rate Limiting: Adaptive rate limiting with exponential backoff
  • Tier Routing: Free/Pro/Enterprise account tier selection
  • Bedrock Fallback: AWS Bedrock as alternative upstream

Streaming Tips

  • Set stream: true for real-time token output
  • Heartbeat pings (:ping) keep connection alive during long operations
  • Idle timeout: 300s, First-byte timeout: 120s

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

7-day trend score
0

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-proxy/badge)](https://verified-skill.com/skills/lightharu/krouter/krouter-proxy)

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