gooseworks 0.4.2 → 0.4.4

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.
Files changed (84) hide show
  1. package/README.md +42 -11
  2. package/dist/commands/doctor.d.ts +29 -5
  3. package/dist/commands/doctor.d.ts.map +1 -1
  4. package/dist/commands/doctor.js +107 -63
  5. package/dist/commands/doctor.js.map +1 -1
  6. package/dist/commands/fetch.d.ts +1 -0
  7. package/dist/commands/fetch.d.ts.map +1 -1
  8. package/dist/commands/fetch.js +64 -29
  9. package/dist/commands/fetch.js.map +1 -1
  10. package/dist/commands/install.d.ts.map +1 -1
  11. package/dist/commands/install.js +37 -4
  12. package/dist/commands/install.js.map +1 -1
  13. package/dist/commands/login.d.ts.map +1 -1
  14. package/dist/commands/login.js +8 -3
  15. package/dist/commands/login.js.map +1 -1
  16. package/dist/commands/skills.d.ts +34 -0
  17. package/dist/commands/skills.d.ts.map +1 -0
  18. package/dist/commands/skills.js +109 -0
  19. package/dist/commands/skills.js.map +1 -0
  20. package/dist/commands/update.d.ts.map +1 -1
  21. package/dist/commands/update.js +17 -6
  22. package/dist/commands/update.js.map +1 -1
  23. package/dist/commands/video-local.d.ts +9 -0
  24. package/dist/commands/video-local.d.ts.map +1 -0
  25. package/dist/commands/video-local.js +83 -0
  26. package/dist/commands/video-local.js.map +1 -0
  27. package/dist/commands/video-save.d.ts +3 -0
  28. package/dist/commands/video-save.d.ts.map +1 -0
  29. package/dist/commands/video-save.js +83 -0
  30. package/dist/commands/video-save.js.map +1 -0
  31. package/dist/index.js +7 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/lib/video-local-captions.d.ts +83 -0
  34. package/dist/lib/video-local-captions.d.ts.map +1 -0
  35. package/dist/lib/video-local-captions.js +261 -0
  36. package/dist/lib/video-local-captions.js.map +1 -0
  37. package/dist/lib/video-local-runtime.d.ts +8 -0
  38. package/dist/lib/video-local-runtime.d.ts.map +1 -0
  39. package/dist/lib/video-local-runtime.js +201 -0
  40. package/dist/lib/video-local-runtime.js.map +1 -0
  41. package/dist/lib/video-save-mcp.d.ts +9 -0
  42. package/dist/lib/video-save-mcp.d.ts.map +1 -0
  43. package/dist/lib/video-save-mcp.js +162 -0
  44. package/dist/lib/video-save-mcp.js.map +1 -0
  45. package/dist/lib/video-save.d.ts +77 -0
  46. package/dist/lib/video-save.d.ts.map +1 -0
  47. package/dist/lib/video-save.js +440 -0
  48. package/dist/lib/video-save.js.map +1 -0
  49. package/dist/skills/custom-video-skill.d.ts +3 -0
  50. package/dist/skills/custom-video-skill.d.ts.map +1 -0
  51. package/dist/skills/custom-video-skill.js +6 -0
  52. package/dist/skills/custom-video-skill.js.map +1 -0
  53. package/dist/skills/installer.d.ts +12 -6
  54. package/dist/skills/installer.d.ts.map +1 -1
  55. package/dist/skills/installer.js +41 -15
  56. package/dist/skills/installer.js.map +1 -1
  57. package/dist/skills/master-skill.d.ts +22 -19
  58. package/dist/skills/master-skill.d.ts.map +1 -1
  59. package/dist/skills/master-skill.js +1472 -551
  60. package/dist/skills/master-skill.js.map +1 -1
  61. package/dist/skills/package-freshness.d.ts +16 -0
  62. package/dist/skills/package-freshness.d.ts.map +1 -0
  63. package/dist/skills/package-freshness.js +36 -0
  64. package/dist/skills/package-freshness.js.map +1 -0
  65. package/dist/skills/releases.d.ts +12 -0
  66. package/dist/skills/releases.d.ts.map +1 -0
  67. package/dist/skills/releases.js +152 -0
  68. package/dist/skills/releases.js.map +1 -0
  69. package/dist/skills/routes.d.ts.map +1 -1
  70. package/dist/skills/routes.js +7 -1
  71. package/dist/skills/routes.js.map +1 -1
  72. package/dist/utils/browser-preflight.d.ts +29 -0
  73. package/dist/utils/browser-preflight.d.ts.map +1 -0
  74. package/dist/utils/browser-preflight.js +338 -0
  75. package/dist/utils/browser-preflight.js.map +1 -0
  76. package/package.json +2 -2
  77. package/skills/goose-ads/SKILL.md +124 -16
  78. package/skills/goose-product-photos/SKILL.md +55 -3
  79. package/skills/goose-video/SKILL.md +322 -253
  80. package/skills/goose-video-local/SKILL.md +1199 -234
  81. package/skills/gooseworks/SKILL.md +199 -13
  82. package/skills/make-custom-video/SKILL.md +490 -0
  83. package/skills/manifest.json +12 -0
  84. package/skills/routes.json +8 -1
