codex-prompt-template-builder
Skill3 starsChanged 6 months agoMITView on GitHub
Create, choose, adapt, and validate reusable Codex prompt templates that orchestrate skills, plugins, files, tools, and safety gates. Use when the user asks for massive prompts, prompt templates, reusable Codex prompts, plugin-orchestration prompts, marketplace prompt packs, or turning a prompt into a skill. Triggers: prompt template, reusable prompt, massive prompt, plugin stack prompt, prompt pack, turn this prompt into a skill. Skip when the user only needs a one-off short prompt with no reusable structure.
In this repository30 other files it gives its agents.
- agent-memory-ledgerSkill
- agent-observabilitySkill
- automation-skill-forgeSkill
- auto-skill-audit-codex-supercharge-installed-driftSkill
- auto-skill-build-agent-reliability-loopSkill
- auto-skill-build-agent-run-ledger-dashboardSkill
- auto-skill-build-mcp-conformance-harnessSkill
- auto-skill-build-memsearch-codex-memorySkill
- auto-skill-build-source-pattern-synthesisSkill
- auto-skill-build-sources-inventorySkill
- auto-skill-build-supercharge-feedback-loopSkill
- auto-skill-ops-supercharge-maintenance-passSkill
- auto-skill-safety-external-skill-intakeSkill
- auto-skill-safety-mcp-secret-guardSkill
- auto-skill-trend-github-discovery-radarSkill
- codebase-graph-scoutSkill
- codex-supercharge-routerSkill
- experiment-loop-runnerSkill
- low-token-contextSkill
- mcp-safety-reviewSkill
- mcp-server-labSkill
- model-cost-routerSkill
- openapi-to-mcp-skillSkill
- open-design-ui-librarySkill
- repo-intelligence-briefSkill
- repo-to-wikiSkill
- sandbox-source-intakeSkill
- skill-pack-factorySkill
- skill-quality-gateSkill
- workflow-launchpadSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If no template fits, create one new template with frontmatter and a concrete prompt body.
- Distinctive: line 27
Keep the template reusable:
- Distinctive: line 37
Run the template catalog validator.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Prompt Template Builder
Goal: turn broad user intent into a reusable, safe, copy/paste Codex prompt template with clear inputs, plugin/skill routing, workflow steps, validation, and expected output.
Workflow
- Read
references/prompt-template-system.md. - Inspect
prompt-templates/README.mdand choose the closest template. - If no template fits, create one new template with frontmatter and a concrete prompt body.
- For public prompt packs, add or update color-coded plugin lanes in
PROMPT_GALLERY.mdorprompt-templates/README.md. - Keep the template reusable:
- role and outcome
- dynamic inputs/placeholders
- plugins or skills to use
- safety gates
- execution steps
- validation
- final output format
- For prompt packs, add the template to
prompt-templates/and update the catalog only when discovery changes. - Run the template catalog validator.
Template Frontmatter
Each template must include:
---
name: lower-kebab-name
title: Human Readable Title
summary: One sentence outcome.
tags: comma, separated, keywords
plugins: comma, separated, plugins-or-skills
safety: Main safety gate or none
---Commands
python3 scripts/prompt_template_catalog.py --validate
python3 scripts/prompt_template_catalog.py --tableReferences
references/prompt-template-system.mdprompt-templates/README.md- Pair with
$skill-pack-factorywhen creating a full prompt/skill pack. - Pair with
$skill-quality-gatebefore publishing templates as skills.
Skip When
- The user only needs a tiny one-off prompt.
- The requested template would embed private credentials, account secrets, or hidden chain-of-thought instructions.
- The requested workflow mainly installs or runs untrusted code; use
$mcp-safety-reviewor$sandbox-source-intakefirst.
Validation
- The template has complete frontmatter and no placeholder secrets.
- The prompt states dynamic inputs, tools/skills/plugins, safety gates, workflow, verification, and output format.
- Public templates have clear color-coded plugin/capability lanes when useful.
- The prompt can be copied into Codex without requiring hidden repo context.
python3 scripts/prompt_template_catalog.py --validatepasses.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

