agentleFS
fcakyonfcakyon/claude-codex-settings/.claude/CLAUDE.md

claude-codex-settings

CLAUDE.md1.2k starsChanged 2 months agoApache-2.0View on GitHub

Guidance for Claude Code and other AI tools. Structured around Andrej Karpathy's observations on LLM coding pitfalls: surface assumptions, don't overcomplicate, make surgical changes, verify before moving on. Do what was asked. Nothing more, nothing less. This year is 2026. Delete > Replace > Add. Before any change, answer in order: what can I delete, what can I replace, and only then, what must I add? Ask yourself: "What can I delete instead of add, and does this trace to…

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 3 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the fcakyon/claude-codex-settings repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about fcakyon/claude-codex-settings

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub (14 times).

On GitHub · 14

9 more on GitHub

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

27 rules. About 0 are common, 18 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Delete > Replace > Add: Before any change, answer in order: what can I delete, what can I replace, and only then, what must I add?

    line 9
  2. Distinctive:

    Bugfixes are net-negative by default: If a fix adds more lines than it removes, justify in one sentence why deletion and relocation were …

    line 12
  3. Distinctive:

    Ask yourself: "What can I delete instead of add, and does this trace to what was asked?"

    line 17
  4. Very specific:

    Before committing to an approach, and after two failed attempts at the same problem, get a second opinion with /codex-advisor or …

    line 22
  5. Distinctive:

    Prefer editing existing files, and check related code for consistency.

    line 23
  6. Very specific:

    Prefer rg over grep.

    line 24
  7. Very specific:

    Use the writing-guidelines skill to review documentation or interface copy, and the humanize skill to remove generic or machine-written …

    line 25
  8. Very specific:

    Use the anthropic-frontend-design or openai-frontend-design skill when creating or reshaping a UI.

    line 27
  9. Very specific:

    Use mcp__tavily__tavily_search for discovery/broad queries

    line 33
  10. Very specific:

    Use mcp__tavily__tavily_extract for specific URL content

    line 34
  11. Distinctive:

    Search first to find URLs, then extract for detailed analysis

    line 35
  12. Very specific:

    Use gh CLI for all GitHub interactions.

    line 43
  13. Very specific:

    Verify before planning: Run python -c "..." to test hypotheses.

    line 60
  14. Very specific:

    Run the /simplify skill on the staged diff before committing, then apply its findings.

    line 68
  15. Distinctive:

    ONLY analyze staged files (git diff --cached), ignore unstaged

    line 73
  16. Distinctive:

    NO test plans in commit messages

    line 74
  17. Distinctive:

    No test plans, no changed files list, no line-number links in PR body

    line 81
  18. Distinctive:

    Create pending reviews only, never auto-submit

    line 87
  19. Distinctive:

    Ask yourself: "Would someone unfamiliar with this repo understand this commit message?"

    line 98
  20. Distinctive:

    Author Names: Verify exact author names from the actual paper PDF or official publication page.

    line 104
  21. Distinctive:

    Paper Title: Use the exact title from the published version, not preprint titles which may differ.

    line 106
  22. Distinctive:

    Cited Claims: Every specific claim attributed to a paper (e.g., "9% improvement on Synthia", "4.7% on OpenImages") must be verifiable in …

    line 107
  23. Distinctive:

    BibTeX Keys: When updating citation keys, search for ALL references to the old key and update them consistently.

    line 108
  24. Distinctive:

    Use web search to find the official publication page (not just preprints)

    line 112
  25. Distinctive:

    When uncertain, flag the citation for manual verification rather than guessing

    line 116
  26. Distinctive:

    After adding citations into md or bibtex entries into biblio.bib, fact check all fields from web.

    line 117
  27. Distinctive:

    Ask yourself: "Can I point to the exact page where this claim appears?"

    line 119

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Claude Code Settings

Guidance for Claude Code and other AI tools. Structured around Andrej Karpathy's observations on LLM coding pitfalls: surface assumptions, don't overcomplicate, make surgical changes, verify before moving on.

Core Principles

Do what was asked. Nothing more, nothing less. This year is 2026.

Delete > Replace > Add. Before any change, answer in order: what can I delete, what can I replace, and only then, what must I add?

  • Guard nothing, relocate the trigger. A fix that adds a condition to mask bad behavior (a staleness check, an is-ready flag, a try/except around broken logic) is wrong by default. Move the logic to the code path that should own it, then delete what got it wrong. No defensive programming unless you state the motivation and the user approves.
  • Bugfixes are net-negative by default. If a fix adds more lines than it removes, justify in one sentence why deletion and relocation were impossible.
  • Search before creating. The helper probably exists, so grep the project first. Fold duplicates into one shared utility. Three similar lines beat a helper nobody else calls.
  • Deletion beats caution. Broken or duplicated code kept "to be safe" is the regression. Understand what you remove, then remove it.
  • This guidance is code: additions require deletions. To add a rule, remove or merge one.

Ask yourself: "What can I delete instead of add, and does this trace to what was asked?"