@@ -5,6 +5,7 @@ description: >
5
5
  GooseWorks growth coworker and specialist-skill router. Research brands, customers, competitors,
6
6
  creators, markets, and prospects; analyze ads and performance; create ads, product photos,
7
7
  graphics, and video; search and scrape public web and social data; find and enrich leads.
8
+ Capture founder answers, brand rules, audience depth, and video taste in the existing brand.
8
9
  Use it as the single GooseWorks entry point for brand growth, B2B, sales, research, and GTM work.
9
10
  category: general
10
11
  version: 1.0.0
@@ -18,15 +19,72 @@ You have access to GooseWorks — an AI coworker with specialist skills for rese
18
19
 
19
20
  This skill is also the **parent router** for the GooseWorks family. Data/GTM work you handle here (see "How to Use"); specialized work you hand off to a dedicated `goose-*` skill.
20
21
 
22
+ ## How to talk to the customer (applies to every message you send them)
23
+
24
+ The customer is a marketer or founder, not an engineer. Everything in this skill about tools,
25
+ fields, files, polling, models and pipeline steps is for YOU. Never pass it on to them.
26
+
27
+ - **Say what they get and what they need to decide, never how it's made.**
28
+ Bad: "Checking the media-proxy helpers for voiceover timestamps and lipsync." / "Generated with
29
+ gpt-image-2 at high quality, mouth closed, passes QC."
30
+ Good: "Recording the voices now." / "Here are your two hosts."
31
+ - **Never mention** tool, file or field names, ids, JSON, commands, scripts, installed software,
32
+ uploads, model or vendor names, timings in seconds or frames, retries, polling, internal statuses
33
+ or your own quality checks. Fix what you can quietly. If they ask how something works, explain it
34
+ simply.
35
+ - **Update them only at milestones they care about**: choices confirmed, script and voices done,
36
+ visuals done, ready to review, finished. One short line each, then stay quiet until the next
37
+ milestone. No update for setup, downloads, uploads or saving.
38
+ - **Money is in credits, with a number**: "the full video uses about N credits". Never "the cheap
39
+ pieces" or "the expensive render".
40
+ - **Problems:** say what it means for them and what they can do, in one or two sentences. No error
41
+ codes or stack traces. Only raise a problem that changes something for them.
42
+ - **Use their words**: script, voice, hook, scene, host, ending, logo, the product shot.
43
+ - **No filler**: no "Great question!", "Certainly!", "I hope this helps!", no restating what they
44
+ just said at length.
45
+
46
+ Example. Instead of a dozen lines about render tools, scripts, uploads and portraits, send:
47
+ "Got it: warm tone, home podcast studio, Brielle as the skeptic and Mark as the believer." then
48
+ "Script and voices are done (about 34 seconds)." then "Ready for you to review: the script, voices,
49
+ both hosts and the ending. You can also review your recipe ingredients in the app: <link>. Say go
50
+ here and I'll make the full video (about N credits)."
51
+
52
+ ## Use current instructions for new work
53
+
54
+ Before a new task in a terminal host, run `gooseworks skills status` once. It compares the
55
+ installed entry files, running CLI and published npm release. An older CLI needs a package
56
+ upgrade before `gooseworks update`; update alone only uses that CLI's bundled instructions.
57
+ Preserve local edits or unknown install provenance. Review/back up before explicitly replacing
58
+ modified files; never quietly reinstall over them. If the release check is unavailable, report
59
+ that freshness is unknown rather than claiming the local copy is latest.
60
+
61
+ For a new recipe run, fetch its package from the connected catalog. Retain the returned
62
+ `version` / `contentHash` and every dependency's hash with the saved package. When reusing a
63
+ saved fetch JSON, `gooseworks fetch <slug> --saved-package <file>` returns the current package
64
+ and a hash comparison without changing that file. With MCP, if the advertised `catalog_fetch`
65
+ schema accepts them, send `saved_content_hash` and `saved_dependency_hashes`; otherwise fetch
66
+ normally and compare the returned hashes yourself. Missing hashes mean unknown, not current.
67
+ The server cannot inspect a client's saved files; hash metadata does not certify later edits.
68
+ Fetch current packages into a new run directory and report stale saved instructions. Preserve
69
+ an existing approved run's recorded package; changing that harness requires a reviewed change
70
+ and approval before spending. Hosted installed snapshots use the existing Skills Update action.
71
+ Skill content and a host's cached MCP tool schemas are separate: refreshing one does not refresh
72
+ the other. Check the actual advertised tools before using new fields.
73
+
21
74
  ## Route to the right skill FIRST
