AGENTS.md@packages/core/channels/catpawA
AGENTS.md@packages/core/channels/catpaw from bluechonk/modelmux is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add bluechonk/modelmux/packages/core/channels/catpaw/AGENTS.md@git:20261019.f7f08e1Pins git:20261019.f7f08e1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- bluechonk/modelmux
- Path
packages/core/channels/catpaw/AGENTS.md- Versions recorded
- 4
- Latest version
- git:20261019.f7f08e1, committed Oct 19, 2026
- First version recorded
- Oct 17, 2026
- Size
- 2,023 bytes
- Repository stars
- 11
- 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 本仓库是 **本地网关 + 逆向研究** 项目:不提供任何对外运行时能力,只服务本机、本账号。 当前实现为 **TypeScript**(Node ≥ 22.6),是 `modelmux` 工作区的一个渠道包。 ## 不可协商的约束 - **凭据零入库、零回显**:不得把任何真实 token / 机器码 / 密钥写进代码、文档、 日志或 commit。对外输出只允许脱敏形态(`前缀…[长度]`)与 sha256 指纹。 - **只读为本**:所有研究脚本默认不得写入妙手的安装目录与 userData 目录; 唯一允许的写操作是仓库自己的目录与 `~/.modelmux/catpaw/`。 - **唯一出网口**:`catpaw` CLI 与网关按设计访问上游;新增任何出网代码前先问用户。 - **证据等级不可省**:任何结论必须带 `[实测]` / `[代码]` / `[推断]` / `[参考]` 标记 (定义见 `docs/channels/catpaw/PROTOCOL.md`)。禁止把推断写成实测。 - **算法结论以代码为准**:不得靠长度/熵"猜"算法;必须给出 `app.asar` 里的实现片段。 ## 机制约束 - TypeScript ≥ 5.9,严格模式,Node ≥ 22.6;零第三方运行依赖。 - `src/` 只有 7 个文件(`channel.ts` / `cli.ts` / `index.ts` / `cred.ts` / `upstream.ts` / `catalog.ts` / `billing.ts`),其余一律复用 `@modelmux/gateway`。 - 文本文件一律 **LF**(`.gitattributes` 已锁定)。 - 文档与代码同 commit 更新:改了阶段实现就要改对应文档。 ## 改动前的检查 ```bash npm run build # 编译到 dist/(tsc 严格模式) npm run typecheck # 类型检查 ``` → 渠道不写测试(`AGENTS.md` 的「测试规则」第 1 条):无 `tests/selftest.test.ts`,无 `scripts.test`。 全仓验证(在工作区根): ```bash npm run build && npm run test --workspaces --if-present ``` 涉及登录链路、上游协议翻译的改动,必须额外跑一次真实机器验证: `mx login catpaw` → `mx status catpaw` → 一次真实流式 chat。
Read the whole file at its exact version.
How to install
mdr add bluechonk/modelmux/packages/core/channels/catpaw/AGENTS.md@sha256:4abc291829271591The line at the top of this page pins the label git:20261019.f7f08e1, 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.
[](https://markdownregistry.com/a/art_svcund45shw64jla)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Oct 17, 2026 and Oct 19, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.f7f08e1 latest | 2026-10-19 | f7f08e1 | 2,023 B | A | view · diff |
| git:20261019.ae1118d | 2026-10-19 | ae1118d | 2,023 B | A | view · diff |
| git:20261018.bfc627a | 2026-10-18 | bfc627a | 1,996 B | A | view · diff |
| git:20261017.ff3f46b | 2026-10-17 | ff3f46b | 1,970 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2023 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
bluechonk/modelmux · 11 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_svcund45shw64jla GET https://markdownregistry.com/api/v1/resolve?ref=bluechonk/modelmux/packages/core/channels/catpaw/AGENTS.md GET https://markdownregistry.com/api/v1/blob/4abc291829271591b8b4262cb152f7ffb7d7bf2856fcd196b141f7ef5e6aa4c2
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.