# Droplet.ai recipes

Copy-paste widgets. Every JSON example here passes Droplet.ai's layout checker with no warnings. Each recipe says what each size shows, how it stays fresh and the gotcha.

Droplet.ai widgets are agentic: each one should bring the user a decision, a prepared action or a result, with the one tap that moves it forward. Start from the patterns in [SKILL.md, "Think agentic, not dashboard"](../SKILL.md#think-agentic-not-dashboard) (propose and approve, prepared and ready, done for you with undo, choice, act-as-you-go checklist, snooze, the note). The recipes below are the building blocks; the "agentic move" column says what to offer with each one.

| Recipe | Agentic move | Sizes | Freshness |
|---|---|---|---|
| [deploy-status-buttons.md](deploy-status-buttons.md) | "v2.4.1 is ready" [Ship] [Hold], then the result | S / M / L | agent (CI) |
| [daily-buddy-conversation.md](daily-buddy-conversation.md) | A reply to every tap, written by a model | S / M / L | each tap |
| [inbox-triage.md](inbox-triage.md) | "Archive 12 newsletters?" [Archive] [Refresh]; drafted replies go through an approval | S / M / L | agent |
| [pr-review-queue.md](pr-review-queue.md) | "3 PRs need you" [Refresh] [GitHub]; offer to approve the small ones | S / M / L | agent every 15 to 30 min |
| [focus-timer.md](focus-timer.md) | [25 min] starts a session and a real timer; [Stop] cancels it | S / M / L | live countdown, phone timer |
| [smart-home.md](smart-home.md) | Scene buttons that run Shortcuts; offer "Run Bedtime?" at night | S / M / L | agent |
| [standup-notes.md](standup-notes.md) | Standup written for you [Done] [Blocker] | S / M / L | agent each working morning |
| [groceries-checklist.md](groceries-checklist.md) | Ticks in the store; offer to order what's left | S / M / L | agent keeps the bar in step |
| [gym-session.md](gym-session.md) | Lifts to tick; the day moved around your meetings | S / M / L | agent from Health |
| [location-aware-variants.md](location-aware-variants.md) | The right next step at work, the gym and home | S / M / L | versions switch on the phone |
| [morning-brief.md](morning-brief.md) | Your day, with the one thing to act on first | S / M / L | agent each morning, weather job |
| [calendar-today.md](calendar-today.md) | Next meeting; offer the join link or "I'm late" | S / M / L | agent from the phone's calendar |
| [flight-day.md](flight-day.md) | "Checked you in, 14A"; gate changes as they happen | S / M / L | live countdown, agent per stage |
| [countdown-to-event.md](countdown-to-event.md) | A live countdown; pair it with the next task to do | S, Lock Screen | live on the phone |
| [crypto-dashboard.md](crypto-dashboard.md) | Prices from a job; you add "crossed your alert, sell?" | S / M / L | job every 15 min |
| [stock-watchlist.md](stock-watchlist.md) | "AAPL fell 4%. Sell the 10 you flagged?" [Sell] [Hold] | S / M / L | agent, versions for closed hours |
| [weather-forecast.md](weather-forecast.md) | "Rain at 3. Move your 3pm run to 6?" [Move] [Keep] | S / M / L | job every 30 min |
| [news-digest.md](news-digest.md) | Headlines; offer a summary of the one that matters | S / M / L | job every 60 min (RSS) |
| [reading-streak.md](reading-streak.md) | [Done reading] keeps the streak | S / M | agent when the user logs |
| [large-dashboard.md](large-dashboard.md) | Numbers on large; lead medium with the one to act on | S / M / L | agent or job |
| [lock-screen-only.md](lock-screen-only.md) | One number or a few words, and what you did | Lock Screen | varies |

Every widget answers "what will my agent do next, and what's my one tap?" A widget that only shows data is the weakest use; when a recipe is mostly display, add the offer. For 100 situations with their agentic move, see [references/use-cases.md](../references/use-cases.md).

## Using a recipe

Preview first, then save:

```bash
export DROPLET_TOKEN=dp_YOUR_TOKEN
API=https://ujtuxanqlzmhnrzijfoo.supabase.co/functions/v1/agent-api

# recipe.json holds the widget JSON from a recipe
jq '. + {action: "preview_widget"}' recipe.json | curl -s $API -H "Authorization: Bearer $DROPLET_TOKEN" \
  -H "Content-Type: application/json" -H "x-region: us-east-1" -d @- | jq '{warnings, sizes}'
jq '. + {action: "set_widget"}' recipe.json | curl -s $API -H "Authorization: Bearer $DROPLET_TOKEN" \
  -H "Content-Type: application/json" -H "x-region: us-east-1" -d @- | jq .check
```

With MCP, pass the same JSON to `droplet_preview_widget`, then `droplet_set_widget`. Job examples (with `"action": "schedule"`) go to `droplet_schedule` without the `action` field.

Replace the sample content and any date with real ones: a countdown to a date that has passed just says "Now".
