Make and send greeting cards with the cardstock CLI, opened by link as a 3D paper card. Use when asked to make a card for someone, start from a ready-made one, change one, give it a tune or music, get a card's link, save a card as a picture or video for a chat, or save or use a preset.
Ships in cardstock. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prefer the cardstock Code Mode namespace (cardstock agent tools --json lists it), then the MCP server (cardstock mcp); fall back to the CLI with --json. A card is a spec, JSON you keep in a scratch file, and it goes out only as its link, with the whole card sealed in it; nothing is stored anywhere. There are no accounts or keys, so there's nothing to set up.
Run preset list --json first; presets are kept on this device. If a preset fits the request, such as Family birthdays for a sister's birthday, start from its design, effect, sign-off (from) and tone, unless the user asked for something else.
For a quick card, or when the user names one from the app's Browse page, template list --json gives the ready-made cards with the spec each starts as, and its tone. The ones with a featured line show off a setup (a pop-up book, a 3D scene, a cracker, a pop-up, a tune played by hand, or a way to open or size), which is the quickest start when the user asks for one. Start your spec from one, then add the sign-off and anything else asked for.
When the user wants a surprise, or a funny card without saying what, card shuffle --occasion "<what it's for>" --tone <tone> --json picks a design, colourway, effect and words at random; tones are funny, cheeky, punny, dry, heartfelt and sweet. Start your spec from its spec, and rewrite the words when you know more about the people than it does.
Turn the request into a card spec, JSON in this shape, and write it to a scratch file:
{
"version": 1,
"occasion": "Mum's 60th",
"design": "birthday",
"effect": "confetti",
"front": { "title": "Happy 60th, Mum" },
"inside": { "to": "Dear Mum,", "message": "…", "from": "Sam" },
"media": []
}
design is one of christmas, birthday, anniversary or any. An optional palette picks another colourway: red or midnight for Christmas, blush or midnight for Birthday, sage or navy for Anniversary, and kraft, sky or ink for Any occasion. Leave it out for the design's own colours. An optional art picks the front's artwork: for Christmas, tree (an engraved tree), baubles (three hanging from the top edge), star (a star of rays) or snowfall (snow over hills under a large title); for Birthday, candles, balloons or bunting; for Anniversary, arch (an arch of leaves round the title) or ampersand; for Any occasion, stems, sun (rising over a horizon) or circles. Leave it out for the design's own: the wreath, confetti, linked rings or sprigs. An optional on gives the day the card is for, as YYYY-MM-DD (such as 2026-12-25 for Christmas Day, or the person's birthday), and its envelope wears a foil postmark with that date, and comes wrapped in a paper band until then, with Open it early for anyone who can't wait; set it when the user names the day or the occasion has a fixed one, and leave it out otherwise. With an on, an optional advent list of short lines (up to 25, each up to 80 characters) makes an advent calendar over the envelope: a paper door for each line counting down to the day, the last opening the day before, each showing its line; write lines that build towards the day, in the sender's voice. Vary it between cards rather than always taking the first. An optional size is landscape, square or tall; leave it out for a portrait card. An optional opening is grow (opens, then grows into a full-screen view of the message), letter (from the envelope straight to that full view) or page (only the full view, no card), or pop-up (a pop-up book: the card lies open and its popUp scene, or the design's own, unfolds across the whole spread, every piece tappable, with the message after it); leave it out for an ordinary card. An optional "footnote": true lists the web addresses its files load from on the back; leave it out unless the user asks to credit them. effect is one of snow, confetti, hearts, sparkle, leaves (autumn), petals (blossom, for spring and weddings), stars (falling gold stars), bubbles (rising, for babies and fun), fireflies (a warm glow, for night and quiet cards), balloons (rising, for birthdays), embers (rising sparks, for bonfires and winter evenings), shooting-stars (a few streaking across, for wishes and good luck), fireworks (bursts, for New Year and big celebrations) or none; pick none for a sad occasion, such as sympathy. An optional popUp stands a paper pop-up scene up from the fold as it opens, which comes to life when tapped: tree, village or house for Christmas and new homes, cake for birthdays, arch for weddings, heart for love; leave it out for a flat card. With a popUp on a card that opens as a card, grow or letter, an optional hidden tucks up to three small paper things behind it, each drawn out by a tap in turn: [{ "thing": "key", "note": "To the new place" }], where thing is heart, star, key, bird, ring or letter and the optional note (up to 80 characters) is the line found with it; use it when there's something to discover, such as a key for a new home or a ring for a proposal. An optional "scene": "globe" puts a 3D snow globe the reader shakes on the open card instead, and always opens it as a pop-up book; "scene": "winter-village" opens the card into a 3D village at night to look round and light up. An optional "frost": true brings the front out of the envelope frosted over, for the reader to wipe clear with a finger (or a few taps) before it opens; it suits winter cards. An ink is the sender's signature or small drawing, made with a finger in the editor (Signed by hand in the Inside panel); never write one, keep it as it is when editing a card that has one, and suggest signing in the editor when the user wants their own hand on it. An optional light lights the card once the envelope's opened: string, small warm bulbs draped above it, or candles, a slim candle either side; leave it out for none. An optional parcel list of short lines (up to 5, each up to 80 characters, not with a page opening) plays pass the parcel: the envelope comes wrapped in a layer of paper for each line, the card's music plays as it's passed and stops by itself, and a tap then tears off a layer to show its line; there's no timer or losing, and Skip the game takes it all off. Write lines that tease towards the card, the last one landing. With a tune, an optional strips list of three to six short lines (each up to 80 characters) plays Out of Order: the tune is cut into a strip for each line, laid out of order over the envelope, and the reader taps strips to hear and swap them till the tune's whole, when each turns over to its line; write lines that read on from one to the next, so the order matters. An optional "cracker": true lays a Christmas cracker beside the envelope, with any opening but page: the reader pulls it first for a slip, then opens the envelope as usual. The slip's words are its own, never the message: give a joke (one line, a question and its answer) or a short line of the sender's in joke, or leave it out for a built-in joke.to is optional; leave it out rather than guess a name.media empty: pictures and music go on with media add.Write the words yourself, warm and specific to what you were told: a short title, a message of a few sentences, and the sign-off the user gave. Never invent facts about the people, such as memories, ages or plans; ask, or keep it general.
For a picture, video or music, media add --file <spec file> --url <https address> --json, with the public web address of the file itself, not the page it's on. Find a free one on a site in the docs' Where to find pictures whose licence lets anyone use it, searching for what you want to see, such as snowy pine forest at dusk, or use an address the user gave you. It checks the file loads and is a kind a card shows, then changes the spec file in place; the card loads the file from that address each time it opens (through the Cardstock server when the site won't let other sites load it). Over MCP, media_add takes the spec as text and returns the changed spec.
For music without a file, give the spec a tune instead: the app plays it itself, in the viewer, the editor and saved MP4s, and its notes travel in the link. tune list --json gives the tunes it knows (carols, Happy Birthday, Auld Lang Syne, lullabies, Canon in D, Greensleeves and more), each with the tune object to copy in, and tune make --mood <calm|bright|festive|dreamy|playful|spooky> --json makes up a new one. For a tune the app doesn't know, find it in ABC notation on a site in the docs' Where to find tunes, save its ABC to a scratch file and run tune import --file <file> --json (or --url with an .abc file's address); over MCP, tune_import takes the ABC as abc. Change its instrument to music-box, celesta, handbells, glockenspiel, marimba, kalimba, toy-piano, harp, choir or chiptune to suit the card. You can write one too: notes is space-separated pitches such as E5, F#4 or Bb3, or - for a rest, each with an optional length in beats (E5:2, D5:.5); chords, such as C:4 G7:4, play softly under it, as long in all as the melody; tempo is beats a minute. A card has a tune or music, not both. A tune with "hand": true was played in by the sender in the editor, its timing in its note lengths; keep it as it is when editing such a card, never set it yourself, and suggest Your playing in the editor when the user wants to play it themselves. Templates already come with a tune that suits their occasion. An optional "play": "baubles" lets whoever opens it tap baubles inside the card, each the next note, and "play": "crank" gives them a music box whose handle they turn; it works on every opening, and the tune plays by itself without it. Music or a tune that plays by itself starts as the card opens, or with "musicStarts": "out" as soon as it's out of the envelope; it's always silent in the envelope.
A video (MP4 or WebM) plays, muted and looping, wherever a picture would, and its sound follows the card's sound button. A picture or video becomes the front, a sound the music; --as inside puts a picture inside instead, and --as background fills the page behind the card with a picture or looping video, dimmed a little, in the viewer and in saved files; to use the front's own file there too, set background to its media id in the spec. --fit says where a picture sits: frame (in the design's frame on the front, framed on the inside cover inside; the default), fill (the whole front with the title in light ink over it, or the whole inside cover; best for photos) or behind (washed into the paper, with the design or the message printed over it). Adding another replaces the one before and keeps the card's fit unless --fit changes it. For more than one picture, --as picture --on front|left|right lays one more over the rest instead (left is the inside cover, right the page with the message), with its own --fit; run it once per picture, as later ones lie on top. Boxed pictures on one page share the box, and a page plays one video at a time.
card link --file <spec file> --json seals the whole card into its url. Give the user that link to send. Whoever has it can open the card, and it can't be stopped or changed after; to change a card, change the spec and make a new link. Its edit is the same card opened in the web app's editor as a new card: give it to the user when they want to carry on there, or open it yourself to use the editor's tools (see In the browser).
When the user wants to send the card in a chat as a file rather than a link, export --file <spec file> --out <folder> --json saves a PNG of the front, and an MP4 (with the card's sounds and music) and a silent GIF of it opening; --still, --mp4 or --gif picks only those. Give the user the paths it returns.
Save presets by yourself, without asking, so later cards start from what the user liked. When they settle on a design, effect, sign-off or tone for a kind of card, such as birthdays in the family or Christmas at work, run preset save --spec '<json>' --json with:
{
"version": 1,
"name": "Family birthdays",
"design": "birthday",
"effect": "confetti",
"from": "Love, Sam x",
"tone": "warm, a little cheeky"
}
Only version and name are needed. Saving under a name that's taken (ignoring case) replaces that preset, so update one rather than making a near-copy. Keep names and other personal details, such as who a card is for, out of presets. Tell the user in a line what you saved.
A link already sent can't change. To change a card, edit its spec and make a new link with card link. Given only a card's link, card read --link <link> --json gives its spec to start from. Someone with only the link can also open it in the web app and use Edit a copy.
The Cardstock web app's card editor offers WebMCP tools that change the card the user is watching: make-card (a template id, a whole card's spec as JSON text with its pictures and music, or an occasion and tone for Shuffle), set-words, set-design, add-picture (on front, left, right or background, with fit), set-music, set-tune (a tune id from tune list, abc with a tune's ABC or an .abc file's address, or a mood to make one up, with an optional instrument and play of baubles or crank), save, export (still, mp4 or gif) and get-card for the spec and its link. When the user wants to watch the card come together, or to carry on in the editor themselves, use them instead of the CLI, with the same care over the words and pictures. Each answers in words when something isn't right; fix it and call again.
They're there only in a browser that offers WebMCP, either built in (turned on in its flags) or added by an extension, and only while the editor is open:
https://cards.timmo.dev/cards/new in a tab (?template=<id> starts from a ready-made card, and card link's edit from a whole card of yours). If your browser tool reads a page's WebMCP tools, list them there and call each by name with its input as JSON. Otherwise, run script in the page: await document.modelContext.getTools() lists them, and await document.modelContext.executeTool(tool, input) runs one and returns its answer as JSON text, with the words in content[0].text.document.modelContext, the browser doesn't offer WebMCP: use the CLI, and give the user the card's link, where Edit a copy opens it in the editor if they want to carry on there.save keeps the card in that browser, and export downloads the file there, so tell the user where to find it.
A card can only name a design or effect that exists. Add a new one only as code, in a pull request to timmo001/cardstock for the user to review: a defineDesign in packages/card/src/designs/ or a defineEffect in packages/card/src/effects/, listed in the registry.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/cardstock:cardstockfrom cardstock
npx claudepluginhub timmo001/cardstock --plugin cardstock