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/alenryuichi/openmemory-plus/agents-mdgit clone --depth 1 https://github.com/Alenryuichi/openmemory-plusWrote 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/alenryuichi/openmemory-plus/agents-md)<a href="https://agentmods.dev/instructions/alenryuichi/openmemory-plus/agents-md"><img src="https://agentmods.dev/badge/instructions/alenryuichi/openmemory-plus/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 | $0.01017 | $0.01017 |
| Opus 5 | $0.00508 | $0.00508 |
| Sonnet 5 | $0.00203 | $0.00203 |
| Haiku 4.5 | $0.00102 | $0.00102 |
Grade A, and why
openmemory-plus 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 today.
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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenMemory Plus - 项目开发指南
本文件为 AI Agent 在 openmemory-plus 仓库中工作时提供上下文。
项目概述
OpenMemory Plus 是一个 CLI 工具,用于为 AI Agent 安装和配置双层记忆系统。
- npm 包名:
openmemory-plus - CLI 命令:
openmemory-plus或omp - 技术栈: TypeScript, Node.js (>=18), ESM
项目结构
openmemory-plus/
├── cli/ # CLI 工具源码
│ ├── src/
│ │ ├── index.ts # 入口文件
│ │ ├── commands/ # 命令实现
│ │ │ ├── install.ts # 主安装命令 (3 阶段)
│ │ │ ├── status.ts # 系统状态检查
│ │ │ └── doctor.ts # 诊断修复
│ │ └── lib/ # 核心库
│ │ ├── detector.ts # 依赖检测 (Docker, Ollama, Qdrant)
│ │ └── platform.ts # 跨平台工具
│ ├── templates/ # 导出模板
│ │ └── shared/_omp/ # 用户项目模板
│ └── tests/ # 测试文件
├── AGENTS.md # 本文件 (不导出)
├── README.md # 用户文档
└── CONTRIBUTING.md # 贡献指南
开发命令
cd cli
# 安装依赖
npm install
# 本地开发 (使用 tsx)
npm run dev -- install --help
# 构建
npm run build
# 测试
npm test # 运行所有测试
npm run test:watch # 监听模式
npm run test:coverage # 覆盖率报告
# 本地测试 CLI
node dist/index.js install --help
CLI 命令
| 命令 | 描述 |
|---|---|
install |
一键安装 (默认命令) |
status |
检查系统依赖状态 |
doctor |
诊断并修复问题 |
install 命令选项
-y, --yes: 跳过确认提示-i, --ide <type>: 指定 IDE (augment/claude/cursor/gemini/common)--skip-deps: 跳过依赖安装--show-mcp: 显示 MCP 配置-f, --force: 强制覆盖
安装流程 (3 阶段)
- Phase 1: 检测并安装依赖 (Docker, Ollama, Qdrant, BGE-M3)
- Phase 2: 初始化项目 (复制模板到
_omp/, 配置 IDE) - Phase 3: 显示完成信息和 MCP 配置
模板管理
cli/templates/shared/_omp/ 包含导出到用户项目的文件:
| 目录 | 内容 |
|---|---|
commands/ |
/memory 命令入口 |
workflows/ |
记忆管理工作流 (7 个步骤) |
skills/ |
memory-extraction Skill |
memory/ |
项目记忆模板文件 |
注意: AGENTS.md 等根目录配置文件不会被导出。
测试
测试文件位于 cli/tests/:
cli.test.ts- CLI 入口测试install.test.ts- 安装命令测试detector.test.ts- 依赖检测测试doctor.test.ts- 诊断命令测试status.test.ts- 状态命令测试
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.
- today First seen · 123 lines · 1,017 tokens per session scan A f6fec51ef5b7
openmemory-plus AGENTS.md is an instructions file published in the GitHub repository Alenryuichi/openmemory-plus (20 stars, last pushed 6mo ago), licensed MIT. It adds 1,017 tokens to every session, about $0.0051 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-09-03.
Other instructions, from other repositories
agent-skills GEMINI.md
Gemini CLI instructions for mongodb/agent-skills, covering mongodb gemini extension and configuration.
agent-skills AGENTS.md
AGENTS.md instructions for tech-leads-club/agent-skills, covering agents.md, workflow orchestration, 1. plan mode default, 2. subagent strategy and 3. verification before done.
robrain AGENTS.md
Instructions for adelinamart/robrain, covering robrain — context management (oss self-hosted), session start (mandatory, first thing in every new chat), after every response (mandatory) and session end (last thing).
fast-mcp-telegram CLAUDE.md
Claude Code instructions for leshchenko1979/fast-mcp-telegram, covering fast-mcp-telegram, session corrections and 2026-05-27.
agent-skills CLAUDE.md
Claude Code instructions for tech-leads-club/agent-skills, a project described as: The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
xlsx-for-ai CLAUDE.md
Instructions for senoff/xlsx-for-ai, covering xlsx-for-ai — agent loading guide, always-load, load on relevance, review gate (mandatory unless explicitly skipped) and repo posture.