AGENTS.md@src/knowledge/artifactsA
AGENTS.md@src/knowledge/artifacts from lizhiyao/oh-my-knowledge is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add lizhiyao/oh-my-knowledge/src/knowledge/artifacts/AGENTS.md@git:20261018.6765cd3Pins git:20261018.6765cd3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- lizhiyao/oh-my-knowledge
- Path
src/knowledge/artifacts/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20261018.6765cd3, committed Oct 18, 2026
- First version recorded
- Oct 18, 2026
- Size
- 2,200 bytes
- Repository stars
- 24
- 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
# Artifacts 领域规则 本文件补充仓库根与 `src/knowledge/AGENTS.md`,适用于 `src/knowledge/artifacts/`。本子域不属于纯核心,其来源物化、文件写入和模型辅助工具遵守各自副作用边界。本域拥有**可评测载体**(Artifact:skill/prompt/agent/workflow)的完整生命周期:来源解析与物化(`sources/`)、生产与迭代(`authoring/`)、格式契约(`skills/`)、健康审计(`doctor/`)。 ## 命名说明 - 路径为 `knowledge/artifacts`:外层 `knowledge` 提供知识载体语义,`artifacts` 是伞内子域名。`src/artifacts` 是被 #613 废弃的旧顶层名,与「评测产物(measurement artifacts)」有歧义,不恢复该路径;原顶层 `src/knowledge-artifacts` 也不保留兼容入口。`test/architecture/src-root-layout.test.ts` 维护目录地图与退役路径约束。 - 载体库(`authoring/carrier-library.ts` 的 `CarrierLibrary`)与 `src/knowledge/entity-library/`(实体跨窗组织库)是两个领域概念,命名不得再混用。 ## 领域不变量 - `contracts.ts` 的 `Artifact.kind` 是 eval 测量对象的身份载体;裸 `kind` 字段按术语规范 §5.4 保留给它,域内新判别字段使用限定名(如 `sourceKind`)。 - `sources/` 的来源物化与部署:内容寻址指纹、拒绝 symlink 越界、原子发布(staging + rename);命令注入面(git 调用)必须走 `execFile` 加 `--` 隔断。 - `authoring/` 组织已复核知识生成载体时不新增模型调用(core-evolver 的显式迭代除外);写回用户源文件必须原子(`writeTextFileAtomic`),演进快照保留在 `evolve/`。 - `doctor/` 是载体健康审计:规则注册、报告 Schema 版本化、修复按 skill 分文件执行;评估报告与卡片属派生视图,不覆盖原始证据。 ## Code Review Rules - 必须拦截把测量产物(`.omk/eval` 输出)放进本域:本域只有载体侧契约与工具。 - 必须拦截破坏来源物化原子性、路径防护或命令注入防护的改动。 - 必须拦截 `Artifact.kind` 语义的静默扩展(新载体类型需显式版本化并同步术语规范)。
Read the whole file at its exact version.
How to install
mdr add lizhiyao/oh-my-knowledge/src/knowledge/artifacts/AGENTS.md@sha256:6102edd7089522edThe line at the top of this page pins the label git:20261018.6765cd3, 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_oeiymn2rgoubnec2)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Oct 18, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261018.6765cd3 latest | 2026-10-18 | 6765cd3 | 2,200 B | A | view · diff |
| git:20261018.394db09 | 2026-10-18 | 394db09 | 2,193 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2200 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
lizhiyao/oh-my-knowledge · 24 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_oeiymn2rgoubnec2 GET https://markdownregistry.com/api/v1/resolve?ref=lizhiyao/oh-my-knowledge/src/knowledge/artifacts/AGENTS.md GET https://markdownregistry.com/api/v1/blob/6102edd7089522ede382a2147ce2ab7658c79e23106c649ad629c8d2d97ce80d
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.