# Leaderboard: Diagram element for AI agents

> Up to six leaderboard rows (position, name, two columns such as reps and kg), your row in the accent, each slapping in on its cue.

Canonical page: https://agentframes.ai/elements/taped/leaderboard/
Markdown: https://agentframes.ai/elements/taped/leaderboard.md

## Overview

- Name: Leaderboard (`leaderboard`), an element: one HyperFrames block per size
- Part of: the [Taped](https://agentframes.ai/packs/taped.md) pack (48 of 53). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Up to six leaderboard rows (position, name, two columns such as reps and kg), your row in the accent, each slapping in on its cue.
- Pack: [Taped](https://agentframes.ai/packs/taped.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/taped/leaderboard.mp4
- Poster: https://agentframes.ai/media/taped/leaderboard.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Taped pack. Add a `leaderboard` beat to plan.json on a `k` canvas with slots `kicker`, `title`, `colA`, `colB`, `rows` 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} | Squat *challenge* week 4 |
| `colA` | string | colA | {"type":"string","minLength":0,"maxLength":6} | Reps |
| `colB` | string | colB | {"type":"string","minLength":0,"maxLength":6} | Kg |
| `rows` | string | rows | JSON string. {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":16},"a":{"type":"string","minLength":0,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":6},"us":{"type":"boolean"}},"required":["name","b"]}} | [{"name":"Ava","a":"5","b":"110"},{"name":"Sofia","a":"5","b":"105","us":true},{"name":"Leah","a":"6","b":"95"},{"name":"Mo","a":"8","b":"90"}] |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14} | [] |

## What your agent can change

**Leaderboard**. Native 1920×1080, 5s at 30fps. A cutaway on the rubber floor.

Up to six leaderboard rows (position, name, two columns such as reps and kg), your row in the accent, each slapping in on its cue.

**Motion.** Tape and panels slap on: in from 1.12x with a 2-frame squash on impact (6 frames, no clip; words are never cut).
**Why it moves.** character: the gym whiteboard.

### Mount

Copy every manifest file into your project (plus `af-taped-runtime`). Mount with a unique host id, `data-composition-id="af-taped-leaderboard-16x9"`,
`data-composition-src="compositions/af-taped-leaderboard-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}
- `colA`: {"type":"string","minLength":0,"maxLength":6}
- `colB`: {"type":"string","minLength":0,"maxLength":6}
- `rows` (required): {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":16},"a":{"type":"string","minLength":0,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":6},"us":{"type":"boolean"}},"required":["name","b"]}}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}

- `cues`: one block-relative time per row (from your transcript); leave it empty to space them 0.18 s apart.

### Brand and layout

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

### Example

```json
{
  "kicker": "",
  "title": "Squat *challenge* week 4",
  "colA": "Reps",
  "colB": "Kg",
  "rows": "[{\"name\":\"Ava\",\"a\":\"5\",\"b\":\"110\"},{\"name\":\"Sofia\",\"a\":\"5\",\"b\":\"105\",\"us\":true},{\"name\":\"Leah\",\"a\":\"6\",\"b\":\"95\"},{\"name\":\"Mo\",\"a\":\"8\",\"b\":\"90\"}]",
  "cues": "[]"
}
```

## FAQ

### What can my AI agent change in Leaderboard?

Your agent fills the `kicker`, `title`, `colA`, `colB`, `rows` 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 Taped look.

### Which aspect ratios does Leaderboard support?

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

### How do I get Leaderboard?

Leaderboard is included in the Taped 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 Taped

- [Top Five (numbered rows)](https://agentframes.ai/elements/taped/top-five.md): Up to five rows under an accent title bar, each slapping on on its cue.
- [Exercise Compare](https://agentframes.ai/elements/taped/exercise-compare.md): Two exercises in columns with up to five comparisons in the middle, the better value in the accent; rows slap in on their cues.
- [Session Timeline](https://agentframes.ai/elements/taped/session-timeline.md): The session as a line from 0 to its length with blocks dropped on their minutes (warm-up, work, rest, finisher), each on its cue.
- [Form Steps](https://agentframes.ai/elements/taped/form-steps.md): Up to four numbered taped panels (the lift in order), side by side in 16:9 and stacked in the other sizes, each on its cue.

## Community

Coming soon.
