@creator-notes/cnotes 0.105.1 → 0.105.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creator-notes-cli",
3
- "version": "0.105.1",
3
+ "version": "0.105.2",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
@@ -140,7 +140,7 @@ export const SKILL_CATALOG = [
140
140
  name: "fat-marker-flows",
141
141
  aliases: ["fat-marker", "fatmarker", "fat-markers", "fatmarkers"],
142
142
  label: "Fat-marker flows",
143
- description: "Storyboard a UI flow as rough Shape Up 'broad-strokes' keyframes and lay them on a canvas as a left-to-right filmstrip.",
143
+ description: "Storyboard a UI flow or a visual story as rough Shape Up keyframes, keep recurring characters the same, and lay them on a canvas as a left-to-right filmstrip.",
144
144
  auto: false,
145
145
  },
146
146
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.105.1",
3
+ "version": "0.105.2",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cnotes
3
- description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, goal-tree, shaping, attention-planner, transcript-timeline and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, goal trees, shaping, attention triage, interview timelines and flow mockups.
3
+ description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, goal-tree, shaping, attention-planner, transcript-timeline and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, goal trees, shaping, attention triage, interview timelines, flow mockups and visual stories with recurring people.
4
4
  metadata:
5
5
  short-description: Work with CreatorNotes via the cnotes CLI
6
6
  ---
@@ -1,12 +1,22 @@
1
1
  ---
2
2
  name: fat-marker-flows
3
- description: Generate Shape Up "fat-marker" broad-strokes mockup keyframes of a UI flow with an image model, then lay them on a CreatorNotes canvas as a left-to-right user-journey filmstrip. Use when the user wants to SEE a proposed flow ("mock this up", "show me what it would look like", "fat-marker / broad-strokes sketch", "fat marker mockup", "keyframes", "storyboard the flow", "user journey on the canvas") rather than read about it.
3
+ description: >-
4
+ Generate Shape Up fat-marker keyframes of a UI flow or a visual story, then
5
+ lay them on a CreatorNotes canvas as a left-to-right filmstrip. Keeps
6
+ characters, objects and cards the same across frames. Use when the user
7
+ wants to see a proposed flow ("mock this up", "show me what it would look
8
+ like", "fat-marker / broad-strokes sketch", "fat marker mockup", "keyframes",
9
+ "storyboard the flow", "user journey on the canvas"), or when characters
10
+ stay the same, they ask for a visual story, or a storyboard with recurring
11
+ people.
4
12
  ---
5
13
 
6
14
  # Fat-Marker Flows (Shape Up broad-strokes keyframes on a canvas)
7
15
 
8
16
  Turn a described flow into a small set of deliberately rough sketch images, one per key moment, and place them on a CreatorNotes canvas as a numbered left-to-right journey. The output helps a reader *feel* the interaction without anyone mistaking it for finished design.
9
17
 
18
+ The same skill covers a visual story: people, creatures, objects and cards that must stay recognisable from frame to frame. Live product UI that already exists belongs to `howto-filmstrips`, because screenshots are already consistent.
19
+
10
20
  ---
11
21
 
12
22
  ## The fidelity principle (do not skip)
@@ -25,25 +35,25 @@ Resist the urge to make it pretty. If it looks like a real screenshot, you have
25
35
 
26
36
  `examples/` holds a real six-frame journey produced with this skill (the CreatorNotes "Home canvas as a multi-view lens" flow). **Read a couple of them before generating** to calibrate the target fidelity and the coral-accent discipline:
27
37
 
28
- - `01-timeline-view.png` — the starting state, with the `Timeline · Manual · By theme · +` tab chrome
29
- - `02-switch-manual-drag.png` — a card mid-drag with a dashed "was-here" outline and a coral drag arrow
30
- - `03-flip-back-nothing-lost.png` — back to Timeline, the card returned, coral check
31
- - `04-by-theme-zoom-out.png` — clustered theme blobs
32
- - `05-ask-for-a-view.png` — prompt bar plus a dashed Preview with Save/Discard
33
- - `06-save-as-lens.png` — a new named tab added to the switcher
38
+ - `01-timeline-view.png`: the starting state, with the `Timeline · Manual · By theme · +` tab chrome
39
+ - `02-switch-manual-drag.png`: a card mid-drag with a dashed "was-here" outline and a coral drag arrow
40
+ - `03-flip-back-nothing-lost.png`: back to Timeline, the card returned, coral check
41
+ - `04-by-theme-zoom-out.png`: clustered theme blobs
42
+ - `05-ask-for-a-view.png`: prompt bar plus a dashed Preview with Save/Discard
43
+ - `06-save-as-lens.png`: a new named tab added to the switcher
34
44
 
35
- What to copy from them: the same window + tab row in every frame, one coral-highlighted change per frame, a circled number, a handwritten title, and a one-line caption stating the step's promise.
45
+ What to copy from them: the same window and tab row in every frame, one coral-highlighted change per frame, and a circled number. Words inside a new frame come from that frame's plan (the quoted on-screen texts plus the circled number). Copy the marker weight and the coral, and leave their drawn titles and captions as historical examples.
36
46
 
37
47
  ---
38
48
 
39
- ## Step 0 — Scope ONE flow and list the keyframes
49
+ ## Step 0: Scope ONE flow and list the keyframes
40
50
 
41
51
  A keyframe is a **key moment in a single flow**, not a screen inventory. Before generating:
42
52
 
43
53
  1. Pick one flow (e.g. "drag a portal, flip back, save a view"). Don't mix flows.
44
54
  2. List 4–7 keyframes. Each is a state where **something changed** from the prior frame.
45
55
  3. Decide the **shared chrome** that stays identical across every frame (same window, same tab bar, same panel). Only the changed thing differs frame to frame. Consistent chrome is what makes the set read as one continuous journey.
46
- 4. For each frame, write: a circled number, a short title, what the user just did, the one element to highlight, and a one-line caption that states the *promise* of that step.
56
+ 4. For each frame, write: a circled number, a short title, what the user just did, the one element to highlight, and a one-line caption that states the *promise* of that step. The short title is for you. Draw it in the picture only when it is quoted UI text.
47
57
  5. Run the readable-cold test on the frame. If the sketch shows the outcome on its own, write nothing under it. If it can't, write **at most one sentence**, active voice, that names the outcome. Never narrate what the person did and what they got.
48
58
 
49
59
  Keep captions free of em dashes (house style).
@@ -63,102 +73,157 @@ Cut a frame that fails rather than fixing it with a longer caption. Four honest
63
73
 
64
74
  ---
65
75
 
66
- ## Step 1 — The reusable style preamble
76
+ ## Step 1: The reusable style preamble
67
77
 
68
- Prepend this verbatim to every frame's prompt so the set is visually consistent:
78
+ Prepend this verbatim to every frame's prompt so the set is visually consistent. It is the style sheet: one block, the same words on every frame.
69
79
 
70
80
  ```
71
81
  Fat-marker product sketch in the Shape Up "broad strokes" style: thick black marker
72
82
  on off-white paper, deliberately rough and low-fidelity, hand-drawn rectangles and
73
83
  handwritten labels, like a quick whiteboard wireframe. NOT a polished UI: no gradients,
74
- no realistic chrome, no photorealism, no fine detail. Use ONE accent color, a warm
75
- coral-pink, and ONLY on the single active or changed element. Lots of whitespace. It
76
- should read as one storyboard keyframe that shows the SHAPE of an interaction, not its
77
- visual design.
84
+ no realistic chrome, no photorealism, no fine detail. The same thick marker line for
85
+ people, objects and UI. Flat fill, no shading. Use ONE accent color, a warm
86
+ coral-pink, and ONLY on the single active or changed element. No border around the
87
+ picture. No names, headings or labels except the quoted texts for this frame and the
88
+ circled frame number. Ticks and badges sit where the cast list puts them. Lots of
89
+ whitespace. Aspect ratio: 16:9. It should read as one storyboard keyframe that shows
90
+ the SHAPE of an interaction, not its visual design.
78
91
  ```
79
92
 
