Markdown-only prompt library for Codex agents. Stores runnable prompts under prompts/ with zero-padded numbering and slugged meta-prompt artifacts under .prompts/{slug}-{purpose}/.
prompts/create-prompt.md: create task-specific numbered prompts (NNN-name.md).prompts/create-meta-prompt.md: create research/plan/do meta-prompt flows saved in.prompts/{slug}-{purpose}/.prompts/run-prompt.md: resolve and execute prompt files (numbered or slugged) sequentially by default..prompts/: slugged meta-prompt outputs withprompt.md,plan.md,research.md, etc., plus metadata blocks.prompts/PROMPT_RULES.md: shared baseline rules for using the helper prompts when copying them to other repos.AGENTS.md: repository rules and conventions.
- Generate a numbered prompt for a task with
prompts/create-prompt.md(pick next zero-padded number). Ask your AI assistant (e.g., Codex) as shown below to do the generation. - Create meta-prompt workflows with
prompts/create-meta-prompt.mdusing descriptive slugs (no numbers) under.prompts/. - Run prompts via
prompts/run-prompt.md, selecting targets by number, name fragment, or explicit path (including slugged prompts).
- “Read
prompts/create-prompt.mdand write the prompt to./prompts/NNN-name.md(use the next zero-padded number) for this task: .” - If you need research/plan/do chaining: “Read
prompts/create-meta-prompt.mdand generate a slugged prompt under.prompts/{topic-slug}-{purpose}/for this task: .” - To run a prompt: “Read
prompts/run-prompt.mdand execute<target-prompt-path>following its rules.”
- Copy the helper files in
/prompts(includingPROMPT_RULES.md) into the target repo (or reference them); keep helper files unnumbered and place runnable prompts as./prompts/NNN-name.md. Do not copy any existing.prompts/artifacts—those stay per-repo. - Check the target repo’s
AGENTS.md(or equivalent) and follow its rules; do not overwrite it. UsePROMPT_RULES.mdonly as the shared baseline when the target repo lacks prompt-specific guidance. - To create a new task prompt, tell your AI assistant (e.g., Codex): “Read
prompts/create-prompt.mdand write the prompt to./prompts/NNN-name.md(use the next number) for this task: ,” and let it gather repo context per the prompt. - For research/plan/do chains, tell your AI assistant: “Read
prompts/create-meta-prompt.mdand generate a slugged prompt under.prompts/{topic-slug}-{purpose}/(purpose = research/plan/do) for this task: ,” and let it gather repo context per the meta-prompt. The meta workflows include a## Metadatablock by default. - To execute prompts, tell your AI assistant: “Read
prompts/run-prompt.mdand execute<target-prompt-path>following its rules.” Targets can be numbered prompts (e.g.,./prompts/003-task.md) or explicit slugged paths (e.g.,./.prompts/topic-plan/prompt.md). The runner handles sequencing and verification steps.
- Read
AGENTS.mdbefore edits; keep prompts concise with clear sections and no placeholders; include metadata blocks for meta outputs (## Metadatawith status/confidence/dependencies/open questions/assumptions).
- No automated tests; verify changes manually (e.g.,
rg --files,git status --short). - Follow AGENTS guidelines for style, naming, numbering, and sandbox awareness.