agentleFS
Hugging FaceKnown publisherhuggingface/mlclaw/AGENTS.md

mlclaw

AGENTS.md10 starsChanged 4 months agoMITView on GitHub

These instructions apply to this repository. This repository follows the TypeScript standards enforced by Slophammer. Before finishing a change, run formatting, lint, typecheck, tests, coverage, build, secret scanning, package validation, and both Slophammer checks. Do not run mutation testing during ordinary implementation work. Keep its configuration and CI declaration current so a dedicated mutation run can be performed separately. Do not report work as complete until the original user-visible workflow has been reproduced and verified end to end in its…

  • Installs packages
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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

Show its rules and text

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

14 rules. About 3 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈3

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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. Common:

    Before finishing a change, run formatting, lint, typecheck, tests, coverage, build, secret scanning, package validation, and both …

    line 8
  2. Distinctive:

    Do not run mutation testing during ordinary implementation work.

    line 11
  3. Distinctive:

    Do not report work as complete until the original user-visible workflow has been reproduced and verified end to end in its real target …

    line 15
  4. Very specific:

    Treat package.json as the only hand-edited source for the MLClaw package, OpenClaw, unYOLO plugin, HF Broker binary, and runtime image …

    line 23
  5. Very specific:

    Keep the openclaw-unyolo dependency exactly equal to config.unyoloPluginVersion.

    line 25
  6. Very specific:

    Do not hand-edit Dockerfile release defaults or src/mlclaw/release-config.generated.ts.

    line 27
  7. Very specific:

    Run npm run release:check before committing.

    line 31
  8. Common:

    Treat the OpenClaw process and agent account as untrusted except for credentials that OpenClaw must own to provide a native authenticated …

    line 35
  9. Common:

    Keep Hugging Face, broker operator, session, encryption, and all other OAuth secrets in the trusted backend only.

    line 37
  10. Distinctive:

    Do not add arbitrary HTTP forwarding to broker, Hub, or operator APIs.

    line 42
  11. Distinctive:

    Keep strict compiler settings enabled.

    line 52
  12. Very specific:

    Do not add explicit any or unsafe type operations.

    line 53
  13. Distinctive:

    Keep functions below the configured complexity limit.

    line 54
  14. Distinctive:

    Add focused tests for every security or lifecycle behavior change.

    line 55

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

These instructions apply to this repository.

Quality Gates

This repository follows the TypeScript standards enforced by Slophammer. Before finishing a change, run formatting, lint, typecheck, tests, coverage, build, secret scanning, package validation, and both Slophammer checks.

Do not run mutation testing during ordinary implementation work. Keep its configuration and CI declaration current so a dedicated mutation run can be performed separately.

Do not report work as complete until the original user-visible workflow has been reproduced and verified end to end in its real target environment. Tests, mocks, CI, health checks, successful builds, and deployments are supporting evidence, not substitutes. If full verification is impossible, state that clearly and report the work as unverified.

Release Versions

  • Treat package.json as the only hand-edited source for the MLClaw package, OpenClaw, unYOLO plugin, HF Broker binary, and runtime image versions.
  • Keep the openclaw-unyolo dependency exactly equal to config.unyoloPluginVersion.
  • Do not hand-edit Dockerfile release defaults or src/mlclaw/release-config.generated.ts. After editing release metadata, run npm install --package-lock-only if dependency metadata changed, then run npm run release:sync.
  • Run npm run release:check before committing. CI rejects version drift.

Runtime Boundary

  • Treat the OpenClaw process and agent account as untrusted except for credentials that OpenClaw must own to provide a native authenticated transport.
  • The managed native OpenAI OAuth profile is an explicit trust-boundary exception: OpenClaw may persist and refresh that credential only in its private auth store. It must not receive the deployment encryption key or unrelated backend credentials.
  • Keep Hugging Face, broker operator, session, encryption, and all other OAuth secrets in the trusted backend only.
  • Telegram deployments must use separate conversation and unYOLO approval bots in one private user chat. Keep the approval bot token out of OpenClaw's environment and run only one getUpdates poller for it.
  • Browser routes may call only fixed typed broker operations.
  • Do not add arbitrary HTTP forwarding to broker, Hub, or operator APIs.
  • Validate unknown file, network, OAuth, and broker payloads at their boundary.
  • Generated runtime bundles and control UI assets must match their source.
  • Consume only unYOLO's version 1 wire APIs, persisted state formats, plan schemas, manifests, and protocols. Do not synthesize broker-owned state files or add compatibility behavior; let each broker initialize its own v1 state after coordinated contract changes.

TypeScript

  • Keep strict compiler settings enabled.
  • Do not add explicit any or unsafe type operations.
  • Keep functions below the configured complexity limit.
  • Add focused tests for every security or lifecycle behavior change.

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.