AGENTS.mdA

AGENTS.md from magicalyuyu/agent-operating-system is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add magicalyuyu/agent-operating-system/AGENTS.md@git:20261008.e5b1ec6

Pins git:20261008.e5b1ec6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
magicalyuyu/agent-operating-system
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261008.e5b1ec6, committed Oct 8, 2026
First version recorded
Jun 21, 2026
Size
6,995 bytes
Repository stars
4
License
a license file GitHub does not identify

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

# AOS 2.0 — Agent Operating System

@.dsh/context-anchor.md

> 版本 2.0.0-rc.1 | 2026-10-07 | 本文件硬上限 200 行,溢出内容必须降级为 skill
> 前身:AOS v1(已冻结归档)

## 定位

AOS 是运行在类 Claude Code agent harness 上的个人文件治理层:**harness 提供运行时(调度、编排、沙箱、记忆通道),AOS 提供数据治理与工作流约定**。规则只写不变量,一切按需知识通过指针表和 skills 检索。

## 铁律(4 条,平台无关)

1. **记忆分型**:记录型(feedback/经验/坑点/日志)只追加;状态型(画像/项目事实/配置)覆盖旧值并留变更注释(如"React(2026-06-15 更新,原为 Vue)")
2. **输出隔离**:交付物一律经 `07_EXPORTS/{project}/` 导出,禁止散落在工作目录
3. **Reference 唯一化**:每份知识只存一处,他处只写路径引用;禁止复制内容
4. **项目不复制知识**:01_PROJECTS 内只能引用 04_MEMORY / 09_REFERENCE 的路径

## 目录宪章(8 个)

| 目录 | 职责 | 关键约束 |
|---|---|---|
| 01_PROJECTS | 项目隔离存放 | 项目模板两件套:AGENTS.md + README.md |
| 04_MEMORY | 唯一状态持久化中心 | 状态型文件单文件 ≤32KB,超限剪切历史至 06_LOGS/{project}/memory_history.md 并留指针 |
| 05_CACHE | Agent 中间产物垃圾场 | ①唯一副本禁入(备份去 99_ARCHIVE 或异地)②两级分层:项目/日期③创建时间超 90 天由巡检 skill 出清理清单④禁止任何长期引用指向此目录 |
| 06_LOGS | 运行日志(平台无关叙事层) | 只追加;治理事件(巡检/事故/发布/决策)+ 项目关键节点(立项/阶段切换/交付)必写一行;重要会话一行入 `/aos/session_index.md`;跨平台迁移时本目录随迁(过程细节层归 harness 会话档案);/memory_history.md 承接状态文件剪切的历史(裁剪前必须先归档,顺序不可倒) |
| 07_EXPORTS | 输出导出 | 按项目分层 |
| 08_INBOX | 重量级输入鲁棒入口 | ①中转区语义:处理完必须迁往真正归宿,原处只留去向指针②按 YYYYMMDD 分层③收到 INBOX 路径 → 读取 → 处理 → 主动归位 → 留去向记录 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add magicalyuyu/agent-operating-system/AGENTS.md@sha256:df0efd9c75dc7834

The line at the top of this page pins the label git:20261008.e5b1ec6, 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_ngmyi5give6koa3i.svg)](https://markdownregistry.com/a/art_ngmyi5give6koa3i)

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

Versions

The registry has recorded 5 versions of this file, between Jun 21, 2026 and Oct 8, 2026, about one every 27 days.

versioncommittedcommitsizeaudit
git:20261008.e5b1ec6 latest2026-10-08 e5b1ec6 6,995 BA view · diff
git:20260717.d0152492026-07-17 d015249 18,530 BA view · diff
git:20260626.3b519902026-06-26 3b51990 17,701 BA view · diff
git:20260626.d08616c2026-06-26 d08616c 17,722 BA view · diff
git:20260621.17c8e532026-06-21 17c8e53 13,569 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 (6995 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

magicalyuyu/agent-operating-system · 4 stars · license a license file GitHub does not identify · pushed 2026-10-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ngmyi5give6koa3i
GET https://markdownregistry.com/api/v1/resolve?ref=magicalyuyu/agent-operating-system/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/df0efd9c75dc783496242933709df38257fb233b237350cc36c51197915dc1a1

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 magicalyuyu/agent-operating-system

dual-machine SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/dual-machine/SKILL.md · [扩展] 多机协同扩展点说明。触发条件:需要在两台及以上机器间协同 AOS 工作区、或评估跨机同步/部署方案时。本 skill 不含实现,只给边界约定与文档指针。
git:20261008.e5b1ec6 · audit A · 4 stars
exa-search SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/exa-search/SKILL.md · [功能] 需要高质量外部搜索/调研时使用。触发条件:web_search 不可用或需要英文语义搜索、技术/商业调研、多源交叉验证。含 EXA REST/MCP 双路径调用法与渠道质量速查表。
git:20261008.e5b1ec6 · audit A · 4 stars
file-placement SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/file-placement/SKILL.md · [治理] 决定任何文件该放哪时使用。触发条件:创建/下载/产出任何文件前;项目内建子目录时;归类轻量会话产出时;判断是否该提醒新建项目时。包含文件类型→路径映射、项目内多级分层、轻量任务归档、新建项目触发阈值,全部规则可程序化判断。
git:20261008.e5b1ec6 · audit A · 4 stars
inspection SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/inspection/SKILL.md · [治理] 定期巡检/缓存清理/系统健康度检查时使用。触发条件:用户要求巡检、清理缓存、检查健康度;或距上次轻审超过 4 周;或距上次深审超过 12 周。社区调研后从季度制改为双频制。
git:20261008.e5b1ec6 · audit A · 4 stars
knowledge-ingest SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/knowledge-ingest/SKILL.md · [功能] 将网页/文档知识抓取入库到 09_REFERENCE 时使用。触发条件:用户提供 URL 或文件要求「入库/调研/沉淀知识」。harness 原生 web_search/read_page 已覆盖抓取,本 skill…
git:20261008.e5b1ec6 · audit A · 4 stars
project-init SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/project-init/SKILL.md · [治理] 在 01_PROJECTS 下新建项目时使用。触发条件:用户要求新建/导入项目。v1 六步流程的极简版。
git:20261008.e5b1ec6 · audit A · 4 stars
subagent-dispatch SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/subagent-dispatch/SKILL.md · [治理] 决定是否/如何派发子代理时的决策表。触发条件:任务前判断自己做还是委派、用哪种委派形态。替代 v1 的 subagent-dispatch-rule 十条律。
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_cli_tool AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_cli_tool/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_game_localization AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_game_localization/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_plugin_suite AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_plugin_suite/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars

Every file in magicalyuyu/agent-operating-system

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.