~ / rigs / marromugi / claude-settings

marromugi/claude-settings

Personal Claude Code settings: CLAUDE.md, hooks, and a PreToolUse guard that maps large files before reading them whole

↗ GitHub ★ 0 no license updated 2mo ago personal setup Claude Code
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~785 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 marromugi/claude-settings/hooks ./rig-claude-settings/hooks

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": "Read",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$HOME/.claude/hooks/outliner.py\""
          }
        ]
      }
    ]
  }
}

Hooks (1)

eventmatcherruns
PreToolUseReadpython3 "$HOME/.claude/hooks/outliner.py"

Similar rigs

copied ✓