Sam's monolithic Projects folder (158,716 files, ~15GB, 17KB CLAUDE.md) was crushing agent context windows and burning tokens on every session start. The goal: split it into focused, purpose-built repos, each with a lean CLAUDE.md, centralized credentials, hooks, and fresh GitHub repos. The old Projects folder stays as a shell so Sam can do a final pass before archiving.
During execution the scope evolved several times. Sam corrected that Eve-Legal templates belong in sail-templates (not sail-cases). He requested SEO be split out of marketing into its own repo. He flagged that deleted git-repo reference clones (material-ui, ghost-os, playwright-mcp, awesome-design-md) should have been preserved in a standalone location. He then requested aggressive cleanup of the old Projects folder and sail-seo's file count.
All repos live at ~/Repos/ on Sam's Mac:
Master credential vault lives at ~/Repos/.credentials/vault.env. Each repo has a symlink pointing to it. Credentials are gitignored in every repo. Claude Code hooks block edits to the vault file; reads are always permitted.
Went from 15GB / 158,716 files down to 308KB / 27 files. What remains: cross-cutting admin references (CLAUDE.md, AI-CONVENTIONS.md, PLAYBOOK.md, BRAND-NOTES.md, SKILL-INDEX.md, and a few session logs). This is the shell Sam will review before final archival.