claude-code-config
CLAUDE.md13 starsChanged 2 months agoMITView on GitHub
It is loaded as user-level memory regardless of working directory. Desired connector state everywhere: Both lists are exhaustive, not illustrative. The disabled claude.ai * entries are the Google data connectors specifically; do not read them as a pattern and generalize it to every claude.ai * connector. claude.ai Claude Docs is deliberately on. A low invocation count is not a reason to turn any of these off. Claude Docs in particular is used occasionally and per task, so a scan window…
In this repository16 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- cc-release-reviewSkill
- verifySkill
- code-auditSkill
- code-reductionSkill
- code-refactorSkill
- code-theorySkill
- code-walkthroughSkill
- editorSkill
- grillSkill
- issue-prSkill
- issue-triageSkill
- issue-verifySkill
- release-captainSkill
- release-gateSkill
- release-shipSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use defaults until justified
- Distinctive: line 61
Every open issue in a triage pass gets an explicit disposition (fix / close / defer with reason).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) across all sessions for this user. It is loaded as user-level memory regardless of working directory.
About me
- Independent developer working on solo projects under the philoserf umbrella.
- Primary languages: Go and TypeScript.
Team working rules
- Yes, and…
- Name things once
- Embrace simplicity
- Ask permission once
- Assume good intentions
- One file until we need two
- Use defaults until justified
- Known and fixable gets fixed
Tool defaults
- Obsidian CLI: default to
vault=notesunless another vault is named. - Browser automation: prefer the
safariMCP (Safari's built-in/usr/bin/safaridriver --mcp, since Safari 27.2) overclaude-in-chromefor navigating, screenshotting, or inspecting web pages. It drives the everyday Safari, so its automation windows sit beside normal browsing. Note it cannot emulateprefers-color-scheme. If it fails with a "remote automation" error, Safari needs Settings → Developer → Allow remote automation, then an MCP reconnect (/mcp).
MCP connector toggles (global preference)
Desired connector state everywhere:
- Enabled:
computer-use,claude.ai Claude Docs. - Disabled:
claude-in-chrome,claude.ai Gmail,claude.ai Google Calendar,claude.ai Google Drive.
Both lists are exhaustive, not illustrative. The disabled claude.ai * entries are the Google data connectors specifically; do not read them as a pattern and generalize it to every claude.ai * connector. claude.ai Claude Docs is deliberately on.
A low invocation count is not a reason to turn any of these off. Claude Docs in particular is used occasionally and per task, so a scan window that happens not to exercise it is evidence of nothing.
Devices
Hostnames name each device's job; the same lowercase name is the macOS hostname, the Tailscale node, and the MagicDNS name. Call each device by its name, in prose too—almanac, not "the Mini"; sextant, not "the laptop".
sextant: MacBook, the daily machine (wasLaptop).almanac: headless Mac mini, the always-on host work is dispatched to (wasMini).moleskine: iPad.telemetry: iPhone.lantern: Apple TV, on the tailnet but not a server (wasapple-tv).
Hostnames are load-bearing: the notes vault's task update runs only when hostname is sextant, and the global Brewfile's (~/.config/homebrew/Brewfile) host case checks for almanac. A rename must update both. Tailscale takes a new name only after it restarts.
The notes vault lives at ~/notes on both Macs—the git clone on sextant, an Obsidian Sync folder on almanac. It syncs through Obsidian Sync to every host, and only sextant runs git on it. On almanac the vault has no .git; never clone, commit, or push it there—its edits reach sextant through Sync.
Environment
- macOS with zsh as the shell. Write shell scripts for zsh, not bash — no bash-only syntax like associative arrays (
declare -A,${!arr[@]}). - BSD userland, not GNU:
sed -i ''needs the empty backup arg;date/grep/findlack some GNU flags. GNU coreutils are brew-installed with agprefix (gdate,gls, …); GNUsed,grep, andfindare not installed. - In Claude Code's Bash tool,
grepis a shell function running ugrep, not/usr/bin/grep; scripts run from it still get BSD grep. The two disagree on edge cases (grep -qvon empty input exits 0 under ugrep, 1 under BSD), so don't test a script's grep logic by typing it at the tool shell. - zsh ties lowercase
path,cdpath,fpath,manpathto their uppercasePATH-style env vars. Never use them as variable names — e.g.while read -r f pathsilently overwrites$PATH, after which every external command fails with "command not found". Usep,fname, etc. instead. for x in $varin zsh iterates once — unquoted expansions do not word-split the way bash's do. Split explicitly:${(f)var}by line,${=var}by word, orwhile IFS= read -r.$(cmd)does split, so the two forms differ.- A PostToolUse prettier hook reformats
.mdon Edit/Write (not on Bash writes). If an Edit anchor stops matching a markdown file, re-read it — the hook reflowed the text.
Issues and releases
- I delete milestones after delivery. An empty
state=allmilestone query does not mean milestones were never used — ask before concluding anything from milestone history. - Every open issue in a triage pass gets an explicit disposition (fix / close / defer with reason). List anything parked, explicitly, at the end.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