22
75
 
23
76
  First apply the **Common company onboarding** gate below. Preserve the user's original request while onboarding, then continue with it as soon as onboarding is complete. Then load the brand context (**"Load the brand context FIRST"**, immediately below). After that, check whether the request belongs to a specialized domain. If so, **switch to that skill** instead of the data flow below:
24
77
 
78
+ For "interview me about the brand", "save our brand rules", "refine our audience", or "remember
79
+ our video taste", stay here and follow **Guided brand capture** below. This extends the current
80
+ brand and onboarding flow; it does not create another onboarding checklist.
81
+
25
82
  | If the user wants… | Route to | How |
26
83
  | --- | --- | --- |
27
84
  | Remix/make an ad, research a brand for ads, OR analyze ad performance — Meta/Google ad campaigns, creative fatigue, CAC/lead quality, competitor ad intel, ad angles & hooks | **`goose-ads`** | Installed locally as an entry skill. Just use it. If unavailable, run `gooseworks install --claude`. |
28
85
  | Charts, infographics, slides, social graphics, branded visual designs from a style/format | **`goose-graphics`** | If installed locally, use it. Otherwise `gooseworks fetch goose-graphics` (or `gooseworks install --claude --with goose-graphics`). |
29
- | Order a **video** ad in chat — "make me a video ad for <brand>", a UGC / iMessage / explainer video; renders on the GooseWorks server | **`goose-video`** | Installed locally as an entry skill. Just use it. If unavailable, run `gooseworks install --claude`. |
86
+ | Make a **video** ad from a template or an original brief. Template-free briefs and Instagram/direct video references route to make-custom-video. Growth renders in its sandbox; connected coding agents use their local toolchain. | **`goose-video`** | Installed locally as an entry skill. Just use it. If unavailable, run `gooseworks install --claude`. |
87
+ | Create an original branded video without a template, adapt an Instagram/direct video reference, or resume a generated custom project; separate Studio script and ingredient approvals are required | **`make-custom-video`** | Use the installed GooseWorks connection entry, or fetch make-custom-video through the catalog. It loads video-production-harness; Growth uses its sandbox and connected agents use their local tools. |
30
88
  | Render an EXISTING app video project or batch on this machine — the app's "copy for Claude" command names it | **`goose-video-local`** | Installed locally as an entry skill. Just use it. If unavailable, run `gooseworks install --claude`. |
