ai-sdlc-workflow: Instructions file for Codex

AGENTS.md

ai-sdlc-workflow AGENTS.md is an instructions file for Codex, OpenCode from phuoctrung-ppt/ai-sdlc-workflow. It costs 3,346 tokens per session, scanned A, original, MIT.

A reusable set of instructions for a software-development workflow in which separate agents plan, do the coding, and judge the result. It is designed to be configured for a specific project without assuming that project's technology or business area.

In plain words
What is it for?
It helps set up agent-assisted planning and implementation, enforce development rules, manage multi-tenant projects, and configure which files and skills each worker may use.
Why use it?
It gives agents one place to learn the project's rules, protected files, allowed work areas, and available skills, reducing inconsistent decisions across tasks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions AGENTS.md.

This is phuoctrung-ppt/ai-sdlc-workflow's own configuration. It tells Codex and OpenCode how to work on ai-sdlc-workflow 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 ai-sdlc-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to phuoctrung-ppt/ai-sdlc-workflow. 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/phuoctrung-ppt/ai-sdlc-workflow/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/phuoctrung-ppt/ai-sdlc-workflow

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 ai-sdlc-workflow AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/phuoctrung-ppt/ai-sdlc-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/phuoctrung-ppt/ai-sdlc-workflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,346 This file is loaded in full into every session.
When invoked 3,346 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.03346 $0.03346
Opus 5.5 $0.01338 $0.01338
Sonnet 5.5 $0.00669 $0.00669
Haiku 4.5 $0.00335 $0.00335

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

Security

Grade A, and why

ai-sdlc-workflow 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 · 341 lines

How it starts

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

AGENTS.md — <PROJECT_NAME>

TEMPLATE — DOMAIN-NEUTRAL. This repo ships the portable Planner-Worker-Judge workflow with no target domain. Replace every <PLACEHOLDER> and every block tagged > _EXAMPLE_ with your project's real values when you port this setup. Agents: if a section below is still a <PLACEHOLDER>, treat that fact as unknown — gather it from the codebase or ask the orchestrator. Never invent stack, structure, or compliance facts from an example block.

How to use this file: This is the canonical domain-config hub for the agentic workflow. Every agent reads this file at task start. Generic workflow rules and skills live under .cursor/ (Cursor) and are mirrored for Codex under .agents/skills/ + .codex/.

Porting (required):

  1. Fill §0 Project Profile (profile + layers on/off).
  2. Fill §1–§3 for layers that are on.
  3. Cursor: python3 .cursor/context/profile-sync.py --from-agents then memory-loader --sync.
  4. Codex: no profile-sync required; honor §0 directly. Optional JSON artifacts still generated only if you run the scripts.
  5. Optional sections (§4, §9, §14, …): write N/A — layer off when the layer is off — do not invent multi-tenant/DB/queue content.

Codex runtime (force design)

Read this section when running under OpenAI Codex CLI / IDE / app.

Surfaces

Need Path
Domain config (this file) AGENTS.md
Skills (Codex discovery) .agents/skills/*/SKILL.md → bodies in .cursor/skills/
Multi-agent roles .codex/config.toml + .codex/agents/*.toml
Setup notes docs/codex/SETUP.md
Cursor-only hooks/matrix/loader .cursor/** — optional; do not assume they run inside Codex

Operating rules on Codex

  1. Layers first — §0 is law. Off layer → no plan section, no code, no skill for that layer.
  2. Day path — prefer skills $wf-fix and $wf-shape-lite; full $wf-plan-feature only for structural change.
  3. Single source of truth for craft — when a skill activates, read the linked .cursor/skills/.../SKILL.md (adapters are thin).
  4. Lazy references — never bulk-read **/references/** or docs/reviews/**.
  5. Subagents — do not spawn unless the user asks for parallel agents or the task is clearly multi-track; use roles from .codex/config.toml.
  6. Protected changes — recommend judge role + docs/reviews/ for protected paths (see .cursor/config/protected-paths.json when present).
  7. Forbidden patterns — §12 always applies.

Read the full file on GitHub · 341 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 Changed · +23 lines · +217 tokens per session c5766ed061ed
  2. 1mo ago Changed · -15 lines · -656 tokens per session 2f5b360013d8
  3. 1mo ago First seen · 333 lines · 3,785 tokens per session scan A 45e6f8e32eae

Subscribe to this mod's changes

ai-sdlc-workflow AGENTS.md is an instructions file published in the GitHub repository phuoctrung-ppt/ai-sdlc-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 3,346 tokens to every session, about $0.0134 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,581 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

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens