Prompt templates
Reusable prompts for your agents
Write a prompt once, add variables, and reuse it as an agent role, a scheduled prompt, or a routine your agents can look up themselves.
Variables
One template, many uses
Placeholders turn a prompt into a form. Required variables are flagged, and defaults fill in the rest.
subjectis requiredfocusdefaults to "correctness and edge cases"thresholddefaults to "medium"
Code Review Checklist
reviewquality
Review the changes for: {{subject}}
Focus area: {{focus|correctness and edge cases}}
Severity threshold: {{threshold|medium}}
Report each finding with the file, the problem, and a suggested fix.
Pay particular attention to {{focus}}.Library
Everything you need to manage them
- Save and organize
- Turn your best prompts into a personal library, organized with tags.
- Smart variables
- Use {{variable}} placeholders with optional defaults like {{name|default}}, and preview the result live.
- Search and filter
- Find a template fast with search and tag filtering.
- Import and export
- Back up your library or move templates as JSON.
With agents
Built into how agents work
Agent roles
A template can be the role and behavior layer an agent runs with.
Available to agents
Agents can list and render your templates through the Melius MCP tools, for example a commit-message routine.
Scheduled prompts
Templates are the building blocks for prompts that run on a schedule.
Start your template library
Create a project, connect your machine, and give your agents prompts they can reuse.