agentleFS
MK27MKMK27MK/uxed/AGENTS.md

uxed

AGENTS.md83 starsChanged 5 days agoMITView on GitHub

kulmine is a Claude Code plugin: it corrects the agent's habits (agreeing with you, adding things nobody asked for, declaring its own work good) and makes it answer with HTML pages instead of walls of text. How to load the plugin from a clone and how to run the tests is in CONTRIBUTING.md. This applies to every change to the agent setup — skills, subagents, hooks, settings, permissions, memory, rules, CLAUDE.md, AGENTS.md, output styles — here or in another project,…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. MK27MK/kulmine★ 83100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository11 other files it gives its agents.

The file

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

3 rules. About 1 is common, 2 are distinctive, and 0 are very specific to this project.

  • ≈1

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

    Write a rule only for an observed error, for its class and not for the single case, with the reason in a few words and examples from a …

    line 26
  2. Distinctive:

    Don't repeat: if the prompt, the style or another instruction already says something, saying it again elsewhere creates two copies that …

    line 29
  3. Common:

    Keep secrets and private customer data out of what gets committed or loaded into later sessions.

    line 31

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

kulmine

kulmine is a Claude Code plugin: it corrects the agent's habits (agreeing with you, adding things nobody asked for, declaring its own work good) and makes it answer with HTML pages instead of walls of text.

How to load the plugin from a clone and how to run the tests is in CONTRIBUTING.md.

Changing the agent setup

This applies to every change to the agent setup — skills, subagents, hooks, settings, permissions, memory, rules, CLAUDE.md, AGENTS.md, output styles — here or in another project, even a one-liner.

  1. Start from a correction. A piece is added only for a correction the user actually made or for work that repeated itself, never for a hypothetical improvement. In a session opened to improve kulmine, the corrections are in the latest report of kulmine:analyzing-sessions, in the user's comments on the session pages, and in the user's commits compared with the agent text they replaced. Give each one a code from docs/common-ai-errors.md or other; other corrections that share a habit become a new error type if the user agrees.
  2. Pick the level. The highest one whose mechanism can decide when the behavior kicks in: type, test, lint, hook, path rule (.claude/rules/ with paths:), skill, CLAUDE.md or output style, memory. Code decides what it can compute; the meaning of a sentence goes to a model, with code at most on the computable part. State the level and why the one above can't hold it, and apply it only to the projects where the situation occurs.
  3. Build with the tool for the type: a skill with anthropic-skills:skill-creator; a hook that kulmine ships in hooks/hooks.json, checking every field with claude-code-guide; a mod with plugin-authoring; a user or project setting, permission or hook with update-config.
  4. Judge with code or with the user, never with a model: it shares the habit it should be judging. claude plugin eval runs each case with the plugin and without; the deterministic graders count, while the llm grader and skill-creator's evals are only hints. Length, tone and taste are judged by the user. Start a paid run only if the user accepts its cost.
  5. Retire a piece that makes no difference against the baseline, or that fired without effect in its real uses, until a search for its name in the checkout finds nothing; git keeps it.

Delegation

Change the agent setup of the project you are working on by yourself: it is reversible and stays there. Propose before committing to kulmine: what ships from here reaches every project that installs it and every vendored copy, and a wrong hook blocks their sessions, not yours.

Rules

  • Edit the git checkout (where ~/.claude/skills/kulmine points, or the clone the user names), never the installed copy: it is a cache the next update overwrites.
  • A subagent only if it differs from the main agent in information, tools, memory or judge, because it costs a whole run on every use.
  • A domain skill goes in the project where that work happens (.claude/skills/), filled with what the domain's primary sources show the model gets wrong (kulmine:researching).
  • Write a rule only for an observed error, for its class and not for the single case, with the reason in a few words and examples from a generic domain, never from the project.
  • Name things in skills, styles and components with plain descriptive words ("the settings page", not "the cockpit"): the agent copies a coined label into every page it writes, where the reader has no definition for it.
  • A skill is short and imperative: only what the model and the built-ins don't do on their own, in the present state, with no history or test results.
  • Don't repeat: if the prompt, the style or another instruction already says something, saying it again elsewhere creates two copies that diverge at the first change.
  • During a skill-creator eval on a kulmine skill, disable kulmine for that run in enabledPlugins of .claude/settings.local.json ("kulmine@kulmine": false, or the key /plugin shows) and restore it afterwards: the installed copy competes with the one under test.
  • Keep secrets and private customer data out of what gets committed or loaded into later sessions.

Before committing

claude plugin validate . with no errors or warnings, except the missing version (omitted on purpose, so every commit on main reaches auto-update) and the missing icon; every description at most 1,024 characters, with no < or >. The commit message names the code it fixes, like BEH.REP, so git log --grep lists the fixes for an error type.

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.