AGENTS.mdA

AGENTS.md from echoyue-lp/echo-agent is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add echoyue-lp/echo-agent/AGENTS.md@git:20261023.5172645

Pins git:20261023.5172645 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
echoyue-lp/echo-agent
Path
AGENTS.md
Versions recorded
8
Latest version
git:20261023.5172645, committed Oct 23, 2026
First version recorded
May 9, 2026
Size
12,060 bytes
Repository stars
89
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

# echo-agent AGENTS.md

本文件是 AI agent 在本仓库工作时的**最高优先级约束**(优先级高于 agent 默认行为和任何技能),请严格遵守。本仓库可独立检出使用,本文件即完整约束,不依赖外部 superproject。

## 仓库定位

通用 Rust Agent 框架 Cargo workspace:根 crate `echo_agent` + 子 crate `echo_core` / `echo_macros` / `echo_execution` / `echo_integration` / `echo_tools` / `echo_state` / `echo_orchestration` / `echo-agent-learning`。SDK Host、protocol、合同和三语言 SDK 位于独立的 `echo-agent-sdk` 仓库;crate 名用下划线(`echo_agent`,`cargo check -p echo_agent`)。

**框架服务所有复用方,不是某个应用的私有库。** 任何"能放框架、也能放应用"的功能,动手前必须先回答分层问题(见下)。

## 统一术语:只有 Subagent,没有 Worker(强制)

产品模型、领域模型、运行时模型和代码术语中都只有 `Subagent`,没有 `Worker` 概念。标准关系是 `TaskRun → PlanTask → SubagentRun`。类型、trait、字段、函数、事件、注释、文档和 UI 文案均使用 subagent 命名;后续迭代中触及遗留 `worker` 命名必须随手迁移。仅第三方协议固定 wire name 可在最小适配边界保留,内部立即转换。

## Rust 编码硬性约束(最高优先级)

### 1. 字符串处理:UTF-8 安全,禁止字节级截断

`str::len()` 是字节数;字节索引切片(`&s[..n]`)在中文/emoji 上会切到字符中间 → **panic**。处理任意文本必须用字符迭代器:

```rust
// 正确(本项目既有 pattern)
let preview: String = s.chars().take(N).collect::<String>();
if s.chars().count() > N { ... }
// 禁止:&s[..100] / &s[100..] / s.len() > 100
```

### 2. 禁止任何会导致系统 panic 的 API

| 禁止 | 安全替代 |
|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add echoyue-lp/echo-agent/AGENTS.md@sha256:9bdcfa5381c70842

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

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

Versions

The registry has recorded 8 versions of this file, between May 9, 2026 and Oct 23, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
git:20261023.5172645 latest2026-10-23 5172645 12,060 BA view · diff
git:20261021.6849bfc2026-10-21 6849bfc 12,060 BA view · diff
git:20261016.875cc222026-10-16 875cc22 10,806 BA view · diff
git:20260915.27c77012026-09-15 27c7701 10,504 BA view · diff
git:20260914.0878a672026-09-14 0878a67 10,457 BA view · diff
git:20260912.4af71b12026-09-12 4af71b1 10,264 BA view · diff
git:20260904.9e1bf682026-09-04 9e1bf68 10,220 BA view · diff
git:20260509.91b87ab2026-05-09 91b87ab 4,151 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 (12060 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

echoyue-lp/echo-agent · 89 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ttenrmlhey2w4cvc
GET https://markdownregistry.com/api/v1/resolve?ref=echoyue-lp/echo-agent/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9bdcfa5381c708427b6ba974031a9fafa828829660238363658795f1d95dcab8

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 echoyue-lp/echo-agent

coding-preflight SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/coding-preflight/SKILL.md · 在 echo-agent 开始缺陷修复、功能开发、重构、契约或样式改动前,先完成复用搜索、架构分层、状态权威、 修改边界和验证范围预检;当新需求可能导致重复代码、相近概念、公共接口漂移或风格分裂时使用,不负责首次全量语义建库。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-audit SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-audit/SKILL.md · 针对指定语义边界和风险视角进行有界、可反证的质量审查,记录故障假设、实现路径、证据、问题记录和残余风险; 仅在已有“边界 × 风险视角 × 源码版本”单元及进入原因时使用,不负责普通差异分析或一般代码审查。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-contract SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-contract/SKILL.md · 提供语义材料版本 1 的唯一对象、引用、状态、风险视角和结构校验合同;仅在其它语义 Skill 要读写语义对象, 或用户要求检查语义材料格式与合同漂移时使用,不负责普通代码审查。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-decide SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-decide/SKILL.md · 把真实产品预期、语义冲突或残余风险整理成一个需要人的明确裁决单元; 仅在已有具体行为承诺、规则或问题记录无法由证据确定时使用,不负责普通设计讨论或一般代码审查。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-diff SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-diff/SKILL.md · 分析代码、配置、契约或工作树差异对既有语义基线的影响,计算影响闭包并标记需要重新审查的风险视角; 仅在已有实际差异且存在语义基线时使用,不负责首次建库、编码前预检或泛化代码审查。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-discover SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-discover/SKILL.md · 建立或补全仓库的语义行为基线,识别能力边界、状态权威、重要入口、证据缺口和未知区; 仅在首次建立、扩大或修复 `semantic/` 基线覆盖时使用,不负责普通新需求预检、已有差异分析或代码审查。
git:20260908.7e2cb50 · audit A · 89 stars
semantic-verify SKILL.md skill
echoyue-lp/echo-agent · .agents/skills/semantic-verify/SKILL.md · 校验语义材料的结构、引用、源码快照、新鲜度和解决条件,并在静态事实不足时运行最小必要验证; 仅在已有 `semantic/` 材料或问题记录解决候选时使用,不替代普通代码完成验证或仓库合并门禁。
git:20260908.7e2cb50 · audit A · 89 stars
code-review SKILL.md skill
echoyue-lp/echo-agent · echo-agent-learning/examples/demo_skills/code-review/SKILL.md · Professional code review skill: identify defects, security risks, and best practice violations. Use when asked to…
v2.0.0 · audit A · 89 stars
data-analyst SKILL.md skill
echoyue-lp/echo-agent · echo-agent-learning/examples/demo_skills/data-analyst/SKILL.md · Data analysis skill: statistical analysis, data interpretation, and visualization recommendations. Use when asked to…
v2.0.0 · audit A · 89 stars
project-stats SKILL.md skill
echoyue-lp/echo-agent · echo-agent-learning/examples/demo_skills/project-stats/SKILL.md · Analyze project structure, count lines of code by language, find TODOs/FIXMEs, and generate project health summaries…
v2.0.0 · audit A · 89 stars
python-linter SKILL.md skill
echoyue-lp/echo-agent · echo-agent-learning/examples/demo_skills/python-linter/SKILL.md · Lint and format Python files using ruff. Activates automatically when Python files are touched. Use to check code…
v1.0.0 · audit A · 89 stars
web-researcher SKILL.md skill
echoyue-lp/echo-agent · echo-agent-learning/examples/demo_skills/web-researcher/SKILL.md · Web research skill: systematically collect, verify, and synthesize information from multiple sources. Use when asked to…
v1.2.0 · audit A · 89 stars

Every file in echoyue-lp/echo-agent

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261101.d684125 · audit A · 417,919 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 309,852 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 293,827 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 198,353 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 182,080 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 139,879 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261027.a50cf58 · audit A · 138,879 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 116,476 stars

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