Skip to content

vsbuffalo/dotfiles

Repository files navigation

Dotfiles

Dotfiles for macOS — zsh, neovim, tmux, git — maintained by Dewey, a Claude Code agent that lives in the repo. It tracks plugin health, keeps docs in sync with config, and runs parallel agent workflows via tmux. No custom runtime — just CLAUDE.md, skills, and project memory.

Warning: If you use my dotfiles, you must modify this to your own purposes! .gitconfig contains my name/email — simply cloning and running setup will make your commits under my identity.

Installation

bash setup.sh

If you have an existing ~/.config/, it won't be overwritten — but none of the dotfiles configs will be linked. Remove or merge your existing .config/ after running setup.sh.

For SSH key management via Apple Keychain:

ssh-add --apple-use-keychain ~/.ssh/[your-private-key]

What's in here

Path What
.zshrc, .zsh-plugins/ Zsh config, vendored plugins with AI supply-chain auditing (docs)
.config/nvim/ NeoVim (docs)
.config/ alacritty, starship, etc.
.claude/ Claude Code settings & skills: audit, history-analyze, commands, doc-sync (docs)
.tmux.conf tmux config
.gitconfig Git config
.Rprofile, .R/, .condarc R and conda config
keyboards/moonlander/ Moonlander QMK layout source (docs)
bootloaders/ Boot loader configs
router/ GL.iNet Flint2 network alerting (docs)
scripts/ Automation scripts (docs)
setup.sh Bootstrap installer

Scripts

Automation scripts for screenshots and agent workflows — see docs/scripts.md.

Dewey the Dotfiles Librarian

Dewey is a Claude Code agent that maintains this repo. There's no custom runtime — it's just Claude Code reading a CLAUDE.md file, discovering skills in .claude/skills/, and using project memory for cross-session state.

dewey               # interactive session
dewey "question"    # one-shot answer
Skill What it does
/audit Tiered neovim plugin staleness checker (3/6/12-month cadence)
/supply-chain-audit [path] Review vendored dependency updates for supply chain attacks
/history-analyze [zsh|nvim|all] Analyze command history for missing aliases, repeated patterns, tool suggestions
/commands [topic] Full keybinding & command reference (neovim, zsh, tmux, git, cargo, opam, uv)
/doc-sync Diff config against docs and propose updates
/notes [topic] Lab notebook for recording findings

History analysis runs through a committed sanitizer script (.claude/skills/history-analyze/sanitize-history.sh) — Claude never sees raw history, only frequency tables with secrets stripped and arguments abstracted.

Build your own

The whole thing is four pieces that any repo can replicate:

  1. CLAUDE.md — persona, architecture map, and a compact command reference that's always in context. This is the only file Claude Code reads automatically. (ours)

  2. .claude/skills/ — slash commands loaded on demand. Each is a markdown prompt file. Skills keep expensive lookups (full command reference, audit logic, history analysis) out of the base context window.

  3. Project memory — a directory Claude Code persists across sessions (~/.claude/projects/.../memory/). Dewey stores audit dates, discovered commands, and session notes here. No database, just markdown files.

  4. Shell alias — a one-liner in .zshrc that pins Claude Code to the repo directory and adds a system prompt for the greeting.

The pattern scales: add a skill file, reference it from CLAUDE.md, done. See docs/dewey.md for the full technical breakdown.

Docs

Caveats

Only tested on macOS.

About

an entirely new dotfiles configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors