# Rope: Tug of War: Diagram element for AI agents

> Two forces pulling. Two figures on two plinths lean back on a rope with a red flag in the middle; the flag inches towards the winner, who celebrates.

Canonical page: https://agentframes.ai/elements/archetype/rope-tug/
Markdown: https://agentframes.ai/elements/archetype/rope-tug.md

## Overview

- Name: Rope: Tug of War (`ropeTug`), an element: one HyperFrames block per size
- Part of: the [Archetype](https://agentframes.ai/packs/archetype.md) pack (39 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two forces pulling. Two figures on two plinths lean back on a rope with a red flag in the middle; the flag inches towards the winner, who celebrates.
- Pack: [Archetype](https://agentframes.ai/packs/archetype.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: 7.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/archetype/rope-tug.mp4
- Poster: https://agentframes.ai/media/archetype/rope-tug.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Archetype pack. Add a `ropeTug` beat to plan.json on a `k` canvas with slots `title`, `a`, `b`, `winner` and `caption` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":44} |  |
| `a` | string | a | {"type":"string","minLength":1,"maxLength":16} | Doubt |
| `b` | string | b | {"type":"string","minLength":1,"maxLength":16} | Momentum |
| `winner` | enum | winner | {"type":"string","enum":["a","b"]} | b |
| `caption` | string | caption | {"type":"string","minLength":1,"maxLength":48} | Keep pulling. *Momentum* wins. |

## What your agent can change

**Rope: Tug of War**. Native 1920×1080, 7.5s at 30fps.

Two forces pulling. Two figures on two plinths lean back on a rope with a red flag in the middle; the flag inches towards the winner, who celebrates.

**Motion.** Plinths emerge; figures land and lean into the pull; the rope tugs on a fast sine while the flag drifts towards the winner (ease in-out); the winner raises its arms at 4 s; caption follows.
**Why it moves.** change: the struggle and its outcome in one motion.

### Mount

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

- `title`: {"type":"string","minLength":1,"maxLength":44}
- `a` (required): {"type":"string","minLength":1,"maxLength":16}
- `b` (required): {"type":"string","minLength":1,"maxLength":16}
- `winner`: {"type":"string","enum":["a","b"]}
- `caption`: {"type":"string","minLength":1,"maxLength":48}


Style: `colourway` (void, abyss, dusk), `accent` (optional hex for the tip colour), `footer`, `enter` / `exit` (dark or cut).

### Timing

7.5s. Everything has landed by 4.5s (60%), then the scene holds for reading (figures keep a small idle, ripples
spread, text stays still). It fades up out of black and closes to black over the last 0.5 s.

### Example

```json
{
  "title": "",
  "a": "Doubt",
  "b": "Momentum",
  "winner": "b",
  "caption": "Keep pulling. *Momentum* wins."
}
```

## FAQ

### What can my AI agent change in Rope: Tug of War?

Your agent fills the `title`, `a`, `b`, `winner` and `caption` 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 Archetype look.

### Which aspect ratios does Rope: Tug of War support?

Rope: Tug of War is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7.5s.

### How do I get Rope: Tug of War?

Rope: Tug of War is included in the Archetype 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 Archetype

- [Step Flow: The Climb](https://agentframes.ai/elements/archetype/step-climb.md): Two to five steps in order, climbed. In 16:9 a figure hops up a staircase, one tread per step, and each step label (STEP n, title, detail) sits above its column on a dashed leader; in 9:16, 4:5 and 1:1 the figure climbs a ladder with a board per step and the labels to the right of each red tip.
- [Cycle: The Loop-the-Loop](https://agentframes.ai/elements/archetype/cycle-loop.md): A loop of three to six stages. A wireframe loop-the-loop stands in the water with chevrons showing the direction; a figure runs one full lap round the inside of the ring, and each stage marker lights and its label appears as the runner passes; the centre word sits in the middle.
- [Hub and Spoke: The Balloons](https://agentframes.ai/elements/archetype/hub-balloons.md): One idea and what connects to it. A figure stands on a plinth with the idea written on its face; three to six balloons rise out of its raised hand one by one on strings and float into an arch, each with its label.
- [Decision: Two Boards](https://agentframes.ai/elements/archetype/decision-boards.md): A two-way choice and its outcomes. A tower stands in the water with a diving board each way; each board has its label above the tip and its outcome below. The figure looks one way, then the other, then walks out along the chosen board and dives; the other side dims.

## Community

Coming soon.
