perseus-vault-codex: Instructions file for Codex

AGENTS.md

perseus-vault-codex AGENTS.md is an instructions file for Codex, OpenCode from Perseus-Computing-LLC/perseus-vault-codex. It costs 496 tokens per session, scanned A, original, MIT.

Repository instructions for Perseus Vault Codex, an MCP server that gives a coding agent encrypted, local memory across sessions.

In plain words
What is it for?
Use them to guide calls for remembering, recalling, forgetting, reflecting on, and checking the status of persistent agent memory.
Why use it?
They explain how to recall past decisions, save durable project knowledge, and remove outdated memories without storing inappropriate secrets.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is Perseus-Computing-LLC/perseus-vault-codex's own configuration. It tells Codex and OpenCode how to work on perseus-vault-codex 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 perseus-vault-codex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Perseus-Computing-LLC/perseus-vault-codex. 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/Perseus-Computing-LLC/perseus-vault-codex/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Perseus-Computing-LLC/perseus-vault-codex

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 perseus-vault-codex AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/perseus-computing-llc/perseus-vault-codex/agents-md/github.svg)](https://agentmods.dev/instructions/perseus-computing-llc/perseus-vault-codex/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/perseus-computing-llc/perseus-vault-codex/agents-md"><img src="https://agentmods.dev/badge/instructions/perseus-computing-llc/perseus-vault-codex/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 perseus-vault-codex AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/perseus-computing-llc/perseus-vault-codex/agents-md"><img src="https://agentmods.dev/badge/instructions/perseus-computing-llc/perseus-vault-codex/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 496 This file is loaded in full into every session.
When invoked 496 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.00496 $0.00496
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00050 $0.00050

Measured 2mo ago against content hash 4fa9e47a272a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

perseus-vault-codex 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.

AGENTS.md · 37 lines

What it actually says

AGENTS.md — guidance for Codex working in this repo

This file is read by Codex to understand the project. It also documents how the memory tools this package provides should be used by an agent.

What this project is

perseus-vault-codex is an MCP stdio server that gives a Codex agent persistent, encrypted, local-first memory by wrapping the Perseus Vault binary. It exposes five tools: perseus_remember, perseus_recall, perseus_forget, perseus_reflect, perseus_status.

Using the memory tools (for any Codex agent with this server installed)

  • At the start of a task, call perseus_recall with a short description of what you're about to do. Pull in past decisions, conventions, and gotchas.
  • When you learn something durable — a build command, a code-style rule, an architectural decision, a non-obvious gotcha, a user preference — call perseus_remember. Use a stable key so re-learning updates rather than duplicates.
  • When a memory is wrong or stale, perseus_forget it by key.
  • To synthesize across many memories, use perseus_reflect.
  • Memories persist across sessions and are encrypted at rest. Do not store secrets you wouldn't want in a local encrypted DB.

Developing this package

  • Python ≥ 3.9, zero runtime dependencies (the stdio transport is vendored in src/perseus_vault_codex/_vault_client.py).
  • Run tests: pytest -q. Unit tests use a fake vault client and need no binary. Integration tests run only when PERSEUS_VAULT_BIN points at a real perseus-vault binary (or it's on PATH).
  • stdout is the JSON-RPC channel — never print() to stdout in the server path; log to stderr via the _log helpers.
  • The curated tool schemas live in tools.py::TOOL_SCHEMAS; keep the surface at five tools — that minimalism is the point.
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. 2mo ago First seen · 37 lines · 496 tokens per session scan A 4fa9e47a272a

Subscribe to this mod's changes

perseus-vault-codex AGENTS.md is an instructions file published in the GitHub repository Perseus-Computing-LLC/perseus-vault-codex (0 stars, last pushed 3mo ago), licensed MIT. It adds 496 tokens to every session, about $0.0020 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-31.

Related

perseus-vault-codex AGENTS.md compared with instructions from other repositories

perseus-vault-codex AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
perseus-vault-codex AGENTS.mdPerseus-Computing-LLC/perseus-vault-codexInstructions file03mo agoMITA496Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode