~ / rigs / LuRsT / Setup

LuRsT/Setup

:computer: My dotfiles and scripts

↗ GitHub ★ 22 no license updated 15d ago personal setup Claude Code
stack: Emacs Lisp
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~495 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 33/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit LuRsT/Setup/.claude ./rig-setup  # 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": "jq -r '.tool_input.command' | grep -qiE 'co-authored-by: *claude|--no-verify' && { echo 'Blocked: no Claude co-author trailers and no --no-verify' >&2; exit 2; } || exit 0"
          },
          {
            "type": "command",
            "command": "~/.claude/scripts/guard-git.py"
          }
        ]
      }
    ]
  }
}

Hooks (3)

eventmatcherruns
PreToolUseBashjq -r '.tool_input.command' | grep -qiE 'co-authored-by: *claude|--no-verify' && { echo 'Blocked: no Claude co-author trailers and no --no-verify' >&2; exit 2; } || exit 0
PreToolUseBash~/.claude/scripts/guard-git.py
SessionStart^(startup|resume|clear|compact|fork)$bash '~/.claude/hooks/herdr-agent-state.sh' session

Plugins (2)

pyright-lsp@claude-plugins-officialsdlc@gil

Similar rigs

copied ✓