AGENTS.mdA

AGENTS.md from lzehrung/codegraph is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add lzehrung/codegraph/AGENTS.md@git:20261021.009081c

Pins git:20261021.009081c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
lzehrung/codegraph
Path
AGENTS.md
Versions recorded
12
Latest version
git:20261021.009081c, committed Oct 21, 2026
First version recorded
Aug 25, 2026
Size
14,997 bytes
Repository stars
9
License
MIT

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

# AGENT DIRECTIVES

## General

- Never use `any` or `as unknown as`
- Never use nested ternary expressions. Use `if`/`else`, a helper function, or named intermediate values instead.
- Never use `=== true`, `=== false`, etc. in boolean conditions; keep them as terse and simple as possible like `!condition`. Extract conditions to variables when the variable name adds clarity/insight into the reason for the condition.
- In boolean condition contexts, use the shortest syntactically equivalent expression. Prefer `items.length` over `items.length > 0`, `!items.length` over `items.length === 0`, and `items?.length` over `items && items.length > 0`.
- Always consider the impact of a change on tests or when more test cases are needed. Never make tests pass for the sake of passing; always exercise real behavior.
- Treat the actual implementation as the only evidence of behavior. Check node names, fields, and
  APIs against the dependency version and runtime actually in use. Parsing without error, or a
  query that compiles, does not prove that it matches or produces the intended result.
- Cover inclusion and exclusion together. Assert what must be found and what must stay absent, and
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lzehrung/codegraph/AGENTS.md@sha256:6254d5d543fb2881

The line at the top of this page pins the label git:20261021.009081c, 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_7owl64z5crmdpez4.svg)](https://markdownregistry.com/a/art_7owl64z5crmdpez4)

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

Versions

The registry has recorded 12 versions of this file, between Aug 25, 2026 and Oct 21, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261021.009081c latest2026-10-21 009081c 14,997 BA view · diff
git:20261005.f6ebb992026-10-05 f6ebb99 13,614 BA view · diff
git:20261003.3ed71eb2026-10-03 3ed71eb 13,599 BA view · diff
git:20260929.752f6232026-09-29 752f623 13,040 BA view · diff
git:20260925.ee56c982026-09-25 ee56c98 12,710 BA view · diff
git:20260913.a2dedd02026-09-13 a2dedd0 10,395 BA view · diff
git:20260906.e0cbe5e2026-09-06 e0cbe5e 9,578 BA view · diff
git:20260831.70347662026-08-31 7034766 9,355 BA view · diff
git:20260831.a82e9dd2026-08-31 a82e9dd 9,132 BA view · diff
git:20260830.d5d95432026-08-30 d5d9543 8,087 BA view · diff
git:20260829.c96b3b02026-08-29 c96b3b0 7,188 BA view · diff
git:20260825.c9bee9b2026-08-25 c9bee9b 5,555 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 (14997 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

lzehrung/codegraph · 9 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7owl64z5crmdpez4
GET https://markdownregistry.com/api/v1/resolve?ref=lzehrung/codegraph/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/6254d5d543fb28815b5b9f3d026f89a32053456c48711cf0f7c39240fa4766aa

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 lzehrung/codegraph

code-review SKILL.md skill
lzehrung/codegraph · .github/skills/code-review/SKILL.md · Review changes against this repository's agent directives.
git:20260825.7e40c1a · audit A · 9 stars
CLAUDE.md CLAUDE.md file
lzehrung/codegraph · CLAUDE.md
git:20260322.57a0d9a · audit B · 9 stars
codegraph SKILL.md skill
lzehrung/codegraph · codegraph-skill/codegraph/SKILL.md · Use for repo structure, symbol navigation, dependency analysis, duplicate triage, and PR impact review when plain text…
git:20261005.f6ebb99 · audit A · 9 stars

Every file in lzehrung/codegraph

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 193,096 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 136,966 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

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