software_development_department: Instructions file for Codex

AGENTS.md

software_development_department AGENTS.md is an instructions file for Codex, OpenCode from tranhieutt/software_development_department. It costs 1,412 tokens per session, scanned A, original, MIT.

A repository instruction file that adapts a Claude-based software-development process for Codex. It documents required review gates, the six development phases, safety rules, and commands that must not be run.

In plain words
What is it for?
Use it to guide work through definition, planning, building, verification, review, and release while keeping Claude runtime files unchanged.
Why use it?
It gives coding agents project-specific rules before they answer or change code. This helps preserve the repository's existing workflow and safety boundaries.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the TodoWrite tool.

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

Reuse

Borrowing it

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

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 software_development_department AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tranhieutt/software_development_department/agents-md"><img src="https://agentmods.dev/badge/instructions/tranhieutt/software_development_department/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,412 This file is loaded in full into every session.
When invoked 1,412 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.01412 $0.01412
Opus 5.5 $0.00565 $0.00565
Sonnet 5.5 $0.00282 $0.00282
Haiku 4.5 $0.00141 $0.00141

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

Security

Grade A, and why

software_development_department 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 · 174 lines

How it starts

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

SDD for Codex

This repository is the Software Development Department (SDD) harness.

The canonical source of truth remains Claude-native:

  • CLAUDE.md
  • .claude/settings.json
  • .claude/agents/
  • .claude/skills/
  • .claude/hooks/
  • .claude/memory/

Codex support is an adapter layer. Do not change Claude runtime behavior to make Codex work.

Operating Rule

Before any non-trivial software-development response, review:

  1. .claude/skills/using-sdd/SKILL.md
  2. docs/technical/SDD_LIFECYCLE_MAP.md
  3. The specific SDD skill that matches the task

Use SDD's six-phase map:

DEFINE -> PLAN -> BUILD -> VERIFY -> REVIEW -> SHIP

For implementation work, state the pre-code gate before the first production edit:

Pre-code gate: <Fast|Spec|Plan|Interview|Override> satisfied by <evidence>; next edit: <file>; verification: <command/check>.

Codex Runtime Notes

Claude Code hooks in .claude/settings.json do not run automatically in Codex. Codex must manually honor the same gates through instructions, file inspection, and verification commands.

Preserve these boundaries:

  • Do not move or rename .claude/skills.
  • Do not move or rename .claude/agents.
  • Do not weaken .claude/settings.json permissions.
  • Do not replace Claude hooks with Codex-specific behavior.
  • Do not claim work is done without fresh evidence.
  • Do not commit or push unless the user explicitly asks.

Safety Rules (Manual Deny List)

Claude Code enforces these rules automatically through hooks and permissions. Codex does not run those hooks, so you must enforce these rules manually.

Blocked Commands — NEVER Execute

These commands are forbidden. If a task seems to require one, stop and ask the user for explicit approval and an alternative approach.

Destructive filesystem:

  • rm -rf /, rm -rf ., rm -rf /*, rm -rf ./*
  • mkfs, dd if=/dev/zero, dd if=/dev/null
  • chmod 777

Credential and secret exposure:

  • Reading .env, .env.*, or any *.env file
  • Reading ~/.ssh/, ~/.aws/, ~/.azure/, ~/.gnupg/, ~/.config/gcloud/
  • Reading ~/.docker/config.json, ~/.kube/config
  • Writing to .env, .env.*, .bashrc, .zshrc, .profile
  • cat .env, type .env, or any command that outputs secret files

Read the full file on GitHub · 174 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 · 174 lines · 1,412 tokens per session scan F ba238347edfd

Subscribe to this mod's changes

software_development_department AGENTS.md is an instructions file published in the GitHub repository tranhieutt/software_development_department (74 stars, last pushed 5mo ago), licensed MIT. It adds 1,412 tokens to every session, about $0.0056 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-09-03.

Related

software_development_department AGENTS.md compared with instructions from other repositories

software_development_department AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
software_development_department AGENTS.mdtranhieutt/software_development_departmentInstructions file745mo agoMITA1,412Codex, OpenCode
pudo-code-system pudo-api.instructions.mdDongDuong2001/pudo-code-systemInstructions file514d agoMITA182GitHub Copilot
pudo-code-system pudo-frontend.instructions.mdDongDuong2001/pudo-code-systemInstructions file514d agoMITA197GitHub Copilot
pudo-code-system pudo-tests.instructions.mdDongDuong2001/pudo-code-systemInstructions file514d agoMITA210GitHub Copilot
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