Example Prompts

These prompts are written for ascii-motion-mcp 3 with live sync connected to ASCII Motion 2.2.6 or later. Name the server ("using ascii-motion") so your assistant picks the right tools. The tool names after each prompt show what a well-behaved agent should call.

Check the connection first

text
Using ascii-motion: call get_capabilities and get_document_summary. Then write
"@" at x 0, y 0 with set_cells, read it back with read_cells, and call app_undo.

You should see @ appear in the top-left corner and then disappear. If it doesn't, see Verify the connection.

Draw on a new layer

text
Using ascii-motion: read the document summary. Add a layer named "Title", then
on it draw a 24-cell horizontal line of "=" at row 2 and type "HELLO" at x 2,
y 1, in one atomic batch. Show me the composite cells for rows 0–3.
  1. get_document_summary, keeping its revision.
  2. app_add_layer with name: "Title", which returns the layerId and contentFrameIds.
  3. apply_operations with draw_line and place_text, both targeting that layer and content frame, and expectedRevision.
  4. read_cells with region: { x: 0, y: 0, width: 24, height: 4 }.

Shapes, boxes and big text

text
Using ascii-motion: draw a 30×10 double-line ASCII box at x 5, y 3, fill the
inside with "░" in #335577, and write "PRESS START" in a FIGlet font centered
above it. Use one batch so I can undo it in one step.

draw_ascii_box, fill_area and place_figlet_text in one apply_operations call. get_catalog lists the available box styles and FIGlet fonts; box style IDs are under family: "tools".

Frame-by-frame animation

text
Using ascii-motion: on the active layer, create four content frames of 3
timeline frames each starting at frame 0. Draw a stick figure at x 10, y 4 in
a different walking pose on each, then set the frame rate to 8 fps.

app_add_content_frame four times with startFrame 0, 3, 6 and 9 and durationFrames: 3, then drawing tools that target each returned contentFrameId, then set_timeline with frameRate: 8. See Layers and timeline.

Animate a layer

text
Using ascii-motion: make the Title layer slide in from x -20 to x 0 over
timeline frames 0–11 with ease-out, then hold.

set_keyframes with the layer's layerId, propertyPath: "transform.position.x" and two keyframes, the first with easing: "ease-out".

Generators, effects and shaders

text
Using ascii-motion: list the effect, shader and generator catalogs. Add a
wave-warp effect to the Title layer, a glow shader that fades in over the first
24 frames, and a digital-rain generator layer whose speed doubles by frame 48.

get_catalog for each family, then add_effect, add_shader plus set_shader_keyframes, and app_add_generator_layer with keyframes. More in Generators, effects and shaders.

text
Using ascii-motion: add animated text "PRESS START" with a typewriter effect
revealing over 18 frames from frame 6, in #00ff88. When I approve the look,
bake it so I can edit the cells by hand.

app_add_generator_layer with generatorType: "animated-text", then app_bake_generator_layer after you confirm.

Import

text
Using ascii-motion: import logo.png as a new layer 60 cells wide.
text
Using ascii-motion: import seconds 2–5 of clip.mp4 at 12 fps as a new layer,
and match the project frame rate.

import_media with mode: "new_layer", and for the video, video: { startTime: 2, duration: 3, frameRate: 12 } and matchFrameRate: true. More in Import and export.

Inspect your work

text
Using ascii-motion: show me the composite cells for the top 10 rows at timeline
frame 24, and the undo history.

read_cells with scope: "composite", frame: 24 and a region, then get_history.

Export

text
Using ascii-motion: export timeline frames 12–35 as WebM, the current frame as
a 2x PNG, and an Ink component for my terminal app. Tell me the file paths.

export three times, with format webm and settings: { frameRange: { start: 12, end: 35 } }, then png and ink. Use get_catalog with family: "export_formats" for each format's settings.

Built-in prompt templates

Many clients show the server's prompt templates as slash commands or in a prompt picker:

PromptUse it to
create-animationPlan and draw a short multi-frame animation.
create-bannerMake an animated text banner or logo.
generate-rainBuild a digital-rain animation.
import-and-animateImport an image and animate it.
apply-effects / add-effectsAdd effects to the project.
export-for-cliExport for terminal frameworks.

The templates were written for the 2.x tool names. They still work, because the compatibility tools remain, but you can ask the assistant to use the canonical tools instead.

Tips for better results

  • Start with the summary. get_document_summary gives IDs and the revision without large cell dumps.
  • Be specific about coordinates and time. x is the column and y is the row, both from 0. Say "timeline frame" for a position on the ruler.
  • Batch related edits. apply_operations applies up to 100 changes as one undoable step, or none at all if any fails.
  • Read small regions. Ask for read_cells with a region instead of the whole canvas.
  • Use exact colors. Give hex values, such as #ff8800.
  • Keep a copy. Export a session copy, or save from the app, before a long session.

Next steps