agentleFS
ThakurvaibhavThakurvaibhav/platform-agent-harness/AGENTS.md

platform-agent-harness

AGENTS.md2 starsChanged 6 days agoApache-2.0View on GitHub

This repository is the platform-agent-harness. It is the source of the harness itself — not an infra or platform repo. The file you are reading exists so any CLI agent opened in this directory knows how to behave. The instruction contract you copy into your infra repo lives at templates/AGENTS.template.md. Copy that file to your repo as AGENTS.md, then pick a runtime wiring from adapters/. The end-to-end story is in README.md and the compaction lifecycle is in LIFECYCLE.md. Do not…

The file

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

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Keep all content public-safe.

    line 13
  2. Very specific:

    Before every commit that touches examples, references, or templates, run sanitization/prepublish-checklist.md (trufflehog, gitleaks, the …

    line 14
  3. Very specific:

    Search agent-knowledge/references/index.md before adding new docs — reuse before duplication.

    line 15
  4. Distinctive:

    No mutating Kubernetes commands.

    line 22
  5. Distinctive:

    No pushes to main / master.

    line 23
  6. Distinctive:

    Never delete or overwrite untracked files without explicit instruction — treat them as user-owned work.

    line 24
  7. Very specific:

    No real graphify-out/, .beads/, runtime settings, MCP credentials, sessions, or logs in commits.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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 — about this repository

This repository is the platform-agent-harness. It is the source of the harness itself — not an infra or platform repo. The file you are reading exists so any CLI agent opened in this directory knows how to behave.

If you are adopting the harness

The instruction contract you copy into your infra repo lives at templates/AGENTS.template.md. Copy that file to your repo as AGENTS.md, then pick a runtime wiring from adapters/. The end-to-end story is in README.md and the compaction lifecycle is in LIFECYCLE.md.

Do not copy this file. It only describes the harness source repo itself.

If you are working inside this repo

  • Keep all content public-safe. No real cluster names, account IDs, customer names, internal URLs, or tokens.
  • Before every commit that touches examples, references, or templates, run sanitization/prepublish-checklist.md (trufflehog, gitleaks, the local denylist).
  • Search agent-knowledge/references/index.md before adding new docs — reuse before duplication.
  • Instance knowledge (cluster registries, account IDs, fleet inventories, "metric X does not exist" claims) never belongs in agent-knowledge/references/ — that tier is portable by definition. Here the instance tier ships as agent-knowledge/orgs/README.md and nothing else. Rule: core/protocols/knowledge-tiers.md.
  • Runtime-specific assumptions belong only under adapters/. core/, skills/, and domain-packs/ must stay portable.
  • Match the tone and structure of the closest existing files when editing.

Safety defaults that apply here too

  • No mutating Kubernetes commands.
  • No pushes to main / master. No force-pushes to protected branches.
  • Never delete or overwrite untracked files without explicit instruction — treat them as user-owned work.
  • No real graphify-out/, .beads/, runtime settings, MCP credentials, sessions, or logs in commits.

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.