31
89
  | Make **product photos** — studio, lifestyle, marketplace, social, or on-model product photography | **`goose-product-photos`** | Installed locally as an entry skill. Just use it. If unavailable, run `gooseworks install --claude`. |
32
90
  | Animate an approved static ad or product image | **`animate-image`** | Fetch with `gooseworks fetch animate-image` and follow its GooseWorks MCP workflow. |
@@ -36,7 +94,7 @@ Examples — all of these route to `goose-ads`, not the data flow: "remix this a
36
94
 
37
95
  ## Load the brand context FIRST (mandatory — before you route, and before you ask anything)
38
96
 
39
- **Call `brand_get_context` before the first substantive step of ANY task**, and before you route to a specialist skill. It is a cheap, read-only call that returns the brand's canonical facts:
97
+ **Call `brand_read { brand_id, sections: ["summary", "kit", "products", "learnings", "onboarding"] }` before the first substantive step of ANY task**, and before you route to a specialist skill. Older clients can use `brand_get_context` with the same sections only when that tool is advertised. It is a read-only call that returns the brand's canonical facts and saved rules:
40
98
 
41
99
  | It returns | Use it for |
42
100
  | --- | --- |
@@ -51,8 +109,8 @@ Then:
51
109
  1. **Pass what it returned INTO the routed skill.** When you hand off to `goose-ads`, `goose-video`, `goose-product-photos`, `goose-graphics`, or a fetched Brand Growth recipe, carry the voice / products / audience / positioning with you. Do **not** make the routed skill re-derive them, and do **not** re-run brand research when the context is already there.
52
110
  2. **Never re-ask the user for something the brand context already answers.** If a routed skill's own prose asks a question the context answers, the context wins — answer it yourself and move on. Ask only for what is genuinely missing or ambiguous.
53
111
  3. **If research status is not complete**, say so in one line, use what you have, and continue. Only run brand research when the context comes back empty or the user asks for it.
54
- 4. **If `brand_get_context` is unavailable** (no MCP connection), fall back to `get_brand_kit` for the selected brand and treat its fields the same way. If neither is available, tell the user the GooseWorks MCP connection is needed rather than guessing brand facts.
55
- 5. **Treat it as read-only.** Writing brand facts back is the reconciliation flow in `goose-ads` (ask first, then `update_brand_kit`) — not something this router does.
112
+ 4. **If `brand_read` is unavailable**, refresh the GooseWorks connection or tool list. An older connection may expose `brand_get_context` / `get_brand_kit`; use those only when actually advertised. Never require a legacy tool name or guess brand facts.
113
+ 5. **A read grants no write permission.** Save explicit durable answers/corrections with the capture policy below. Propose agent-derived changes for review; never overwrite confirmed knowledge with research or a guess.
56
114
 
57
115
  Never invent a brand fact. If it isn't in the brand context and the user hasn't said it, ask.
58
116
 
@@ -109,16 +167,144 @@ When onboarding returns a review link, show that single link and ask the user to
109
167
  Use the host's native question controls. Ask one short group at a time and rely on the live tool schema for accepted values.
110
168
 
111
169
  1. **Start** — If status returns `start`, ask for the company website or Apple App Store URL. Also offer the optional hero product URL and “Where do you do your work?” choices: Slack, WhatsApp, iMessage, Claude Code, Claude, Codex, and ChatGPT. Call `action: "start"`; server-side research begins immediately. If status returns `select_brand`, ask which company/client to use. Otherwise reuse the only brand automatically.
