Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/ggbond-bo/memomics-agent/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.svg" alt="Measured on agentmods" 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 | $0.00405 | $0.00405 |
| Sonnet 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 6d 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.
- 6d 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 (19 stars, last pushed 3d ago), licensed MIT. It adds 810 tokens to every session, about $0.0040 per session on Opus 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
aeon CLAUDE.md
Claude Code instructions for aeonfun/aeon, covering aeon, how aeon works, strategy, voice and soul file hierarchy (read in this order).
cognirepo CLAUDE.md
Claude Code instructions for ashlesh-t/cognirepo, covering claude.md, key rules, session start sequence (run in this order), behavioral confirmation rule and personas (cognirepo-402, cognirepo-403).
wayland-core copilot-instructions.md
Copilot instructions for FerroxLabs/wayland-core, covering ijfw rules, output discipline, memory routing, context discipline and cross-audit.
mcp-structured-memory CLAUDE.md
Claude Code instructions for nmeierpolys/mcp-structured-memory, a project described as: Structured Memory MCP Server.
inkwell-memory CLAUDE.md
Instructions for veronchenko/inkwell-memory, covering claude.md — inkwellmemory, layout, multi-tenant mode (inkwellmultitenant=1), conventions and testing.
RNR-Enhanced-Cognee AGENTS.md
AGENTS.md instructions for vincentspereira/RNR-Enhanced-Cognee, covering rnr enhanced cognee implementation for codex, critical requirements, 1. ascii-only output (no unicode encoding), 2. dynamic categories (no hardcoded categories) and 3. standard memory mcp interface.