This prompt instructs the assistant to draft a polished, professional email addressed to the specified recipients using the provided content, improving clarity, grammar, and tone while adding an appropriate greeting and closing. The result is a ready-to-send email containing only the finalized message text without any placeholders or additional commentary.
Installs into .claude/skills of the current project.
Are you the author of Email Composer With Mustache Variables?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/betterpromptme-email-composer-with-mustache-variables)
---
name: email-composer-with-mustache-variables
description: This prompt instructs the assistant to draft a polished, professional email addressed to the specified recipients using the provided content, improving clarity, grammar, and tone while adding an appropriate greeting and closing. The result is a ready-to-send email containing only the finalized message text without any placeholders or additional commentary.
compatibility: Requires betterprompt >= 0.1.0
---
## What it does
This prompt instructs the assistant to draft a polished, professional email addressed to the specified recipients using the provided content, improving clarity, grammar, and tone while adding an appropriate greeting and closing. The result is a ready-to-send email containing only the finalized message text without any placeholders or additional commentary.
> For more installation instructions go to https://skills.sh/betterpromptme/betterprompt/betterprompt to check out this skill.
## Inputs
### textInputs
Pass each text input using `--input <key>=<value>` flags.
| Variable key | Required? | Description | Defaults |
| --- | ---: | --- | --- |
| `content` | Required | | (none) |
| `recipients` | Required | | (none) |
### Models and options
This skill's modality is: **`text`**.
To discover which `model` values you can use (and which `options` keys/values are valid for each model), run:
```bash
betterprompt resources --models-only --json
```
Then filter the returned JSON array to entries where `modality` is `"text"`.
## How to run
### Step 1: Collect inputs
First, run `betterprompt resources --models-only --json` and filter to `modality: "text"` to discover valid models and available options:
```bash
betterprompt resources --models-only --json
```
Use only the models and option values that appear in the filtered results.
Then collect all inputs from the human:
- Required text inputs:
- `content`
- `recipients`
- Optional: model and options.
- Present the human with the default model **`grok-4-fast`** and its available options. Look up `grok-4-fast` in the `betterprompt resources` output (filtered to modality `"text"`) and show its `availableOptions` as: `key: val1, val2 (default), val3 | key2: ...`. Mark a value `(default)` if it matches these defaults: `{}`.
- If the human does not specify, defaults are used: model `grok-4-fast`, options `{}`. Other models from the resources call are also available.
If any required text input is missing, **ask the human for what's missing**. Do not assume or fabricate values.
### Step 2: Run via BetterPrompt CLI
Use the frontmatter's `name` as the positional argument (for this skill, use `email-composer-with-mustache-variables`).
Command form:
```bash
betterprompt generate email-composer-with-mustache-variables \
[--input <key>=<value>] \
[--model <model>] \
[--options <options JSON>] \
[--json]
```
Notes:
- Pass each text input as a separate `--input <key>=<value>` flag.
- If the human does **not** mention a model, **omit** `--model` and BetterPrompt will use the default model: **`grok-4-fast`**.
- If the human does **not** mention options, **omit** `--options` and BetterPrompt will use the default options: **`{}`**.
- If the run times out, the response will include a `runId` you can use to fetch the result later.
Example (using defaults shown above):
```bash
betterprompt generate email-composer-with-mustache-variables \
--input content=<value> \
--input recipients=<value> \
--model grok-4-fast \
--options '{}'
```