unified-mcp: Instructions file for Codex

AGENTS.md

unified-mcp AGENTS.md is an instructions file for Codex, OpenCode from shooebill/unified-mcp. It costs 454 tokens per session, scanned A, original, MIT.

Project instructions for unified-mcp, a Node.js server that combines two memory services into one MCP connection. One service uses remote HTTP, while the other runs as a local child process.

In plain words
What is it for?
Use them when editing unified-mcp, configuring its memory services, updating versions, running lint, checking startup, or saving and searching project context.
Why use it?
They tell an agent how the server is structured, which environment settings it needs, and how to check changes. Agent memory means storing and retrieving useful information about the project or user across tasks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is shooebill/unified-mcp's own configuration. It tells Codex and OpenCode how to work on unified-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unified-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shooebill/unified-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shooebill/unified-mcp/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/shooebill/unified-mcp

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for unified-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shooebill/unified-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/shooebill/unified-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/shooebill/unified-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/shooebill/unified-mcp/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.

agentmods 80×15 button for unified-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shooebill/unified-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/shooebill/unified-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 454 This file is loaded in full into every session.
When invoked 454 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00454 $0.00454
Opus 5 $0.00227 $0.00227
Sonnet 5 $0.00091 $0.00091
Haiku 4.5 $0.00045 $0.00045

Measured 8d ago against content hash 4188780ddc14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

unified-mcp 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 8d 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.

AGENTS.md · 35 lines

What it actually says

unified-mcp

OpenMemory と Cipher を束ねるラッパー MCP サーバー(Node.js)。

Language & Runtime

  • JavaScript (CommonJS) / Node.js >= 18
  • エントリポイントは unified-mcp.js の単一ファイル構成
  • 依存は mcp-remote のみ
  • リンター/フォーマッター: Biome (biome.json で設定)
  • JSON 設定ファイルを編集する際は構文を検証してから保存すること

Architecture

  • OpenMemory: mcp-remote 経由の Streamable HTTP 接続(OPENMEMORY_URL
  • Cipher: stdio で子プロセス起動(CIPHER_CMD, CIPHER_CWD
  • 両サーバーのツールを統合して単一の MCP として公開
  • 親プロセス終了時に子プロセスをプロセスグループごと kill(v0.3.6)

Environment Variables

必須: OPENMEMORY_URL, CIPHER_CMD, CIPHER_CWD, MCP_SERVER_MODE, USE_ASK_CIPHER 任意: NPX_PATH, CIPHER_AGENT_CONFIG

Agent Memory

  • このプロジェクトは unified-memory MCP サーバーを使用している。コードベースやユーザーの好みについて重要なことを学んだら add_memories で保存し、複雑なタスクの開始時には search_memory で過去のコンテキストを検索すること

Workflow

  • 編集後は npm run lint で Biome チェックを通すこと
  • 編集後は node unified-mcp.js で起動確認すること
  • 既存ファイルの編集を優先し、不要なファイルを増やさない
  • バージョンは unified-mcp.js 冒頭のコメントと package.json の両方を更新する
Changes

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.

  1. 8d ago First seen · 35 lines · 454 tokens per session scan A 4188780ddc14

Subscribe to this mod's changes

unified-mcp AGENTS.md is an instructions file published in the GitHub repository shooebill/unified-mcp (0 stars, last pushed 26d ago), licensed MIT. It adds 454 tokens to every session, about $0.0023 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-31.

Related

Other instructions, from other repositories

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.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens

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.

deepseek-ai/deepseek-harness · 3,735 tokens