Skill instructions
consistent-character2.69 KB
View saved version →
---
name: consistent-character
description: Create a character (a person, pet, mascot or AI influencer) once and keep the same face, outfit and voice across every image and video in a series. Use when someone wants the same character in several videos, an AI influencer or virtual creator, a recurring mascot, a series with one cast, or to put their own pet or themself into many scenes.
license: MIT
---
# One character, every episode
A series grows on a character people recognise in the first frame. Masonry
keeps the look: save the character once, then name it on every call. When the
person gives explicit instructions that differ from these steps, follow the
person.
## 1. Design the character
If the person brings a photo (themself, someone who agreed, their pet), the
character comes from it. If not, design one together. A character people
remember has:
- one loud visual anchor in every frame (tiny round sunglasses, a lilac
tracksuit, a yellow raincoat);
- an ordinary setting where they don't belong (a retired bodybuilder at a
self-checkout, a cat in a board meeting);
- one catchphrase that ends every episode;
- a voice: pick one from `list_models` (kind audio) and save it on the
character (step 2).
Invent the character; never copy a real creator, celebrity or brand.
## 2. Save it
Call `generate_image` for one clear picture of the character alone: head and
shoulders or full body, plain background, the anchor visible. From a photo,
pass it as `reference_image_url`. Then call `save_character` with that
`job_id`, a short `name`, the `kind` (person, creature or mascot), a one-line
`look` and, from a real photo, `from_photos` true. `list_characters` shows
what is saved. Then call `update_character` with the `character` name and
the chosen `voice` key, so every later line uses it; `update_character` also
changes the look or adds an outfit later.
## 3. Use it everywhere
Pass `characters: [name]` on every `generate_image`, `generate_video` and
`animate_image` call that shows them. Make the still first, then animate it:
the still carries the face. Keep them facing the camera; a profile turn is
where a face drifts. For lines, `generate_audio` (kind speech) with the
character, which uses its saved voice, then `animate_image` with
`speech_job_id` for lip-sync.
Call `inspect_video` on each clip before showing it (when it is listed), and
redo any clip where the face, the anchor or the outfit changed.
## 4. Make it a series
Each episode is one new situation, the same structure, the catchphrase at the
end. Finish each with `combine_clips` (hook text in the first second,
captions, vertical 9:16). For a ready-made series format, call `list_skills`
with `category` Social and read `ai-character-account`.
get-started8.17 KB
View saved version →
---
name: get-started
description: Set up Masonry, then make a first video (a reel, a travel video starring the person, a UGC ad, shorts from their own footage, a Masonry template by name), and images or a Studio product shoot when they want them. Use right after Masonry is installed, or when someone asks how to start with Masonry, how to connect it, or what it can do.
license: MIT
---
# Get started with Masonry
Masonry makes AI videos, images, voiceovers and music in the person's
own Masonry workspace. This guide is a default path for a new user. When the person asks
for something specific, do that instead, and skip any step they don't want.
## 1. Check the connection
Call `get_credits`.
- It answers: Masonry is connected. Say which workspace is connected and its
credit balance, in one line. Don't mention prices or plans.
- The host asks the person to sign in: wait for them. Sign-in happens on
masonry.so, where they choose a workspace and select Allow. Nothing needs to
be copied or pasted.
- It fails for another reason: say what failed and stop.
- There is no `get_credits` tool: Masonry isn't connected in this app yet.
Say so, and give the one setup step for the app they are in. The server is
`https://masonry.so/mcp` everywhere, and sign-in happens on masonry.so the
first time a tool runs:
- Claude Code: `claude mcp add --transport http masonry https://masonry.so/mcp`
- Codex: `codex mcp add masonry --url https://masonry.so/mcp`, then
`codex mcp login masonry`
- Cursor: add `{"mcpServers":{"masonry":{"url":"https://masonry.so/mcp"}}}`
to `~/.cursor/mcp.json`
- OpenClaw: `openclaw mcp add masonry --url https://masonry.so/mcp --transport streamable-http --auth oauth`,
then `openclaw mcp login masonry`
- Hermes: `hermes mcp add masonry --url https://masonry.so/mcp --auth oauth`,
then `hermes mcp login masonry`
- Any other app: see https://masonry.so/connect
Don't run these commands yourself unless the person asks you to.
## 2. First video
If they want a video (most people do), ask what it is for in one short
question, unless they already said. When the answer matches one of these
skills, follow it instead of the steps below:
- a travel or holiday reel of themself, or Instagram photos of them
somewhere: `travel-reel`;
- a creator-style ad for their product: `ugc-ad`;
- shorts or clips from a long video they have: `shorts-from-video`;
- the same person, pet or mascot across several videos: `consistent-character`;
- a reel or TikTok in a format that already works, or "something viral":
`viral-video`;
- a template by name (`animal-podcast`; ChatGPT also takes `/animal-podcast`),
or the question "what templates are there?": `slash-commands`.
1. Offer one short clip built from the answer, for example: "a 6-second
vertical clip of steam rising from your coffee on a sunlit counter".
2. After they agree, call `generate_video`. Leave `model` out unless they name
one. To animate a photo they already have, use `animate_image` instead. If
the workspace can't make generated video and the tool says so, show its
message as written, then offer what still works: a narrated video made
from images (the `narrated-story-video` template), or shorts cut from a video they
already have.
3. For a longer video (an ad, a story, a music video), agree on a few scenes
first, generate each one, then edit them together with `combine_clips`. It
does the whole edit in one call: a narrator (`voiceover`, made with
`generate_audio` kind speech), music, sound effects, captions timed to the
spoken words, and on-screen text such as a hook or a call to action.
4. Every result comes back with a `job_id`. Keep each scene's id and pass
those ids to `combine_clips` in order. If a result says it is still
rendering, call `check_generation` with its id until it is finished, then
continue. Send each call once: a slow call is still working, and sending
it again does not make it fasPreview of the first 4,000 characters. Read full instructions →
product-shoot2.31 KB
View saved version →
---
name: product-shoot
description: Run a Masonry Studio product shoot. One photo of the person's real product goes in, four looks come back to choose from, then a matching set of finished photos. Use when someone wants photos of their own product for a store, ads or social posts and has, or can share, a photo of it.
license: MIT
---
# Studio product shoot
Use this when the photos must show the person's real product, not an invented
look-alike. For a one-off image with no real product, use `generate_image`
instead. When the person gives explicit instructions that differ from these
steps, follow the person.
## Inputs
- A photo of the product: an attachment, a direct image link, or a product
page link. Required. If there is none, ask for one and stop.
- Optional: where the photos will be used (store listing, ads, social), a
mood, a background. Don't ask for these when the person didn't mention
them; Studio plans without them.
## Steps
1. Call `add_reference_image` with the attachment or link, and keep the id it
returns. If it fails (not an image, a private link), say so and ask for
another photo.
2. Call `start_product_shoot` with that id, plus any use, mood or background
the person gave. It plans four looks and shows them as previews.
3. Ask which look to use, naming the four looks exactly as the tool returned
them. Don't choose for the person. If they already named a look (for
example "clean daylight"), confirm it in one line before continuing,
because the set uses credits.
4. Call `choose_look` with the chosen look. It makes the set and returns the
photos with an "Open in Masonry" link.
5. Show the set, then offer next steps: change one photo (`remix_image`), turn
the hero photo into a short video (`animate_image`), or try another look.
## Rules
- Keep the product as photographed. Don't describe it with a different
color, size, label, or brand.
- Use only the product photos the person gave. Don't look for other images
of it.
- One shoot per request. Don't start a second shoot or another set unless
asked.
- When a tool refuses because the workspace is out of credits, show its
message as written and stop. Don't suggest purchases.
- When the person asks for something this flow doesn't cover, such as
deleting photos or using another workspace, say Masonry can't do that here.
shorts-from-video2.62 KB
View saved version →
---
name: shorts-from-video
description: Turn the person's own long video (a podcast, a talk, a vlog, a stream, a YouTube link they have the right to use) into captioned vertical shorts for TikTok, Reels and YouTube Shorts that keep the speaker in frame. Use when someone wants clips, shorts, highlights or reels cut from a longer video or recording.
license: MIT
---
# Shorts from a long video
The person's own footage goes in; vertical shorts with captions come out, each
one a moment that stands on its own. Cutting is free; the finished edit uses a
few credits per short. When the person gives explicit instructions that
differ from these steps, follow the person.
## Inputs
- The video: a public YouTube link, or their own file. Only footage the person
owns or has the right to reuse; if that is unclear, ask.
- Optional: how many shorts (default three), how long (default 30-45
seconds), the topic to look for.
## 1. Find the moments
- A YouTube link: call `read_youtube_video`. It returns the transcript with
timestamps, the chapters and the moments viewers replay most (both free).
- A file: call `add_media` to bring it in, then `transcribe_media` with its
`media_id` for the timed transcript.
Pick moments that stand alone: one complete thought with a strong first line
(a claim, a number, a question), no reference to "as I said earlier", ending
on a landing rather than mid-sentence. Show the person a short list with each
moment's start and end time and its first line, and let them choose.
## 2. Cut
For each chosen moment call `clip_youtube_video` (a link) or `clip_video` (a
file in the workspace) once, with its `start`, `end` and `aspect` 9:16. The
cut snaps to pauses in the speech and follows the speaker. Keep each
`media_id`.
When those clipping tools aren't listed, ask for the video file, bring it in
with `add_media`, and cut each moment inside `combine_clips` instead, with
`trim_start` and `trim_end` on the clip and `aspect` 9:16 (the frame is cropped
to the centre, not to the speaker).
## 3. Finish each short
Call `combine_clips` once per short, with that clip's `media_id` as the
clip's `job_id`, `captions` from the clips, and the first line or a sharper
version of it as on-screen hook text for the first two seconds. Add a quiet
music bed only when the person asks. Each call returns one finished short.
## 4. Hand it over
Give each short with a one-line post caption. Offer the next batch from the
same video, or a different length for another platform.
## Don't
- Don't clip videos the person has no right to reuse.
- Don't change what the speaker said or stitch words from different places
into a claim they didn't make.
slash-commands5.33 KB
View saved version →
---
name: slash-commands
description: Run a Masonry template by name. Use when a message contains /<name> that names a Masonry template (for example /animal-podcast or /narrated-story-video), when someone asks to run a template ("run the animal podcast template", "/masonry animal-podcast ..."), when they type /help or a bare /, or when they ask which templates Masonry has.
license: MIT
---
# Run a template by name
Every template in Masonry's catalogue has a slug: `animal-podcast` is the
animal podcast template, and `/animal-podcast` is its slash command. A person
asks for one with the slash command, with `/masonry animal-podcast ...`, or in
plain words, and the request is to run it. When the person gives explicit
instructions that differ from these steps, follow the person.
## Running a template
1. Take the slug from the message: the word after the `/` or after
`/masonry`, lowercase, or the template named in plain words. Ignore a `/`
inside a file path or a link.
2. Call `read_skill` with the slug. If there is no such template, call
`list_skills` with `q` set to the name, pick the closest one and say which
in one line ("There is no /ugc; the closest is /beauty-ugc-ad."), then call
`read_skill` with that slug before you go on. If nothing is close, say so
and show the list from "Which templates there are" below.
3. Tell the person in one or two lines what it makes and what it needs, from
the template's tagline and guide: the finished thing (a 45-second vertical
clip, a set of banners) and the inputs (a topic, a product photo, a story).
For a video, add that it uses credits.
4. Ask only for what is missing, in one message. Whatever follows the template
name in the person's message is already an input: don't ask for it again,
and don't ask about choices the template makes itself (look, voices,
default length).
5. Before making anything, check the guide's steps against the tools. A guide
is written for Masonry's own agent, and the reply from `read_skill` ends
with a note, "Using this guide from here", that maps its tools and steps to
this server's: follow that note. Some steps still have no tool: cutting one
narration into pieces (`clip_video` takes video, not audio) or HTML overlays
(`combine_clips` has captions and preset text overlays only). For each, say
in one line what will differ and use the nearest real route: one
`generate_audio` voice clip per scene instead of slicing a narration;
`combine_clips` captions and text instead of an HTML overlay. If the result
would miss the point of the template, say so and point them to the template
in Masonry (masonry.so) instead. Never start paid work that can't be
finished: when a step has no route at all, stop before the steps that spend
credits.
6. Follow the guide and the note. Where the reply has no note (an older
server), translate by hand: `assemble_video` is `combine_clips`;
`pick_video_model` is `list_models` (kind video); `generate_video` with a
first frame or a speech track is `animate_image` with the still's `job_id`
and `speech_job_id`. Then:
- The template's own characters are listed under Cast in the `read_skill`
reply. Use them by name: pass the names in `characters` together with
`skill_slug` (on `generate_image`, `generate_video` or `animate_image`;
`generate_audio` takes one name as `character`, with `skill_slug`); each is
added to the person's workspace on first use, free, with its voice. Only a character the person invents is made with
`generate_image` and `save_character`. Characters the person names are
their saved ones (`list_characters`).
- Each still in `combine_clips` takes its own `motion` (`zoom_in`,
`zoom_out`, `pan_left`, `pan_right`, `pan_up`, `pan_down`, `punch_in` or
`none`); give each one the move the guide asks for.
- If the guide says to read other skills first, read those too; a guide
can point to a second one.
Preview of the first 4,000 characters. Read full instructions →
travel-reel3.39 KB
View saved version →
---
name: travel-reel
description: Make a travel or holiday reel that stars the person, from one photo of them, anywhere they describe (a beach in Bali, a Paris café, a ski lift), plus matching Instagram photos. Use when someone wants a travel video, a holiday reel, "me in <place>", vacation photos, an Instagram post or DP of themselves somewhere, or a vlog-style short of a trip.
license: MIT
---
# Travel reel that stars you
The person brings one clear photo of themselves and names a place. They get
back a short vertical reel of them there, and the stills to post with it,
looking like a friend filmed it on a phone, not like an ad. When the person
gives explicit instructions that differ from these steps, follow the person.
## Inputs
- A photo of the person: face visible, good light, no sunglasses. Required
for a reel of them; ask for one and stop if there is none.
- The place, and optionally the moments ("coffee by the canal, then the
bridge at sunset"), the season and the mood.
- Only photos of the person themself, or of someone who agreed. Never a
celebrity or a stranger.
## 1. Agree on the reel
Offer three or four moments at the place, one line each, about 3 seconds
apiece, with one small real-life mishap that makes it feel true (hair blowing
across the face into a laugh, a gelato dripping, a pigeon walking into the
shot). Say that each moving shot is a video generation and costs more credits
than a photo. Start nothing until the person agrees.
## 2. Keep the face
Call `generate_image` once with their photo as `reference_image_url` for one
clear head-and-shoulders picture of them on a plain wall, the same face and
hair. Then call `save_character` with that `job_id`, their first name as
`name`, `kind` person and `from_photos` true. Pass `characters` with that
name on every later image and video call.
## 3. Stills first
For each moment, call `generate_image` with `aspect_ratio` 9:16. Write the
prompt as a phone photo someone took: who holds the phone and from where
("taken by a friend across the table"), the real light and its flaw
("bright noon sun, a little overexposed"), one ordinary action, real skin,
few people behind, no text or logos. Show the stills and let the person
pick or adjust; these are also the Instagram post and DP.
## 4. Animate
Call `animate_image` on each chosen still (pass its `job_id`). Prompt it as
one continuous phone shot: who is filming, then timed beats
("[00:00-00:03] she turns from the railing and laughs"), then phone-mic
sound (wind, waves, café chatter), then "Real-time speed. No music, no
subtitles." Keep the person facing the camera: a profile turn is where a
face drifts. For one line spoken to camera, make it with `generate_audio`
(kind speech) and pass `speech_job_id`.
Before going on, call `inspect_video` on each clip (when it is listed) and
look at the frames:
the same face as the photo, the right number of hands, no melting signs.
Redo a clip that fails.
## 5. Cut the reel
Call `combine_clips` with the clips in order, a light background track
(`generate_audio`, kind music, with no `duration_seconds`: `combine_clips`
loops and fades it to the reel's length), a short hook as
on-screen text in the first second ("POV: you finally went"), and vertical
9:16. Captions only if someone speaks.
## 6. Hand it over
Give the reel and the stills, and offer a caption for the post. Offer the
next place with the same character: a travel series is how these grow.
ugc-ad3 KB
View saved version →
---
name: ugc-ad
description: Make a UGC-style video ad for the person's own product, from a photo or product page: a creator who talks to camera and shows the real product, with a voiceover or spoken lines, captions timed to the words, a hook in the first second and music. Use when someone wants a UGC ad, a TikTok or Reels ad, a creator-style product video, a testimonial-style video or a talking-head ad.
license: MIT
---
# UGC-style product ad
A 15-30 second vertical ad that looks like a real person filmed it on a
phone: a hook, the problem, the product in hand, one proof, a call to action.
The product in it is the person's real product, never a look-alike. When the
person gives explicit instructions that differ from these steps, follow the
person.
## Inputs
- The product: a photo (attachment or image link) or a product page link.
Required; ask for one and stop if there is none.
- Who it is for and the one thing it does better. Ask in one question if they
didn't say.
- Optional: the creator's look, the setting, the length, the language.
For beauty and skincare, call `read_skill` with `beauty-ugc-ad` and follow
its beats. For a cartoon mascot instead of a person, use `mascot-video-ad`.
## 1. Agree on the script
Write it as 4-5 beats of 3-6 seconds, each with what is on screen and the
words: the hook (a question or a surprising claim the viewer can't scroll
past), the problem, the product in hand, one proof (a texture, a before and
after, a demo), the call to action. Invent the creator; never a real person.
Say that each spoken shot is a video generation and costs more credits than
a photo. Start nothing until the person agrees.
## 2. Make the creator and the shots
1. Call `generate_image` for the creator holding the product, passing the
product photo as `reference_image_url` (or `product_url`), `aspect_ratio`
9:16. Write it as a selfie-style phone shot: their own bathroom or kitchen,
window light, real skin, no text. If the creator appears in several shots,
`save_character` that image and pass `characters` afterwards.
2. For each spoken beat, make the line with `generate_audio` (kind speech,
one voice for the whole ad), then `animate_image` with that beat's still
and `speech_job_id`. The clip lasts as long as the line.
3. For a silent demo beat, `animate_image` with a short motion prompt
("she pumps the serum onto two fingers, slow, real-time speed").
Call `inspect_video` on every clip (when it is listed) and look at the
frames: the product's
label, shape and colour match the photo, hands are right, the mouth matches
the words. Redo a clip that fails.
## 3. Edit
Call `combine_clips` with the clips in order, `captions` from the clips'
speech, the hook as on-screen text in the first second, a quiet music bed
(`generate_audio`, kind music, no `duration_seconds`) and the call to action as text on the last
beat. Vertical 9:16.
## 4. Hand it over
Show the ad and offer two more hooks for the same body: testing hooks is how
UGC ads are run. Don't claim results the product can't prove.
viral-video3.81 KB
View saved version →
---
name: viral-video
description: Make a short vertical video in a format that already works on TikTok, Reels and Shorts, from Masonry's template catalogue (an AI character with a catchphrase, a POV vlog, an animal podcast, a narrated story, a UGC ad). Use when someone wants a reel, a short, a TikTok, a faceless video, a video series or "something that could go viral", with or without an idea of their own.
license: MIT
---
# Viral video from a template
Masonry's catalogue holds video formats that already get watched, each with
a playbook: who is on screen, how long each beat runs, which model, where the
hook goes. Use one so the person gets a finished short instead of a single
pretty clip. When the person gives explicit instructions that differ from
these steps, follow the person.
## 1. Pick the format
1. Call `list_skills` with `category` "Social" (for an ad, "Ads"). Each line
is a template: slug, title, a one-line promise.
2. If the person named a format ("POV", "AI influencer", "animal podcast",
"story"), pick the matching one. If not, offer three that fit what they
said, one line each, and let them choose.
3. Call `read_skill` with the chosen slug. Its guide is the playbook: follow
its beats, cast, durations, look and model. It was written for Masonry's
own agent, so translate its tool steps to these tools: `assemble_video`
is `combine_clips`; `pick_video_model` is `list_models` (kind video);
`generate_video` with `first_frame` or `speech` is `animate_image` with
the still's `job_id` and `speech_job_id`. Skip any step about billing
cards or resuming a run later: these tools have neither.
## 2. Agree on the brief
In one short message, confirm: the idea in one sentence, who is on screen,
the hook line (the first words or the first image), and roughly how long.
Say that a video costs more credits than an image and how many clips it
needs. Start nothing until the person agrees.
## 3. Make it
1. Recurring person or mascot: make one clear image of them first with
`generate_image`, then `save_character`, and pass the name in
`characters` for every later shot so the face stays the same.
2. Make each beat the way the playbook does. A beat that moves: a still
with `generate_image`, then `animate_image` (or `generate_video`), passing
the template slug as `skill_slug`. A playbook built on still scenes (a
narrated story) keeps them still: `combine_clips` holds an image `job_id`
for its `duration` (a slow zoom unless you set its `motion`), so don't animate those. Keep every
`job_id`.
3. Spoken lines: `generate_audio` (kind speech) for the line, then
`animate_image` with the character's image and `speech_job_id` for a
lip-synced clip.
4. Before showing or joining clips, call `inspect_video` on each (when it is
listed) and look at the frames. Redo a beat that is wrong (an extra hand,
a wrong face, text that does not read) before moving on.
5. Join the beats with `combine_clips` in order, with captions timed to the
words, the hook as on-screen text in the first second, and music or a
voiceover when the playbook calls for it. Make music with `generate_audio`
(kind music) and leave out `duration_seconds`: `combine_clips` loops and
fades it to the video's length. Vertical 9:16 unless the person
asked for another shape.
## 4. Hand it over
Show the finished video and say in one line what makes the format work
(the hook, the catchphrase, the twist). Offer the next episode: same
character, a new situation. That is how these accounts grow.
## Don't
- Don't copy a real creator, celebrity or brand, or their catchphrase; every
character is invented.
- Don't start several videos at once to compare; make one and adjust it.
- Don't send a call again because it is slow: a slow call is still working.
If the reply has a `job_id` still rendering, call `check_generation`.