ivuorinen/dotfiles
These are my dotfiles. There are many like 'em, but these are mine.
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
up to ~7.9k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 59/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add deja -- deja mcp $ npx degit ivuorinen/dotfiles/.claude ./rig-dotfiles # 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 deja -- deja mcp $ npx degit ivuorinen/dotfiles/.claude/skills/bats-test-scaffold .claude/skills/bats-test-scaffold $ npx degit ivuorinen/dotfiles/.claude/skills/dotbot-validate .claude/skills/dotbot-validate $ npx degit ivuorinen/dotfiles/.claude/skills/fish-validate .claude/skills/fish-validate $ npx degit ivuorinen/dotfiles/.claude/skills/host-override .claude/skills/host-override $ npx degit ivuorinen/dotfiles/.claude/skills/lua-format .claude/skills/lua-format $ npx degit ivuorinen/dotfiles/.claude/skills/new-fish-function .claude/skills/new-fish-function $ npx degit ivuorinen/dotfiles/.claude/skills/new-script .claude/skills/new-script $ npx degit ivuorinen/dotfiles/.claude/skills/shell-validate .claude/skills/shell-validate $ npx degit ivuorinen/dotfiles/.claude/skills/theme-handler-scaffold .claude/skills/theme-handler-scaffold $ npx degit ivuorinen/dotfiles/.claude/skills/yaml-validate .claude/skills/yaml-validate
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/ivuorinen/dotfiles/main/.claude/agents/code-reviewer.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(curl:*)",
"Bash(wget:*)",
"WebFetch"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write|Read|MultiEdit",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-edit-block.sh"
},
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-rules-lint.sh"
}
]
},
{
"matcher": "Grep|Glob|NotebookEdit",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-edit-block.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-bash-route.sh"
},
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-graphify-nudge.sh search"
}
]
},
{
"matcher": "mcp__plugin_context-mode_context-mode__ctx_execute|mcp__plugin_context-mode_context-mode__ctx_execute_file|mcp__plugin_c",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-ctx-write-guard.sh"
}
]
},
{
"matcher": "Read|Glob",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-graphify-nudge.sh read"
}
]
},
{
"matcher": "Read",
"hooks": [
{
"type": "command",
"command": "if command -v sonar >/dev/null 2>&1; then sonar hook claude-pre-tool-use; fi"
}
]
}
]
}
} MCP servers (1)
| server | source | est. tokens |
|---|---|---|
| deja | binary | 2.5k |
Skills (10)
bats-test-scaffolddotbot-validatefish-validatehost-overridelua-formatnew-fish-functionnew-scriptshell-validatetheme-handler-scaffoldyaml-validate
Subagents (1)
| code-reviewer | Reviews shell/fish/lua changes for correctness and style |
Hooks (20)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/session-start-context.sh |
| UserPromptSubmit | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/prompt-record.sh |
| UserPromptSubmit | * | if command -v sonar >/dev/null 2>&1; then sonar hook claude-prompt-submit; fi |
| PreToolUse | Edit|Write|Read|MultiEdit | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-edit-block.sh |
| PreToolUse | Edit|Write|Read|MultiEdit | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-rules-lint.sh |
| PreToolUse | Grep|Glob|NotebookEdit | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-edit-block.sh |
| PreToolUse | Bash | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-bash-route.sh |
| PreToolUse | mcp__plugin_context-mode_context-mode__ctx_execute|mcp__plugin_context-mode_context-mode__ctx_execute_file|mcp__plugin_c | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-ctx-write-guard.sh |
| PreToolUse | Bash | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-graphify-nudge.sh search |
| PreToolUse | Read|Glob | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-graphify-nudge.sh read |
| PreToolUse | Read | if command -v sonar >/dev/null 2>&1; then sonar hook claude-pre-tool-use; fi |
| PostToolUse | mcp__plugin_context-mode_context-mode__.* | "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-tool-context-mode-check.sh |
| PostToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-edit-format.sh |
| PostToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-edit-dotbot-validate.sh |
| PostToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-edit-config-warn.sh |
| PostToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-edit-lint.sh |
| PostToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/async-bats.sh |
| PostToolUseFailure | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/log-failures.sh |
| Notification | idle_prompt | "$CLAUDE_PROJECT_DIR"/.claude/hooks/notify-idle.sh |
| Stop | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/stop-lint-gate.sh |
Permissions
deny (3)
Bash(curl:*)
Bash(wget:*)
WebFetch
ask (0)
—
allow (0)
—
Similar rigs
AlejoPH03/roundtrip-travel-app
Social travel app prototype: friends' trips on a 3D globe, trusted recommendations and group trip planning. Vanilla JS, no build step.
Minimalist 1.6k tok · · Q3
berni23/laight
Run teams of coding agents in tmux from YAML workflows, with one queue for every human decision.
Pragmatist 8.3k tok · · Q35
lgamorim/claude-rules
Opinionated Claude Code rules for .NET and C# with conventions, architecture guidance, and guardrails for idiomatic, production-ready code.
Pragmatist 4.2k tok · · Q3
AizenvoltPrime/claude-setup
—
Pragmatist 1.2k tok · · Q31