112
- 2. **Your coworker** — Ask what they want to name their Growth Coworker. A text-only client may keep the default avatar; do not block on an image. Save with `action: "save_coworker"`.
113
- 3. **Your company** — Use the returned `company_draft` as the starting point and ask the user to verify or edit: what they sell (`marketCategory`), where people buy (`appPlatforms`), primary customer, customer problem, promised outcome, and optional differentiator. Save with `action: "save_company"`.
114
- 4. **Your taste** — In a terminal or CLI host, use the returned `taste_url`: open it when the host supports opening links and always show one clickable **Choose your taste in GooseWorks** link. Ask the user to heart or skip ads on that page, click **Continue** or **Skip this**, return to the agent, and reply `done`. Do not print, enumerate, or summarize `taste_deck` in the terminal. After `done`, call `brand_onboarding { action: "status" }` again and follow the refreshed `next_step`. In a chat host that renders images, show only the one image attached by the tool and save each Love/Skip decision with `action: "save_taste"`; send `complete: true` after three hearts or an explicit skip.
115
- 5. **First campaign** — Ask **“What’s happening right now?”**: launch `launch`, promotion `promo`, seasonal moment `seasonal`, or nothing special `nothing`, plus an optional note. Call `action: "propose_campaign"`, show the returned editable card (name, objective, offer, audience, 2–3 angles, CTA, and product URL), and save edits with `action: "save_campaign"`. Send `accept: true` only after approval; acceptance can start the complimentary first creatives.
116
- 6. **Where you are** — Ask monthly ad spend (`none`, `under_1k`, `1k_5k`, `5k_25k`, `25k_plus`), annual revenue (`under_1m`, `1m_10m`, `10m_100m`, `100m_plus`), the 90-day goal, current channels (an empty list is a valid “nothing yet”), and at least one channel they are willing to use. Channel values: `paid_social`, `search_ads`, `content`, `creators`, `seo`, `communities`, `referrals`, `partnerships`, `outbound`, `app_stores`, `other`. Save with `action: "save_progress"`.
117
- 7. **Review** — Show the returned founder, researched, and inferred facts with their provenance. The user may correct positioning, audience, voice, value propositions, proof points, or competitors through `action: "review_research"`. Complete the review even when research is still running, failed, or sparse; never trap the user waiting for it.
118
- 8. **Channels** — If `channel_connected` is already true, this is complete automatically. Otherwise ask whether they want to connect Slack, WhatsApp, or iMessage later, or skip for now. An explicit skip is valid; call `action: "complete_channels"`.
170
+ 2. **Your coworker** — The current flow accepts the default coworker automatically. If an older session returns `coworker`, refresh `status`; do not introduce a naming/avatar question. Rename only when the user asks and the live tool supports it.
171
+ 3. **Your company** — Use the returned `company_draft` plus the user's existing answers. Ask only to verify missing or ambiguous details: what they sell (`marketCategory`), where people buy (`appPlatforms`), primary customer, customer problem, promised outcome, and optional differentiator. Monthly Meta ad spend belongs here when absent: `none`, `under_10k`, `10k_50k`, `50k_150k`, `150k_plus`, or `not_sure`. Save the merged required company object with `action: "save_company", company: { … }`; read `status` back.
172
+ 4. **Your taste** — In a terminal or CLI host, use the returned `taste_url`: open it when the host supports opening links and always show one clickable **Choose your taste in GooseWorks** link. Ask the user to heart or skip ads on that page, click **Continue** or **Skip this**, return to the agent, and reply `done`. Do not print, enumerate, or summarize `taste_deck` in the terminal. After `done`, call `brand_onboarding { action: "status" }` again and follow the refreshed `next_step`. In a chat host that renders images, show only the one image attached by the tool and save each Love/Skip decision with `action: "save_taste", taste: { hearted_ids, skipped_ids, complete }`; set `taste.complete: true` after three hearts or an explicit skip.
173
+ 5. **First campaign** — Ask **“What’s happening right now?”**: launch `launch`, promotion `promo`, seasonal moment `seasonal`, or nothing special `nothing`, plus an optional note. Call `action: "propose_campaign"`, show the returned editable card (name, objective, offer, audience, 2–3 angles, CTA, and product URL), and save edits with `action: "save_campaign"`. Send `campaign.accept: true` only after approval; acceptance can start the complimentary first creatives.
174
+ 6. **Review** — Show the returned founder, researched, and inferred facts with their provenance. The user may correct positioning, audience, voice, value propositions, proof points, or competitors through `action: "review_research", review: { action: "correct", field, value }`. A proof-point edit does not approve a claim. Complete with `review: { action: "complete" }` even when research is still running, failed, or sparse; never trap the user waiting for it.
175
+ 7. **Channels** — If `channel_connected` is already true, this is complete automatically. Otherwise ask whether they want to connect Slack, WhatsApp, or iMessage later, or skip for now. An explicit skip is valid; call `action: "complete_channels"`.
176
+
177
+ The former revenue / 90-day-goal / `save_progress` screen is retired. Do not insert it into
178
+ onboarding. Ask those human-only questions later only when the user's task needs them.
119
179
 
