AGENTS.mdB

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

Install it, pinned
mdr add tsonglew/adhd-md/AGENTS.md@git:20260815.bb24a90

Pins git:20260815.bb24a90 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
tsonglew/adhd-md
Path
AGENTS.md
Versions recorded
5
Latest version
git:20260815.bb24a90, committed Aug 15, 2026
First version recorded
Aug 12, 2026
Size
2,289 bytes
Repository stars
43
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

# AGENTS.md

本仓库提供一个跨 agent 通用的 skill:把 Markdown 改造成 ADHD 友好、可扫读的版本。

## 要改文档时

读 `skill/SKILL.md` 并严格执行其中的工作流。确定性工具层在 `skill/scripts/adhd_md.py`(纯标准库,`python3` 直接跑)。

**铁律:只重排信息,绝不删信息。** 篇幅太长就折叠或移到附录。

`scope=format` 时 `verify` 是硬门禁,不通过必须回退。

## 要改本仓库时

改完必须跑:

```bash
python3 skill/scripts/adhd_md.py selftest        # 48 项,含示例语料回归
python3 scripts/build_standalone.py --check      # dist/ 是否与 skill/ 同步
```

改了 `skill/SKILL.md` 或 `skill/references/{rules,antipatterns,cjk}.md` 之后,重新生成单文件版:

```bash
python3 scripts/build_standalone.py
```

`dist/` 是生成产物,不要手改。

规则的阈值、扣分、轴/档在三处必须一致:`references/rules.md` 的表、`references/rubric.md` 的扣分表、`scripts/adhd_md.py` 的 `DEDUCT` 字典。改一处就要同步另两处。

新增或改动规则的机制依据时,同步更新 `references/evidence.md` 的映射。

## 分发相关

三条安装路径共用 `scripts/install.sh`,不要分叉出第二份:

- `npx github:tsonglew/adhd-md` —— `bin/cli.js` 调它,并强制 `--copy`(npx 缓存会被清理,软链会变死链)
- `curl … | bash` —— 脚本自己下 tarball。站点上的 `install.sh` 由 Pages workflow 从 `scripts/` 复制,不是第二份源码
- `git clone` + `bash scripts/install.sh` —— 软链到仓库,方便开发

给 `skill/` 加新文件时,检查 `package.json` 的 `files` 字段是否覆盖 —— 漏了的话 npx 装出来会缺文件,本地却看不出问题。

## 官网(site/)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tsonglew/adhd-md/AGENTS.md@sha256:6531fb87d2339292

The line at the top of this page pins the label git:20260815.bb24a90, 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_3p3ewmgg6f6ifsdm.svg)](https://markdownregistry.com/a/art_3p3ewmgg6f6ifsdm)

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

Versions

The registry has recorded 5 versions of this file, between Aug 12, 2026 and Aug 15, 2026, more than one a day. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
git:20260815.bb24a90 latest2026-08-15 bb24a90 2,289 BB view · diff
git:20260813.a6151782026-08-13 a615178 2,195 BB view · diff
git:20260813.6a9356a2026-08-13 6a9356a 2,083 BB view · diff
git:20260813.3b8fdef2026-08-13 3b8fdef 1,689 BB view · diff
git:20260812.2a7e0ab2026-08-12 2a7e0ab 1,080 BA view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl … | bash)
  • pass: Size between 200 bytes and 200 KB (2289 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 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

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

tsonglew/adhd-md · 43 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3p3ewmgg6f6ifsdm
GET https://markdownregistry.com/api/v1/resolve?ref=tsonglew/adhd-md/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/6531fb87d233929298ea820962da9ef44b713b9db5a34fa508bd99ba405f5b90

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 tsonglew/adhd-md

CLAUDE.md@site CLAUDE.md file
tsonglew/adhd-md · site/CLAUDE.md
git:20260813.6a9356a · audit B · 43 stars
adhd-md SKILL.md skill
tsonglew/adhd-md · skill/SKILL.md · 把 Markdown 文档改造成 ADHD 友好、可扫读的版本,可选择只改格式、只改内容或两者兼改,并用脚本检查已定义的信息不变量。也能自动提取网页、HTML、PDF…
git:20261019.50e6d63 · audit A · 43 stars

Every file in tsonglew/adhd-md

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 B, or by owner.