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.
npx agentmods add instructions/niawjunior/opencontext/claude-mdgit clone --depth 1 https://github.com/niawjunior/opencontextWrote 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/niawjunior/opencontext/claude-md)<a href="https://agentmods.dev/instructions/niawjunior/opencontext/claude-md"><img src="https://agentmods.dev/badge/instructions/niawjunior/opencontext/claude-md.svg" alt="Measured on agentmods" 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 | $0.00278 | $0.00278 |
| Opus 5 | $0.00139 | $0.00139 |
| Sonnet 5 | $0.00056 | $0.00056 |
| Haiku 4.5 | $0.00028 | $0.00028 |
Grade A, and why
opencontext CLAUDE.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 3d 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.
What it actually says
@AGENTS.md
Project Context (Open Context) — IMPORTANT
This project uses Open Context for AI context management.
REQUIRED: Update context after code changes
After you finish writing or modifying code, you MUST update the relevant module context:
- Call
resolve_projectto get the project ID - Call
list_modulesto find which module(s) you changed - Call
update_module_contextwith the updated context markdown for each affected module
This keeps the project documentation in sync. The context goes through a review flow — the developer will see a diff and approve/reject your update in the Open Context app.
How to access context
Use the MCP tools available to you:
resolve_project— auto-detect this project from your cwdget_project_context— get the full context documentlist_modules— see all modules and their coverage statusget_module_context— get detailed context for a specific modulesearch_context— search across all context
What triggers context updates
- AI (you): Use
update_module_contextMCP tool after code changes (goes through approval) - Git hook: Auto-marks affected modules as stale on push
- Manual: Developer clicks "Sync" on any module in Open Context
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.
- 3d ago First seen · 30 lines · 278 tokens per session scan A ce4f1bd6d710
opencontext CLAUDE.md is an instructions file published in the GitHub repository niawjunior/opencontext (0 stars, last pushed 5mo ago), licensed MIT. It adds 278 tokens to every session, about $0.0014 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.
Other instructions, from other repositories
mex CLAUDE.md
Claude Code instructions for mex-memory/mex, a project described as: Persistent project memory for AI coding agents. Structured scaffold + drift detection CLI.
recall CLAUDE.md
Instructions for joseairosa/recall, covering claude.md, project context, build & run commands, testing and unit tests with vitest (primary test runner).
SecureContext CLAUDE.md
Instructions for iampantherr/SecureContext, covering securecontext — agent instructions, what this project is, directory layout, build commands and 13 mcp tools.
consolidate-memory AGENTS.md
AGENTS.md instructions for Zenetusken/consolidate-memory, covering agents.md — consolidate-memory, what this is, commands you will actually run, layout and core contracts — do not break these.
consolidate-memory CLAUDE.md
Claude Code instructions for Zenetusken/consolidate-memory, covering consolidate-memory — project conventions, the one gotcha that matters, layout, conventions and safety (this repo is public).
aictx AGENTS.md
Instructions for oldskultxo/aictx, covering agents instructions for aictx and ai context engine.