AGENTS.mdA

AGENTS.md from kongfangxun/sofagent is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add kongfangxun/sofagent/AGENTS.md@git:20261008.d73ee15

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

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
kongfangxun/sofagent
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261008.d73ee15, committed Oct 8, 2026
First version recorded
Sep 25, 2026
Size
1,872 bytes
Repository stars
54
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 · sofagent Codex 适配(薄挂载)

> 本文件是 Codex CLI 的顶层指令挂载点(AGENTS.md 约定),**不含规范内容**——四层加载链的规范资产唯一来源是 sofagent 的 `SKILL/` 目录(单一真相源)。规则更新只发生在 SKILL/,本文件永不复制它们。
>
> 区分:`FORGE/SKILL/` 不是规范资产——它仅存放 FORGE 内部循环(fresh-eyes-loop、release-gate-loop)的技能定义,与根 `SKILL/` 规范目录同名但职责无关。

## 会话开始时按序加载(四层加载链)

一、读取已安装的 SKILL.md 作为系统约束(L1 硬约束):

```
~/.sofagent/skills/sofagent/SKILL.md
```

(若用 `bash install.sh --platform codex` 安装,fde.md 已写入 `~/.codex/fde.md`。)

二、读取用户工作规则(L2):`~/.codex/fde.md`(或 `~/.sofagent/skills/sofagent/fde.md`)

三、读取反思区(L3):`~/.sofagent/skills/sofagent/think.md`

四、知识库(L4):`~/.sofagent/skills/sofagent/knowledge/` 目录,按任务关键词检索加载。

## model_instructions_file(可选)

Codex 的 `model_instructions_file` 配置可直接指向 SKILL.md,让约束进系统层:

```toml
# ~/.codex/config.toml
model_instructions_file = "~/.sofagent/skills/sofagent/SKILL.md"
```

## 审计强制(平台无关)

约束是建议性的,审计是强制性的——提交前审计走 **git hook**(`sofagent audit --install-hook`),与宿主平台无关:28 条 git diff 规则 + HMAC 链审计在 Codex 下同样生效。

## 连接 MCP Server

104 个 tool(`run_audit` / `worklog_query` / `snapshot_restore` / `fde_interview` / `connector_list` 等)经 MCP 协议面暴露——适配器只依赖 @public API 子集,@internal 破坏性变更不影响本挂载。默认全量暴露,`SOFAGENT_MCP_ROLES` 显式收窄专职面。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kongfangxun/sofagent/AGENTS.md@sha256:5d9c0e5f9f55895a

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

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

Versions

The registry has recorded 5 versions of this file, between Sep 25, 2026 and Oct 8, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261008.d73ee15 latest2026-10-08 d73ee15 1,872 BA view · diff
git:20261002.bd2f7f62026-10-02 bd2f7f6 1,872 BA view · diff
git:20260927.39cb5032026-09-27 39cb503 1,872 BA view · diff
git:20260926.5158c862026-09-26 5158c86 1,872 BA view · diff
git:20260925.a80db042026-09-25 a80db04 1,872 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 (1872 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

kongfangxun/sofagent · 54 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_f3nyytzfzcimfh6u
GET https://markdownregistry.com/api/v1/resolve?ref=kongfangxun/sofagent/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/5d9c0e5f9f55895a548484838e90fc07da6498b51c5bcc30ce7e7316448e0f6f

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 kongfangxun/sofagent

sofagent Cursor rule
kongfangxun/sofagent · .cursor/rules/sofagent.mdc · sofagent 约束层加载(薄挂载——规范资产唯一来源是 SKILL/,本文件不含规则内容)
git:20261008.d73ee15 · audit A · 54 stars
enterprise-fde-识别AI节点 SKILL.md skill
kongfangxun/sofagent · FDE/templates/skills/skill-template/SKILL.md · 当 FDE 需要对工作流节点做 AI 分类判定时用这个 Skill—— 不是"它是干什么的",是"什么时候用"。 写错 description = Skill 永远不会被触发。
v1.2.5 · audit A · 54 stars
fresh-eyes-loop SKILL.md skill
kongfangxun/sofagent · FORGE/SKILL/fresh-eyes-loop/SKILL.md · 发布后独立质量循环——单盲四角色流水线(A 审 12 视角 → B 修 → C 验 → D 复核),每轮新 session 保证零上下文,连续 2 轮无 P0/P1 即停。
v1.7.0 · audit A · 54 stars
release-gate-loop SKILL.md skill
kongfangxun/sofagent · FORGE/SKILL/release-gate-loop/SKILL.md · 发版前自动验证闸门——V 验证 + F 修复循环(verdict FAIL → F 改代码 → 跑 audit → V 重验),最大 3 轮直到 PASS。纯只读验证 + 最小修复。
v1.7.0 · audit A · 54 stars
AGENTS.md@SKILL AGENTS.md file
kongfangxun/sofagent · SKILL/AGENTS.md
git:20261008.02c81de · audit A · 54 stars
sofagent SKILL.md skill
kongfangxun/sofagent · SKILL/SKILL.md · FDE Skill——帮 FDE(前线部署工程师)更好完成企业 AI 落地的方法论 Skill。约束 Agent 行为、审计每次变更、沉淀经验。 底层实现叫约束层——一个层五种能力:注入·审计·回溯·沉淀·进化。FORGE…
v1.7.0 · audit A · 54 stars
sofagent-audit SKILL.md skill
kongfangxun/sofagent · SKILL/agents/audit/SKILL.md · 系统级合规审计——巡检 Workflow、验证铁律覆盖、检查知识库健康度。不审查代码逻辑,审查的是部署层面的合规性。
v1.7.0 · audit A · 54 stars
软件工程师 SKILL.md skill
kongfangxun/sofagent · SKILL/agents/engineer/SKILL.md · 专注于最小可行差异的工程专家——只修复被要求的内容,拒绝范围蔓延,宁可写三行相似代码也不做过早抽象。这种纪律性能防止 bug 修复 PR 变成重构雪崩。
v1.7.0 · audit A · 54 stars
sofagent-fde SKILL.md skill
kongfangxun/sofagent · SKILL/agents/fde/SKILL.md · 前线部署与知识工程专家。梳理企业工作流、识别 AI 节点、构建 ontology 本体数据、交付离场。 部署完成后转为持续优化模式(sustain),自动读 audit 报告趋势生成优化报告。…
v1.7.0 · audit A · 54 stars
代码审查员 SKILL.md skill
kongfangxun/sofagent · SKILL/agents/reviewer/SKILL.md · 专业代码审查专家,提供建设性、可操作的反馈,聚焦正确性、可维护性、安全性和性能,而非代码风格偏好。
v1.7.0 · audit A · 54 stars
cordis-plugin-sofagent-audit SKILL.md skill
kongfangxun/sofagent · engine/dsh-plugins/cordis-plugin-sofagent-audit/SKILL.md · 变更机器审阅 + 验收硬门禁——28 规则 + git diff 硬证据 + Turn 停止验收判定(验收不过不放行,开关独立可关)(seam: tools/result + tools/pre-execute +…
v1.7.0 · audit A · 54 stars
cordis-plugin-sofagent-daemon SKILL.md skill
kongfangxun/sofagent · engine/dsh-plugins/cordis-plugin-sofagent-daemon/SKILL.md · 7×24 巡检 + 健康监测 + webhook 推送(seam: non-seam:host-process)——桥接 @sofagent/daemon startCron——DSH(DeepSeek Harness)cordis…
v1.7.0 · audit A · 54 stars

Every file in kongfangxun/sofagent

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 · 194,483 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 · 137,352 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.