~ / rigs / filipsajdak / llmgate

filipsajdak/llmgate

Claude Code gateway in C++26: static reflection, modules, protocol-correct streaming

↗ GitHub ★ 0 Apache-2.0 updated 4d ago project Claude CodeCodexCopilot Claude plugin
stack: C++Python
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~2.5k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 39/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit filipsajdak/llmgate/.claude ./rig-llmgate  # 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 filipsajdak/llmgate/.claude/skills/copilot-collaboration .claude/skills/copilot-collaboration
$ npx degit filipsajdak/llmgate/.claude/skills/cpp26-idioms .claude/skills/cpp26-idioms
$ npx degit filipsajdak/llmgate/.claude/skills/reflect-dont-hand-write .claude/skills/reflect-dont-hand-write

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": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/tools/cpp26_precheck.py\""
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/tools/copilot_nudge_hook.py\""
          }
        ]
      }
    ]
  }
}

Skills (3)

Hooks (3)

eventmatcherruns
PreToolUseEdit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/tools/cpp26_precheck.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/tools/copilot_nudge_hook.py"
PostToolUseEdit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/tools/reflection_hook.py"

Similar rigs

copied ✓