120
180
  Do not ask for role, discovery source, who makes creatives, who manages ads, or a separate “what do you want to do first?” menu. Those belonged to the retired CLI questionnaire. The task the user already asked for is their first task.
121
181
 
182
+ ## Guided brand capture
183
+
184
+ Use this when the user requests a founder interview, audience/rules capture, or video taste.
185
+ Keep their original task pending. Load the current brand first, compare it with information
186
+ already volunteered in this chat, and **save known information first** using the canonical
187
+ mapping below. Do not run a long questionnaire as a prerequisite for making an ad.
188
+
189
+ For facts needed by the task but absent from the read, call `knowledge_search` first if it is
190
+ registered. Use returned citations and states honestly: an empty, building or failed index is
191
+ not proof that the brand has no answer. Do not re-scrape or ask the founder for a fact already
192
+ answered by trustworthy saved knowledge.
193
+
194
+ Ask one short group of missing human-only facts at a time, in plain language, with the relevant
195
+ known answer in that same question. "Skip" or "not sure" is valid. Examples, **only for gaps**:
196
+
197
+ | Gap | Useful question |
198
+ | --- | --- |
199
+ | Founder origin or conviction | "What made you start this, and what do you believe that alternatives get wrong?" |
200
+ | Audience depth | "Who buys first, what problem pushes them to act, and what nearly stops them?" |
201
+ | Buying trigger or alternatives | "What happens just before they look for you, and what do they use instead?" |
202
+ | Rules | "What must we always say or show, and what must we never say or imply?" |
203
+ | Proof | "What evidence supports that result, and do we have permission to quote the customer?" Keep unsupported claims pending. |
204
+ | Video taste | "Share a video you like and what you would keep or avoid: pace, voice, captions, or look." |
205
+
206
+ Keep skipped or uncertain answers as gaps in the brief; do not save them as confirmed facts.
207
+ Save each answered group and read it back before the next group. Stop when the requested capture
208
+ is covered or the user skips; resume from canonical saved answers after interruption. Present a
209
+ short brief containing verified answers, attribution, pending proposals and remaining gaps, then
210
+ continue the original task. Review happens in this chat plus any proposal review link returned
211
+ by the tools. Do not promise an unavailable evidence, claims or plan write.
212
+
213
+ ## Save durable brand answers, then verify them
214
+
215
+ Read the selected brand with `brand_read { brand_id, sections: ["summary", "kit", "products", "learnings", "onboarding"] }`
216
+ (fallback: `brand_get_context` with the same sections). Keep founder answers, user corrections,
217
+ research and your own hypotheses distinct. Reuse matching saved answers; ask only about gaps.
218
+
219
+ When the user asks to remember a rule, answers a brand interview, or explicitly corrects a
220
+ standing fact, save that answer in the same turn. The capture request authorizes those answers;
221
+ do not ask for approval again. A direction for this one video stays in its brief. If the scope
222
+ is genuinely ambiguous, ask whether it applies to future videos before saving a standing rule.
223
+
224
+ Use the **live registered schema**. Where supported, call `brand_update` with
225
+ `knowledge_intent: "user_correction"` and `user_statement` containing the user's exact,
226
+ verbatim answer, not your paraphrase or researched text.
227
+ For an inference or suggested improvement, use `knowledge_intent: "agent_proposal"`. Show the
228
+ before/after change from your prior read and proposed value; retain the returned proposal IDs
229
+ and say the user must accept it in the app. Link only a review surface actually returned by a
230
+ tool; the compact `knowledge_updates` response does not itself contain a diff or URL.
231
+ A pending proposal is not a saved fact. Never call an unavailable
232
+ tool or silently relabel research or your inference as something the user said.
233
+
234
+ The safe structured shape is `patch: { knowledge: { positioning?, audience?, voice?,
235
+ instructions?, brandType?, tagline?, valueProps? } }`, using only fields present in the live
236
+ schema. Inferred rules/taste go in an `instructions` proposal with a rationale, never in
237
+ `patch.facts`. Prefix every video-only preference in that proposed text with "Video preference:"
238
+ so it remains production direction after acceptance. Preserve unrelated instructions when
239
+ proposing a merged replacement.
240
+
241
+ | User answer | Canonical write |
242
+ | --- | --- |
243
+ | Primary audience, positioning or voice correction | `patch.knowledge: { audience/positioning/voice: <answer> }` (one actual key). During onboarding, `brand_onboarding { action: "review_research", review: { action: "correct", field, value } }` writes these existing corrections with provenance. |
244
+ | Founder story, customer pains, objections, buying trigger or useful audience detail without a structured field | `patch.facts: [{ kind: "insight", text }]`; retain attribution such as "Founder reports: …" rather than turn a belief into a verified result. |
245
+ | Required wording or pronunciation | `patch.facts: [{ kind: "must", text }]`; pronunciation is exactly `Pronounce "<term>" as "<say_as>"`. |
246
+ | Forbidden claim, word or visual | `patch.facts: [{ kind: "dont", text }]`. |
247
+ | Durable visual, voice or pacing preference | `patch.facts: [{ kind: "do", text }]` for a preference; `dont` for an avoidance; `template_hint` for a preferred format. Prefix video-only preferences with "Video preference:". |
248
+
249
+ Facts are existing `ad_brand_learning` rows with user provenance; they are not a second profile.
250
+ Update a matching rule by its returned `id` instead of adding duplicates. Preserve unrelated
251
+ rules and the user's exact meaning. Only use the legacy facts shape for explicitly user-authored
252
+ answers when the live schema lacks intent fields; agent suggestions still need a proposal path.
253
+
254
+ **Claims and plans have separate gates.** A founder assertion or proof point is not an approved,
255
+ evidence-backed claim or consent to quote a customer. Use the existing evidence/claims and
256
+ operating-plan tools only if registered, following their proposal, evidence and confirmation
257
+ requirements. Never encode a spend cap, approver or emergency stop as a learning. If that write
258
+ path is missing, report the specific unsaved item and keep it pending for the supported review
259
+ surface; do not claim it was saved or create a parallel local profile.
260
+
261
+ After every write, **read back before saying saved**: use `brand_read` with `kit`, `learnings`
262
+ or `onboarding` as appropriate, or `brand_onboarding { action: "status", brand_id }` after an
263
+ onboarding answer. Verify the intended field/rule, its source and the absence of a conflicting
264
+ duplicate. A generic success response, pending proposal, ignored key or truncated result is not
265
+ proof. Report partial saves honestly. Carry the verified rules into the current task and the
266
+ routed skill; claims still pass their own safety gate.
267
+
268
+ ## Video taste — reuse examples and preferences
269
+
270
+ When asked to capture video taste, or when the user volunteers a durable video preference,
271
+ first read the saved learnings and `media_list { brand_id, scope: "brand", scope_id: brand_id,
272
+ tags: ["video-taste"], limit: 100 }`. Follow `next_cursor` before deciding an example is absent.
273
+ Do not force a taste interview before an unrelated task or ask again for an existing preference.
274
+
275
+ Save what the user has already supplied first. Then ask only the missing useful question, for
276
+ example: "What do you like about this video—its pace, voice, captions, or look?" An inaccessible
277
+ link can still be saved as a link with the user's explanation; do not pretend you watched it.
278
+
279
+ - **Direct clip or video file:** register with `media_upload { brand_id, scope: "brand",
280
+ scope_id: brand_id, kind: "video", source: { type: "url", url }, tags: ["video-taste", "reference-only"],
281
+ metadata: { purpose: "video_taste", source_url: url, provenance: "user", captured_at: <ISO timestamp>,
282
+ preference: <the user's explanation> } }`. For a file use the live file/bytes upload flow and
283
+ `media_confirm` after a presigned upload. Registration of a URL does not copy or inspect it.
284
+ - **Instagram/post/page link:** the same registration with `kind: "document"`; it is a link
285
+ bookmark, not downloadable footage or an indexed transcript. Do not fabricate a direct clip URL.
286
+ - **Preferences:** save the user's reasons, likes and dislikes through the facts mapping above.
287
+ Read and preserve existing facts before updating one. Do not invent `video_preferences` or
288
+ new `video_lab` keys; the live kit patch accepts only its documented asset fields.
289
+ - **Deduplicate:** reuse a matching returned media row, then `media_update` its title/tags/metadata
290
+ if needed; preserve existing metadata and tags. Do not create another row for the same example.
291
+ Read back with `media_list` and `brand_read` learnings before claiming it was saved.
292
+ Check the returned row belongs to this brand: URL deduplication may return another brand's
293
+ existing row. Do not relabel that row or claim success unless the current brand's scoped read
294
+ actually returns it. Report an unsaved association if no supported attach path is available.
295
+
296
+ Never put third-party taste examples into kit reference images: `kind: "reference"` at brand
297
+ scope writes there. The tags and metadata above record purpose and provenance; **they do not
298
+ grant or enforce usage rights**. Study the structure, pacing and look only. Never use the example's
299
+ footage, face, product, testimonial or claims in a new ad without independently verified permission.
300
+
301
+ Read video-only entries prefixed `Video preference:` from both saved learnings and
302
+ `kit.instructions`, including accepted proposals. Keep them out of required or forbidden
303
+ dialogue. Build a brief from the verified readback: preferred pace, voice, caption treatment, visual style,
304
+ formats to favour/avoid, reference links and the user's reasons. Say what is still unknown.
305
+ Pass it with the brand rules into the existing video workflow. A one-video request overrides a
306
+ default for that project; it does not silently rewrite the brand's standing preference.
307
+
122
308
  ## Brand Growth discovery
