# Stat Pull: Stat & chart element for AI agents

> The pen underlines a figure in the source, then the figure lifts off the page toward the viewer while the page dims behind it, and a label says what it counts. The page copy stays put: the receipt is still there.

Canonical page: https://agentframes.ai/elements/receipts/stat-pull/
Markdown: https://agentframes.ai/elements/receipts/stat-pull.md

## Overview

- Name: Stat Pull (`statPull`), an element: one HyperFrames block per size
- Part of: the [Receipts](https://agentframes.ai/packs/receipts.md) pack (10 of 50). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: The pen underlines a figure in the source, then the figure lifts off the page toward the viewer while the page dims behind it, and a label says what it counts. The page copy stays put: the receipt is still there.
- Pack: [Receipts](https://agentframes.ai/packs/receipts.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 Ember (graphite desk, red-orange pen) (`ember`), Ink (midnight desk, blue pen) (`ink`), Marker (warm stone desk, yellow highlighter) (`marker`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/receipts/stat-pull.mp4
- Poster: https://agentframes.ai/media/receipts/stat-pull.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Receipts pack. Add a `statPull` beat to plan.json on a `ember` canvas with slots `outlet`, `text`, `label`, `url`, `date`, `cues` and `pace` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `outlet` | string | outlet | {"type":"string","minLength":0,"maxLength":40} | The Northline · Work |
| `text` | string | text | {"type":"string","minLength":20,"maxLength":500} | By the end of the trial, the firms had a clear answer. Asked whether they would keep the four-day week, [[92%]] said yes, and most of the rest planned to extend the trial rather than end it. |
| `label` | string | label | {"type":"string","minLength":0,"maxLength":80} | of firms in the trial are keeping the four-day week |
| `url` | string | url | {"type":"string","minLength":0,"maxLength":70} | northline.example/work/four-day-week |
| `date` | string | date | {"type":"string","minLength":0,"maxLength":24} | Mar 14, 2026 |
| `cues` | string | cues | start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8} | [] |
| `pace` | number | pace | spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6} | 2.4 |

## What your agent can change

**Stat Pull**. Native 1920×1080, 8s at 30fps.

The pen underlines a figure in the source, then the figure lifts off the page toward the viewer while the page dims behind it, and a label says what it counts. The page copy stays put: the receipt is still there.

**Motion.** Window rises; the pen draws under the figure; the figure lifts from its exact spot on the page and scales up to the centre (ease in-out) as the page dims; the label rises under it.
**Why it moves.** change + attention: the number is pulled out of the evidence, so the big stat never floats free of its source.

### Mount

Copy every manifest file into your project (plus `af-receipts-runtime`). Mount with a unique host id, `data-composition-id="af-receipts-stat-pull-16x9"`,
`data-composition-src="compositions/af-receipts-stat-pull-16x9.html"`, `data-duration` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): 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).

- `outlet`: {"type":"string","minLength":0,"maxLength":40}
- `text` (required): {"type":"string","minLength":20,"maxLength":500}
- `label`: {"type":"string","minLength":0,"maxLength":80}
- `url`: {"type":"string","minLength":0,"maxLength":70}
- `date`: {"type":"string","minLength":0,"maxLength":24}
- `cues`: start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}
- `pace`: spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6}

- Mark exactly one figure in `[[ ]]` (just the number and its unit).

Style: `colourway` (ember, ink, marker), `accent` (optional pen hex), `mark` (underline or highlight), `page` (paper, cream, night), `exit` (drop or cut), `duration` (seconds).

### Syncing to the narration

Give `cues` the second (from the scene start) at which the speaker starts each quote, and `pace` their speaking rate in
words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise
`duration` (and the mount's `data-duration`) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest
as a still, readable hold.

### Timing

8s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with `exit: drop` the window sinks off the desk over the last 0.45 s.

### Example

```json
{
  "outlet": "The Northline · Work",
  "text": "By the end of the trial, the firms had a clear answer. Asked whether they would keep the four-day week, [[92%]] said yes, and most of the rest planned to extend the trial rather than end it.",
  "label": "of firms in the trial are keeping the four-day week",
  "url": "northline.example/work/four-day-week",
  "date": "Mar 14, 2026",
  "cues": "[]",
  "pace": 2.4
}
```

## FAQ

### What can my AI agent change in Stat Pull?

Your agent fills the `outlet`, `text`, `label`, `url`, `date`, `cues` and `pace` 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 Receipts look.

### Which aspect ratios does Stat Pull support?

Stat Pull is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Stat Pull?

Stat Pull is included in the Receipts pack, which is part of the AgentFrames All-access subscription along with 49 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 Receipts

- [Chart Callout](https://agentframes.ai/elements/receipts/chart-callout.md): A figure from the source: bars grow from a zero baseline (or the line draws point to point), values label each mark, then a ring lands on the value that matters and an arrow leads to a short callout. Drawn to scale; never overshoots.
- [Big Number on the Page](https://agentframes.ai/elements/receipts/big-number-page.md): A number on the page counts up in place in big serif, then gets underlined; the label and source sit under it.
- [Table Row](https://agentframes.ai/elements/receipts/table-row.md): A table from the source (header row and up to 6 rows); a band in the pen colour sweeps across the row that matters.
- [Timeline of Posts](https://agentframes.ai/elements/receipts/timeline-of-posts.md): Dated posts and articles drop onto a time axis one by one (left to right on 16:9, top to bottom on the tall sizes).

## Community

Coming soon.
