Skip to content

Remove derivable key files list from AGENTS.md - #262

Merged
haacked merged 1 commit into
mainfrom
haacked/trim-agents-key-files
Oct 28, 2026
Merged

haacked merged 1 commit into
mainfrom
haacked/trim-agents-key-files

Conversation

@haacked

@haacked haacked commented Oct 28, 2026

Copy link
Copy Markdown
Owner

The root AGENTS.md (CLAUDE.md symlinks to it) loads into every Claude and Codex session in this repo. It listed each zsh file with a one-line summary of what it holds, which a session can get by reading zsh/. That cost about 110 tokens per session for nothing an agent couldn't find on its own.

This removes the list. I kept the line saying ~/.zshrc symlinks to zsh/zshrc.symlink and that all interactive config lives there, since it tells an agent where new shell config goes.

Test plan

  • Start a session in this repo and confirm the loaded CLAUDE.md no longer contains the key files list.

https://claude.ai/code/session_01WXojGCGYYyBYBvexXjFhU7

@haacked
haacked marked this pull request as ready for review October 28, 2026 19:29
@haacked
haacked merged commit 5e8b109 into main Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant