~ / rigs / indrasvat / shux

indrasvat/shux

A modern take on tmux

↗ GitHub ★ 2 no license updated 15d ago project Claude CodeCodex
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
2/5
Blocks destructive commands · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit indrasvat/shux/.claude ./rig-shux  # 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 indrasvat/shux/.claude/skills/adversarial-review .claude/skills/adversarial-review
$ npx degit indrasvat/shux/.claude/skills/demo-video .claude/skills/demo-video
$ npx degit indrasvat/shux/skills/shux .claude/skills/shux
$ curl -fsSL --create-dirs -o .claude/agents/shux-simplify-architect.md https://raw.githubusercontent.com/indrasvat/shux/main/.claude/agents/shux-simplify-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/shux-tui-qa.md https://raw.githubusercontent.com/indrasvat/shux/main/.claude/agents/shux-tui-qa.md
$ curl -fsSL --create-dirs -o .claude/agents/shux-vt-solid-qa.md https://raw.githubusercontent.com/indrasvat/shux/main/.claude/agents/shux-vt-solid-qa.md

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": "INPUT=$(cat); CMD=$(echo \"$INPUT\" | jq -r '.tool_input.command // empty'); if echo \"$CMD\" | grep -qE '^[[:space:]]*git[[:space:]]+push'; then make -C \"$CLAUDE_PROJECT_DIR\" check-vt-qa; fi"
          }
        ]
      }
    ]
  }
}

Skills (3)

Subagents (3)

shux-simplify-architectCold-context Rust architect that hunts over-engineering, over-commenting and speculative generality in a diff, and reports correctness bugs it trips over on the way. Use once an implementation is gree
shux-tui-qaGeneral hard-gate QA subagent for shux TUI, terminal UX, CLI, pane automation, plugin, attach, mouse/input, and workflow changes. Use before completing any user-visible terminal/TUI change that is not
shux-vt-solid-qaHard-gate QA subagent for shux VT, raster, resize, Unicode, and rich TUI compatibility changes. Use before any PR touching shux-vt, shux-raster, PTY output handling, pane sizing, capture, or snapshot

Hooks (3)

eventmatcherruns
PreToolUseBashINPUT=$(cat); CMD=$(echo "$INPUT" | jq -r '.tool_input.command // empty'); if echo "$CMD" | grep -qE '^[[:space:]]*git[[:space:]]+push'; then make -C "$CLAUDE_PROJECT_DIR" check-vt-qa; fi
SessionStart*bash "$CLAUDE_PROJECT_DIR/scripts/ensure-hooks.sh"
PostToolUseEdit|Write|MultiEditbash "$CLAUDE_PROJECT_DIR/scripts/check-test-sleeps.sh" --hook

Similar rigs

copied ✓