80
- (The coral accent matches the CreatorNotes brand. Swap the accent if the project's brand differs, but keep it to ONE color used only on the changed element.)
93
+ Set the `Aspect ratio:` line to the ratio you pass as `--aspect`, and keep that line identical on every frame. (The coral accent matches the CreatorNotes brand. Swap the accent if the project's brand differs, but keep it to ONE color used only on the changed element.)
81
94
 
82
- Then add the frame-specific content: the circled number, the title, the shared chrome (describe it the same way every frame), and the one thing that changed. Be concrete and literal so the model draws the right boxes and labels.
95
+ Then add the cast lines for this frame and the frame plan. Be concrete and literal so the model draws the right boxes and labels.
83
96
 
84
97
  ---
85
98
 
86
- ## Before you generate (image access)
99
+ ## Before you generate (what the image tool accepts)
100
+
101
+ Settle this before frame 1, so you do not draw six frames and then discover the path was blocked.
102
+
103
+ `cnotes files gen-image` takes a text prompt only. It accepts no reference image, no input image and no seed. Pass the prompt on stdin (or `--prompt`). `--aspect` is one of `1:1`, `16:9`, `9:16`, `4:3`, `3:4` (default `16:9`) and does not count toward the prompt. The server rejects a prompt longer than 4,000 characters.
104
+
105
+ Who can use the server path:
106
+
107
+ - An email on the server allowlist skips the paid gate and the credit charge.
108
+ - A Pro workspace spends 10 credits per image on the server key.
109
+ - A free workspace returns `subscription_required`. A short balance returns `insufficient_credits`. The error names `cnotes upgrade` or `--byo-key`.
110
+ - `--byo-key` reads `GOOGLE_GENERATIVE_AI_API_KEY`, `GEMINI_API_KEY` or `CN_GEMINI_KEY` on this machine, generates here, and uploads only the PNG. The key is never sent to CreatorNotes. That path is text-only too.
87
111
 
88
- Keyframes need an image model, and there are two modes — work out which applies BEFORE frame 1, so you don't generate six frames only to discover the path was blocked:
112
+ If your agent has an image tool that takes reference images (a Gemini image edit, GPT Image edits, FLUX.2, Midjourney `--oref`), use the reference path in Step 2. Otherwise use the text-only path. `cnotes files gen-image` cannot take a reference.
89
113
 
90
- - **You're an admin** (your email is on the server allowlist) → `cnotes files gen-image` just works server-side, no key. This is the default.
91
- - **Everyone else (most people)** → the default server path returns an `admin_only` error. Add `--byo-key` and set `GOOGLE_GENERATIVE_AI_API_KEY` first (a free key from https://ai.google.dev).
114
+ If you are not sure the workspace can spend the server key, say so before the first call and offer `--byo-key` with a free key from https://ai.google.dev.
92
115
 
93
- If you're not sure which applies, tell the user up front rather than guessing: *"Generating the sketches needs a free Google AI Studio key — grab one at ai.google.dev and I'll set it as `GOOGLE_GENERATIVE_AI_API_KEY`."* Then pass `--byo-key` on every `gen-image` call below.
116
+ ---
117
+
118
+ ## The cast
119
+
120
+ Write this once, before any frame plan. One line per recurring thing: a fixed name, then the visual traits a stranger would use to recognise it (hair, clothes, props, pose).
94
121
 
95
- **The key stays on this machine.** With `--byo-key`, the image is generated by a direct call from your own machine to Google's API; only the finished PNG is uploaded to CreatorNotes. The key is read from your local environment and is never sent to CreatorNotes servers — so you can honestly reassure the user it is client-side only.
122
+ - **People.** Draw everyone the same way. Never mix stick figures with full figures.
123
+ - **Agents and creatures.** Say what they must not have ("no antennas, no torso").
124
+ - **The recurring object.** For example the board, its tab text, its size and shape.
125
+ - **Recurring cards.** Their exact look, for example "the answer card: wide white card, thick coral outline, tick on the left, two lines".
126
+ - **Close the list** with this sentence: "Only the characters listed for a frame appear; never draw any extra robot or person."
127
+
128
+ When your image tool takes reference images, also generate a **cast sheet**: one image of every cast member and the recurring object side by side. Check it, keep it, and place it later as its own richtext image above the filmstrip. With `cnotes files gen-image` the written cast is the cast sheet. Keep the lines short, because every text-only prompt pastes them under the style preamble and must stay within 4,000 characters.
96
129
 
97
130
  ---
98
131
 
99
- ## Step 2 — Generate (test one, then batch)
132
+ ## Frame plans
133
+
134
+ Write one plan per frame after Step 0 and after the cast, and before you generate.
135
+
136
+ - **Composition, left to right.** Which cast members appear, and nothing else.
137
+ - **State.** Every card on screen with its exact text, and its marks (ticks, circles).
138
+ - **Changed since last frame.** The one thing that moved, appeared or was answered. Everything else is copied word for word from the previous plan.
139
+ - **The only words in the picture.** A closing list of every string allowed.
140
+
141
+ Then diff the plans. Card text, card count and the answer card line up from one frame to the next unless the "changed" line says otherwise.
142
+
143
+ Writing tips:
144
+
145
+ - Keep definitional names in lowercase descriptions ("the board"). A capitalised label such as "THE BOARD" gets written into the picture.
146
+ - Put buttons on a large object the person is holding ("an oversized phone in Alex's hand"), or the model floats them outside it.
147
+ - Describe a recurring character again inside the frame when they are doing something new (holding, pointing). That is when the drawing drifts.
148
+
149
+ ---
150
+
151
+ ## Step 2: Generate (test one, then the rest)
152
+
153
+ Generate each frame with `cnotes files gen-image`: it produces the image with an image model and stores it in the workspace, returning a ready-to-use URL. No repo checkout. The prompt goes on **stdin** (so you don't escape quotes); pass the same `--aspect` you wrote in the preamble, and `--json` so you can read `.storageId` and `.fullUrl`.
154
+
155
+ **Reference images** (only when your tool accepts them): pass the cast sheet and the previous accepted frame as references, then the style preamble and this frame's plan. For GPT Image, put the most important reference first. Generate frame 1, look at it, then continue frame by frame so each frame can reference the one you just accepted.
100
156
 
101
- Generate each frame with `cnotes files gen-image`: it produces the image with an image model
102
- **and stores it in the workspace**, returning a ready-to-use URL. No local API key and no repo
103
- checkout needed. The prompt goes on **stdin** (so you don't escape quotes); use `--aspect 16:9`
104
- for screen-like frames and `--json` so you can read `.storageId` and `.fullUrl`.
157
+ **Text only** (`cnotes files gen-image`): send the style preamble, then the cast, then the frame plan. Trim cast lines that are not in this frame so the prompt stays within 4,000 characters. Generate frame 1, check it, then the rest.
105
158
 
106
159
  ```bash
107
160
  WS=<workspaceId> # e.g. your Private workspace for internal work
108
161
  mkdir -p /tmp/mockups && cd /tmp/mockups
109
162
 
110
- # Frame 1 — generate, capture the JSON, then LOOK at it before batching the rest.
163
+ # Frame 1: generate, capture the JSON, then LOOK at it before the rest.
111
164
  cnotes files gen-image --aspect 16:9 -w "$WS" --json <<'PROMPT' > kf1.json
112
- <style preamble>
165
+ <style preamble, with the aspect ratio line set to 16:9>
113
166
 
114
- Content of this frame:
167
+ Cast in this frame (only these):
168
+ - <one short line per cast member who appears>
169
+
170
+ This frame:
115
171
  - A hand-drawn circled number "1" in the top-left corner.
116
- - Handwritten title across the top: "...".
117
- - <shared chrome described literally>
118
- - <the one highlighted/changed element, in coral>
119
- - A handwritten caption along the bottom: "...".
172
+ - Composition, left to right: ...
173
+ - State: each card, its exact text, its marks.
174
+ - Changed since last frame: the one thing. Everything else matches the previous plan.
175
+ - The only words in the picture: "..."
120
176
  PROMPT
121
177
 
122
- # Download the pixels and Read them to confirm the style landed.
178
+ # Download the pixels and Read them. Use a new path every time you download:
179
+ # re-downloading over an existing file can leave the old image in place.
123
180
  cnotes files get "$(node -e 'console.log(JSON.parse(require("fs").readFileSync("kf1.json","utf8")).storageId)')" -o /tmp/mockups/kf1.png
124
181
  ```
125
182
 
126
- **Always generate frame 1 first and look at it** (Read `/tmp/mockups/kf1.png`) to confirm the
127
- fidelity lands before spending calls on the rest. Once it's right, generate the remaining frames
128
- the same way (one `gen-image` call each), re-pasting the same style preamble and the same chrome
129
- description in every frame. Collect each frame's `.fullUrl`, **in frame order**, into `urls.txt`:
183
+ **Always generate frame 1 first and look at it** (Read `/tmp/mockups/kf1.png`) to confirm the fidelity lands before spending calls on the rest. Once it's right, generate the remaining frames the same way (one call each), re-pasting the same style preamble. On the text-only path, re-paste the same cast lines that appear in that frame and that frame's plan. Collect each frame's `.fullUrl`, **in frame order**, into `urls.txt`:
130
184
 
131
185
  ```bash
132
186
  # Repeat per frame; appends the fullUrl in order.
133
187
  cnotes files gen-image --aspect 16:9 -w "$WS" --json <<'PROMPT' \
134
188
  | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).fullUrl))' >> urls.txt
135
- <style preamble + this frame's content>
189
+ <style preamble + cast lines in this frame + this frame's plan>
136
190
  PROMPT
137
191
  ```
138
192
 
139
- Then look at every frame twice.
193
+ On a retry, download to a fresh name (`kf1-try2.png`), and read that file.
194
+
195
+ > Admins and Pro workspaces generate on the server. Everyone else adds `--byo-key` after setting `GOOGLE_GENERATIVE_AI_API_KEY`. See the section above, and `cnotes files gen-image --help` for the flags.
196
+
197
+ ---
198
+
199
+ ## Check each frame
140
200
 
141
- **Style check:** same chrome across all, coral only on the changed thing, numbers in order,
142
- captions legible, the sequence tells the story.
201
+ Open every image. Fill one row per frame in your working notes, and keep the table off the canvas. A cell is "pass" or the specific miss.
143
202
 
144
- **Cold read (the one that catches slop):** for each frame, before re-reading your own prompt,
145
- write one sentence describing what a stranger sees: "the person said X and Y appeared". If
146
- that sentence names neither a cause nor an effect, or uses a word that is not in the picture,
147
- the frame fails the meaning test in Step 0. Regenerate it with the cause drawn into the scene,
148
- or cut it. The image model draws what you asked for; a meaningless frame is a meaningless
149
- prompt, not a model miss.
203
+ | Frame | Cast, nobody extra | Traits | Card count and exact text | Marks | Answer-card look | Inside its object | No stray label or border | Tab or title text |
204
+ |-------|--------------------|--------|---------------------------|-------|------------------|-------------------|---------------------------|-------------------|
205
+ | 1 | | | | | | | | |
150
206
 
151
- > **Admins** generate server-side with no local key. **Everyone else** adds `--byo-key` after
152
- > setting `GOOGLE_GENERATIVE_AI_API_KEY` (get a key at ai.google.dev): the image is then generated
153
- > on the local machine and uploaded, and the key never leaves it. See `cnotes files gen-image --help`.
207
+ **Style check:** same chrome across all, coral only on the changed thing, numbers in order, the sequence tells the story.
208
+
209
+ **Cold read (the one that catches slop):** for each frame, before re-reading your own prompt, write one sentence describing what a stranger sees: "the person said X and Y appeared". If that sentence names neither a cause nor an effect, or uses a word that is not in the picture, the frame fails the meaning test in Step 0. Fix it with the rules below, or cut it. The image model draws what you asked for; a meaningless frame is a meaningless prompt.
154
210
 
155
211
  ---
156
212
 
157
- ## Step 3 — Place on the canvas as a journey filmstrip
213
+ ## Fix only the frames that broke
214
+
215
+ - Regenerate only the failing frame. Add one targeted line naming the failure ("no antennas", "both buttons inside the phone screen") and leave every other line alone.
216
+ - With an edit-capable tool, edit just that region of that frame.
217
+ - Stop after 3 tries on a frame and record what is left. Do not loop.
218
+ - If UI state keeps drifting, render the board and cards some other way (a real screenshot, or HTML/SVG) and generate only the people.
219
+
220
+ A frame you replace on the canvas later is its own edit. See Step 3.
221
+
222
+ ---
158
223
 
159
- Use the `cnotes` CLI. Wrap the canvas writes in an operation. Step 2 already stored each image and
160
- gave you a `fullUrl` per frame (in `urls.txt`, frame order), so there is **no separate upload
161
- step** — just place the URLs as a horizontal stack (the filmstrip) with a header above.
224
+ ## Step 3: Place on the canvas as a journey filmstrip
225
+
226
+ Use the `cnotes` CLI. Wrap the canvas writes in an operation. Step 2 already stored each image and gave you a `fullUrl` per frame (in `urls.txt`, frame order), so placing uses those URLs. The filmstrip place is one edit. Include the trust card in that same place.
162
227
 
163
228
  ```bash
164
229
  WS=<workspaceId>
@@ -169,18 +234,14 @@ cnotes operations begin -w "$WS" --prompt "Add fat-marker user-journey keyframes
169
234
  # urls.txt already holds one fullUrl per line, in frame order, from Step 2.
170
235
  ```
171
236
 
172
- Build a `place` spec where each frame is **one `richtext` item**: `![Keyframe N](<fullUrl>)`,
173
- plus the optional one-sentence line from Step 5 after a blank line. Keep image and line in the
174
- same node; never split them into a tile plus a second card. Use a horizontal stack for up to 4
175
- frames, a 3-column grid for 5 to 6, with a header richtext above.
237
+ Build a `place` spec where each frame is **one `richtext` item**: `![Keyframe N](<fullUrl>)`, plus the optional one-sentence line from Step 0 after a blank line. Keep image and line in the same node. Use a horizontal stack for up to 4 frames, a 3-column grid for 5 to 6, with a header richtext above.
238
+
239
+ The header is the flow name only (`# <flow>`). Section headers are plain nouns ("The problem", "Solutions"): no counts, no framing phrases. Never write reading instructions on the canvas ("Read 1 to N", "coral marks…", "in N moments"); the numbering and the coral accent speak for themselves.
176
240
 
177
- The header is the flow name only (`# <flow>`). Section headers are plain nouns ("The problem",
178
- "Solutions"): no counts, no framing phrases. Never write reading instructions on the canvas
179
- ("Read 1 to N", "coral marks…", "in N moments"); the numbering and the coral accent speak for
180
- themselves.
241
+ Under the filmstrip, add one richtext card of a few sentences: what the check found, and anything still broken, so the reader knows how much to trust the set. That card is the check record. Leave the header and the frames free of reading instructions. When you made a cast sheet, place it as its own richtext image above the filmstrip.
181
242
 
182
243
  ```js
183
- // build-journey.js — writes journey.json
244
+ // build-journey.js: writes journey.json
184
245
  const fs = require('fs');
185
246
  const urls = fs.readFileSync('urls.txt','utf8').trim().split('\n');
186
247
  const lines = JSON.parse(fs.readFileSync('lines.json','utf8')); // one string per frame, '' when the sketch reads cold
@@ -189,6 +250,7 @@ const frames = urls.map((u,i)=>({kind:'item',type:'richtext',size:'medium',key:`
189
250
  const spec = { root: { kind:'stack', axis:'vertical', gap:'medium', align:'start', items:[
190
251
  {kind:'item',type:'richtext',size:'medium',content:'# <flow>'},
191
252
  {kind:'grid', columns: 3, gap:'medium', items:frames},
253
+ {kind:'item',type:'richtext',size:'medium',content:'<what the check found, and anything still broken>'},
192
254
  ]}};
193
255
  fs.writeFileSync('journey.json', JSON.stringify(spec));
194
256
  ```
@@ -198,9 +260,19 @@ node build-journey.js
198
260
  cnotes canvas place $CANVAS -w $WS --spec ./journey.json --json > placed.json
199
261
  ```
200
262
 
263
+ Swapping one frame after a fix is a new operation. Rewrite that one richtext node and leave the others:
264
+
265
+ ```bash
266
+ cnotes operations begin -w "$WS" --prompt "Replace keyframe <N> after a failed check" --json >/dev/null
267
+ cnotes canvas update-text $CANVAS -w $WS --node <richtextId> --content-file ./kfN.md
268
+ cnotes operations end -w $WS
269
+ ```
270
+
271
+ `kfN.md` is the image markdown for the new file, plus the optional one-sentence line when the sketch still cannot be read cold.
272
+
201
273
  ---
202
274
 
203
- ## Step 4 — Position the band (the bulk-move offset trick)
275
+ ## Step 4: Position the band (the bulk-move offset trick)
204
276
 
205
277
  `cnotes canvas place` **ignores an absolute origin** and appends the new block *below* existing content. To put the filmstrip somewhere specific (e.g. a hero band above the title), read the returned positions, compute one uniform offset, and `bulk-move` the whole group so the relative layout is preserved:
206
278
 
@@ -219,25 +291,29 @@ cnotes canvas bulk-move $CANVAS -w $WS --moves "$(cat moves.json)"
219
291
  cnotes operations end -w $WS
220
292
  ```
221
293
 
294
+ The place and this bulk-move share the operation opened in Step 3. A later frame swap opens its own operation, as shown above.
295
+
222
296
  ---
223
297
 
224
298
  ## Gotchas (learned the hard way)
225
299
 
226
- - **Carry the sequence with circled numbers and left-to-right layout, not drawn arrows.** The numbered filmstrip reads as a journey at a glance; arrows between frames add clutter. (Edges between richtext/image stickies *do* now connect if you need one — e.g. a labeled "then" between two moments — but reach for them sparingly; the layout is the primary device.)
300
+ - **Carry the sequence with circled numbers and left-to-right layout.** The numbered filmstrip reads as a journey at a glance. Arrows between frames add clutter. (Edges between richtext and image stickies connect if you need one, for example a labeled "then" between two moments. Reach for them sparingly. The layout is the primary device.)
227
301
  - **`place` ignores absolute origin** and appends below existing content. Use the bulk-move offset trick above to reposition.
228
302
  - **richtext size presets:** `large` ≈ 1680px wide, `medium` ≈ 1120px, `small` ≈ 560px. For a 6-frame filmstrip, `medium` is the sweet spot; `large` makes a ~11,000px strip nobody can pan.
229
303
  - **Don't verify by grepping `![` in node content.** CreatorNotes converts the image markdown into a TipTap image node on save, so the raw content no longer contains `![`. Verify instead by counting richtext nodes / their positions (e.g. nodes with negative Y for a top band).
230
- - **No local key needed (admin).** `cnotes files gen-image` generates server-side, so there's nothing to export. Non-admins pass `--byo-key` after setting `GOOGLE_GENERATIVE_AI_API_KEY`; the image is generated locally and the key never leaves the machine.
304
+ - **Server key or your own key.** Pro workspaces and allowlisted admins call `cnotes files gen-image` on the server (10 credits per image; admins skip the charge). Otherwise set `GOOGLE_GENERATIVE_AI_API_KEY` and pass `--byo-key`. On that path the key stays on this machine and is never sent to CreatorNotes.
231
305
  - **Internal/working mockups go in the Private workspace.** Use `-w <privateId>` and verify with `cnotes workspace current`.
232
306
  - **One change per frame.** If two things differ between adjacent frames, split into two frames. Ambiguity about "what changed" is what makes a storyboard unreadable.
233
307
  - **A tag is not a moment.** "noted", "live", "saved", a pin, a checkmark on its own: these are the builder's bookkeeping, invisible to the person. Draw what the person did and what the screen did back. The mechanism belongs in the shape's parts table, not in the sketch.
234
308
  - **An image may stand alone when it reads cold.** Add one sentence only when it doesn't, inside the same richtext node. History: bare tiles that failed the meaning test were rejected as "visual AI slop" on 2026-09-26; the fix that followed (mandatory multi-sentence explainers) over-corrected into caption slop. Fix the sketch first, not the caption.
235
309
  - **Grid order follows measured y, not your item order.** When frames in one row measure a few pixels apart in height, a later read-back sorts them by position and the row can come out 6, 4, 5. After placing, read the positions back and `bulk-move` any row whose x order does not match the circled numbers.
310
+ - **Three tries, then stop.** Record the remaining miss on the trust card. Another prompt loop will not make a drifting card reliable.
236
311
 
237
312
  ---
238
313
 
239
314
  ## When NOT to use this
240
315
 
241
- - The user wants production-ready, pixel-accurate UI: use a real design tool, not fat-marker sketches.
316
+ - The user wants a how-to of the live product: use `howto-filmstrips`. Screenshots stay consistent without a cast list.
317
+ - The user wants a polished, pixel-accurate mock of UI that is not in the product yet: use a design tool.
242
318
  - It's a single static screen with no flow: one sketch is fine, skip the journey scaffolding.
243
319
  - The decision is still about the *problem*, not a solution shape: shape it in words first (see the shaping / framing-doc skills) before drawing keyframes of a solution you haven't chosen.
@@ -5,7 +5,8 @@ description: >-
5
5
  canvas: live CSS highlight on the click target, soft radial spotlight, then
6
6
  screenshot → upload → one walkthrough note → place. Use when the user wants a screenshot storyboard,
7
7
  click-path how-to, JTBD walkthrough, multi-path UI guide, or "show me how to
8
- do X in the app" with accurate click markers (not fat-marker sketches).
8
+ do X in the app" with accurate click markers. Sketched frames, a visual story,
9
+ or a storyboard with recurring people belong to fat-marker-flows.
9
10
  ---
10
11
 
11
12
  # How-to filmstrips (live UI capture on a canvas)
@@ -14,7 +15,7 @@ Turn a real product flow into a left-to-right filmstrip of screenshots on a Crea
14
15
 
15
16
  The durable output is **one walkthrough note** holding every step and its screenshot, stamped with the product version and date it shows. The filmstrip on the canvas is a projection of that note: people scan the strip, while search, citations and agents read the note.
16
17
 
17
- This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker for proposed / Shape Up sketches; use this skill for “how do I do this in the live product?”
18
+ This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker-flows for a proposed Shape Up sketch and for a visual story whose characters stay the same. Use this skill when the question is how to do it in the live product.
18
19
 
19
20
  ---
20
21
 
@@ -39,7 +40,7 @@ This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker for
39
40
 
40
41
  **Use when:** documenting a live click path, comparing entry points (Path A/B/C), workshop how-tos, JTBD storyboards from a real app.
41
42
 
42
- **Do not use when:** the UI does not exist yet (use `fat-marker-flows`), or the user wants a polished Figma mock (use a design tool).
43
+ **Do not use when:** the UI does not exist yet, or the frames are imagined people and objects that must stay the same. Both are `fat-marker-flows`. A polished Figma mock belongs in a design tool.
43
44
 
44
45
  ---
45
46
 
@@ -252,7 +253,7 @@ cnotes operations end -w "$WS" --json
252
253
 
253
254
  | Skill | Fidelity | Source |
254
255
  |-------|----------|--------|
255
- | `fat-marker-flows` | Rough Shape Up sketches | Image model |
256
+ | `fat-marker-flows` | Rough Shape Up sketches, and a visual story with recurring people | Image model |
256
257
  | `howto-filmstrips` | Real product UI | Browser capture + CSS |
257
258
 
258
- Same canvas can hold a fat-marker “proposed” row and a how-to “as shipped” row — keep the visual language of each skill intact so readers never confuse sketch with screenshot.
259
+ Same canvas can hold a fat-marker "proposed" row and a how-to "as shipped" row. Keep the visual language of each skill intact so a reader can tell a sketch from a screenshot.