~ / rigs / cmgmyr / hive

cmgmyr/hive

Run a crew of Claude Code and Codex workers from one lead session: visible tmux panes, exact state from hooks, one local SQLite store.

↗ GitHub ★ 2 MIT updated today project Claude CodeCodex Claude plugin
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~6.0k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit cmgmyr/hive/.claude ./rig-hive  # 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 cmgmyr/hive/.agents/skills/hive-internals .claude/skills/hive-internals
$ npx degit cmgmyr/hive/.agents/skills/release .claude/skills/release
$ npx degit cmgmyr/hive/claude-plugin/skills/cleanup .claude/skills/cleanup
$ npx degit cmgmyr/hive/claude-plugin/skills/profile .claude/skills/profile

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": "node \"$CLAUDE_PROJECT_DIR/scripts/tmux-kill-guard.mjs\""
          },
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/scripts/store-write-guard.mjs\""
          }
        ]
      }
    ]
  }
}

Skills (4)

Hooks (2)

eventmatcherruns
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/scripts/tmux-kill-guard.mjs"
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/scripts/store-write-guard.mjs"

Similar rigs

copied ✓