~ / rigs / Saksham-Bhardwaj / claude-setup

Saksham-Bhardwaj/claude-setup

My Claude Code configuration — CLAUDE.md, settings, hooks, and MCP setup

↗ GitHub ★ 0 no license updated 8mo ago personal setup Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~20.8k tokens
Context hog · 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
$ claude mcp add puppeteer -- npx -y @modelcontextprotocol/server-puppeteer
$ claude mcp add --transport http github https://api.githubcopilot.com/mcp/
$ npx degit Saksham-Bhardwaj/claude-setup/hooks ./rig-claude-setup/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.

$ claude mcp add puppeteer -- npx -y @modelcontextprotocol/server-puppeteer
$ claude mcp add --transport http github https://api.githubcopilot.com/mcp/

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": "python3 ~/.claude/hooks/pre_tool_use.py"
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
Puppeteer npm 2.2k
GitHub MCP · "github" remote · remote 18.0k

Hooks (3)

eventmatcherruns
PreToolUseBashpython3 ~/.claude/hooks/pre_tool_use.py
PostToolUseWrite|Edit|MultiEditpython3 ~/.claude/hooks/post_tool_use_lint.py
Stop*python3 ~/.claude/hooks/stop_test_check.py

Permissions

deny (0)
—
ask (0)
—
allow (6)
Bash(pip3 install:*)
Bash(cat:*)
Bash(gh issue edit:*)
Bash(ls:*)
Read(/~/Monetization/SOC2Snap/**)
Bash(npm run test:*)

Similar rigs

copied ✓