Reference
CLI reference
Each arteffect MCP tool and the CLI command that does the same, with worked examples.
Everything an agent can do through arteffect’s MCP tools, it can also do with the arteffect CLI, so any agent that can run a shell can make, edit and review exhibits without an MCP connection. arteffect --help lists every command and flag.
MCP tool to CLI command
| MCP tool | CLI command | Notes |
|---|---|---|
exhibit_kinds (query / id) |
arteffect kinds ["description"], arteffect kinds show <id> |
--json for the raw entries |
exhibit_create |
arteffect create --name <n> <file|dir>... |
files → local files or folders; entry, type, description, store, summary → --entry, --type, --description, --store, --summary; tags → --tag t (repeat); data → --data name=path (repeat); dataSources → --data-sources sources.json; network → --network host (repeat); provenance → --agent, --model, --task. Binary files work too. --idempotency-key k makes a retried create return the first exhibit instead of a duplicate |
exhibit_patch edits |
arteffect edit <id> --file <path> --find <old> --replace <new> [--replace-all] |
Repeat --find/--replace pairs for several edits (--file carries over until the next one), or pass --edits edits.json (- reads stdin) in the same [{path, oldText, newText, replaceAll}] shape. All edits land as one version; a missing or ambiguous match fails the whole edit, as in MCP |
exhibit_patch writes / deletes |
arteffect write <id> <file|dir>... [--delete path] |
|
exhibit_patch manifest fields |
arteffect set <id> [--name] [--description] [--tag t]... [--entry] [--source] [--network host]... [--data name=path]... [--data-sources f.json] |
Lists replace the whole list, like MCP; one empty value (--tag "") clears it. edit takes the same flags, so edits and manifest changes can land together |
exhibit_patch baseVersion |
--base <version> on write, edit and set |
On a conflict it exits 1 with the latest version and, when people edited by hand, the hand edit notice with the arteffect diff to run |
exhibit_patch summary, provenance |
--summary, --agent, --model, --task |
|
exhibit_read |
arteffect show <id> [--version v] [--out dir] |
--out writes the files to a folder to edit; the hand edit notice goes to stderr |
exhibit_check |
arteffect check <id> [--width 1280,390] [--board b | --page p] [--version v] [--out dir] [--json] |
Screenshots are saved as PNG files; exits 1 when there are problems |
exhibit_list |
arteffect ls [query] [--tag t] [--kind page|picture|3d|board] [--type t] [--store home|repo] |
|
exhibit_history |
arteffect log <id> [--limit n] |
|
exhibit_diff |
arteffect diff <id> <from> [to] |
|
exhibit_revert |
arteffect revert <id> <version> |
--agent, --model, --task for provenance |
exhibit_move |
arteffect move <id> --to home|repo |
--agent, --model, --task for provenance |
exhibit_comment |
arteffect comment add <id> "message" [--type t] [--severity s] [--target t] [--selector css] [--file f] [--page p --board b | --page p --at x,y [--near b]] [--find old --replace new [--replace-all]] [--agent name] |
--at pins it to empty canvas space, in canvas units |
exhibit_board |
arteffect board plan|focus|ready|fail|show|stop <id> ... |
New artboards asked for by a comment on empty canvas space. frames → --frames frames.json (- reads stdin), or near, count, width/height, name → --near, --count, --size WxH, --name "Variation {n}"; file/content → --file (a local file, or a path already in the exhibit) |
exhibit_feedback_list |
arteffect feedback [list] [--status open|addressed|resolved|all] [--id <exhibit>] |
feedback check and feedback wait also hand new comments over, as the hooks do |
exhibit_feedback_working |
arteffect feedback working <id> <thread> ["note"] [--agent name] [--epoch n] |
|
exhibit_feedback_reply |
arteffect feedback reply <id> <thread> [message] [--status s] [--agent name] [--after-message id] [--epoch n] |
|
repo argument (any tool) |
--repo <path> |
|
Resources arteffect://exhibit/{id}, arteffect://feedback, arteffect://kinds/{id} |
arteffect show <id>, arteffect feedback, arteffect kinds show <id> |
Editing an exhibit from the shell
# Read it and note the version
arteffect show sales-dashboard-3f9a1c | head -3
# One exact edit, refused if someone saved since that version
arteffect edit sales-dashboard-3f9a1c --base 1a2b3c4d5e6f \
--file index.html --find '<h1>Sales</h1>' --replace '<h1>Q3 sales</h1>' \
--agent claude-code --model <model> --task "retitle for Q3"
# Several edits as one version, from JSON on stdin
echo '[{"path":"index.html","oldText":"#333","newText":"#111","replaceAll":true}]' \
| arteffect edit sales-dashboard-3f9a1c --edits -
# Manifest only
arteffect set sales-dashboard-3f9a1c --tag q3 --tag sales --network cdn.jsdelivr.net
A value that starts with - needs the = form: --find=-1px.
Comments on images and PDFs
An image or a PDF has no elements to point at, so in comment mode a person clicks to drop a pin or drags a box, on any page of a PDF (hold Space to pan). The pin stays on its spot at any zoom, and opening the thread zooms the picture to it. The comment stores the place as fractions of the image or page (anchor.region: page, x, y, and w/h for a box, plus the image’s size in pixels or the page’s in points), and the viewer saves a PNG of the area with a little margin around it under <home store>/snapshots/<exhibit>/. arteffect feedback, feedback check and the MCP tools print both:
On page 2 of report.pdf: a box from 12% across, 40% down, 30% wide and 8% tall (x 73, y 317, 184×63 pt of 612×792), measured from the top left.
Snapshot of that area: /Users/you/.arteffect/snapshots/report-3f9a1c/2026-11-24-1a2b3c4d5e.png (open it to see what was pointed at)
New artboards from a comment on empty space
When a person comments on empty canvas space (“build 5 artboards with 10 variations of this”), the thread says where, and which artboard “this” means. Plan the frames first so the person sees them at their final size, with your cursor on the one you’re drafting, then land each one as soon as it’s done:
arteffect feedback working pricing-3f9a1c 26f84b64 "Reading the Pricing board" --agent claude-code
arteffect board plan pricing-3f9a1c --thread 26f84b64 --near pricing --count 5 --size 480x360 --name "Variation {n}" \
--summary "Five takes on the Pro card"
arteffect board focus pricing-3f9a1c new-2 --note "Trying a serif price"
arteffect board ready pricing-3f9a1c new-1 --file v1.html # saves boards/v1.html and adds it to the canvas
arteffect board fail pricing-3f9a1c new-5 "The brand font isn't in this repo."
arteffect feedback reply pricing-3f9a1c 26f84b64 "Four variations are in; the fifth needs the brand font." --status addressed
A plan is review state, kept next to the comments, not in canvas.json: a frame reaches the canvas only when its board is saved. Plan again on the same thread to change sizes, places or the number of frames. If the person presses Stop, focus, ready and fail exit with plan_stopped: stop drafting and end your turn; what already landed stays.
New exhibits asked for from the viewer
When a person asks for a new exhibit from the viewer (“What do you want to create?”), the viewer starts their agent in the chosen folder with a prompt that carries a request key such as r_1a2b3c4d5e6f. Create the exhibit with that key so the viewer knows which exhibit answers the request, keep saving as you go (the viewer shows Making, then Polishing), and say when it’s finished:
arteffect create --name "Pricing page" --idempotency-key r_1a2b3c4d5e6f index.html
arteffect write pricing-page-3f9a1c index.html
arteffect new done r_1a2b3c4d5e6f
Without new done, the viewer treats the exhibit as finished once it has gone a minute and a half without a save.