agentleFS
t1mericksont1merickson/skills/claude-md-coach/SKILL.md

claude-md-coach

Skill1 starsChanged 2 months agoMITView on GitHub

Interview, audit, create, or improve concise CLAUDE.md and AGENTS.md files while separating shared project policy from host-specific adapters.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    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
  1. Distinctive:

    Prefer one canonical shared source plus the smallest host adapter current tooling requires.

    line 26
  2. Distinctive:

    Read references/mechanics.md when routing files or diagnosing ignored instructions.

    line 28
  3. Distinctive:

    Verify project commands before recording them.

    line 34
  4. Distinctive:

    Read the target whole and classify each instruction:

    line 40
  5. Distinctive:

    Read references/principles.md before first generation.

    line 55
  6. Distinctive:

    Every line must prevent a likely mistake or preserve a real preference.

    line 57
  7. Distinctive:

    Write mechanism and boundary in plain language.

    line 58
  8. Distinctive:

    Do not copy repository structure, code, generic language conventions, or long procedures the agent can inspect on demand.

    line 60
  9. Distinctive:

    Use pointers to durable docs rather than copied snippets.

    line 62
  10. Distinctive:

    Read references/field-lessons.md for evidence-derived failure patterns and references/targets.md for project versus personal content.

    line 66
  11. Distinctive:

    Check that the resulting hierarchy has one authority per rule, no contradictions, no stale commands, no machine-specific paths in portable …

    line 70

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

CLAUDE.md coach

A standing instruction file is conditioning, not merely configuration: it is read into context and quietly shifts everything the model does afterward. That makes it unusually high-leverage and unusually easy to ruin. Every resident instruction spends adherence against every other one; keep only information that changes behavior and belongs at that scope.

Two different documents are often confused:

  1. Project memory tells a new teammate what the repository cannot teach quickly: verified commands, non-default conventions, scars, and definition of done.
  2. The personal working relationship says who the human is, how honest disagreement should work, where autonomy begins and ends, and how communication should fit their mind.

Decide which one you are writing before asking the first question.

Resolve target and authority

Inspect existing AGENTS.md, CLAUDE.md variants, .claude/rules/, imports, hooks, and relevant global files before asking questions. Determine whether the user wants:

  • shared project policy;
  • Claude-specific project guidance;
  • a personal working relationship;
  • a tune-up of an existing file.

Prefer one canonical shared source plus the smallest host adapter current tooling requires. Do not duplicate rules across AGENTS.md and CLAUDE.md. Verify the installed Claude version's discovery/import behavior before recommending a shim; host support changes.

Read references/mechanics.md when routing files or diagnosing ignored instructions.

Bootstrap

Read references/interview.md. Ask a few conversational questions per round, focusing on repeated corrections, non-obvious commands, costly past failures, desired pushback, autonomy boundaries, and definition of done. Multiple choice is a starting gun, not a cage: when an answer is surprising, follow it before returning to the questionnaire. The interview is where the material no generator can infer comes from.

Verify project commands before recording them. A stale command is worse than an omitted one because its location grants it standing authority.

Draft only what the evidence supports. Present the file section by section as a proposal and preserve user-authored phrasing when it carries intent.

Tune up

Read the target whole and classify each instruction:

  • load-bearing fact or non-inferable project convention;
  • specific output/interaction preference;
  • hard invariant better enforced by a hook/test/policy;
  • on-demand procedure better placed in a skill or scoped rule;
  • formatter/linter concern;
  • inferable, duplicate, vague, obsolete, conflicting, or reasoning-constraining text.

Report findings before editing. Then make targeted, reversible diffs unless the user explicitly wants a rewrite. Recheck imports, precedence, command truth, and total instruction weight after the edit.

As a diagnostic, score instructions by pull from baseline: how far does this line move the model from what the host already causes it to do? Short contradictions of defaults and structures with no baseline have high pull. Generic encouragement and duplicated host rules have low pull. Facts are a separate class: they exert little behavioral pull but can still be load-bearing.

Writing rules

Read references/principles.md before first generation.

  1. Every line must prevent a likely mistake or preserve a real preference. Ask: “Would removing this cause a recurring failure?”
  2. Write mechanism and boundary in plain language; avoid ritualistic absolutes without rationale.
  3. Make instructions observable and scoped. Shape final output, not hidden reasoning. “Keep the final message compact” is different from globally suppressing exploration.
  4. Do not copy repository structure, code, generic language conventions, or long procedures the agent can inspect on demand.
  5. Route enforced invariants to deterministic controls; route deferred knowledge to scoped rules/skills; route formatting to tooling.
  6. Use pointers to durable docs rather than copied snippets.
  7. Named logs, queues, and sections say when empty is valid, or eager agents may fabricate contents.
  8. Separate durable rules from temporary counterweights for a particular model generation. Date and review volatile patches so the file does not fossilize around a model that no longer exists.

Read references/field-lessons.md for evidence-derived failure patterns and references/targets.md for project versus personal content.

Validate

Check that the resulting hierarchy has one authority per rule, no contradictions, no stale commands, no machine-specific paths in portable policy, and no advisory prose pretending to enforce security. Explain what was kept resident, deferred, enforced elsewhere, or deleted—and why.

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.