berekvolgyipeter/dotclaude
Personal Claude Code config — rules, skills, commands, agents, and hooks symlinked into ~/.claude/ to give Claude consistent behavior, conventions, and workflows across every project.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Copy this rig
# review before running: this installs third-party code $ claude mcp add context7 -e DEFAULT_MINIMUM_TOKENS=YOUR_DEFAULT_MINIMUM_TOKENS -- npx -y @upstash/context7-mcp $ claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking $ claude mcp add serena -- uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context claude-code --project . --enable-web-dashboard false $ npx degit berekvolgyipeter/dotclaude/.claude ./rig-dotclaude # 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.
$ claude mcp add context7 -e DEFAULT_MINIMUM_TOKENS=YOUR_DEFAULT_MINIMUM_TOKENS -- npx -y @upstash/context7-mcp $ claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking $ claude mcp add serena -- uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context claude-code --project . --enable-web-dashboard false
$ npx degit berekvolgyipeter/dotclaude/skills/agent-harness .claude/skills/agent-harness $ npx degit berekvolgyipeter/dotclaude/skills/claude-agent-sdk .claude/skills/claude-agent-sdk $ npx degit berekvolgyipeter/dotclaude/skills/claude-code .claude/skills/claude-code $ npx degit berekvolgyipeter/dotclaude/skills/grill-with-docs .claude/skills/grill-with-docs $ npx degit berekvolgyipeter/dotclaude/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture $ npx degit berekvolgyipeter/dotclaude/skills/learn .claude/skills/learn $ npx degit berekvolgyipeter/dotclaude/skills/plugin-browser .claude/skills/plugin-browser $ npx degit berekvolgyipeter/dotclaude/skills/prompt-engineering .claude/skills/prompt-engineering $ npx degit berekvolgyipeter/dotclaude/skills/py-debug .claude/skills/py-debug $ npx degit berekvolgyipeter/dotclaude/skills/tdd .claude/skills/tdd $ npx degit berekvolgyipeter/dotclaude/skills/ts-debug .claude/skills/ts-debug
$ curl -fsSL --create-dirs -o .claude/agents/documentation-manager.md https://raw.githubusercontent.<redacted>-manager.md $ curl -fsSL --create-dirs -o .claude/agents/code-reviewer-diff.md https://raw.githubusercontent.<redacted>-reviewer-diff.md $ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.<redacted>-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/diff-summarizer.md https://raw.githubusercontent.<redacted>-summarizer.md $ curl -fsSL --create-dirs -o .claude/agents/validation-gates.md https://raw.githubusercontent.<redacted>-gates.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(rm -rf *)",
"Bash(rm -fr *)",
"Bash(sudo *)",
"Bash(mkfs *)",
"Bash(dd *)",
"Bash(wget *|bash*)",
"Bash(wget *| bash*)",
"Bash(wget * | bash*)",
"Bash(curl *|bash*)",
"Bash(curl *| bash*)",
"Bash(curl * | bash*)",
"Bash(curl *|sh*)",
"Bash(curl *| sh*)",
"Bash(curl * | sh*)",
"Bash(git push --force*)",
"Bash(git push *--force*)",
"Bash(git reset --hard*)",
"Bash(git clean -f*)",
"Bash(git clean -d*)",
"Bash(git clean -x*)",
"Bash(git stash pop*)",
"Bash(git stash apply*)",
"Edit(~/.bashrc)",
"Edit(~/.zshrc)",
"Edit(~/.ssh/**)",
"Edit(**/.env)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Read(~/.gnupg/**)",
"Read(~/.aws/**)",
"Read(~/.azure/**)",
"Read(~/.config/gh/**)",
"Read(~/.git-credentials)",
"Read(~/.docker/config.json)",
"Read(~/.kube/**)",
"Read(~/.npmrc)",
"Read(~/.npm/**)",
"Read(~/.pypirc)",
"Read(~/.gem/credentials)",
"Read(~/Library/Keychains/**)",
"Read(~/Library/Application Support/**/metamask*/**)",
"Read(~/Library/Application Support/**/electrum*/**)",
"Read(~/Library/Application Support/**/exodus*/**)",
"Read(~/Library/Application Support/**/phantom*/**)",
"Read(~/Library/Application Support/**/solflare*/**)",
"Read(~/.config/gcloud/**)",
"Read(~/.netrc)"
],
"ask": [
"Bash(pip install*)",
"Bash(pip3 install*)",
"Bash(pip uninstall*)",
"Bash(pip3 uninstall*)",
"Bash(python -m pip*)",
"Bash(python3 -m pip*)",
"Bash(uv pip install*)",
"Bash(uv pip uninstall*)",
"Bash(uv add*)",
"Bash(uv remove*)",
"Bash(uv tool install*)",
"Bash(uvx *)",
"Bash(poetry add*)",
"Bash(poetry remove*)",
"Bash(poetry install*)",
"Bash(npm install*)",
"Bash(npm i *)",
"Bash(npm uninstall*)",
"Bash(npm ci*)",
"Bash(npx *)",
"Bash(npm exec*)",
"Bash(yarn add*)",
"Bash(yarn remove*)",
"Bash(yarn install*)",
"Bash(pnpm add*)",
"Bash(pnpm install*)",
"Bash(pnpm remove*)",
"Bash(nvm install*)",
"Bash(nvm use*)",
"Bash(brew install*)",
"Bash(brew uninstall*)",
"Bash(cargo install*)",
"Bash(cargo add*)",
"Bash(gem install*)",
"Bash(go install*)",
"Bash(apt install*)",
"Bash(apt-get install*)",
"Bash(docker *)",
"Bash(curl --unix-socket*)",
"Bash(socat *UNIX*)",
"Bash(nc -U *)",
"Bash(ncat --unixsock*)",
"Bash(chmod *)",
"Bash(chown *)",
"Bash(ssh *)",
"Bash(scp *)",
"Bash(rsync *)",
"Bash(git add *)",
"Bash(git commit *)",
"Bash(git push *)",
"Bash(git pull *)",
"Bash(git merge *)",
"Bash(git rebase *)",
"Bash(git reset *)",
"Bash(git checkout *)",
"Bash(git switch *)",
"Bash(git restore *)",
"Bash(git cherry-pick *)",
"Bash(git revert *)",
"Bash(git clean *)",
"Bash(git rm *)",
"Bash(git mv *)",
"Bash(git stash *)",
"Bash(git apply *)",
"Bash(git am *)",
"Bash(git gc *)",
"Bash(git prune *)",
"Bash(git clone *)",
"Bash(git init *)",
"Bash(git filter-branch *)",
"Bash(git filter-repo *)",
"Bash(git update-ref *)",
"Bash(git replace *)",
"Bash(git format-patch *)",
"Bash(git pack-refs *)",
"Bash(git repack *)",
"Bash(pkill *)",
"Bash(kill *)",
"Bash(launchctl *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Grep|Glob",
"hooks": [
{
"type": "command",
"command": "bash $HOME/.claude/hooks/auto-approve-claude-dir.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash $HOME/.claude/hooks/block-rm-rf.sh"
},
{
"type": "command",
"command": "bash $HOME/.claude/hooks/block-push-to-main.sh"
}
]
},
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bash $HOME/.claude/hooks/load-context-rules.sh"
}
]
}
]
},
"sandbox": {
"enabled": true
}
} MCP servers (4)
| server | source | est. tokens |
|---|---|---|
| claude-context env: MILVUS_ADDRESS, OPENAI_API_KEY | local / custom | 2.5k |
| Context7 env: DEFAULT_MINIMUM_TOKENS | npm | 1.2k |
| Sequential Thinking · "sequential-thinking" | npm | 900 |
| Serena | git | 8.0k |
Skills (11)
agent-harnessclaude-agent-sdkclaude-codegrill-with-docsimprove-codebase-architecturelearnplugin-browserprompt-engineeringpy-debugtddts-debug
Subagents (5)
| documentation-manager | Expert documentation specialist. Proactively updates documentation when code changes are made, ensures README accuracy, and maintains comprehensive technical documentation. Be sure to give this subage |
| code-reviewer-diff model: sonnet | Strict diff-only code reviewer for batches of changed files. Reads only the diff hunks — never the full files — and reports issues visible in the changed lines with severity, line numbers, and suggest |
| code-reviewer model: sonnet | Focused code reviewer for batches of changed files. Reads diffs and full files on demand, then reports issues with severity, line numbers, and suggested fixes. Dispatch one agent per batch of up to 5 |
| diff-summarizer model: haiku | Reads diffs on demand and returns a structured summary of what changed and why. Dispatch this agent with the file list and DIFF_BASE from a change overview — it reads only what it needs and returns a |
| validation-gates | Testing and validation specialist. Proactively runs tests, validates code changes, ensures quality gates are met, and iterates on fixes until all tests pass. Call this agent after you implement featur |
Hooks (5)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Read|Grep|Glob | bash $HOME/.claude/hooks/auto-approve-claude-dir.sh |
| PreToolUse | Bash | bash $HOME/.claude/hooks/block-rm-rf.sh |
| PreToolUse | Bash | bash $HOME/.claude/hooks/block-push-to-main.sh |
| PreToolUse | Edit|Write | bash $HOME/.claude/hooks/load-context-rules.sh |
| Stop | * | bash $HOME/.claude/hooks/stop-lint-and-test.sh |
Slash commands (19)
/consistency-review/explore/architecture/explore/overview/git/commit-msg/git/pr-summary/parallel/execute-parallel/parallel/prep-parallel/plan/execute-plan/plan/generate-plan/plan/refine-plan/plan/to-plan/project-rules/init-rules/project-rules/refine-rules/review/delta-review-diff/review/delta-review/review/fix-review/review/pr-review-diff/review/pr-review/review/skill-review
Permissions
deny (47)
Bash(rm -rf *)
Bash(rm -fr *)
Bash(sudo *)
Bash(mkfs *)
Bash(dd *)
Bash(wget *|bash*)
Bash(wget *| bash*)
Bash(wget * | bash*)
Bash(curl *|bash*)
Bash(curl *| bash*)
Bash(curl * | bash*)
Bash(curl *|sh*)
Bash(curl *| sh*)
Bash(curl * | sh*)
Bash(git push --force*)
Bash(git push *--force*)
Bash(git reset --hard*)
Bash(git clean -f*)
Bash(git clean -d*)
Bash(git clean -x*)
Bash(git stash pop*)
Bash(git stash apply*)
Edit(~/.bashrc)
Edit(~/.zshrc)
Edit(~/.ssh/**)
Edit(**/.env)
Read(**/.env)
Read(~/.ssh/**)
Read(~/.gnupg/**)
Read(~/.aws/**)
Read(~/.azure/**)
Read(~/.config/gh/**)
Read(~/.git-credentials)
Read(~/.docker/config.json)
Read(~/.kube/**)
Read(~/.npmrc)
Read(~/.npm/**)
Read(~/.pypirc)
Read(~/.gem/credentials)
Read(~/Library/Keychains/**)
Read(~/Library/Application Support/**/metamask*/**)
Read(~/Library/Application Support/**/electrum*/**)
Read(~/Library/Application Support/**/exodus*/**)
Read(~/Library/Application Support/**/phantom*/**)
Read(~/Library/Application Support/**/solflare*/**)
Read(~/.config/gcloud/**)
Read(~/.netrc)
ask (79)
Bash(pip install*)
Bash(pip3 install*)
Bash(pip uninstall*)
Bash(pip3 uninstall*)
Bash(python -m pip*)
Bash(python3 -m pip*)
Bash(uv pip install*)
Bash(uv pip uninstall*)
Bash(uv add*)
Bash(uv remove*)
Bash(uv tool install*)
Bash(uvx *)
Bash(poetry add*)
Bash(poetry remove*)
Bash(poetry install*)
Bash(npm install*)
Bash(npm i *)
Bash(npm uninstall*)
Bash(npm ci*)
Bash(npx *)
Bash(npm exec*)
Bash(yarn add*)
Bash(yarn remove*)
Bash(yarn install*)
Bash(pnpm add*)
Bash(pnpm install*)
Bash(pnpm remove*)
Bash(nvm install*)
Bash(nvm use*)
Bash(brew install*)
Bash(brew uninstall*)
Bash(cargo install*)
Bash(cargo add*)
Bash(gem install*)
Bash(go install*)
Bash(apt install*)
Bash(apt-get install*)
Bash(docker *)
Bash(curl --unix-socket*)
Bash(socat *UNIX*)
Bash(nc -U *)
Bash(ncat --unixsock*)
Bash(chmod *)
Bash(chown *)
Bash(ssh *)
Bash(scp *)
Bash(rsync *)
Bash(git add *)
Bash(git commit *)
Bash(git push *)
Bash(git pull *)
Bash(git merge *)
Bash(git rebase *)
Bash(git reset *)
Bash(git checkout *)
Bash(git switch *)
Bash(git restore *)
Bash(git cherry-pick *)
Bash(git revert *)
Bash(git clean *)
allow (23)
Bash(make lint)
Bash(make test)
Bash(make coverage)
Bash(make tree)
Bash(source .venv/bin/activate)
Bash(source venv/bin/activate)
Bash(git status)
Skill
WebSearch
WebFetch(domain:github.com)
WebFetch(domain:platform.claude.com)
WebFetch(domain:code.claude.com)
WebFetch(domain:docs.claude.com)
mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
mcp__claude-context__get_indexing_status
mcp__claude-context__search_code
mcp__context7__query-docs
mcp__context7__resolve-library-id
mcp__sequential-thinking__sequentialthinking
mcp__serena__find_symbol
mcp__serena__find_referencing_symbols
mcp__serena__get_symbols_overview
mcp__serena__search_for_pattern
Similar rigs
ooodnakov/ooodnakov-config
Opinionated eproducible personal dotfiles for Linux, Windows, and macOS machines.
Pragmatist 3.8k tok ·
andyaziz/claude-code-ultimate-guide
🌐 Discover clear guidance and templates for using Claude effectively, enhancing your coding skills and productivity through engaging quizzes and resources.
MCP Hoarder 21.8k tok ·
CodingMogul/claude-code-setup
—
Orchestrator 5.5k tok ·
jebadenas/claude-config
Claude Code global configuration: rules, hooks, skills, settings
YOLO Cowboy 614 tok ·