# Key Phrase Mark (overlay): Label & callout element for AI agents

> Marks a phrase already on screen: a green underline, double underline, circle or box at a target box, with an optional exclamation mark.

Canonical page: https://agentframes.ai/elements/squeak/key-phrase/
Markdown: https://agentframes.ai/elements/squeak/key-phrase.md

## Overview

- Name: Key Phrase Mark (overlay) (`keyPhrase`), an element: one HyperFrames block per size
- Part of: the [Squeak](https://agentframes.ai/packs/squeak.md) pack (31 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: Marks a phrase already on screen: a green underline, double underline, circle or box at a target box, with an optional exclamation mark.
- Pack: [Squeak](https://agentframes.ai/packs/squeak.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: 4s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/squeak/key-phrase.mp4
- Poster: https://agentframes.ai/media/squeak/key-phrase.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Squeak pack. Add a `keyPhrase` beat to plan.json on a `k` canvas with slots `x`, `y`, `w`, `h`, `mark` and `bang` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `x` | number | x | {"type":"number","minimum":0,"maximum":100} | 50 |
| `y` | number | y | {"type":"number","minimum":0,"maximum":100} | 50 |
| `w` | number | w | {"type":"number","minimum":1,"maximum":90} | 30 |
| `h` | number | h | {"type":"number","minimum":1,"maximum":40} | 8 |
| `mark` | enum | mark | {"type":"string","enum":["underline","double","circle","box"]} | double |
| `bang` | string | bang | {"type":"boolean"} | true |

## What your agent can change

**Key Phrase Mark (overlay)**. Native 1920×1080, 4s at 30fps. Transparent overlay: mount it on a track above a host scene.

Marks a phrase already on screen: a green underline, double underline, circle or box at a target box, with an optional exclamation mark.

**Motion.** One quick green mark (with its squeak), then the "!" tapped on.
**Why it moves.** attention: a presenter's emphasis on words already written.

### Mount

Copy every manifest file into your project (plus `af-squeak-runtime`). Mount with a unique host id, `data-composition-id="af-squeak-key-phrase-16x9"`,
`data-composition-src="compositions/af-squeak-key-phrase-16x9.html"`, `data-duration="4"` 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).

- `x` (required): {"type":"number","minimum":0,"maximum":100}
- `y` (required): {"type":"number","minimum":0,"maximum":100}
- `w` (required): {"type":"number","minimum":1,"maximum":90}
- `h` (required): {"type":"number","minimum":1,"maximum":40}
- `mark`: {"type":"string","enum":["underline","double","circle","box"]}
- `bang`: {"type":"boolean"}

- `x`, `y`: the phrase centre in % of the frame; `w`, `h`: its size in %.

Style: `colourway`, `accent`, `sound` (on, off), `volume` (0-1).

### Sound

Every stroke makes its marker sound (writing scratches, line strokes, the circle squeak, the tick, taps), booked from the same
schedule that draws it, so edited content stays in sync. The clips come from `assets/af-squeak/sfx/` (synthesised, no
recordings). `sound: "off"` makes the block silent; `volume` scales every clip.

### Timing

4s. Everything has been drawn by 2.4s (60%), then the scene holds for reading (the board's gloss
drifts, the writing stays still). Longer content is written faster (up to 2.5x); content that still would not finish stops the
block with a message.

### Example

```json
{
  "x": 50,
  "y": 50,
  "w": 30,
  "h": 8,
  "mark": "double",
  "bang": true
}
```

## FAQ

### What can my AI agent change in Key Phrase Mark (overlay)?

Your agent fills the `x`, `y`, `w`, `h`, `mark` and `bang` 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 Squeak look.

### Which aspect ratios does Key Phrase Mark (overlay) support?

Key Phrase Mark (overlay) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4s.

### How do I get Key Phrase Mark (overlay)?

Key Phrase Mark (overlay) is included in the Squeak 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 Squeak

- [Pointer Callout: Circle and Arrow (overlay)](https://agentframes.ai/elements/squeak/pointer-callout.md): Points at one thing in the scene underneath: a green loop circles the target, a green arrow is drawn to it from a note, and the note is written beside it.
- [Legend (overlay)](https://agentframes.ai/elements/squeak/legend.md): A small key in a corner: a hand box with a hatched swatch per marker colour and its meaning.
- [Caution (overlay)](https://agentframes.ai/elements/squeak/caution.md): A warning: a red triangle with "!" drawn and the warning written in red, at the top or bottom of the frame.
- [Aside (overlay)](https://agentframes.ai/elements/squeak/aside.md): A small handwritten aside in a corner, in blue, with a curly arrow towards the middle of the frame.

## Community

Coming soon.
