19 of 50 in the Clay & Ink: Explainer pack

Cause → Effect: Prompt to Finished File: AI & chat element for AI agents

Connect an input to its result: a request, a working line, and the finished artifact card..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Clay & Ink: Explainer pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Clay & Ink: Explainer pack. Add a `causeEffect` beat to plan.json on a `paper` canvas with slots `eyebrow`, `title`, `prompt`, `working`, `artifact` and `cta` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
eyebrowstringeyebrow: {"type":"string","minLength":0,"maxLength":24}.
titlestringtitle: {"type":"string","minLength":0,"maxLength":60}.
promptstringprompt: {"type":"string","minLength":1,"maxLength":100}.Turn this launch kit into a reveal deck for Friday’s review.
workingstringworking: {"type":"string","minLength":1,"maxLength":32}.Building the launch deck
artifactstringartifact: JSON string. {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","minLength":1,"maxLength":26},"icon":{"type":"string","enum":["doc","slides","design","calendar","mail","chart","chat","code","folder","globe","search","check","clock","user","list","bolt","file","logo:android","logo:app-store","logo:apple","logo:asana","logo:calendar","logo:chrome","logo:drive","logo:dropbox","logo:excel","logo:figma","logo:github","logo:gmail","logo:google-docs","logo:google-meet","logo:google-play","logo:google-sheets","logo:hubspot","logo:linkedin","logo:notion","logo:outlook","logo:pdf","logo:powerpoint","logo:salesforce","logo:shopify","logo:slack","logo:stripe","logo:teams","logo:word","logo:youtube","logo:zoom"]}},"required":["title","kind"]}.{"title":"Launch readiness","kind":"Slides · 8 slides","icon":"slides"}
ctastringcta: {"type":"string","minLength":1,"maxLength":10}.Open

What your agent can change

Connect an input to its result: a request, a working line, and the finished artifact card.

Native 1920x1080, 8 s at 30 fps. Full-frame graphics block; use the variant that matches your project size. Motion: change: the arrow and the working line make the result the consequence of the request.

Edit

Set per-instance values in the host mount's data-variable-values (nested values are JSON strings). The block validates every value before it draws and throws a readable error naming the slot (see the console / data-cie-error on the root) instead of silently trimming or shrinking content.

  • eyebrow: {"type":"string","minLength":0,"maxLength":24}
  • title: {"type":"string","minLength":0,"maxLength":60}
  • prompt (required): {"type":"string","minLength":1,"maxLength":100}
  • working (required): {"type":"string","minLength":1,"maxLength":32}
  • artifact (required): JSON string; {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","minLength":1,"maxLength":26},"icon":{"type":"string","enum":["doc","slides","design","calendar","mail","chart","chat","code","folder","globe","search","check","clock","user","list","bolt","file","logo:android","logo:app-store","logo:apple","logo:asana","logo:calendar","logo:chrome","logo:drive","logo:dropbox","logo:excel","logo:figma","logo:github","logo:gmail","logo:google-docs","logo:google-meet","logo:google-play","logo:google-sheets","logo:hubspot","logo:linkedin","logo:notion","logo:outlook","logo:pdf","logo:powerpoint","logo:salesforce","logo:shopify","logo:slack","logo:stripe","logo:teams","logo:word","logo:youtube","logo:zoom"]}},"required":["title","kind"]}
  • cta (required): {"type":"string","minLength":1,"maxLength":10}

16:9 runs left to right; the other sizes top to bottom. The working line shimmers while the result is made, then the artifact card lands.

Style (from brand.json): colourway (paper, dusk, night), accent (hex), brandName (wordmark text), mark (spark, dot, none, or an inline base64 image).

Timing

Content settles by 60% of the block (4.8 s) and holds for reading; the last 0.45 s draws out. To give longer copy more time, raise the block's data-duration and the mount's data-duration together; the engine's checks use the duration you set.

Example mount

``html <div id="scene-1" data-composition-id="af-clay-ink-explainer-cause-effect-16x9" data-composition-src="compositions/af-clay-ink-explainer-cause-effect-16x9.html" data-start="0" data-duration="8" data-width="1920" data-height="1080" data-track-index="0" data-variable-values='{"eyebrow":"","title":"","prompt":"Turn this launch kit into a reveal deck for Friday’s review.","working":"Building the launch deck","artifact":"{\"title\":\"Launch readiness\",\"kind\":\"Slides · 8 slides\",\"icon\":\"slides\"}","cta":"Open"}'></div> ``

Source: editable HTML; shared runtime assets/af-clay-ink-explainer/cie.js (component af-clay-ink-explainer-runtime). Fonts are OFL; logos and the spark are third-party marks (see TRADEMARKS.md).

FAQ

What can my AI agent change in Cause → Effect: Prompt to Finished File?

Your agent fills the eyebrow, title, prompt, working, artifact and cta 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 Clay & Ink: Explainer look.

Which aspect ratios does Cause → Effect: Prompt to Finished File support?

Cause → Effect: Prompt to Finished File is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

How do I get Cause → Effect: Prompt to Finished File?

Cause → Effect: Prompt to Finished File is included in the Clay & Ink: Explainer 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.

This is 1 of 50

Get the full Clay & Ink: Explainer pack

Cause → Effect: Prompt to Finished File comes as part of Clay & Ink: Explainer: 50 elements, 12 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 33s · made entirely with this pack

More in Clay & Ink: Explainer

See all 50 elements in Clay & Ink: Explainer →