Borrowing it
Nothing to install: this file belongs to GGbond-bo/MemOmics-Agent. 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/GGbond-bo/MemOmics-Agent/main/AGENTS.mdgit clone --depth 1 https://github.com/GGbond-bo/MemOmics-AgentWrote 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/ggbond-bo/memomics-agent/agents-md)<a href="https://agentmods.dev/instructions/ggbond-bo/memomics-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/ggbond-bo/memomics-agent/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/ggbond-bo/memomics-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/ggbond-bo/memomics-agent/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.00810 | $0.00810 |
| Opus 5.5 | $0.00324 | $0.00324 |
| Sonnet 5.5 | $0.00162 | $0.00162 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
MemOmics-Agent 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 1mo 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.
What it actually says
AGENTS.md — MemOmics 协作规范
给在此仓库工作的 AI 代理(及人类协作者)的规则。违反这些规则的修改会被退回。
黄金规则
- 改完必须测:任何代码修改后,运行
.venv/Scripts/python.exe -m pytest(Windows) 或uv run pytest(Linux/macOS)。测试不绿 = 修改未完成。 - 先测试后重构:涉及
webui/server.py、hermes-agent/tools/的改动, 先确认相关测试存在;无测试覆盖的新功能必须补测试(见 tests 规范)。 - 不删备份:删除
.bak*/.backups/前先确认内容;重要改动前先git commit(不是git stash)。 - 提交要小、信息要实:一个提交一件事;提交信息写清"为什么"和验证结果。
测试规范(P0-3 起)
- 测试目录:
webui/tests/,pytest + marker 门禁(pytest.ini) - 默认运行只跑 offline:
-m "not external and not network and not live_llm and not gpu and not ssh and not lab and not docker and not browser" - 需要真实外部资源的测试打对应 marker(
@pytest.mark.network等), 默认不跑;手动-m network跑 - 测试会话必须清理:用
conftest.py的new_sessionfixture 或cleanup_session()(内存 + state.db + results 目录),禁止污染生产数据 - 新接口/新模块:至少覆盖 正常路径 + 错误路径 + 边界
架构红线
webui/server.py(7398 行)是巨型文件:新增功能优先放hermes-agent/tools/独立模块,server 只做薄路由- 核心执行层(
code_execution_tool.py/persistent_kernel.py)改动必须 跑webui/tests/test_kernel_pool.py+ 集成验证(execute_code 真实调用) - 结果完成契约:分析结束用
POST /api/results/manifest提交analysis_manifest(版本化 + 溯源),不要只丢散文件 - 可写路径白名单:
MEMOMICS_ALLOWED_WRITE_ROOTS(server 自动注入 results+uploads);沙箱 degraded 模式写白名单外路径会被拒
历史教训(必须记住)
- 2026-08-08:知识库图谱功能因"改完不提交"丢失两次(git 无记录), 完成一轮功能立即 git add + commit
.gitignore曾有test_*.py规则导致测试文件入库失败——新增测试后 用git status确认文件真的被跟踪last_active曾用分钟精度导致会话排序不稳——时间戳一律秒精度- 备份还原时"只移植功能块"会漏关联改动——还原后跑全量测试对照
修改清单(改代码前自查)
- 我知道要改哪些文件(不盲改)
- 相关测试存在或本次新增
- 改完跑全量 pytest
- 提交信息含验证结果
-
git status确认该入库的都入库了
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.
- 1mo ago First seen · 53 lines · 810 tokens per session scan A ef298fc0a0a0
MemOmics-Agent AGENTS.md is an instructions file published in the GitHub repository GGbond-bo/MemOmics-Agent (30 stars, last pushed yesterday), licensed MIT. It adds 810 tokens to every session, about $0.0032 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).