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/dzmitrys-dev/supamem/agents-mdgit clone --depth 1 https://github.com/dzmitrys-dev/supamemWhat 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.02759 | $0.02759 |
| Opus 5 | $0.01380 | $0.01380 |
| Sonnet 5 | $0.00552 | $0.00552 |
| Haiku 4.5 | $0.00276 | $0.00276 |
Grade A, and why
supamem 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — supamem
Operational guide for AI coding agents working in this repository. Project-agnostic dual-memory CLI for Claude Code, Cursor, and OpenCode.
Project Snapshot
- Language: Python 3.12+
- Build backend: hatchling
- Package manager:
uv - CLI entry:
supamem→src/supamem/cli.py:main - Tests:
pytest(config inpyproject.toml) - Lint/format:
ruff(line length 100, target py312) - External deps: Qdrant 1.10+ (HTTP), MCP 1.13+, fastembed, langchain-text-splitters
Architecture
src/supamem/
├── cli.py # Typer-based CLI dispatcher
├── console.py # Shared Rich console + theme (single source of branding)
├── config.py # Pydantic config schema (D-38)
├── config_io.py # Discovery: project → user → defaults; merge order locked
├── doctor.py # Health + drift report (Plan 80.6-11)
├── init.py # Greenfield bootstrap (Plan 80.6-08)
├── migrate.py # Brownfield migration paths (Plan 80.6-09)
├── mcp_server.py # MCP server entrypoint
├── embedders/ # minilm, bm25 — pluggable via entry-points
├── indexer/ # chunker (markdown_header), manifest
├── retrieval/ # tuned_hybrid, dense, bm25 backends
├── eval/ # Bench runner + bundled goldens (Plan 80.6-12)
├── hooks/ # claude_code, cursor — per-client snapshot hooks
├── install/ # claude_code, cursor, opencode — config installers
├── share/ # Canonical artifact templates
└── stats/ # Welford counter for usage telemetry
Plugin Entry Points (D-48)
Four plugin groups in pyproject.toml. Third parties add backends without forking:
supamem.retrieval—tuned_hybrid,dense,bm25supamem.embedder—minilm,bm25supamem.chunker—markdown_header,transcriptsupamem.reranker—mxbai_v2(Phase 8)
Config Discovery (D-38)
Order: ./.supamem/config.toml (project) → ~/.config/supamem/config.toml (user) → share/default.toml (shipped). Merge is shallow; project wins.
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.
- 2d ago First seen · 173 lines · 2,759 tokens per session scan A 8dfe6cb3f410
supamem AGENTS.md is an instructions file published in the GitHub repository dzmitrys-dev/supamem (12 stars, last pushed 12d ago), licensed MIT. It adds 2,759 tokens to every session, about $0.0138 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-30.
Other instructions, from other repositories
golembot CLAUDE.md
Instructions for 0xranx/golembot, covering golembot — project conventions for claude code, architecture hard constraints, things you must never do, interface change rules and file responsibility boundaries.
oh-my-openagent CLAUDE.md
Claude Code instructions for code-yeongyu/oh-my-openagent, a project described as: omo/lazycodex: The coding agent for tokenmaxxers;the one and only agent harness for complex codebases. For your Codex, for your OpenCode.
golembot AGENTS.md
Instructions for 0xranx/golembot, covering assistant context, installed skills, directory structure and conventions.
awesome-copilot-id AGENTS.md
Instructions for GulajavaMinistudio/awesome-copilot-id, covering communication, explanation and documentation, markdown formatting, user communication style and workflow & methodology.
ai-rules-sync AGENTS.md
Instructions for lbb00/ai-rules-sync, covering agents instructions, project overview, tech stack, key features and directory structure.
obsidianos_work AGENTS.md
Instructions for benoror/obsidianos_work, covering agents, skills, skill proxies (symlinks to .agents/skills/), rules and agent wrappers.