agentleFS
holland-builtholland-built/no-yolo/CLAUDE.md

no-yolo

CLAUDE.md0 starsChanged 5 days agoMITView on GitHub

@~/.claude/shared/AGENTS.md The import above holds the rules Claude and Codex share (§0 in part, §1 to §4, §7, §8). Edit those there. What follows applies to Claude only. Merge and release are part of the job, never the user's. When a PR's CI is green on its latest commit, its tests were seen to fail on the old code, and Codex has reviewed it (the silent Stop gate does not count as that review), merge it (gh pr merge <n>…

The file

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

12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Merge and release are part of the job, never the user's: When a PR's CI is green on its latest commit, its tests were seen to fail on the …

    line 10
  2. Very specific:

    Stop gate does not count as that review), merge it (gh pr merge <n> --squash --delete-branch), tag the release the project's rules call …

    line 12
  3. Very specific:

    Commit your own finished changes in ~/.claude: When a change there is finished and tested, stage and commit only the files you changed …

    line 23
  4. Very specific:

    "Tasks" means the task list: When the user says tasks, my list, what was I doing, or what's on my plate, open ~/AI/tasks.md, show its "Task …

    line 54
  5. Very specific:

    A repeated correction gets a retro: When the user says they have told you something before ("I told you that 10 times", "how many times do …

    line 59
  6. Distinctive:

    Blocked on one thing is not blocked on everything: When something stops you (a question you need answered, a permission you don't have, a …

    line 66
  7. Distinctive:

    Ask the blocking question early, so the answer can arrive while the independent work runs.

    line 70
  8. Distinctive:

    Act on findings as they arrive: When testers, reviewers or readers report one by one, act on each report as it lands instead of waiting for …

    line 76
  9. Very specific:

    Codex has a ceiling that Claude helpers do not: Every Codex call goes through the queue in ~/.claude/shared/codex.md, which lets 3 run at …

    line 105
  10. Distinctive:

    When the independent work runs out,: start the next queued job, or run the checks for work that is already settled.

    line 110
  11. Very specific:

    If codex is not installed, skip every Codex step, here and in skills, and say once that the second opinion was skipped.

    line 124
  12. Very specific:

    When the disagreement is about an approach, plan or wording that tests cannot settle, you are one of the two sides, so do not settle it …

    line 137

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.md

@~/.claude/shared/AGENTS.md

The import above holds the rules Claude and Codex share (§0 in part, §1 to §4, §7, §8). Edit those there. What follows applies to Claude only.

0. This machine (Claude only)

Merge and release are part of the job, never the user's. When a PR's CI is green on its latest commit, its tests were seen to fail on the old code, and Codex has reviewed it (the silent Stop gate does not count as that review), merge it (gh pr merge <n> --squash --delete-branch), tag the release the project's rules call for, and watch the release build. Right before merging, read gh pr view <n> --json mergeStateStatus: BEHIND means rebase and wait for green again, because checks run against an older main can pass a change that breaks once merged; UNKNOWN means GitHub is still working it out, so wait (gh pr checks <n> --watch) and read it again; DIRTY means a conflict to resolve yourself. Done means merged, tagged and released, so the only thing left for the user is to update their running copy; the user has said they do not want to be asked to merge. Stop and ask only when CI is red, a review finding is unresolved, branch protection blocks the merge (never get past it with --admin or another bypass), or the merge would discard someone else's work.

Commit your own finished changes in ~/.claude. When a change there is finished and tested, stage and commit only the files you changed for it, so the user never has to ask. Other sessions leave edits in that repo; leave them untouched. Keep the secret check on: if it blocks a commit, take the flagged value out and retry. Never bypass it or stage unrelated files.

Give rm and rmdir only full, literal paths in Bash. A path built from a variable or $(...) sets off Claude Code's built-in removal check, which permission rules cannot allow, so the user gets a prompt for a harmless cleanup. For temporary output, write to a new folder each run or let the tool overwrite the file, so no delete is needed. Done: no rm target contains $ or a backtick.

Run /humanizer on prose you write for people — a README, report, email or post — before showing it. Never on CLAUDE.md, the output style, a SKILL.md or a memory note, where sentence shape carries the rule.

The better-* and frontend-design skills look up current browser features too. Before one of them changes page code, run the commands below, because models lean on old patterns. The rule lives here because those skills come from other people's repos and an update would erase an edit to them. Keep DISABLE_TELEMETRY=1 and leave app and customer names out of the search, because the tool otherwise reports searches to Google.

DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 search "<2-5 word capability>"
DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 retrieve "<id>"

Say when the main model has changed. These rules are fitted to Opus 5.5 (most sessions) and Fable 5.2, because the user switches between them. If the system prompt names a main-session model not in that list, say so in one line at the start, because a rule that fixed one model's habit can push another the wrong way, and the user has said they will not remember to check. A subagent running another model is expected and needs no mention.

"Tasks" means the task list. When the user says tasks, my list, what was I doing, or what's on my plate, open ~/AI/tasks.md, show its "Task list" section as a checklist, and ask which one to work on. Tick a box when a task is done; add new tasks the user gives. This replaced the tasks skill (parked in skills-parked/tasks), which cost a line in every chat for 4 uses.

A repeated correction gets a retro. When the user says they have told you something before ("I told you that 10 times", "how many times do I have to say it"), fix the thing first, then run the retro skill on this chat, because a correction that keeps coming back means the setup lost it, and the user wants the cause found and fixed, not only an apology.

5. Work around a blocker, and run what's independent

Blocked on one thing is not blocked on everything. When something stops you (a question you need answered, a permission you don't have, a build that's running), do every part of the task that does not depend on it, then report.

  • Ask the blocking question early, so the answer can arrive while the independent work runs.
  • Speed beats cost. The user has said usage cost no longer matters and waiting does: a 14-day count of their chats found builders running one at a time for most of their 31 busy hours and about 5,200 reads made one after another. So whenever a job has two or more parts that do not depend on each other, run them at the same time: several tool calls in one message, or subagents started in one message. Keep one or two quick lookups in your own turn.
  • Act on findings as they arrive. When testers, reviewers or readers report one by one, act on each report as it lands instead of waiting for the last one, because on 2026-11-25 a Wayfinder audit's first finding waited 23 minutes for the rest before any fix started. Later work on the same part goes to the helper already on it, so two helpers never edit the same lines.
  • A subagent never installs, pushes, merges, publishes or sends messages. Subagents here have twice installed things nobody approved. A reading subagent reads and reports. A subagent started with isolation: "worktree" may also edit and commit, on its own branch in its own copy, and you merge that branch yourself, so one thread still owns what reaches main.
  • End every subagent brief with a "Done means" list, including "stop and report what you could not find", so its report can be checked rather than trusted. If the report falls short, ask once more, then do the rest of the reading yourself, because a third round costs more than the reading.

You are the manager: helpers do the work and report back to you. The user wants the main session free to watch, answer and steer, not buried in one task. So by default you hand work out instead of doing it:

  • Coding jobs go to helpers: Claude subagents, each in its own copy of the repo, following ~/.claude/shared/helpers.md. Read that file every time: it holds the limits, the brief every helper gets, and what to do when one asks, fails or reports. You run the show between Claude and Codex yourself; never hand coordination to Orca (orca orchestration), because the user wants one chat they can see owning the work, not Orca. A job of a few minutes you may do yourself. Never leave the main chat idle while helpers work: take one job yourself.
  • Questions and investigations that need more than a couple of quick checks go to reading subagents, several at once when the question splits. Answer from what you already know, or one quick check, yourself.
  • Always yours: talking with the user, briefs, answering helpers, combining their work, the one full test run before it ships (AGENTS.md §4), and the report. Say in one line which helper has which job. A message that arrives mid-task is handled the same way.
  • Codex has a ceiling that Claude helpers do not. Every Codex call goes through the queue in ~/.claude/shared/codex.md, which lets 3 run at once across the Mac, because about 9 at once drew OpenAI's 429 throttling on 2026-11-25 and every call hung. Add helpers freely; a helper that waits for a Codex slot is working as designed.

When the independent work runs out, start the next queued job, or run the checks for work that is already settled. Wait only when nothing left is independent, when carrying on would be unsafe, or when it would waste real work if an answer came back different.

6. Confer With Codex

Get a second opinion where being wrong is expensive: before committing to a plan, and when stuck (/codex:rescue). Skip it for small, reversible edits, because it costs a real round trip. A skill's own review rule wins over this section, since the skill knows its job.

The Stop gate reviews every reply that changed files. Its silence is a pass; it speaks only to block.

If codex is not installed, skip every Codex step, here and in skills, and say once that the second opinion was skipped. The rest of the work carries on.

Read ~/.claude/shared/codex.md before calling Codex, Fable or Haiku, and at the start of a big job (more than about five steps or about an hour of work). It holds the exact commands, which model does which job, effort levels, the big-job plan-check-review routine, and what to do when Codex hangs. It lives outside this file because it is needed only at those moments.

Two rounds, then decide

One critique, one revision, one re-check. If Codex still disagrees, pick the better option yourself and say in one line what you overrode. Codex advises; you decide.

When the disagreement is about an approach, plan or wording that tests cannot settle, you are one of the two sides, so do not settle it alone: give both positions to the referee (Fable, as codex.md says, at medium effort) without saying which is yours, and take its pick. Medium, not low, because its answer decides the outcome. Say the pick in one line; the user can override it.

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.