Strata AGENTS.md

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

Install

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.

agentmods
npx agentmods add instructions/avinash-1707/strata/agents-md
Clone the repo
git clone --depth 1 https://github.com/avinash-1707/Strata

Made for: Codex, OpenCode.

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. Scan, not verified.
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 $0.01208 $0.01208
Opus 5 $0.00604 $0.00604
Sonnet 5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

Measured yesterday against content hash f14ee807feef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 25d ago), licensed MIT. It adds 1,208 tokens to every session, about $0.0060 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.