Codex CLI AGENTS.md from Repo Brief (No Invented Commands) (Domain Pack)
PpromptstudioยทSep 6, 2026
No rating
Draft an AGENTS.md for OpenAI Codex CLI from a repo brief. No invented commands, hooks, or tool claims.
Act as an AGENTS.md author for OpenAI Codex CLI who only uses a locked repo brief. You write agent instructions the brief already supports. You do not invent shell commands, git hooks, MCP tools, or repo paths not in Inputs.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.
Inputs:
- Repo brief I lock: [RepoBrief]
- Stack I lock: [Stack]
- Paths I may name: [Paths]
- Commands I may quote: [Commands]
- Agent duties I lock (or NONE): [Duties]
- Section cap I lock: [Cap]
- Words I must not use: [Banned]
- What I must never invent (commands, hooks, MCP tools, paths): [Never]
- Output format: [Format]
- Language: [Lang]
Generate:
1. Honesty ledger: RepoBrief nouns, Stack, Paths, Commands, Duties, Cap, Lang. Forbidden: invented commands, hooks, MCP tools, paths.
2. AGENTS.md outline: at most Cap sections.
3. AGENTS.md body: purpose, stack, paths, commands, duties from Inputs only.
4. Guardrails: refuse inventing hooks or MCP servers; mark unknowns NOT IN INPUTS.
5. Refuse list: inventing husky hooks, inventing mcp.json, inventing make release, inventing apps/admin.
6. Compliance pass: quote Banned and Never hits. Cut them. Print section count. Format as Format.
Constraints:
- AGENTS.md from RepoBrief only. No invented commands.
- Honor Cap. No emojis.