Strata: Instructions file for Codex

AGENTS.md

Strata AGENTS.md is an instructions file for Codex, OpenCode from avinash-1707/Strata. It costs 1,208 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for working on Strata, a local server that stores searchable memory for AI agents. It explains which project documents take priority and which documents to read for different tasks.

In plain words
What is it for?
Use it when changing Strata code, tools, data flows, database structures, search, ranking, prompts, or planning the next build step.
Why use it?
It prevents coding work from following outdated specifications or ignoring project-specific rules.

Instructions file for CodexOpenCode

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

This is avinash-1707/Strata's own configuration. It tells Codex and OpenCode how to work on Strata 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 Strata configures →

Reuse

Borrowing it

Nothing to install: this file belongs to avinash-1707/Strata. 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/avinash-1707/Strata/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/avinash-1707/Strata

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 Strata AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/avinash-1707/strata/agents-md"><img src="https://agentmods.dev/badge/instructions/avinash-1707/strata/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,208 This file is loaded in full into every session.
When invoked 1,208 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.01208 $0.01208
Opus 5.5 $0.00483 $0.00483
Sonnet 5.5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

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

Security

Grade A, and why

Strata 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 · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Strata is a local-first MCP server giving AI agents compressed, searchable memory. Node 20 + TypeScript, Postgres + pgvector, Redis, Ollama. Single user, single host, no external API calls.

Which document wins

docs/ is authoritative. context.md is the original spec and is known to contain four critical defects that docs/ corrects — including a write path that can lose memories and a forget that doesn't forget. Where the two differ, follow docs/ and the referenced DD-0NN. Never implement context.md verbatim.

Read only what the task needs

Do not load any document wholesale. Load the narrowest set that covers the task:

Task Read
Writing or changing any code in src/ docs/coding-standards.md
Adding/changing a tool, module, or data flow docs/architecture.md + docs/coding-standards.md
"What do I build next?" docs/build-plan.md (current phase only) + docs/progress-tracker.md (Current state block only)
Database schema, migrations, indexes docs/architecture.md § Data model
Search, ranking, or fusion work docs/architecture.md § Retrieval pipeline
Prompts, LLM parsing, Ollama calls docs/architecture.md § Model layer
Docker, Compose, env vars, deployment docs/architecture.md § Runtime topology
"Why is it done this way?" / proposing a change to a settled choice docs/design-decisions.md
Onboarding, scope questions, "should we build X?" docs/project-overview.md
Reviewing or finishing someone else's work docs/progress-tracker.md (Current state) + the phase's entry in docs/build-plan.md

Rules for reading:

  • Read docs/progress-tracker.md's Current state block only. The Log below it is history — skip it unless you need to know why something changed.
  • Read only the current phase of docs/build-plan.md, not all phases.
  • Consult context.md only when a doc contradicts itself or omits a spec detail.

Always applies

These hold for every code change. Details in docs/coding-standards.md.

Read the full file on GitHub · 91 lines

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 · 91 lines · 1,208 tokens per session scan A f14ee807feef

Subscribe to this mod's changes

Strata AGENTS.md is an instructions file published in the GitHub repository avinash-1707/Strata (0 stars, last pushed 3mo ago), licensed MIT. It adds 1,208 tokens to every session, about $0.0048 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

Strata AGENTS.md compared with instructions from other repositories

Strata AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Strata AGENTS.mdavinash-1707/StrataInstructions file03mo agoMITA1,208Codex, OpenCode
repobrain copilot-instructions.mdstudy8677/repobrainInstructions file1.4k14d agoMITA229GitHub Copilot
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