agentleFS
gntrsgntrs/workflow/AGENTS.md

workflow

AGENTS.md4 starsChanged 6 days agoMITView on GitHub

for any coding agent that opens this repo, Claude Code or not. read SETUP.md and follow it. it looks at the machine, asks once, installs into ~/.claude/, tailors, proves it worked and ends with a hand test. do not copy files blind. clone it first, then read SETUP.md: markdown skills, one rules file, two installers and six scripts (the size probe, its runner, the brand check, the ref reader, the ref check, the recorder). no build. the skills are plain…

  • 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 33,398 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 repository14 other files it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    after changing tools/responsive-probe.js, run node tools/probe-test.mjs (needs playwright with chromium: npx playwright install chromium, …

    line 26
  2. Very specific:

    after changing tools/brand-check.mjs, run node tools/brand-check.mjs --self-test and show every line passes.

    line 27
  3. Very specific:

    after changing tools/ref-read.mjs or tools/ref-check.mjs, run their --self-test and show every line passes.

    line 28
  4. Very specific:

    after changing tools/record.mjs, run node tools/record.mjs --self-test and show every line passes.

    line 29
  5. Very specific:

    after changing an installer, run bash scripts/test-install.sh (and bash scripts/test-install.sh ps1 where pwsh exists).

    line 30
  6. Distinctive:

    no commit, push, pr or merge without the user's yes that specific time.

    line 37
  7. Distinctive:

    no ai or tool authorship in commits, prs or files.

    line 38

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

AGENTS.md

for any coding agent that opens this repo, Claude Code or not.

you were asked to set someone up

read SETUP.md and follow it. it looks at the machine, asks once, installs into ~/.claude/, tailors, proves it worked and ends with a hand test. do not copy files blind.

you were sent only the link

clone it first, then read SETUP.md:

git clone --depth 1 https://github.com/gntrs/workflow.git ~/.claude/workflow

you are working on this repo itself

markdown skills, one rules file, two installers and six scripts (the size probe, its runner, the brand check, the ref reader, the ref check, the recorder). no build.

  • skills live in skills/<name>/SKILL.md, depth in skills/<name>/references/. frontmatter name matches the folder.
  • rules/RULES.md is always on. a skill never contradicts it. nothing tells the reader to edit an installed file: what is personal goes in ~/.claude/RULES.local.md (template in setup/RULES.local.md).
  • generic only. no names, emails, hosts, private projects or personal paths.
  • lowercase, direct prose. zero em dashes.
  • bash scripts/check.sh before you hand back. it must print ok. put your own private strings in .claude/denylist.txt (gitignored, one regex per line) and it scans for them too.
  • after changing tools/responsive-probe.js, run node tools/probe-test.mjs (needs playwright with chromium: npx playwright install chromium, or point PLAYWRIGHT_MODULE at an installed copy) and show it still catches the planted cases.
  • after changing tools/brand-check.mjs, run node tools/brand-check.mjs --self-test and show every line passes.
  • after changing tools/ref-read.mjs or tools/ref-check.mjs, run their --self-test and show every line passes. ref-read's needs playwright like the probe runner.
  • after changing tools/record.mjs, run node tools/record.mjs --self-test and show every line passes. it needs playwright like the probe runner, and ffmpeg for the mp4 lines (without it, those check the webm fallback).
  • after changing an installer, run bash scripts/test-install.sh (and bash scripts/test-install.sh ps1 where pwsh exists). it installs into throwaway homes: fresh, an upgrade from old commits, with edits, uninstall. a new behavior gets a case there. keep install.sh and install.ps1 doing the same thing.
  • npm ci && npm test runs the check, the installer cases and every tool self test. playwright is pinned in package.json.
  • a release: bump VERSION and package.json, add the CHANGELOG.md entry, tag v<version>.
  • ln -sf ../../scripts/pre-commit .git/hooks/pre-commit once per clone, so the check runs before every commit.

the rules that hold here too

  • no commit, push, pr or merge without the user's yes that specific time.
  • no ai or tool authorship in commits, prs or files.
  • end with a numbered hand test plan: what to run, what to see, what means broken.

without slash commands

the skills are plain markdown. an agent with no skills support reads skills/cook/SKILL.md when the user says "cook this" and follows it. everything else follows from there.

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.