~ / rigs / aikazu / kelola-router

aikazu/kelola-router

Local-first API router for MiniMax + Kiro (AWS CodeWhisperer / Amazon Q) upstreams — OpenAI & Anthropic compatible, multi-account fallback, switchable Kiro IDE/CLI persona, RTK + Caveman compression, built-in dashboard (Hono + SQLite + Prea

↗ GitHub ★ 5 no license updated 3mo ago project Claude CodeCodex
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~5.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit aikazu/kelola-router/.claude ./rig-kelola-router  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit aikazu/kelola-router/.claude/skills/add-admin-endpoint .claude/skills/add-admin-endpoint
$ npx degit aikazu/kelola-router/.claude/skills/add-dashboard-page .claude/skills/add-dashboard-page
$ npx degit aikazu/kelola-router/.claude/skills/add-migration .claude/skills/add-migration
$ npx degit aikazu/kelola-router/.claude/skills/add-provider .claude/skills/add-provider
$ npx degit aikazu/kelola-router/.claude/skills/debug-failed-request .claude/skills/debug-failed-request
$ npx degit aikazu/kelola-router/.claude/skills/ship-release .claude/skills/ship-release
$ npx degit aikazu/kelola-router/.claude/skills/sync-docs .claude/skills/sync-docs

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "CMD=$(python3 -c \"import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('command',''))\" 2>/dev/null || true); case \"$CMD\" in *grep*|*rg\\ *|*ripgrep*|*find\\ *|*fd\\ *|*ack\\ *|*ag\\ *)   [ -f graphify-out/graph.json ] &&   ec"
          }
        ]
      },
      {
        "matcher": "Read|Glob",
        "hooks": [
          {
            "type": "command",
            "command": "HIT=$(python3 -c \"import json,sys;d=json.load(sys.stdin);t=d.get('tool_input',d);s=(str(t.get('file_path') or '')+' '+str(t.get('pattern') or '')+' '+str(t.get('path') or '')).lower().replace(chr(92),'/');exts=('.py','.js','.ts','.tsx','.js"
          }
        ]
      }
    ]
  }
}

Skills (7)

Hooks (2)

eventmatcherruns
PreToolUseBashCMD=$(python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('command',''))" 2>/dev/null || true); case "$CMD" in *grep*|*rg\ *|*ripgrep*|*find\ *|*fd\ *|*ack\ *|*ag\ *) [ -f graphify-out/graph.json ] && ec
PreToolUseRead|GlobHIT=$(python3 -c "import json,sys;d=json.load(sys.stdin);t=d.get('tool_input',d);s=(str(t.get('file_path') or '')+' '+str(t.get('pattern') or '')+' '+str(t.get('path') or '')).lower().replace(chr(92),'/');exts=('.py','.js','.ts','.tsx','.js

Similar rigs

copied ✓