123
309
 
124
310
  Brand Growth is a collection inside the normal skill catalog, not a command or installable pack. Use these known routes when relevant, while preserving all existing B2B, sales, research, lead-generation, and data behavior:
@@ -140,7 +326,7 @@ Brand Growth is a collection inside the normal skill catalog, not a command or i
140
326
  | Written content and repurposing | `content-repurposing` |
141
327
  | Graphics and animation | `goose-graphics`, `animate-image` |
142
328
 
143
- Fetch the named public skill before following it. You already called `brand_get_context` — hand the brand's voice, products, audience, and positioning to the fetched skill instead of letting it re-derive or re-ask them. Provider helpers such as `scrapecreators-api` and `transcript-intelligence` are dependencies, not user-facing results.
329
+ Fetch the named public skill before following it. You already called `brand_read` — hand the brand's voice, products, audience, and positioning to the fetched skill instead of letting it re-derive or re-ask them. Provider helpers such as `scrapecreators-api` and `transcript-intelligence` are dependencies, not user-facing results.
144
330
 
145
331
  For a multi-part request, repeat this routing check before each new job. Fetch and follow the
146
332
  closest outcome skill first (for example, `comment-mining`, `creator-profile-teardown`, or
@@ -270,7 +456,7 @@ The `gooseworks` CLI sends authenticated requests (Bearer `GOOSEWORKS_API_KEY`)
270
456
 
271
457
  ## Rules
272
458
 
273
- 0. **Call `brand_get_context` before anything else**, pass what it returns into whatever skill you route to, and never re-ask the user for a fact it already answers (see "Load the brand context FIRST").
459
+ 0. **Read the canonical brand context before substantive work**, pass what it returns into whatever skill you route to, and never re-ask the user for a fact it already answers (see "Load the brand context FIRST").
274
460
  1. **Consider a GooseWorks skill when it fits the task** — scraping, research, lead gen, enrichment, especially at scale, behind auth, or from a specific source. For a quick lookup your built-in tools are fine; use your judgement and pick the best tool for the user.
275
461
  2. **Before paid operations**, tell the user the estimated credit cost
276
462
  3. **If a `gooseworks` command exits with "Not logged in"**: tell the user to run `npx gooseworks login`