Borrowing it
Nothing to install: this file belongs to coffee-man666/mommy-chaogu. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/coffee-man666/mommy-chaogu/main/AGENTS.mdgit clone --depth 1 https://github.com/coffee-man666/mommy-chaoguWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/coffee-man666/mommy-chaogu/agents-md)<a href="https://agentmods.dev/instructions/coffee-man666/mommy-chaogu/agents-md"><img src="https://agentmods.dev/badge/instructions/coffee-man666/mommy-chaogu/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/coffee-man666/mommy-chaogu/agents-md"><img src="https://agentmods.dev/badge/instructions/coffee-man666/mommy-chaogu/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.07241 | $0.07241 |
| Opus 5.5 | $0.02896 | $0.02896 |
| Sonnet 5.5 | $0.01448 | $0.01448 |
| Haiku 4.5 | $0.00724 | $0.00724 |
Grade A, and why
mommy-chaogu AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 348 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
给 AI agent(和人类开发者)的项目指南。开始工作前先读这份。
审查入口(所有 Agent 共用)
开展架构、正确性、数据、研究或发布审查,以及修改相应核心契约前,必须阅读 系统性审查指南。它服从本文件的产品定位与产品交付原则。 局部审查按影响范围选用相关检查,不要求每个小改动全面审计;系统性审查必须交代 Market Time、Data Quality、Quantitative Validation、Release Integrity 四个领域的覆盖与未验证项。
- 先写用户可观察的目标,记录版本、commit 与工作区差异,再沿实际调用链验证;旧报告只是线索。
- 按 Audit → Design → Implement → Validate 推进;区分已证实缺陷、条件性风险、待验证假设。 每项重要发现说明触发输入、用户后果、根因、证据、现有测试缺口与兼容性影响。
- 优先处理静默错误和误导性输出;将关键不变量映射到根因测试与用户验收。 测试通过不等于研究有效,更不等于策略可执行。
- 第一轮默认交付证据审查、必要的架构建议、分阶段计划和测试矩阵。 审查请求本身不授权修复、存量数据改写或迁移;已有明确实现授权时继续其授权范围内的工作。
- 只有证据说明局部修复不足,才提出共用抽象,并比较局部修复、复用与新增抽象的成本。 涉及存量金融数据、数据库迁移或重要研究口径变化时,先列影响、验证证据与恢复方案,再按授权实施。
- 未运行的检查、不可还原的历史信息与未覆盖路径必须明确列出;不得把规范落盘宣称为缺陷修复
或系统已通过审计。审查快照落在
docs/archive/,稳定原则更新本指南;不得另造产品方向。
快速上手
uv sync --extra dev # 安装依赖
uv run pytest -m "not network" # 跑测试(2,082 个离线用例,另有 14 个网络探针)
uv run ruff check . # lint
uv run mypy --strict src # type check
密钥配置
推荐运行 uv run mommy setup,交互式选择 Provider / 模型、隐藏输入并验证 Key,
还可继续扫码连接微信。安装用户的配置默认保存到
~/.config/mommy-chaogu/.env(0600,不入仓);只有当前仓库的项目 .env 已包含
有效 Provider 或 API key 时才会就地更新。可用 --local / --user 显式选择作用域,
用 --check 脱敏检查生效来源:
cp .env.example .env # 复制模板
# 编辑 .env,填入需要的 key
支持的 key(根据生效的 AGENT_PROVIDER 自动读取对应的一项):
| Provider | 环境变量 | 说明 |
|---|---|---|
| deepseek(默认) | DEEPSEEK_API_KEY |
DeepSeek API |
| openai | OPENAI_API_KEY |
OpenAI / 兼容接口(有 embedding 接口,向量检索可用) |
| kimi | MOONSHOT_API_KEY |
Moonshot / Kimi |
| zai | ZAI_API_KEY |
z.ai / GLM-4.7 |
| minimax | MINIMAX_API_KEY |
MiniMax 开放平台按量 API(M3,非 Coding Plan) |
| — | AGENT_PROVIDER |
覆盖 provider(不重启改 .env) |
| — | AGENT_MODEL |
覆盖聊天模型名 |
优先级:shell 环境变量 > 项目 .env > 用户级 .env > 代码默认值。Provider 与 model
按来源成组解析,禁止跨层拼接;config.toml 仅用于可选高级 Web 参数。provider 配置表
(base_url / 默认模型 / env key / 温度 / embedding 模型)的单一真相源是
src/mommy_chaogu/agent/llm.py——改 provider 只动它,不要另起表。
数据库布局(2026-07-03 重组)
⚠️ 如果你是从旧版本升级,请先跑迁移脚本:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago Changed · +20 lines · +593 tokens per session 62ab1860def2
- 22d ago Changed · +21 lines · +706 tokens per session 27943c713d19
- 25d ago Changed · +61 lines · +1,238 tokens per session 1e70e78cc162
- 27d ago Changed · -1 lines 28ec6592438b
- 1mo ago Changed cd7e8df2d1fe
- 1mo ago Changed · +17 lines · +470 tokens per session 469d477e5d75
- 2mo ago First seen · 230 lines · 4,234 tokens per session scan A eae21ef3dec5
mommy-chaogu AGENTS.md is an instructions file published in the GitHub repository coffee-man666/mommy-chaogu (61 stars, last pushed 6d ago), licensed MIT. It adds 7,241 tokens to every session, about $0.0290 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
mommy-chaogu AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mommy-chaogu AGENTS.mdcoffee-man666/mommy-chaogu | Instructions file | 61 | 6d ago | MIT | A | 7,241 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |