workspace-memory: Instructions file for Codex

AGENTS.md

workspace-memory AGENTS.md is an instructions file for Codex, OpenCode from bbonin023/workspace-memory. It costs 1,832 tokens per session, scanned A, original, MIT.

A documentation convention for keeping each project’s current state, structure, operating notes, and decision history in five predictable Markdown files.

In plain words
What is it for?
Setting up the convention, orienting an agent in a workspace, recording project decisions, documenting how projects run, and archiving completed work.
Why use it?
It makes projects easier for people returning after a long gap and for AI agents seeing the workspace for the first time. It uses templates and examples without requiring code or dependencies.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 workspace-memory AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bbonin023/workspace-memory/agents-md"><img src="https://agentmods.dev/badge/instructions/bbonin023/workspace-memory/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,832 This file is loaded in full into every session.
When invoked 1,832 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.01832 $0.01832
Opus 5.5 $0.00733 $0.00733
Sonnet 5.5 $0.00366 $0.00366
Haiku 4.5 $0.00183 $0.00183

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

Security

Grade A, and why

workspace-memory 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 · 92 lines

How it starts

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

AGENTS.md — orientation for AI agents

If you are a human, you probably want README.md instead. This file is written for AI agents (Claude, GPT, Gemini, local models, etc.) who have been pointed at this repository and asked to help a human adopt or use the workspace-memory convention.


What this repository is

A documentation convention. Five markdown files per active project, plus a master orientation file at the workspace root, plus a reduced-form archive for completed projects. No code, no installer, no dependencies. The convention is described in detail in conventions.md; the templates to copy are in skeletons/; worked examples are in examples/.

The convention exists so that any project's current state, architecture, runbook, and decision history live in predictable locations with predictable names. This makes the project navigable to humans who haven't seen it in months and to AI agents who have never seen it at all.

What the human is likely asking you to do

One of three things, in roughly decreasing order of frequency:

1. Set up the convention in their workspace for the first time. They have an existing directory of projects (or are starting fresh) and want to adopt this layout. Your job is to scaffold the master AGENTS.md at their workspace root, create projects/active/ and projects/archive/ directories, and walk them through populating the first project. Do not try to populate every project at once — pick one with the human and do it well, then let them apply the pattern to the rest.

2. Add a new project to a workspace that already uses the convention. A master AGENTS.md already exists. Your job is to create projects/active/<slug>/ with the five-file skeleton, fill in what you can from the conversation, and update the project table in the master file. Confirm the slug with the human before creating directories — slugs are kebab-case, 2–50 chars, must start with a letter.

3. Migrate an existing project's docs into the convention. The human has scattered notes, READMEs, or partial docs and wants them organized into the five-file structure. Your job is to read what they have, sort it into the right files, and flag what's missing. Do not invent content to fill out sections you have no information for — leave TODO markers and tell the human what you'd need to know.

Read the full file on GitHub · 92 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 · 92 lines · 1,832 tokens per session scan A e79382a929da

Subscribe to this mod's changes

workspace-memory AGENTS.md is an instructions file published in the GitHub repository bbonin023/workspace-memory (2 stars, last pushed 5mo ago), licensed MIT. It adds 1,832 tokens to every session, about $0.0073 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

workspace-memory AGENTS.md compared with instructions from other repositories

workspace-memory AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workspace-memory AGENTS.mdbbonin023/workspace-memoryInstructions file25mo agoMITA1,832Codex, 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