# Prompt Template

> Use this skill when the user wants to start from a reusable prompt template for review, refactoring, tests, or a custom template stored under ~/.codex/prompt-templates.

- Skill: `koyonx/prompt-template` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add koyonx/prompt-template`
- Raw SKILL.md: https://api.skillmd.com/api/skills/koyonx/prompt-template/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: koyonx (https://skillmd.com/u/koyonx)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/koyonx/prompt-template

---


# Prompt Template

## Overview

Use this skill to fetch a reusable prompt body before starting work.
Built-in templates live in `assets/templates`, and user overrides live in `~/.codex/prompt-templates`.

## Workflow

1. Run `scripts/render_template.py --list` to see available templates.
2. Run `scripts/render_template.py <name>` to print the chosen template.
3. If a user template exists with the same name, prefer the user template over the built-in one.
4. After printing the template, continue the task using the rendered prompt content.

## Resources

- Script: `scripts/render_template.py`
- Assets: `assets/templates/`

