# Reply drafted

*Someone asked you something in public. Your agent wrote the reply. You tap post.*

**Type: [Decide](types/decide.md).** Your agent asks before it acts. Approve or decline with one tap. This is one good use of it; the same widget serves deploy or merge, spend money, send what your agent wrote, delete or archive and more. Switch the subject when something else matters more.

Template id `mention-reply` · Asks you · uses nothing on the phone · for: Agents with social or community access.

## Goal

Real questions get answered fast, without the user living in their feeds.

## When to offer it

The user has a public presence and you can read and post for them.

## What the user gets

- Watches for real questions and mentions, not likes
- Writes the reply in your voice
- Posts it only after your tap

## What each size shows

- **Small**: metric: Her followers = 12k.
- **Medium**: metric: Her followers = 12k; text (body): "Does it work with Codex? Draft: Yes, connects in a minute."; buttons: Post (`post`), Skip (`skip`).
- **Large**: metric: Her followers = 12k; text (body): "Does it work with Codex? Draft: Yes, connects in a minute."; buttons: Post (`post`), Skip (`skip`); list: Also waiting (2 rows).
- **Lock Screen**: inline "1 reply ready to post".

## Make it theirs

**Look.** Send `look` instead of `theme` and `accent`; every combination is designed to read well:

- `style`: `glass` (default: see-through, adapts to dark mode), `soft` (a calm pale tint) or `bold` (a vivid gradient with dark buttons).
- `accent`: blue, indigo, purple, pink, red, orange, green, teal, graphite, or a hex.
- `font`: default, rounded, serif or mono.

This template's own accent is **blue**. To restyle a widget you already saved, send only the look:

```json
{"slug": "mention-reply", "look": {"style": "bold", "accent": "blue", "font": "rounded"}}
```

Preview a look without saving: `droplet_preview_widget` with the slug and `look`. When the user says "make it greener", "calmer" or "bolder", change the look; keep the content.

**Their choices.** Ask once (droplet_ask) or use what you know:

- Which accounts
- Their tone of voice
- Who's worth replying to

**Search words:** social, mentions, twitter, x, reply, community, discord, post, draft.


## Before you build

- You need: Agents with social or community access.
- Ask once: The tap is the approval, because the draft is on the widget. Ask first for anything sensitive or angry.

## Fill it with real data

Start from the template (`droplet_library` with `id: "mention-reply"`), keep the design, and replace each sample value:

| Block | Real value |
|---|---|
| 0 · metric | Why this person is worth a reply. |
| 1 · text | What they asked, and your draft. |
| 2 · buttons | Post or skip. |
| 3 · list | What else is waiting. |

Sources:
- Mentions and replies from the accounts you're connected to.
- The user's past replies, to match their voice.

## The widget

Sample values; send it with `droplet_set_widget` on your widget's slug (or a new slug with `new_widget: true` if the user asked for a separate widget). Preview it and fix every warning first.

```json
{
  "slug": "mention-reply",
  "title": "Reply to Priya?",
  "subtitle": "On X",
  "symbol": "bubble.left.and.bubble.right.fill",
  "accent": "#0A84FF",
  "blocks": [
    {"type": "metric", "label": "Her followers", "value": "12k"},
    {"type": "text", "text": "Does it work with Codex? Draft: Yes, connects in a minute.", "style": "body"},
    {"type": "buttons", "items": [{"id": "post", "label": "Post", "symbol": "paperplane.fill"}, {"id": "skip", "label": "Skip", "symbol": "xmark"}]},
    {"type": "list", "title": "Also waiting", "items": [{"title": "Question on Discord", "detail": "2h"}, {"title": "Reply on GitHub", "detail": "5h"}]}
  ],
  "sizes": {"medium": [0, 1, 2], "large": [0, 1, 2, 3]},
  "lock": {"inline": "1 reply ready to post", "circular": 0}
}
```

## Keep it fresh

A few times a day. Only real questions and people worth replying to.

## Handle the taps

Each tap reaches you once on `droplet_get_events` (keep a waker running, SKILL.md Process C). Answer within seconds by updating the widget.

**Post** (`post`)

```json
{"widget": "mention-reply", "kind": "button", "target": "post", "value": {"label": "Post"}}
```

Post exactly the text shown, then show the link to it.

**Skip** (`skip`)

```json
{"widget": "mention-reply", "kind": "button", "target": "skip", "value": {"label": "Skip"}}
```

Drop it and show the next one.

## Ask first

The tap is the approval, because the draft is on the widget. Ask first for anything sensitive or angry.

For example:

```json
{"question": "This one's angry. Post the draft anyway?", "kind": "decision", "options": ["Post", "Skip"], "risk": "medium"}
```

## Phone actions

None.

## Edge cases

- It's a complaint: bring it to them with a draft, and don't post from a single tap.
- The draft is long: put it on the large size, and ask first on medium.

## Never

Never post text the user didn't see.

## Done when

- [ ] Every sample value is replaced with real data (no "Dr. Lee" on a real widget).
- [ ] `droplet_preview_widget` shows no warnings at the sizes the user placed (`placed` in `droplet_whoami`).
- [ ] Every button has a handler and a waker is running.
- [ ] Refresh is set up as above.
- [ ] You told the user in one line what it does on its own and what it asks first.

## Same widget, other uses

- [Approvals](approvals.md): Your agent asks before it ships. You approve from the Home Screen.
- [OK to spend?](spend-ok.md): Your agent needs to pay for something to keep going. It asks first, with the exact amount.
- [Renewal coming](bill-guard.md): Something renews soon that you barely use. Your agent caught it in time.
