# Cook Timeline: Diagram element for AI agents

> The recipe as a line from 0 to its length with steps dropped on their minutes (prep, cook, rest, serve), each on its cue.

Canonical page: https://agentframes.ai/elements/mise/cook-timeline/
Markdown: https://agentframes.ai/elements/mise/cook-timeline.md

## Overview

- Name: Cook Timeline (`cookTimeline`), an element: one HyperFrames block per size
- Part of: the [Mise](https://agentframes.ai/packs/mise.md) pack (46 of 53). Available only through the All-access subscription.
- Category: Diagram
- Purpose: The recipe as a line from 0 to its length with steps dropped on their minutes (prep, cook, rest, serve), each on its cue.
- Pack: [Mise](https://agentframes.ai/packs/mise.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on none; avoid none
- Typical duration: 5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/mise/cook-timeline.mp4
- Poster: https://agentframes.ai/media/mise/cook-timeline.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Mise pack. Add a `cookTimeline` beat to plan.json on a `k` canvas with slots `kicker`, `title`, `length`, `events` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | kicker | {"type":"string","minLength":0,"maxLength":14} |  |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":32} | Dinner in *30* |
| `length` | number | length | {"type":"number","minimum":10,"maximum":180} | 30 |
| `events` | string | events | JSON string. {"type":"array","minItems":1,"maxItems":6,"items":{"type":"object","properties":{"min":{"type":"number","minimum":0,"maximum":180},"type":{"type":"string","enum":["warm","work","rest","finisher"]},"label":{"type":"string","minLength":1,"maxLength":16}},"required":["min","type","label"]}} | [{"min":0,"type":"warm","label":"Prep veg"},{"min":6,"type":"work","label":"Onions in"},{"min":14,"type":"work","label":"Sauce on"},{"min":22,"type":"rest","label":"Simmer"},{"min":28,"type":"finisher","label":"Serve"}] |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14} | [] |

## What your agent can change

**Cook Timeline**. Native 1920×1080, 5s at 30fps. A full-frame card on the kitchen tiles.

The recipe as a line from 0 to its length with steps dropped on their minutes (prep, cook, rest, serve), each on its cue.

**Motion.** The line draws (0.8 s); markers pop and labels fade up on their cues.
**Why it moves.** clarity: the whole cook in one strip.

### Mount

Copy every manifest file into your project (plus `af-mise-runtime`). Mount with a unique host id, `data-composition-id="af-mise-cook-timeline-16x9"`,
`data-composition-src="compositions/af-mise-cook-timeline-16x9.html"`, `data-duration` and `data-variable-values`. A longer `data-duration` than 5s
extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `kicker`: {"type":"string","minLength":0,"maxLength":14}
- `title` (required): {"type":"string","minLength":1,"maxLength":32}
- `length`: {"type":"number","minimum":10,"maximum":180}
- `events` (required): {"type":"array","minItems":1,"maxItems":6,"items":{"type":"object","properties":{"min":{"type":"number","minimum":0,"maximum":180},"type":{"type":"string","enum":["warm","work","rest","finisher"]},"label":{"type":"string","minLength":1,"maxLength":16}},"required":["min","type","label"]}}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}

- `type`: warm = prep, work = cook, rest = rest, finisher = serve. `cues`: one block-relative time per event (from your transcript); leave it empty to space them 0.24 s apart.

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `avatar`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `exit` (clear or hold).

### Example

```json
{
  "kicker": "",
  "title": "Dinner in *30*",
  "length": 30,
  "events": "[{\"min\":0,\"type\":\"warm\",\"label\":\"Prep veg\"},{\"min\":6,\"type\":\"work\",\"label\":\"Onions in\"},{\"min\":14,\"type\":\"work\",\"label\":\"Sauce on\"},{\"min\":22,\"type\":\"rest\",\"label\":\"Simmer\"},{\"min\":28,\"type\":\"finisher\",\"label\":\"Serve\"}]",
  "cues": "[]"
}
```

## FAQ

### What can my AI agent change in Cook Timeline?

Your agent fills the `kicker`, `title`, `length`, `events` and `cues` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Mise look.

### Which aspect ratios does Cook Timeline support?

Cook Timeline is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Cook Timeline?

Cook Timeline is included in the Mise pack, which is part of the AgentFrames All-access subscription along with 52 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Mise

- [Top Five (numbered rows)](https://agentframes.ai/elements/mise/top-five.md): Up to five rows under a butter title bar on a board, each set down on its cue.
- [Compare](https://agentframes.ai/elements/mise/compare.md): Two options in columns with up to five comparisons in the middle, the better value in butter; rows are set down on their cues.
- [Method Steps](https://agentframes.ai/elements/mise/method-steps.md): Up to four numbered method boards, side by side in 16:9 and stacked in the other sizes, each on its cue.
- [Ranking Board](https://agentframes.ai/elements/mise/ranking.md): Up to six ranked rows (position, name, two columns such as time and cost), the pick in butter, each set down on its cue.

## Community

Coming soon.
