macOS dotfiles managed with GNU Stow. Most of it is my Claude Code setup β
CLAUDE.md, settings.json, custom skills, and subagents β plus the usual
zsh, Brewfile, and macOS defaults.
claude/for Claude Code global configuration (CLAUDE.md,settings.json,statusline.sh,skills/,agents/)codex/for Codex CLI configuration (AGENTS.mdβ the shared global guidelines, which Claude'sCLAUDE.mdimports)zsh/for shell configurationgit/for the global git config (.gitconfig)vscode/keeps the last VS Code settings for reference; VS Code is uninstalled andinstall.shdoesn't stow itBrewfilefor package reproducibilitymacos-defaults.shfor common macOS preferences
Machine-specific secrets stay outside the repo:
~/.zshrc.local
Required:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install stowOptional but recommended:
brew bundle --file Brewfile
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"The shell config is defensive now, so missing optional tools will not break shell startup.
./install.sh
source ~/.zshrcWhat install.sh does:
- stows tracked packages into
$HOME - detects recursive conflicts before linking
- backs up replaced files to
~/.dotfiles-backups/<timestamp>/ - creates
~/.zshrc.localwhen missing
Install packages from the tracked Homebrew bundle:
brew bundle --file BrewfileReview the script first, then run it manually if you want those defaults:
chmod +x macos-defaults.sh
./macos-defaults.shExample ~/.zshrc.local:
export GITHUB_TOKEN="your_token_here"
export OPENAI_API_KEY="your_key_here"dotfiles/
βββ Brewfile
βββ CLAUDE.md # editing notes for coding agents working on this repo
βββ LICENSE
βββ claude/
β βββ .claude/
β βββ CLAUDE.md # imports ~/.codex/AGENTS.md + Claude-only delegation section
β βββ settings.json
β βββ statusline.sh # custom 2-line status line (context + rate-limit gauges)
β βββ agents/
β β βββ aesthetic-critic.md # taste/craft critique of already-captured UI screenshots
β β βββ usability-critic.md # task-scenario usability critique (drives the browser itself)
β βββ skills/
β βββ codex-image/ # codex image_generation skill (single/batch/parallel)
β βββ korean-polish/ # writes and polishes Korean the user posts so it reads human (rules.md; projects add their own)
β βββ visual-review/ # Playwright MCP rendering critique (reads per-repo visual-review-app companion)
βββ codex/
β βββ .codex/
β βββ AGENTS.md # shared global guidelines (Codex reads it directly, Claude imports it)
βββ docs/
β βββ claude-code.md # what Claude Code writes into this repo, and what to do with it
βββ git/
β βββ .gitconfig
βββ install.sh
βββ macos-defaults.sh
βββ vscode/ # archived VS Code settings (not stowed)
β βββ keybindings.json
β βββ settings.json
βββ zsh/
β βββ .zshrc
β βββ .zshrc.local.example
βββ README.md