~ / rigs / koyashiro / dotfiles

koyashiro/dotfiles

koyashiro's dotfiles.

↗ GitHub ★ 7 MIT updated today personal setup Claude CodeCodex
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~0 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Protects secrets · No YOLO mode · details

Copy this rig

$ git clone --depth 1 https://github.com/koyashiro/dotfiles

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.

{
  "permissions": {
    "deny": [
      "Read(~/.ssh/**)",
      "Read(~/.gnupg/**)",
      "Read(**/.env)",
      "Read(**/.env.*)",
      "Read(~/.bash_history)",
      "Read(~/.local/state/bash/history)",
      "Read(~/.zsh_history)",
      "Read(~/.local/state/zsh/history)",
      "Read(~/.mysql_history)",
      "Read(~/.local/state/mysql/history)",
      "Read(~/.psql_history)",
      "Read(~/.local/state/pg/history)",
      "Read(~/.sqlite_history)",
      "Read(~/.local/state/sqlite/history)",
      "Read(~/.rediscli_history)",
      "Read(~/.local/state/redis/history)",
      "Read(~/.git-credentials)",
      "Read(~/.config/git/credentials)",
      "Read(~/.claude/.credentials.json)",
      "Read(~/.config/claude/.credentials.json)",
      "Read(~/.config/gh/hosts.yml)",
      "Read(~/.kube/**)",
      "Read(~/.config/kube/**)",
      "Read(~/.aws/**)",
      "Read(~/.config/aws/**)",
      "mcp__plugin_slack_slack__slack_send_message",
      "mcp__plugin_slack_slack__slack_send_message_draft",
      "mcp__plugin_slack_slack__slack_schedule_message",
      "mcp__plugin_slack_slack__slack_add_reaction",
      "mcp__plugin_slack_slack__slack_create_canvas",
      "mcp__plugin_slack_slack__slack_update_canvas"
    ]
  }
}

Hooks (1)

eventmatcherruns
SessionStart^(startup|resume|clear|compact|fork)$bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/herdr-agent-state.sh" session

Slash commands (1)

/commit-message

Plugins (2)

rust-analyzer-lsp@claude-plugins-officialslack@claude-plugins-official

Permissions

deny (31)
Read(~/.ssh/**)
Read(~/.gnupg/**)
Read(**/.env)
Read(**/.env.*)
Read(~/.bash_history)
Read(~/.local/state/bash/history)
Read(~/.zsh_history)
Read(~/.local/state/zsh/history)
Read(~/.mysql_history)
Read(~/.local/state/mysql/history)
Read(~/.psql_history)
Read(~/.local/state/pg/history)
Read(~/.sqlite_history)
Read(~/.local/state/sqlite/history)
Read(~/.rediscli_history)
Read(~/.local/state/redis/history)
Read(~/.git-credentials)
Read(~/.config/git/credentials)
Read(~/.claude/.credentials.json)
Read(~/.config/claude/.credentials.json)
Read(~/.config/gh/hosts.yml)
Read(~/.kube/**)
Read(~/.config/kube/**)
Read(~/.aws/**)
Read(~/.config/aws/**)
mcp__plugin_slack_slack__slack_send_message
mcp__plugin_slack_slack__slack_send_message_draft
mcp__plugin_slack_slack__slack_schedule_message
mcp__plugin_slack_slack__slack_add_reaction
mcp__plugin_slack_slack__slack_create_canvas
mcp__plugin_slack_slack__slack_update_canvas
ask (0)
—
allow (67)
Bash(ls:*)
Bash(cat:*)
Bash(grep:*)
Bash(rg:*)
Bash(find:*)
Bash(fd:*)
Bash(tree:*)
Bash(jq:*)
Bash(head:*)
Bash(tail:*)
Bash(wc:*)
Bash(which:*)
Bash(file:*)
Bash(stat:*)
Bash(diff:*)
Bash(pwd:*)
Bash(realpath:*)
Bash(sort:*)
Bash(uniq:*)
Bash(cut:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git blame:*)
Bash(git rev-parse:*)
Bash(git ls-files:*)
Bash(cargo build:*)
Bash(cargo clippy:*)
Bash(cargo test:*)
Bash(cargo fmt:*)
Bash(cargo doc:*)
Bash(cargo check:*)
Bash(go build:*)
Bash(go test:*)
Bash(go vet:*)
Bash(go doc:*)
Bash(go list:*)
Bash(gofmt:*)
Bash(golangci-lint run:*)
Bash(npm run build:*)
Bash(npm run list:*)
Bash(npm run format:*)
Bash(npm run fmt:*)
Bash(npx tsc:*)
Bash(npx prettier:*)
Bash(npx eslint:*)
Bash(npx jest:*)
Bash(npx vitest:*)
WebSearch
WebFetch(domain:docs.claude.com)
WebFetch(domain:github.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:hub.docker.com)
WebFetch(domain:docs.timescale.com)
WebFetch(domain:stackoverflow.com)
WebFetch(domain:stackexchange.com)
WebFetch(domain:doc.rust-lang.org)
WebFetch(domain:docs.rs)
WebFetch(domain:crates.io)

Similar rigs

copied ✓