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.

Install it, pinned
mdr add lizhiyao/oh-my-knowledge/src/knowledge/artifacts/AGENTS.md@git:20261018.6765cd3

Pins 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

The exact contents, by fingerprint
mdr add lizhiyao/oh-my-knowledge/src/knowledge/artifacts/AGENTS.md@sha256:6102edd7089522ed

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_oeiymn2rgoubnec2.svg)](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.

versioncommittedcommitsizeaudit
git:20261018.6765cd3 latest2026-10-18 6765cd3 2,200 BA view · diff
git:20261018.394db092026-10-18 394db09 2,193 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 (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

GitHub

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.

More from lizhiyao/oh-my-knowledge

omk SKILL.md skill
lizhiyao/oh-my-knowledge · .agents/skills/omk/SKILL.md · OMK(Observe. Measure. Know.)让 AI 应用的知识改动有据可依。帮助用户从历史知识完成当前任务,保留适用条件、不同立场与来源;也支持观测真实表现、受控测量 prompt / RAG / skill / agent…
git:20261107.0dedca2 · audit A · 24 stars
AGENTS.md AGENTS.md file
lizhiyao/oh-my-knowledge · AGENTS.md
git:20261107.d65336f · audit A · 24 stars
CLAUDE.md CLAUDE.md file
lizhiyao/oh-my-knowledge · CLAUDE.md
git:20260516.8539e80 · audit A · 24 stars
DESIGN.md DESIGN.md file
lizhiyao/oh-my-knowledge · DESIGN.md · Studio 当前实现的设计基线;品牌紫与专注阅读贯通外壳、观测列表、知识工作台和有明确证据边界的评测报告。
git:20261101.305b362 · audit B · 24 stars
repo-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/agent-runtime/skills/repo-answerer/SKILL.md · Minimal repository answerer used as the control variant.
git:20260902.c0ab3ed · audit A · 24 stars
repo-navigator SKILL.md skill
lizhiyao/oh-my-knowledge · examples/agent-runtime/skills/repo-navigator/SKILL.md · Repository navigation skill for project-level runtime context.
git:20260619.dd3bb69 · audit A · 24 stars
echo-assistant SKILL.md skill
lizhiyao/oh-my-knowledge · examples/custom-executor/skills/echo-assistant/SKILL.md · Minimal skill used to demonstrate the custom executor protocol.
git:20260619.dd3bb69 · audit B · 24 stars
context-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/rag-eval/skills/context-answerer/SKILL.md · Minimal context answerer used as the control variant.
git:20260902.c0ab3ed · audit B · 24 stars
rag-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/rag-eval/skills/rag-answerer/SKILL.md · RAG answerer that only answers from supplied context.
git:20260619.dd3bb69 · audit A · 24 stars
release-checklist SKILL.md skill
lizhiyao/oh-my-knowledge · examples/skill-map-showcase/skills/release-checklist/SKILL.md · Minimal release checklist used as the control variant.
git:20260902.c0ab3ed · audit A · 24 stars
release-readiness SKILL.md skill
lizhiyao/oh-my-knowledge · examples/skill-map-showcase/skills/release-readiness/SKILL.md · Release readiness reviewer that turns a skill folder into a visible Skill Map.
git:20260619.dd3bb69 · audit A · 24 stars
AGENTS.md@src/cli AGENTS.md file
lizhiyao/oh-my-knowledge · src/cli/AGENTS.md
git:20260903.08c59f3 · audit A · 24 stars

Every file in lizhiyao/oh-my-knowledge

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