~ / rigs / esenbora / claude-code-config

esenbora/claude-code-config

My Claude Code CLI configuration - rules, hooks, MCP servers, modes, plugins, and settings

↗ GitHub ★ 0 no license updated 7mo ago personal setup Claude Code
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~5.9k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details

Copy this rig

# review before running: this installs third-party code
$ npx degit esenbora/claude-code-config/hooks ./rig-claude-code-config/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": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/pre-tool-use.sh"
          }
        ]
      },
      {
        "matcher": "Bash(npm install*)|Bash(npm i *)",
        "hooks": [
          {
            "type": "command",
            "command": "bash -c '[ -f app.json ] && echo \"Warning: Expo project: Use npx expo install instead of npm install\" >&2 || true'"
          }
        ]
      },
      {
        "matcher": "Bash(rm -rf*)",
        "hooks": [
          {
            "type": "prompt",
            "command": "rm -rf detected. Confirm target directory before proceeding."
          }
        ]
      },
      {
        "matcher": "Bash(git push*-f*)|Bash(git push*--force*)",
        "hooks": [
          {
            "type": "prompt",
            "command": "Force push detected. Confirm you want to rewrite remote history."
          }
        ]
      },
      {
        "matcher": "Bash(git commit*)",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/pre-commit.sh"
          }
        ]
      },
      {
        "matcher": "Bash(npm audit*)|Bash(pnpm audit*)",
        "hooks": [
          {
            "type": "command",
            "command": "echo 'Running security audit...'"
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
roblox-studio local / custom 2.5k
after-effects
env: AE_HOST, AE_PORT
local / custom 2.5k

Hooks (11)

eventmatcherruns
SessionStart*bash ~/.claude/hooks/session-start.sh
SessionStart*CLAUDE_HOOK_EVENT_NAME=SessionStart bash ~/.claude/hooks/persist-learnings.sh
Stop*CLAUDE_HOOK_EVENT_NAME=Stop bash ~/.claude/hooks/persist-learnings.sh
UserPromptSubmit*bash ~/.claude/hooks/user-prompt-submit.sh
PreToolUseEdit|Writebash ~/.claude/hooks/pre-tool-use.sh
PreToolUseBash(npm install*)|Bash(npm i *)bash -c '[ -f app.json ] && echo "Warning: Expo project: Use npx expo install instead of npm install" >&2 || true'
PreToolUseBash(rm -rf*)rm -rf detected. Confirm target directory before proceeding.
PreToolUseBash(git push*-f*)|Bash(git push*--force*)Force push detected. Confirm you want to rewrite remote history.
PreToolUseBash(git commit*)bash ~/.claude/hooks/pre-commit.sh
PreToolUseBash(npm audit*)|Bash(pnpm audit*)echo 'Running security audit...'
PostToolUseEdit|Writebash ~/.claude/hooks/post-tool-use-sync.sh

Plugins (10)

double-shot-latte@superpowers-marketplaceelements-of-style@superpowers-marketplaceepisodic-memory@superpowers-marketplacesuperpowers-developing-for-claude-code@superpowers-marketplacesuperpowers-lab@superpowers-marketplacesuperpowers@superpowers-marketplacesuperpowers-chrome@superpowers-marketplacefrontend-design@claude-code-pluginsralph-wiggum@claude-code-pluginsagent-sdk-dev@claude-code-plugins

Similar rigs

copied ✓