agentleFS
Arnie016Arnie016/codex-prompt-templates/skills/codex-prompt-template-builder/SKILL.md

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.

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
  1. Distinctive:

    If no template fits, create one new template with frontmatter and a concrete prompt body.

    line 23
  2. Distinctive:

    Keep the template reusable:

    line 27
  3. Distinctive:

    Run the template catalog validator.

    line 37

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Read references/prompt-template-system.md.
  2. Inspect prompt-templates/README.md and choose the closest template.
  3. If no template fits, create one new template with frontmatter and a concrete prompt body.
  4. For public prompt packs, add or update color-coded plugin lanes in PROMPT_GALLERY.md or prompt-templates/README.md.
  5. Keep the template reusable:
    • role and outcome
    • dynamic inputs/placeholders
    • plugins or skills to use
    • safety gates
    • execution steps
    • validation
    • final output format
  6. For prompt packs, add the template to prompt-templates/ and update the catalog only when discovery changes.
  7. 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 --table

References

  • references/prompt-template-system.md
  • prompt-templates/README.md
  • Pair with $skill-pack-factory when creating a full prompt/skill pack.
  • Pair with $skill-quality-gate before 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-review or $sandbox-source-intake first.

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 --validate passes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.