~ / rigs / sarge-rzp / dotfiles

sarge-rzp/dotfiles

nix-darwin + home-manager dotfiles: nvim, wezterm, herdr, claude

↗ GitHub ★ 0 no license updated 16d ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~485 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit sarge-rzp/dotfiles/home/.claude ./rig-dotfiles  # 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.

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": "rtk hook claude"
          }
        ]
      },
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "\"~/src/slash-cli/slash-hooks/capture.sh\" PreToolUse || true"
          }
        ]
      },
      {
        "matcher": "Skill",
        "hooks": [
          {
            "type": "command",
            "command": "\"~/src/slash-cli/slash-hooks/skill-precedence.sh\" || true"
          }
        ]
      }
    ]
  }
}

Hooks (22)

eventmatcherruns
PreToolUseBashrtk hook claude
PreToolUse*"~/src/slash-cli/slash-hooks/capture.sh" PreToolUse || true
PreToolUseSkill"~/src/slash-cli/slash-hooks/skill-precedence.sh" || true
SessionStart*"~/src/slash-cli/slash-hooks/capture.sh" SessionStart || true
SessionStart*"~/src/slash-cli/slash-hooks/mandatory-skills.sh" || true
SessionStart*"~/src/slash-cli/slash-hooks/auto-update.sh" || true
SessionStart*"~/src/slash-cli/slash-hooks/route.sh" || true
SessionStart*"~/src/slash-cli/slash-hooks/loop-gate.sh" || true
SessionStart*bash '~/.claude/hooks/herdr-agent-state.sh' session
UserPromptSubmit*"~/src/slash-cli/slash-hooks/capture.sh" UserPromptSubmit || true
UserPromptSubmit*"~/src/slash-cli/slash-hooks/loop-select.sh" || true
UserPromptExpansion*"~/src/slash-cli/slash-hooks/engram-inject.sh" || true
Stop*"~/src/slash-cli/slash-hooks/engram-feedback-reminder.sh" || true
Stop*"~/src/slash-cli/slash-hooks/loop-gate.sh" || true
PostToolUse*"~/src/slash-cli/slash-hooks/capture.sh" PostToolUse || true
PostToolUse*"~/src/slash-cli/slash-hooks/guardrails.sh" PostToolUse || true
PostToolUseSkill"~/src/slash-cli/slash-hooks/engram-skill-inject.sh" || true
PostToolUseWrite"~/src/slash-cli/slash-hooks/artifact-contract.sh" || true
SubagentStart*"~/src/slash-cli/slash-hooks/capture.sh" SubagentStart || true
SubagentStop*"~/src/slash-cli/slash-hooks/capture.sh" SubagentStop || true
PreCompact*"~/src/slash-cli/slash-hooks/capture.sh" PreCompact || true
SessionEnd*"~/src/slash-cli/slash-hooks/capture.sh" SessionEnd || true

Plugins (10)

caveman@cavemansuperpowers@claude-plugins-officialskill-creator@claude-plugins-officialcode-review@razorpay-marketplacecompass@razorpay-marketplacefrontend-engineer@razorpay-marketplacerzp-discover@razorpay-marketplacegithub@claude-plugins-officialredash@razorpay-marketplacewarp@claude-code-warp

Similar rigs

copied ✓