Roast my agent fileRoast yours
Kin, the Briefkin mascotA small dark card with two round eyes, brows, a mouth and an amber dot on its corner.

netdata/netdata · AGENTS.mdMedium

F
34/100Charcoal

The Novel

Long enough for a sequel. Your agent skims it like terms of service.

“An AGENTS.md that tells the agent never to write walls of text, across 70,000 characters.”

A very detailed governance manual for agents: a Statement of Work system, review policy, a skills index and a sensitive-data policy. It runs to about 19k tokens of process loaded into every session, and it still never says how to build or test the code.

The file is long, so Kin read the first 60k characters; the counts cover all of it.

What your agent actually hears

The whole file, as it lands.

  • I can't change a line without a statement of work, a gate and a signature.
  • Find the root cause, record it, get approval, then record the approval.
  • Nobody told me how to run the tests, but I know exactly what MUST means.

The scorecard

  • SpecificSays what the code can’t
    6/10

    Real decisions and gotchas exist, buried under generic process doctrine.

  • RunnableLets it check its work
    2/10

    Shell snippets for SOW scripts and symlinks, but no build, test or lint command.

  • LeanShort enough to be read
    1/10

    About 19k tokens loaded every session; most of it applies to rare tasks.

  • CalmPlainly worded
    3/10

    MUST on nearly every line, plus CRITICAL and a section defining the capitals.

  • CurrentConsistent and current
    5/10

    Mostly consistent, but rules repeat across sections and cross-reference in loops.

The receipts

Counted, not guessed.

  • ≈19ktokens loaded into every session778 lines. Anthropic’s guide says under 200.
  • 5commands the agent can runIt knows how to check its work.
  • 60words in ALL CAPSKin is wearing earplugs.
  • 108NEVERs, ALWAYSes and MUSTsWhen everything is critical, nothing is.
  • 0lines your agent doesn’t needNo “write clean code”. Bless you.
  • 1rule said twiceSaying it again does not make it truer.

The roast

  1. line 43Never write walls of text unless asked.

    Line 43 of 778. The wall has a sign on it saying no walls.

  2. line 22This repository uses RFC-style requirement language.

    When your instructions need a glossary for the word MUST, they have become a standards body.

  3. line 78A bare "ok" or "sounds good" to a one-sided pitch is

    Consent training, but for merge requests. The agent now needs a notarised yes to rename a variable.

  4. line 680Skills accrete bloat with each update; report line counts before and after.

    Skills have to report their line counts. The file making that rule hopes nobody counts its own.

  5. line 583Precision over brevity.

    Three words. That's the shortest the file ever gets, and it's used to promise it won't happen again.

What Kin liked

  • Noting that identifiers are built dynamically, like via fmt.Sprintf, is exactly the kind of gotcha an agent can't guess.
  • The git rules give reasons: untracked files live in the working copy, so stage by name. That beats a bare never.
  • The sensitive-data section lists concrete placeholders to use instead of real values, which is actionable.

How to fix it

Most useful first. Placeholders in angle brackets are for you (or your agent) to fill in from the repository.

  1. Big win

    Add the commands that check the work

    In 60,000 characters there is no way to build the agent or run a single test, and that is the line an agent uses most.

    Add
    ## Checks
    
    - Build: <your build command>
    - C tests: <your C test command>; one test: <single-test command>
    - Go (src/go): <go test command>; one test: go test ./<pkg> -run <TestName>
    - Lint/format: <your lint and format commands>
    - SOW audit: .agents/sow/audit.sh
  2. Big win

    Move the SOW system into its own file

    Queues, gates, umbrellas and statuses matter only when opening or closing a SOW, yet they load into every session.

    Now
    The line above is the audit marker; do not edit it. This project uses a local Statement of Work (SOW) system. It is
    Instead
    The line above is the audit marker; do not edit it. Non-trivial changes need a SOW. Before creating, resuming or closing one, read `.agents/sow/README.md` (storage, lifecycle, gates, review, follow-ups). Update audit.sh anchors in the same change.
  3. Worth it

    Hand skill-authoring rules to the skill

    Formatting, public-skill conventions and _lib.sh rules apply only when editing skills, and repo-skill-authoring already exists.

    Now
    ### Durable AI-Facing Artifact Formatting
    Instead
    ### Writing Skills And Instruction Files
    
    When creating or editing a skill, spec or instruction file, load the `repo-skill-authoring` skill first; it holds the formatting, public-skill and script conventions.
  4. Worth it

    Drop the RFC glossary and write plainly

    Current models follow plain sentences; stacking MUST on every rule makes them all look equally urgent.

    Now
    This repository uses RFC-style requirement language. Durable AI-facing artifacts (instruction files, specs, skills)
    Instead
    Rules here are written as plain instructions. Follow them unless the user changes them; where a rule allows a deviation, explain the trade-off.
  5. Worth it

    Enforce the git nevers in the harness

    Rules that can never bend are safer as deny rules or hooks than as sentences the agent might lose in 778 lines.

    Now
    - Stage only the specific files you changed. Never `git add -A`: the working copy holds untracked files that MUST
    Instead
    - Stage only the specific files you changed; the working copy holds untracked files. `git add -A`, `git reset`, `git checkout <file>` and pushes are blocked by <your hook or deny rule>.
