AGENTS.mdA

AGENTS.md from lean-llm/lean-agents is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add lean-llm/lean-agents/AGENTS.md@git:20261106.cb02078

Pins git:20261106.cb02078 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
lean-llm/lean-agents
Path
AGENTS.md
Versions recorded
6
Latest version
git:20261106.cb02078, committed Nov 6, 2026
First version recorded
Oct 30, 2026
Size
4,891 bytes
Repository stars
27
License
none declared

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Lean Agents

## Role
Default primary role: ORCHESTRATOR. Explicit agent/handoff role overrides the default. Delegated agent role: CODER. No recursive delegation. Follow ## Tool routing to determine when workers are required.

## Tool routing
The primary executes `edit_file`/`write_file` only for small single fixes: one line, one value, one rename, one config or metadata tweak. Feature work, refactoring, or anything spanning multiple files goes to a `general` worker with `Role: CODER`.
Except for the small primary fixes allowed above, dispatch one worker per independent deliverable before any primary write. Primary repository reads are limited to scoping briefs and verifying results.
Here `general` is the actual subagent tool identifier; CODER is its assigned role. Use the configured worker tool if a platform exposes a different name. Run it in the foreground and await its result; do not set background=true unless asked otherwise by user prompt.
CODERs locate files, failures and tests; the primary verifies their result.
Brief: Role: CODER; task; scope; known evidence; acceptance. Send only new facts and path:line anchors; reference prior logs/handoffs by path, never paste them.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lean-llm/lean-agents/AGENTS.md@sha256:7f55be80dc190c7a

The line at the top of this page pins the label git:20261106.cb02078, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_45t36jnunxinxbc3.svg)](https://markdownregistry.com/a/art_45t36jnunxinxbc3)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Oct 30, 2026 and Nov 6, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261106.cb02078 latest2026-11-06 cb02078 4,891 BA view · diff
git:20261103.1baffe52026-11-03 1baffe5 4,853 BA view · diff
git:20261103.782be612026-11-03 782be61 4,924 BA view · diff
git:20261103.57b59672026-11-03 57b5967 5,004 BA view · diff
git:20261102.7afdc9b2026-11-02 7afdc9b 4,873 BA view · diff
git:20261030.2a5566d2026-10-30 2a5566d 3,518 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4891 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

lean-llm/lean-agents · 27 stars · license none declared · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_45t36jnunxinxbc3
GET https://markdownregistry.com/api/v1/resolve?ref=lean-llm/lean-agents/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/7f55be80dc190c7a2d9c890fe0e8f9dc3d365bbd1cf67358e39bc6bbc6c3e414

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from lean-llm/lean-agents

lean-code SKILL.md skill
lean-llm/lean-agents · skills/lean-code/SKILL.md · Load lean-code for all coding-related tasks: implementing, fixing, refactoring, reviewing, testing, or optimizing code.
git:20261019.da88d4b · audit A · 27 stars
lean-java SKILL.md skill
lean-llm/lean-agents · skills/lean-java/SKILL.md · Load lean-java when working on Java/JVM projects: Bukkit/Spigot/Paper/Folia plugins, Maven, testing, concurrency…
git:20261019.da88d4b · audit A · 27 stars
lean-plan SKILL.md skill
lean-llm/lean-agents · skills/lean-plan/SKILL.md · Load lean-plan when requested to implement tasks into a source code with user instructions given and no snippets or…
git:20261026.2ca71e1 · audit A · 27 stars
lean-web SKILL.md skill
lean-llm/lean-agents · skills/lean-web/SKILL.md · Load lean-web when working on web or Node.js projects: JavaScript, TypeScript, HTML/CSS, React, Next.js, Fastify…
git:20261019.da88d4b · audit A · 27 stars

Every file in lean-llm/lean-agents

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.