Borrowing it
Nothing to install: this file belongs to Alenryuichi/openmemory-plus. 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/Alenryuichi/openmemory-plus/main/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/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/alenryuichi/openmemory-plus/agents-md"><img src="https://agentmods.dev/badge/instructions/alenryuichi/openmemory-plus/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.01017 | $0.01017 |
| Opus 5.5 | $0.00407 | $0.00407 |
| Sonnet 5.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 2mo 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 — 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.
- 2mo ago 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 8mo ago), licensed MIT. It adds 1,017 tokens to every session, about $0.0041 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-09-03.
openmemory-plus AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openmemory-plus AGENTS.mdAlenryuichi/openmemory-plus | Instructions file | 20 | 8mo ago | MIT | A | 1,017 | 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 | yesterday | 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 |