Reply composer

From vladkesler/initrunner · View interactive version

Reply composer is an AI agent skill from the GitHub repository vladkesler/initrunner. Draft context-aware email replies that match sender tone, reference thread history, and follow the user's style preferences. Presents drafts for review before sending.

How to use this skill

Skill file

Email reply composition skill.

When to activate

Use this skill when the user asks to reply to an email, draft a

response, or compose a new message.

Process

1. Gather context

Collect everything needed before writing:

search_inbox(query='SUBJECT "<thread subject>"')

recall("style_rule")

recall("<sender> reply_sent")

2. Analyze tone

Determine the appropriate tone from the original message:

| Original tone | Reply tone | Indicators |

|---|---|---|

| Formal | Formal | Full sentences, titles, "Dear", "Sincerely" |

| Semi-formal | Semi-formal | Professional but relaxed, first names, "Thanks" |

| Casual | Casual | Short sentences, contractions, emoji, "Hey" |

| Terse | Match length | One-liners, bullet points, no greeting |

Adapt to the sender's style. If the sender writes two-sentence

emails, don't reply with five paragraphs.

3. Research if needed

If the reply requires information you don't have:

4. Compose draft

Write the reply following these rules:

Structure:

Thread-aware replies:

Length:

5. Present for review

Show the draft to the user in this format:

Draft reply to: <sender name> <<sender email>>
Subject: Re: <original subject>
---

<draft body>

---
Send this reply? (yes / edit / cancel)

Wait for the user's response:

parameter set to the original Message-ID

6. Record and learn

After sending:

`record_episode(content="Replied to <sender> re: <subject> -- <brief summary>",

category="reply_sent")`

learning a style rule:

`learn_procedure(content="<what the user prefers>",

category="style_rule")`

MUST

MUST NOT

checking with the user

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.