org-os-template: Instructions file for Codex

AGENTS.md

org-os-template AGENTS.md is an instructions file for Codex, OpenCode from regen-coordination/org-os-template. It costs 3,964 tokens per session, scanned A, original, MIT.

A set of instructions for working in an organisational workspace. It tells coding agents which planning documents to read and how to protect workspace content during Git operations.

In plain words
What is it for?
Use it when working in the regen-coordination/org-os-template workspace, especially before actions such as merging, rebasing, pulling, resetting, or cleaning.
Why use it?
It reduces the risk of losing notes, drafts, or other important files while agents work with the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions AGENTS.md; built for openclaw.

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

Reuse

Borrowing it

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

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 org-os-template AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/regen-coordination/org-os-template/agents-md"><img src="https://agentmods.dev/badge/instructions/regen-coordination/org-os-template/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,964 This file is loaded in full into every session.
When invoked 3,964 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.03964 $0.03964
Opus 5.5 $0.01586 $0.01586
Sonnet 5.5 $0.00793 $0.00793
Haiku 4.5 $0.00396 $0.00396

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

Security

Grade A, and why

org-os-template 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 1mo 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 · 469 lines

How it starts

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

Organizational OS Workspace — Agent Guide

Operating instructions for AI agents (OpenClaw, Cursor, or custom runtimes) working in organizational workspaces.


🎯 START HERE: Read MASTERPLAN.md

For organization-specific agents, the canonical source is:

MASTERPLAN.md — Your Strategic Vision & Operating Manual

This file contains your mandate, activations, research directions, success metrics, and boundaries. It's how operators steer your autonomous behavior. Read it fully before proceeding with AGENTS.md.


⚠️ Workspace Safety — Before Any Destructive Git Op

Read docs/VAULT-SAFETY.md before running any git operation that touches the working tree (merge, rebase, pull, reset, checkout across branches, clean, stash, large git add -A).

Hard rules:

  1. Never git stash in a workspace with precious untracked content (instances with memory/, drafts, daily notes). Use npm run vault:snapshot -- "<reason>" instead — it creates a permanent refs/snapshots/<...> ref without disturbing the tree.
  2. Never git clean — those untracked files are content, not build artifacts.
  3. Never git reset --hard while uncommitted content exists.
  4. --no-verify is forbidden unless the user explicitly authorizes it.
  5. main is the only branching base. Feature-off-feature branches require a DECISIONS.md entry stating why; every session that creates commits pushes its branch before /close completes.
  6. Superseded branches are archived as archive/<name> tags, never left as branches.

After any risky op: npm run vault:audit (loud failure if files vanished).

Full protocol + 7-layer recovery runbook: docs/VAULT-SAFETY.md.


1. Deterministic Session Startup Sequence

Recommended: Run /initialize (OpenCode) or npm run initialize to get a visual dashboard of the full workspace state — projects, tasks, calendar, funding deadlines, cheatsheets. This reads all files below automatically and renders them as an actionable overview.

Read the full file on GitHub · 469 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. 1mo ago First seen · 469 lines · 3,964 tokens per session scan A e8940d64d9ec

Subscribe to this mod's changes

org-os-template AGENTS.md is an instructions file published in the GitHub repository regen-coordination/org-os-template (5 stars, last pushed 3d ago), licensed MIT. It adds 3,964 tokens to every session, about $0.0159 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