Working Rules

  • Reflect on tool results, run independent operations in parallel, and verify before finishing.
  • Before committing to an approach, and after two failed attempts at the same problem, get a second opinion with /codex-advisor or /fable-advisor if either is installed.
  • Prefer editing existing files, and check related code for consistency. Never create docs (*.md, README) unless asked.
  • Prefer rg over grep.
  • Use the writing-guidelines skill to review documentation or interface copy, and the humanize skill to remove generic or machine-written phrasing.
  • For SEO, use the seo-audit, site-architecture, programmatic-seo, or schema skill based on the task.
  • Use the anthropic-frontend-design or openai-frontend-design skill when creating or reshaping a UI.

MCP Tools

Tavily (Web Search)

  • Use mcp__tavily__tavily_search for discovery/broad queries
  • Use mcp__tavily__tavily_extract for specific URL content
  • Search first to find URLs, then extract for detailed analysis

MongoDB

  • MongoDB MCP is READ-ONLY (no write/update/delete operations)

GitHub CLI

Use gh CLI for all GitHub interactions. Never clone repositories to read code.

  • Read file from repo: gh api repos/{owner}/{repo}/contents/{path} -q .content | base64 -d
  • Search code: gh search code "query" --repo {owner}/{repo} or gh search code "query" --language python
  • Search repos: gh search repos "query" --language python --sort stars
  • Compare commits: gh api repos/{owner}/{repo}/compare/{base}...{head}
  • View PR: gh pr view {number} --repo {owner}/{repo}
  • View PR diff: gh pr diff {number} --repo {owner}/{repo}
  • View PR comments: gh api repos/{owner}/{repo}/pulls/{number}/comments
  • List commits: gh api repos/{owner}/{repo}/commits --jq '.[].sha'
  • View issue: gh issue view {number} --repo {owner}/{repo}

Python Coding

For full Python guidelines, install and enable the python-skills plugin (python-guidelines skill). Read its references/ files (idiomatic patterns, Zen of Python, Google style guide, Effective Python) before you write the code, not after. Key rules always in effect:

  • Package manager: uv (NOT pip). Paths: pathlib, not os.path.
  • Verify before planning: Run python -c "..." to test hypotheses. Never assume.
  • Virtual env: source .venv/bin/activate or uv run python -c "..."
  • Integrate into existing code, don't append. Match existing patterns.

Git and Pull Request Workflows

Commit Messages

  • Run the /simplify skill on the staged diff before committing, then apply its findings. Docs-only diffs are a no-op
  • Format: {type}: brief description (max 50 chars first line)
  • Optional second line: 1 sentence with findings/motivation
  • Types: feat, fix, refactor, docs, style, test, build
  • Simple terms, no jargon
  • ONLY analyze staged files (git diff --cached), ignore unstaged
  • NO test plans in commit messages

Pull Requests

  • PR titles: NO type prefix (unlike commits) - start with capital letter + verb
  • Analyze ALL commits with git diff <base-branch>...HEAD, not just latest
  • PR body: open on why, short scannable bullets (one point each), a diff or snippet, numbers over adjectives. Single section, no headers
  • No test plans, no changed files list, no line-number links in PR body
  • Self-assign with -a @me
  • Find reviewers: gh pr list --repo <owner>/<repo> --author @me --limit 5

PR Comments and Reviews

  • Create pending reviews only, never auto-submit
  • Comment style: start lowercase, no em-dashes, simple terms, no end punctuation, max 1 sentence
  • Bot comment responses: few words is enough
  • Real person responses: polite, concise

Commands

  • /github-dev:commit-staged - commit staged changes
  • /github-dev:create-pr - create pull request
  • /github-dev:resolve-pr-comments - analyze and address unresolved PR review comments

Ask yourself: "Would someone unfamiliar with this repo understand this commit message?"

Citation Verification

Never cite what you haven't verified.

  1. Author Names: Verify exact author names from the actual paper PDF or official publication page. Do not guess or hallucinate author names based on similar-sounding names.
  2. Publication Venue: Confirm the exact venue (conference/journal) and year. Papers may be submitted to one venue but published at another (e.g., ICLR submission → ICRA publication).
  3. Paper Title: Use the exact title from the published version, not preprint titles which may differ.
  4. Cited Claims: Every specific claim attributed to a paper (e.g., "9% improvement on Synthia", "4.7% on OpenImages") must be verifiable in the actual paper text. If a number cannot be confirmed, use qualitative language instead (e.g., "significant improvements").
  5. BibTeX Keys: When updating citation keys, search for ALL references to the old key and update them consistently.

Verification Process:

  • Use web search to find the official publication page (not just preprints)
  • Cross-reference author names with the paper's author list
  • DBLP is the authoritative source for CS publication metadata
  • For specific numerical claims, locate the exact quote or table in the paper
  • When uncertain, flag the citation for manual verification rather than guessing
  • After adding citations into md or bibtex entries into biblio.bib, fact check all fields from web. Even if you performed fact check before, always do it again after writing the citation in the document.

Ask yourself: "Can I point to the exact page where this claim appears?"

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.