dev-workspace: Instructions file for Codex

AGENTS.md

dev-workspace AGENTS.md is an instructions file for Codex, OpenCode from iwe-org/dev-workspace. It costs 2,627 tokens per session, scanned A, original, MIT.

An instruction manual for working in a software project's separate knowledge workspace, where product information, plans, architecture, and work status are stored. It explains what an agent should read and record during each session.

In plain words
What is it for?
Use it at the start of work in the specified development workspace, especially when reviewing project state, selecting tasks, or updating plans and records.
Why use it?
It prevents important project context from being kept only in a conversation. It also gives the agent a consistent way to check current work and leave a record of changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/iwe-org/dev-workspace/agents-md"><img src="https://agentmods.dev/badge/instructions/iwe-org/dev-workspace/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,627 This file is loaded in full into every session.
When invoked 2,627 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.02627 $0.02627
Opus 5.5 $0.01051 $0.01051
Sonnet 5.5 $0.00525 $0.00525
Haiku 4.5 $0.00263 $0.00263

Measured 5d ago against content hash 9a88cb9b85bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-workspace 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 5d 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 · 178 lines

How it starts

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

Agent operating manual

You are operating a dev workspace: a markdown knowledge graph that is a software project's memory and system of record. The division of labor:

  • Code lives in the project's own repository. Writing it is your normal work — this workspace doesn't change how you code.
  • Project state lives here, in data/ — what the product is, how it must behave (specs), how it's designed (architecture), what's planned, shipped, broken, and released. Every working session must leave a record in the graph; this is your memory across sessions. Never keep project state only in conversation.

Start of every session

  1. Read data/product.md. If it still contains ✏️ placeholders, run the setup flow (.claude/skills/setup/SKILL.md) before anything else — planning without product context is guessing. Note ## Constraints and ## Authoring rules: they bind everything you write.
  2. Check the state of work: active plans under ## Active in data/plans.md, and high-priority tasks — iwe find --filter '{stage: planned, priority: high}' --included-by data/backlog -f keys.

The operating loop

  1. Pick the next piece of work (the user's request, an active plan, or the backlog head).
  2. Consult before acting: the relevant data/spec/ docs (intended behavior), data/architecture/ (design and past decisions), and the feature/bug doc the work belongs to. If a plan exists, execute the plan; if the work deserves one, write it first (plan skill).
  3. Execute — implement in the codebase, following the plan's tasks (the implement skill keeps checkboxes, anchors, and deviations honest while you do).
  4. Record — write the state back:
    • Idea (not a commitment) → data/someday/<slug>.md + link from data/someday.md.
    • Actionable item → data/backlog/<slug>.md (stage: planned, priority), linked under the priority section of data/backlog.md.
    • Work starts → plan skill: data/plans/YYYYMMDD-<slug>.md (created, verified code anchors, ## Spec changes) + link under ## Active.
    • Work ships → verify skill green (tasks, requirements, and scenarios checked against the code), then ship skill: specs synced first, then stage: done with completed, link moved to ## Done, feature doc implemented, inclusion link in data/releases/unreleased.md.
    • Plan abandoned → stage: cancelled, link moved to ## Cancelled (it stays listed — the record of why is worth keeping).
    • Bug found → data/bugs/<slug>.md (Symptom / Reproduction / Root cause / Fix, path:line anchors) + link from data/bugs.md. Fixed → stage: done.
    • Behavior defined or changed → the matching data/spec/ doc (Requirement/Scenario format); this happens inside the ship flow, not as an afterthought.
    • Design decision made → data/architecture/<slug>.md, including the rejected alternatives.
    • Code structure changed (module added, split, or moved) → re-read the code and refresh the touched data/codebase/ docs, bumping their commit and verified. git log <commit>..HEAD -- <source> finds the stale ones.
    • Vision insight → data/concept/<slug>.md.
    • Task finished → stage: done + completed on the task doc, link moved to ## Done in data/backlog.md.
    • Release cut → ship skill's release mode (rename unreleased, stamp version/date, fresh accumulator).
  5. Stamp — every document you create or meaningfully change gets generated: { by: claude-code/opus-5, at: <ISO 8601 now> }, a one-sentence description if it has none, and — when you derived it from code or an external page — a sources entry naming that path or URL. Whenever you set stage, derive OKF status from the table in SCHEMA.md and set or clear it in the same edit. If a hub gained or lost a document, update data/index.md.
  6. Validate & commit — iwe normalize, then iwe schema validate must pass; commit with a short message describing the state change.

Read the full file on GitHub · 178 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. 5d ago Changed · +2 tokens per session 9a88cb9b85bd
  2. 1mo ago First seen · 178 lines · 2,625 tokens per session scan A efcd2d37e1c6

Subscribe to this mod's changes

dev-workspace AGENTS.md is an instructions file published in the GitHub repository iwe-org/dev-workspace (11 stars, last pushed 6d ago), licensed MIT. It adds 2,627 tokens to every session, about $0.0105 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens