agentleFS
MatthewDuke1MatthewDuke1/aws-onboarding/AGENTS.md

aws-onboarding

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

Guidelines for anyone changing aws-onboarding, human or agent. Getting someone with little or no cloud background from no AWS account to a deployed stack they understand and can delete. The audience is the constraint: every change should be legible to a person who has never opened the AWS console. If a change makes the skill better for an experienced engineer and worse for a beginner, it is the wrong change. AWS's own Deploy on AWS plugin already serves the experienced…

  • Installs packages
  • 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 repositoryOne other file it gives its agents.

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    If a change makes the skill better for an experienced engineer and worse for a beginner, it is the wrong change.

    line 11
  2. Common:

    Never ask for, accept, or echo a secret: No key, no password, no MFA code in a transcript.

    line 22
  3. Distinctive:

    If you changed behavior rather than wording, run the evals and put the before/after in the PR:

    line 36
  4. Distinctive:

    Say what a good result looks like: after any command you tell the user to run.

    line 55
  5. Distinctive:

    No "simply", "just", or "obviously": If it were simple they would not be asking.

    line 57

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

Working on this repo

Guidelines for anyone changing aws-onboarding, human or agent.

What this skill is for

Getting someone with little or no cloud background from no AWS account to a deployed stack they understand and can delete. The audience is the constraint: every change should be legible to a person who has never opened the AWS console.

If a change makes the skill better for an experienced engineer and worse for a beginner, it is the wrong change. AWS's own Deploy on AWS plugin already serves the experienced case well.

The rules that are not negotiable

SKILL.md opens with eight of them. Two matter more than the rest, and a change that weakens either should not be merged:

  1. A budget exists before any billable resource does. This is the whole thesis. If it becomes advisory, the skill is a tutorial.
  2. Never ask for, accept, or echo a secret. No key, no password, no MFA code in a transcript.

Before you open a PR

python tests/validate_skill.py     # structure, frontmatter limits, links, regexes
python -m py_compile scripts/preflight.py evals/run_evals.py

CI runs both, plus a check that preflight.py still exits non-zero in an unconfigured environment. A preflight that passes with no credentials is a broken gate, not a lenient one.

If you changed behavior rather than wording, run the evals and put the before/after in the PR:

python evals/run_evals.py --dry-run          # see the call count first
python evals/run_evals.py --trials 5

House style

  • Do not add to SKILL.md casually. It is a router. Depth belongs in reference/, which is only read when relevant. The documented target is under 500 lines and it currently sits near 210 — that headroom is the point, not slack to spend.
  • References stay one level deep. A reference file must not link to another reference file; nested links get partially read.
  • Forward slashes in every path, including on Windows.
  • No third-party Python packages. A beginner who has to pip install something to run the safety check will not run the safety check.
  • Say what a good result looks like after any command you tell the user to run. "You should see your account number" is worth more than the command.
  • No "simply", "just", or "obviously". If it were simple they would not be asking.
  • Prices and console paths change. Point at AWS documentation rather than reciting a number that will quietly go stale.

Where determinism belongs

Anything that must happen every time goes in scripts/preflight.py, not in prose. A model can be argued out of a checklist; it cannot be argued out of an exit code. If you find yourself writing "always" or "never" in SKILL.md about something machine-checkable, it probably belongs in the script instead.

Changing the evals

evals/scenarios.json holds the rubric. The checks are deliberately simple regexes so that anyone can read them and disagree — that is more useful than an opaque judge model. If you add a check, add it because you watched the model fail that way, not because it sounds good.

Transcripts land in evals/results/ and are worth reading. A rising pass rate with worse transcripts means the rubric is being gamed.

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.