Not in the file:how to build the agenthow to run one testlint and format commandssupported toolchain versions

Let your agent make the fixes

One prompt with every fix. Paste it into the agent that works in this repository: it can check each fix against the real code and fill in the commands, which Kin cannot.

Improve AGENTS.md with the fixes below (from a review that scored it 34/100). Check each one against this repository before you write it: use the real commands, paths and versions, never a placeholder, and skip a fix that is wrong for this project. Keep everything in the file that is still true, and keep it short: every line is read in every session.

1. Add the commands that check the work. In 60,000 characters there is no way to build the agent or run a single test, and that is the line an agent uses most.
   Add:
      ## Checks
      
      - Build: <your build command>
      - C tests: <your C test command>; one test: <single-test command>
      - Go (src/go): <go test command>; one test: go test ./<pkg> -run <TestName>
      - Lint/format: <your lint and format commands>
      - SOW audit: .agents/sow/audit.sh

2. Move the SOW system into its own file. Queues, gates, umbrellas and statuses matter only when opening or closing a SOW, yet they load into every session.
   Replace:
      The line above is the audit marker; do not edit it. This project uses a local Statement of Work (SOW) system. It is
   With:
      The line above is the audit marker; do not edit it. Non-trivial changes need a SOW. Before creating, resuming or closing one, read `.agents/sow/README.md` (storage, lifecycle, gates, review, follow-ups). Update audit.sh anchors in the same change.

3. Hand skill-authoring rules to the skill. Formatting, public-skill conventions and _lib.sh rules apply only when editing skills, and repo-skill-authoring already exists.
   Replace:
      ### Durable AI-Facing Artifact Formatting
   With:
      ### Writing Skills And Instruction Files
      
      When creating or editing a skill, spec or instruction file, load the `repo-skill-authoring` skill first; it holds the formatting, public-skill and script conventions.

4. Drop the RFC glossary and write plainly. Current models follow plain sentences; stacking MUST on every rule makes them all look equally urgent.
   Replace:
      This repository uses RFC-style requirement language. Durable AI-facing artifacts (instruction files, specs, skills)
   With:
      Rules here are written as plain instructions. Follow them unless the user changes them; where a rule allows a deviation, explain the trade-off.

5. Enforce the git nevers in the harness. Rules that can never bend are safer as deny rules or hooks than as sentences the agent might lose in 778 lines.
   Replace:
      - Stage only the specific files you changed. Never `git add -A`: the working copy holds untracked files that MUST
   With:
      - Stage only the specific files you changed; the working copy holds untracked files. `git add -A`, `git reset`, `git checkout <file>` and pushes are blocked by <your hook or deny rule>.

Also make sure the file covers: how to build the agent; how to run one test; lint and format commands; supported toolchain versions.

Show me the diff when you are done.

Pass it on

The link shows this picture wherever it is posted. It has the grade and Kin’s line, not the file.

Post on XLinkedIn

Fixed the file? Your agents still need watching.

Briefkin shows every Claude Code, Codex and Cursor session on one board: working, waiting on you, done. Answer them from your phone. Free in the open beta.

Make your board

How would yours do?

Paste a CLAUDE.md, AGENTS.md or rules file and Kin scores it the same way. Free, no sign-up.

Roast my file

Kin scores against Anthropic’s Best practices for Claude Code and Kyle at HumanLayer’s Writing a good CLAUDE.md. The advice is theirs; the jokes are Kin’s. Kin roasts the file, never the person who wrote it.