AGENTS.md@01_PROJECTS/_example_cli_toolA

AGENTS.md@01_PROJECTS/_example_cli_tool 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/01_PROJECTS/_example_cli_tool/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
01_PROJECTS/_example_cli_tool/AGENTS.md
Versions recorded
2
Latest version
git:20261008.e5b1ec6, committed Oct 8, 2026
First version recorded
Jun 26, 2026
Size
2,221 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

# CLI 工具示例 — 项目配置

> 本文件由 AOS 管理,Agent 操作本项目时自动加载

> 状态:全部阶段完成(开发 / 测试 / 文档),示例就绪 | 更新 2026-10
> 单元测试 4/4 通过(`src/tests/test_parser.py`);parser / filters / reporter 三模块结构,零外部依赖。项目作为 AOS 单一项目结构范例展示,无活跃任务。

---

## 项目基本信息

| 字段 | 值 |
|------|-----|
| 项目名称 | CLI 工具示例 |
| 项目类型 | cli_tool |
| 技术栈 | Python 3.10+, argparse, setuptools, JSON |
| 创建时间 | 2026-06-25 |
| AOS 项目路径 | 01_PROJECTS/_example_cli_tool/ |

---

## 状态记录

| 项 | 值 |
|----|-----|
| 状态载体 | 本文件头部「状态摘要」节(v2 项目两件套:AGENTS.md + README.md,不设独立状态文件) |
| 更新规则 | 阶段切换或关键节点时覆盖更新摘要;过程历史追加至 `06_LOGS/{project}/` |

---

## 命令地图
- 构建命令: `pip install -e src/`(setuptools,安装出 `loganalyzer` 命令;零外部依赖)
- 测试命令: `python -m unittest discover -s src/tests -t src`(unittest 标准库,test_parser.py 4 个用例)
- 运行命令: 已安装则 `loganalyzer --help`;未安装在 `src/` 目录下 `python -m loganalyzer --help`

## 项目专属约束

- 代码必须遵循 PEP 8 规范
- 所有公共函数必须有 docstring
- 支持 Python 3.10+ 环境
- 依赖仅使用标准库(零外部依赖)

---

## 敏感信息(迁移时重点关注)

> ⚠ 以下信息在迁移、部署、环境切换时必须重点核查

| 类型 | 内容 | 说明 | 迁移注意事项 |
|------|------|------|-------------|
| 端口 | 无 | 本项目为 CLI 工具,无服务端口 | — |
| 接口 | 无 | 本项目无 API 接口 | — |
| 路径 | src/ | 源代码目录 | 路径结构需保持一致 |
| 环境变量 | 无 | 本项目无环境变量 | — |
| 依赖服务 | 无 | 本项目无外部依赖 | — |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add magicalyuyu/agent-operating-system/01_PROJECTS/_example_cli_tool/AGENTS.md@sha256:3b8a5bbb2bb91aeb

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_olrkbgrcpte3vrct.svg)](https://markdownregistry.com/a/art_olrkbgrcpte3vrct)

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

Versions

The registry has recorded 2 versions of this file, between Jun 26, 2026 and Oct 8, 2026, about one every 104 days.

versioncommittedcommitsizeaudit
git:20261008.e5b1ec6 latest2026-10-08 e5b1ec6 2,221 BA view · diff
git:20260626.d08616c2026-06-26 d08616c 1,285 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 (2221 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_olrkbgrcpte3vrct
GET https://markdownregistry.com/api/v1/resolve?ref=magicalyuyu/agent-operating-system/01_PROJECTS/_example_cli_tool/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/3b8a5bbb2bb91aeb2eb42bc0d6ced2f49c9b47c9599d1a1bdec74376ddec585d

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_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
AGENTS.md AGENTS.md file
magicalyuyu/agent-operating-system · AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars

Every file in magicalyuyu/agent-operating-system

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