~ / rigs / sotayamashita / dotfiles

sotayamashita/dotfiles

No description.

↗ GitHub ★ 6 MIT updated 2d ago personal setup Claude CodeCodex
stack: PythonShell
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~1.8k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · details
Quality 21/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit sotayamashita/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.

$ npx degit sotayamashita/dotfiles/.agents/skills/dotfiles-dev .claude/skills/dotfiles-dev
$ npx degit sotayamashita/dotfiles/.agents/skills/show-plan .claude/skills/show-plan

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(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)",
      "Read(./config/credentials.json)",
      "Read(~/.kube/**)",
      "Read(~/.docker/config.json)",
      "Read(~/.netrc)",
      "Read(~/.npmrc)",
      "Read(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Read(~/.config/gcloud/**)",
      "Read(~/.gnupg/**)",
      "Bash(rm -rf *)",
      "Bash(rm -r *)",
      "Bash(sudo *)",
      "Bash(chmod 777 *)",
      "Bash(git push --force *)",
      "Bash(git reset --hard *)",
      "Bash(git checkout -- *)",
      "Bash(git restore *)",
      "Bash(git clean -f*)",
      "Bash(> /dev/*)",
      "Bash(dd *)",
      "Bash(mkfs *)",
      "Read(**/*.pem)",
      "Read(**/*.key)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/sfw-gate.sh"
          },
          {
            "type": "command",
            "command": "sh \"$HOME/.claude/hooks/git-safety.sh\""
          }
        ]
      }
    ]
  }
}

Skills (2)

Hooks (6)

eventmatcherruns
PostToolUseEdit|MultiEdit|Write~/.claude/hooks/sfw-post-edit.sh
PreToolUseBash~/.claude/hooks/sfw-gate.sh
PreToolUseBashsh "$HOME/.claude/hooks/git-safety.sh"
SessionStart*bash "$HOME/.claude/hooks/herdr-agent-state.sh" session
SessionStart^(startup|resume|clear|compact|fork)$bash "$HOME/.claude/hooks/herdr-agent-state.sh" session
SubagentStarttldraw-offlinesh "$HOME/skills/tldraw-offline/inject-server-context.sh" SubagentStart

Plugins (8)

agent-skills@addy-agent-skillscodex@openai-codexfrontend-design@claude-plugins-officialgopls-lsp@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-officialvercel@claude-plugins-officialskill-creator@anthropic-plugin-directory

Permissions

deny (26)
Read(./.env)
Read(./.env.*)
Read(./secrets/**)
Read(./config/credentials.json)
Read(~/.kube/**)
Read(~/.docker/config.json)
Read(~/.netrc)
Read(~/.npmrc)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.config/gcloud/**)
Read(~/.gnupg/**)
Bash(rm -rf *)
Bash(rm -r *)
Bash(sudo *)
Bash(chmod 777 *)
Bash(git push --force *)
Bash(git reset --hard *)
Bash(git checkout -- *)
Bash(git restore *)
Bash(git clean -f*)
Bash(> /dev/*)
Bash(dd *)
Bash(mkfs *)
Read(**/*.pem)
Read(**/*.key)
ask (0)
—
allow (5)
Bash(rg:*)
Bash(ast-grep:*)
Bash(ls:*)
Bash(fd:*)
Bash(tail:*)

Similar rigs

copied ✓