@growthub/cli 0.3.54 → 0.3.56
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.
- package/README.md +56 -156
- package/assets/worker-kits/growthub-ai-website-cloner-v1/.env.example +7 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/QUICKSTART.md +116 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/NEW-CLIENT.md +22 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/_template/brand-kit.md +27 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/growthub/brand-kit.md +26 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/bundles/growthub-ai-website-cloner-v1.json +53 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/ai-website-cloner-fork-integration.md +118 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/design-token-system.md +135 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/multi-phase-pipeline.md +129 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/parallel-builder-dispatch.md +103 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/clone-brief-sample.md +54 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/component-spec-sample.md +123 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/platform-handoff-sample.md +102 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/visual-qa-sample.md +119 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/growthub-meta/README.md +71 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/growthub-meta/kit-standard.md +47 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/kit.json +105 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/output/README.md +26 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/output-standards.md +75 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/runtime-assumptions.md +70 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/check-deps.sh +50 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/clone-fork.sh +66 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/verify-env.mjs +78 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/skills.md +186 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/asset-manifest.md +57 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/builder-dispatch-plan.md +92 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/clone-brief.md +59 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/component-spec.md +124 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/design-token-extraction.md +89 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/platform-handoff.md +114 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/reconnaissance-report.md +77 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/visual-qa-checklist.md +107 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/validation-checklist.md +76 -0
- package/assets/worker-kits/growthub-ai-website-cloner-v1/workers/ai-website-cloner-operator/CLAUDE.md +256 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/.env.example +40 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/QUICKSTART.md +114 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/brands/NEW-CLIENT.md +42 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/brands/_template/brand-kit.md +49 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/brands/growthub/brand-kit.md +50 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/bundles/growthub-open-montage-studio-v1.json +55 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/docs/cms-node-bridge.md +152 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/docs/open-montage-fork-integration.md +120 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/docs/pipeline-reference.md +147 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/docs/provider-adapter-layer.md +105 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/examples/cms-node-video-gen-sample.md +109 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/examples/pipeline-selection-sample.md +67 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/examples/platform-ready-handoff-sample.md +101 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/examples/video-production-brief-sample.md +68 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/growthub-meta/README.md +7 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/growthub-meta/kit-standard.md +45 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/kit.json +107 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/output/README.md +34 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/output-standards.md +79 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/runtime-assumptions.md +86 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/setup/check-deps.sh +43 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/setup/clone-fork.sh +53 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/setup/verify-env.mjs +102 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/skills.md +254 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/asset-tracking.md +46 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/cms-node-pipeline-mapping.md +64 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/generation-batch-plan.md +70 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/pipeline-selection-brief.md +67 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/platform-ready-execution-handoff.md +103 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/prompt-matrix.md +48 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/provider-selection-brief.md +86 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/review-qa-checklist.md +59 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/scene-plan.md +65 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/templates/video-production-brief.md +58 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/validation-checklist.md +46 -0
- package/assets/worker-kits/growthub-open-montage-studio-v1/workers/open-montage-studio-operator/CLAUDE.md +304 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/.env.example +15 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/QUICKSTART.md +90 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/brands/NEW-CLIENT.md +57 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/brands/_template/brand-kit.md +88 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/brands/growthub/brand-kit.md +92 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/bundles/growthub-twenty-crm-v1.json +56 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/docs/api-and-webhooks.md +296 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/docs/data-model-layer.md +172 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/docs/twenty-fork-integration.md +213 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/examples/crm-playbook-sample.md +172 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/examples/crm-setup-sample.md +100 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/examples/lead-enrichment-sample.md +117 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/examples/pipeline-automation-sample.md +132 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/growthub-meta/README.md +114 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/growthub-meta/kit-standard.md +61 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/kit.json +108 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/output/README.md +46 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/output-standards.md +175 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/runtime-assumptions.md +150 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/setup/check-deps.sh +56 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/setup/clone-fork.sh +77 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/setup/verify-env.mjs +105 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/skills.md +401 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/api-query-plan.md +179 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/crm-playbook.md +155 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/crm-setup-brief.md +94 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/custom-object-design.md +115 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/data-model-design.md +112 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/enrichment-field-map.md +100 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/import-mapping.md +139 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/integration-handoff.md +190 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/lead-enrichment-pipeline.md +128 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/pipeline-automation-brief.md +88 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/webhook-integration-spec.md +129 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/templates/workspace-config-checklist.md +129 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/validation-checklist.md +115 -0
- package/assets/worker-kits/growthub-twenty-crm-v1/workers/twenty-crm-operator/CLAUDE.md +310 -0
- package/package.json +1 -1
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# Open Montage Studio — Master Skill Document
|
|
2
|
+
|
|
3
|
+
This is the canonical methodology reference for the Open Montage Studio Operator. Read this file at the start of every session before producing any artifacts.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Workflow Order
|
|
8
|
+
|
|
9
|
+
The operator follows a strict 10-step workflow defined in `workers/open-montage-studio-operator/CLAUDE.md`. This skill doc provides the detailed methodology for steps 5 through 9.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 2. Pipeline Selection Logic
|
|
14
|
+
|
|
15
|
+
OpenMontage supports 12 production pipelines. Selection is a structured decision, not a guess.
|
|
16
|
+
|
|
17
|
+
### Decision Tree
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
Intent: Explain a topic to an audience?
|
|
21
|
+
YES → Animated Explainer
|
|
22
|
+
|
|
23
|
+
Intent: Create motion graphics, kinetic typography, or abstract animation?
|
|
24
|
+
YES → Animation
|
|
25
|
+
|
|
26
|
+
Intent: Avatar-driven presenter video?
|
|
27
|
+
YES → Avatar Spokesperson
|
|
28
|
+
|
|
29
|
+
Intent: Cinematic trailer, teaser, or mood-driven brand film?
|
|
30
|
+
YES → Cinematic
|
|
31
|
+
|
|
32
|
+
Intent: Batch of ranked short-form clips from one long source?
|
|
33
|
+
YES → Clip Factory
|
|
34
|
+
|
|
35
|
+
Intent: Thematic montage from real stock footage or open archives?
|
|
36
|
+
YES → Documentary Montage
|
|
37
|
+
|
|
38
|
+
Intent: Enhance existing footage with AI-generated support visuals?
|
|
39
|
+
YES → Hybrid
|
|
40
|
+
|
|
41
|
+
Intent: Subtitle, dub, or translate existing video into other languages?
|
|
42
|
+
YES → Localization & Dub
|
|
43
|
+
|
|
44
|
+
Intent: Turn podcast highlights into video?
|
|
45
|
+
YES → Podcast Repurpose
|
|
46
|
+
|
|
47
|
+
Intent: Polished software screen recording or walkthrough?
|
|
48
|
+
YES → Screen Demo
|
|
49
|
+
|
|
50
|
+
Intent: Footage-led speaker video, presentation, or vlog?
|
|
51
|
+
YES → Talking Head
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
If the intent spans two pipelines, pick the primary and document the secondary as a composition layer or follow-up pipeline.
|
|
55
|
+
|
|
56
|
+
### Pipeline Stage Flow (Universal)
|
|
57
|
+
|
|
58
|
+
Every pipeline follows the same structured flow:
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
research → proposal → script → scene_plan → assets → edit → compose
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Each stage has a dedicated director skill in the OpenMontage fork at `skills/pipelines/<pipeline-name>/`.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 3. Provider Scoring Methodology
|
|
69
|
+
|
|
70
|
+
Every tool selection runs through a 7-dimension scoring engine.
|
|
71
|
+
|
|
72
|
+
| Dimension | Weight | What It Measures |
|
|
73
|
+
|-----------|--------|------------------|
|
|
74
|
+
| Task fit | 30% | How well the tool matches the specific production need |
|
|
75
|
+
| Output quality | 20% | Resolution, fidelity, consistency of results |
|
|
76
|
+
| Control features | 15% | Prompt adherence, style control, parameter granularity |
|
|
77
|
+
| Reliability | 15% | Uptime, error rate, queue latency |
|
|
78
|
+
| Cost efficiency | 10% | Price per output unit relative to quality |
|
|
79
|
+
| Latency | 5% | Time from request to deliverable |
|
|
80
|
+
| Continuity | 5% | Session persistence, resumability, rate limits |
|
|
81
|
+
|
|
82
|
+
### Provider Tiers
|
|
83
|
+
|
|
84
|
+
**Zero-cost (always available):**
|
|
85
|
+
- Piper TTS — offline narration
|
|
86
|
+
- Archive.org + NASA + Wikimedia — free archival footage
|
|
87
|
+
- Remotion — React-based programmatic video composition
|
|
88
|
+
- FFmpeg — encoding, subtitles, audio mixing, color grading
|
|
89
|
+
|
|
90
|
+
**Free-key (developer accounts, no charge):**
|
|
91
|
+
- Pexels, Pixabay, Unsplash — stock media
|
|
92
|
+
- Google TTS — 1M chars/month free
|
|
93
|
+
- ElevenLabs — 10K chars/month free
|
|
94
|
+
|
|
95
|
+
**Pay-as-you-go:**
|
|
96
|
+
- fal.ai (FAL_KEY) — FLUX images + Kling/Veo/MiniMax video
|
|
97
|
+
- OpenAI — DALL-E 3 + TTS
|
|
98
|
+
- Google Imagen — $0.02-0.06/image
|
|
99
|
+
- xAI Grok — images + video
|
|
100
|
+
- Runway Gen-4 — highest quality AI video
|
|
101
|
+
- Higgsfield — multi-model video orchestrator
|
|
102
|
+
- HeyGen — avatar videos
|
|
103
|
+
- Suno — AI music generation
|
|
104
|
+
|
|
105
|
+
**Local GPU (free, requires hardware):**
|
|
106
|
+
- WAN 2.1, Hunyuan, CogVideo, LTX-Video — local video generation
|
|
107
|
+
- Stable Diffusion — local image generation
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 4. CMS Node Bridge Mapping
|
|
112
|
+
|
|
113
|
+
GrowthHub CMS nodes expose video and image generation as hosted execution capabilities. The bridge maps these into the OpenMontage production flow.
|
|
114
|
+
|
|
115
|
+
### How It Works
|
|
116
|
+
|
|
117
|
+
1. Agent queries the CMS capability registry for available nodes in the `video` and `image` families
|
|
118
|
+
2. CMS nodes execute via hosted execution client, producing output URLs
|
|
119
|
+
3. Output URLs are treated as source assets in the OpenMontage pipeline
|
|
120
|
+
4. OpenMontage handles composition, post-production, and final rendering
|
|
121
|
+
|
|
122
|
+
### CMS Family → OpenMontage Mapping
|
|
123
|
+
|
|
124
|
+
| CMS Node Family | CMS Execution Kind | OpenMontage Integration Point |
|
|
125
|
+
|-----------------|--------------------|-----------------------------|
|
|
126
|
+
| `video` | `hosted-execute` | Source clips for `tools/video/` input or direct composition via Remotion/FFmpeg |
|
|
127
|
+
| `image` | `hosted-execute` | Scene images for `tools/graphics/` input or Remotion animated composition |
|
|
128
|
+
| `slides` | `hosted-execute` | Slide deck assets for Screen Demo pipeline |
|
|
129
|
+
| `text` | `hosted-execute` | Script/narration text for TTS processing |
|
|
130
|
+
|
|
131
|
+
### CMS Node Output → OpenMontage Asset Type
|
|
132
|
+
|
|
133
|
+
| CMS Output Type | OpenMontage Asset Category | Typical Usage |
|
|
134
|
+
|-----------------|---------------------------|---------------|
|
|
135
|
+
| Video URL | `source_clip` | Scene footage, B-roll, transition clips |
|
|
136
|
+
| Image URL | `scene_image` | Hero shots, backgrounds, product stills |
|
|
137
|
+
| Audio URL | `narration` or `music` | Voiceover, soundtrack |
|
|
138
|
+
| Text | `script` | Script content for TTS conversion |
|
|
139
|
+
|
|
140
|
+
### When to Use CMS Nodes vs Direct Providers
|
|
141
|
+
|
|
142
|
+
Use CMS nodes when:
|
|
143
|
+
- The user has an active GrowthHub session
|
|
144
|
+
- The generation type matches an available CMS node
|
|
145
|
+
- The user wants unified billing through GrowthHub
|
|
146
|
+
- The user does not have direct provider API keys
|
|
147
|
+
|
|
148
|
+
Use direct providers when:
|
|
149
|
+
- Local-fork mode with full tool access
|
|
150
|
+
- The specific tool/model is not available as a CMS node
|
|
151
|
+
- Lower latency is needed (direct API vs hosted execution)
|
|
152
|
+
- The user has provider keys and prefers direct access
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 5. Prompt Planning Rules
|
|
157
|
+
|
|
158
|
+
### Image Prompts
|
|
159
|
+
|
|
160
|
+
1. Lead with the subject and composition
|
|
161
|
+
2. Include style directive (photorealistic, illustrated, anime, etc.)
|
|
162
|
+
3. Specify lighting and mood
|
|
163
|
+
4. Add technical parameters (aspect ratio, resolution)
|
|
164
|
+
5. Include negative prompts when the provider supports them
|
|
165
|
+
|
|
166
|
+
### Video Prompts
|
|
167
|
+
|
|
168
|
+
1. Describe the motion and camera movement
|
|
169
|
+
2. Specify duration target
|
|
170
|
+
3. Reference the source image if using image-to-video
|
|
171
|
+
4. Include style consistency directives
|
|
172
|
+
5. Note any audio sync requirements
|
|
173
|
+
|
|
174
|
+
### Scene Sequencing
|
|
175
|
+
|
|
176
|
+
1. Each scene maps to one pipeline stage asset
|
|
177
|
+
2. Scenes must have explicit transition types (cut, crossfade, wipe, zoom)
|
|
178
|
+
3. Audio cues align to scene boundaries
|
|
179
|
+
4. Subtitle timing derives from script word timestamps
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 6. Output Artifact Order
|
|
184
|
+
|
|
185
|
+
Produce artifacts in this strict order:
|
|
186
|
+
|
|
187
|
+
1. **VideoProductionBrief** — What we are making, why, for whom
|
|
188
|
+
2. **PipelineSelectionBrief** — Which pipeline, why, fallback
|
|
189
|
+
3. **ProviderSelectionBrief** — Which providers/CMS nodes, scoring, cost estimate
|
|
190
|
+
4. **ScenePlan** — Scene-by-scene breakdown with timing, transitions, audio cues
|
|
191
|
+
5. **PromptMatrix** — Per-scene prompts for all generation tools
|
|
192
|
+
6. **GenerationBatchPlan** — Execution order, dependencies, parallel opportunities
|
|
193
|
+
7. **AssetTracking** — Generated asset inventory with URLs, statuses, costs
|
|
194
|
+
8. **ReviewQAChecklist** — Quality gates, validation points, approval criteria
|
|
195
|
+
9. **PlatformReadyExecutionHandoff** — Complete handoff doc for execution
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## 7. QA Standards
|
|
200
|
+
|
|
201
|
+
### Pre-Compose Validation
|
|
202
|
+
|
|
203
|
+
Before rendering:
|
|
204
|
+
- All scene assets exist and are accessible
|
|
205
|
+
- Audio tracks are present and duration-matched
|
|
206
|
+
- Subtitle timing is aligned
|
|
207
|
+
- Delivery promise is achievable with available tools
|
|
208
|
+
- Budget is within approved cap
|
|
209
|
+
|
|
210
|
+
### Post-Render Self-Review
|
|
211
|
+
|
|
212
|
+
After rendering:
|
|
213
|
+
- ffprobe validation (codec, resolution, duration, bitrate)
|
|
214
|
+
- Frame extraction at key points (first, middle, last, transitions)
|
|
215
|
+
- Audio level analysis (no clipping, consistent volume)
|
|
216
|
+
- Subtitle readability check
|
|
217
|
+
- Delivery promise verification
|
|
218
|
+
|
|
219
|
+
### Slideshow Risk Check
|
|
220
|
+
|
|
221
|
+
If the output is image-based video, score across 6 dimensions:
|
|
222
|
+
- Motion variety (camera moves, parallax, Ken Burns)
|
|
223
|
+
- Transition diversity (not all cuts)
|
|
224
|
+
- Animation layer count (particles, overlays, text motion)
|
|
225
|
+
- Audio-visual sync
|
|
226
|
+
- Pacing variation
|
|
227
|
+
- Visual grammar complexity
|
|
228
|
+
|
|
229
|
+
A score below 60% triggers a warning and requires explicit user approval to proceed.
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## 8. Budget Governance
|
|
234
|
+
|
|
235
|
+
- Estimate costs before execution
|
|
236
|
+
- Reserve budget before each provider call
|
|
237
|
+
- Reconcile actual spend after each call
|
|
238
|
+
- Default per-action approval threshold: $0.50
|
|
239
|
+
- Default total budget cap: $10
|
|
240
|
+
- CMS node costs flow through GrowthHub billing (no separate tracking needed)
|
|
241
|
+
- Always present cost summary before starting generation
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 9. Handoff Standards
|
|
246
|
+
|
|
247
|
+
Every handoff document must include:
|
|
248
|
+
- Execution mode (local-fork / agent-only / hybrid)
|
|
249
|
+
- Complete asset manifest with URLs or file paths
|
|
250
|
+
- Provider/CMS node execution instructions
|
|
251
|
+
- Post-production steps (composition, audio, subtitles, color grade)
|
|
252
|
+
- Render profile (resolution, aspect ratio, codec, target platform)
|
|
253
|
+
- Estimated total cost and actual spend
|
|
254
|
+
- Known limitations or manual steps required
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Asset Tracking
|
|
2
|
+
|
|
3
|
+
## Project Reference
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Client | `<client-name>` |
|
|
8
|
+
| Project | `<project-name>` |
|
|
9
|
+
| Date | `YYYY-MM-DD` |
|
|
10
|
+
|
|
11
|
+
## Generated Assets
|
|
12
|
+
|
|
13
|
+
| ID | Scene | Type | Provider / CMS Node | Status | URL / Path | Cost | Notes |
|
|
14
|
+
|---|---|---|---|---|---|---|---|
|
|
15
|
+
| A-001 | 1 | image | | `<pending / generating / ready / failed>` | | | |
|
|
16
|
+
| A-002 | 2 | image | | | | | |
|
|
17
|
+
| A-003 | 1 | video | | | | | |
|
|
18
|
+
| A-004 | — | narration | | | | | |
|
|
19
|
+
| A-005 | — | music | | | | | |
|
|
20
|
+
|
|
21
|
+
## Reuse Inventory
|
|
22
|
+
|
|
23
|
+
<!-- Assets from previous sessions or existing brand kit that can be reused. -->
|
|
24
|
+
|
|
25
|
+
| Asset | Source | Reusable For | Notes |
|
|
26
|
+
|---|---|---|---|
|
|
27
|
+
| | | | |
|
|
28
|
+
|
|
29
|
+
## CMS Node Outputs
|
|
30
|
+
|
|
31
|
+
<!-- Track assets generated through GrowthHub CMS nodes separately for billing clarity. -->
|
|
32
|
+
|
|
33
|
+
| CMS Node Slug | Execution ID | Output Type | URL | Status |
|
|
34
|
+
|---|---|---|---|---|
|
|
35
|
+
| | | | | |
|
|
36
|
+
|
|
37
|
+
## Cost Ledger
|
|
38
|
+
|
|
39
|
+
| Category | Budgeted | Actual | Delta |
|
|
40
|
+
|---|---|---|---|
|
|
41
|
+
| Images | | | |
|
|
42
|
+
| Video | | | |
|
|
43
|
+
| Audio | | | |
|
|
44
|
+
| Music | | | |
|
|
45
|
+
| CMS nodes | — | — | — |
|
|
46
|
+
| **Total** | **$—** | **$—** | **$—** |
|
package/assets/worker-kits/growthub-open-montage-studio-v1/templates/cms-node-pipeline-mapping.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# CMS Node → OpenMontage Pipeline Mapping
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This template documents how GrowthHub CMS node outputs integrate into the selected OpenMontage pipeline. Fill this out when the production plan uses CMS nodes for any generation step.
|
|
6
|
+
|
|
7
|
+
## Project Reference
|
|
8
|
+
|
|
9
|
+
| Field | Value |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Client | `<client-name>` |
|
|
12
|
+
| Project | `<project-name>` |
|
|
13
|
+
| Pipeline | `<selected-pipeline>` |
|
|
14
|
+
| Date | `YYYY-MM-DD` |
|
|
15
|
+
|
|
16
|
+
## CMS Nodes in Use
|
|
17
|
+
|
|
18
|
+
| CMS Node Slug | Family | Execution Kind | Role in Pipeline |
|
|
19
|
+
|---|---|---|---|
|
|
20
|
+
| | `video` / `image` / `text` | `hosted-execute` | |
|
|
21
|
+
|
|
22
|
+
## Mapping: CMS Output → OpenMontage Input
|
|
23
|
+
|
|
24
|
+
| CMS Node | Output Type | Output Format | OpenMontage Stage | OpenMontage Tool Category | Integration Method |
|
|
25
|
+
|---|---|---|---|---|---|
|
|
26
|
+
| | Video URL | mp4 | `assets` | `tools/video/` | Download URL → source clip |
|
|
27
|
+
| | Image URL | png/jpg | `assets` | `tools/graphics/` | Download URL → scene image |
|
|
28
|
+
| | Audio URL | mp3/wav | `edit` | `tools/audio/` | Download URL → narration track |
|
|
29
|
+
| | Text | string | `script` | — | Direct script content |
|
|
30
|
+
|
|
31
|
+
## Execution Flow
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
1. Agent identifies required CMS nodes from the scene plan
|
|
35
|
+
2. Agent prepares input bindings for each CMS node
|
|
36
|
+
3. CMS nodes execute via hosted execution client
|
|
37
|
+
4. Agent collects output URLs from execution results
|
|
38
|
+
5. Output URLs feed into OpenMontage pipeline at the appropriate stage
|
|
39
|
+
6. OpenMontage handles composition and post-production
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Input Bindings Per Node
|
|
43
|
+
|
|
44
|
+
### CMS Node: `<slug>`
|
|
45
|
+
|
|
46
|
+
| Input Key | Type | Value | Source |
|
|
47
|
+
|---|---|---|---|
|
|
48
|
+
| | | | `<from scene plan / user input / previous node output>` |
|
|
49
|
+
|
|
50
|
+
## Output Routing
|
|
51
|
+
|
|
52
|
+
### CMS Node: `<slug>`
|
|
53
|
+
|
|
54
|
+
| Output Key | Type | Routes To | OpenMontage Asset ID |
|
|
55
|
+
|---|---|---|---|
|
|
56
|
+
| | | Scene `<N>` source clip / image | `A-<NNN>` |
|
|
57
|
+
|
|
58
|
+
## Fallback Plan
|
|
59
|
+
|
|
60
|
+
If a CMS node execution fails:
|
|
61
|
+
|
|
62
|
+
| CMS Node | Fallback Provider | Fallback Tool | Cost Impact |
|
|
63
|
+
|---|---|---|---|
|
|
64
|
+
| | | | |
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Generation Batch Plan
|
|
2
|
+
|
|
3
|
+
## Project Reference
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Client | `<client-name>` |
|
|
8
|
+
| Project | `<project-name>` |
|
|
9
|
+
| Pipeline | `<selected-pipeline>` |
|
|
10
|
+
| Date | `YYYY-MM-DD` |
|
|
11
|
+
|
|
12
|
+
## Execution Order
|
|
13
|
+
|
|
14
|
+
Batches run top-to-bottom. Items within a batch can run in parallel.
|
|
15
|
+
|
|
16
|
+
### Batch 1 — Research & Script
|
|
17
|
+
|
|
18
|
+
| Step | Tool / Action | Input | Output | Depends On |
|
|
19
|
+
|---|---|---|---|---|
|
|
20
|
+
| 1.1 | Web search | Topic keywords | Research brief | — |
|
|
21
|
+
| 1.2 | Script draft | Research brief | Script | 1.1 |
|
|
22
|
+
|
|
23
|
+
### Batch 2 — Image Generation
|
|
24
|
+
|
|
25
|
+
| Step | Provider / CMS Node | Prompt Ref | Input Assets | Expected Output | Est. Cost |
|
|
26
|
+
|---|---|---|---|---|---|
|
|
27
|
+
| 2.1 | | Scene 1 prompt | — | Scene 1 image | |
|
|
28
|
+
| 2.2 | | Scene 2 prompt | — | Scene 2 image | |
|
|
29
|
+
| 2.3 | | Scene 3 prompt | — | Scene 3 image | |
|
|
30
|
+
|
|
31
|
+
### Batch 3 — Video Generation (if applicable)
|
|
32
|
+
|
|
33
|
+
| Step | Provider / CMS Node | Prompt Ref | Source Image | Duration | Est. Cost |
|
|
34
|
+
|---|---|---|---|---|---|
|
|
35
|
+
| 3.1 | | Scene 1 video prompt | Scene 1 image | 5s | |
|
|
36
|
+
| 3.2 | | Scene 2 video prompt | Scene 2 image | 5s | |
|
|
37
|
+
|
|
38
|
+
### Batch 4 — Audio
|
|
39
|
+
|
|
40
|
+
| Step | Provider | Type | Input | Duration | Est. Cost |
|
|
41
|
+
|---|---|---|---|---|---|
|
|
42
|
+
| 4.1 | | TTS narration | Script | — | |
|
|
43
|
+
| 4.2 | | Background music | Genre/mood spec | — | |
|
|
44
|
+
|
|
45
|
+
### Batch 5 — Composition & Post-Production
|
|
46
|
+
|
|
47
|
+
| Step | Tool | Input | Output | Depends On |
|
|
48
|
+
|---|---|---|---|---|
|
|
49
|
+
| 5.1 | Remotion / FFmpeg | All scene assets + audio | Draft render | Batches 2-4 |
|
|
50
|
+
| 5.2 | Subtitle gen | TTS audio | SRT/VTT | 4.1 |
|
|
51
|
+
| 5.3 | FFmpeg | Draft render + subtitles | Final render | 5.1, 5.2 |
|
|
52
|
+
|
|
53
|
+
## Cost Summary
|
|
54
|
+
|
|
55
|
+
| Batch | Estimated Cost |
|
|
56
|
+
|---|---|
|
|
57
|
+
| Batch 1 (Research) | $0.00 |
|
|
58
|
+
| Batch 2 (Images) | $— |
|
|
59
|
+
| Batch 3 (Video) | $— |
|
|
60
|
+
| Batch 4 (Audio) | $— |
|
|
61
|
+
| Batch 5 (Post) | $0.00 |
|
|
62
|
+
| **Total** | **$—** |
|
|
63
|
+
|
|
64
|
+
## Budget Gate
|
|
65
|
+
|
|
66
|
+
| Field | Value |
|
|
67
|
+
|---|---|
|
|
68
|
+
| Budget cap | $10.00 |
|
|
69
|
+
| Estimated total | $— |
|
|
70
|
+
| Approved | `<yes / pending>` |
|
package/assets/worker-kits/growthub-open-montage-studio-v1/templates/pipeline-selection-brief.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Pipeline Selection Brief
|
|
2
|
+
|
|
3
|
+
## Project Reference
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Client | `<client-name>` |
|
|
8
|
+
| Project | `<project-name>` |
|
|
9
|
+
| Date | `YYYY-MM-DD` |
|
|
10
|
+
|
|
11
|
+
## Requested Outcome
|
|
12
|
+
|
|
13
|
+
<!-- What the user asked for in their own words. -->
|
|
14
|
+
|
|
15
|
+
## Selected Pipeline
|
|
16
|
+
|
|
17
|
+
| Field | Value |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Pipeline | `<Animated Explainer / Animation / Avatar Spokesperson / Cinematic / Clip Factory / Documentary Montage / Hybrid / Localization & Dub / Podcast Repurpose / Screen Demo / Talking Head>` |
|
|
20
|
+
| Reason | <!-- Why this pipeline is the best match --> |
|
|
21
|
+
|
|
22
|
+
## Pipeline Fit Assessment
|
|
23
|
+
|
|
24
|
+
| Criterion | Score (1-5) | Notes |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| Content type match | | |
|
|
27
|
+
| Available tool coverage | | |
|
|
28
|
+
| Source asset alignment | | |
|
|
29
|
+
| Budget feasibility | | |
|
|
30
|
+
| Quality ceiling | | |
|
|
31
|
+
|
|
32
|
+
## Input Asset Requirements
|
|
33
|
+
|
|
34
|
+
<!-- What the selected pipeline needs to execute. -->
|
|
35
|
+
|
|
36
|
+
## Output Specification
|
|
37
|
+
|
|
38
|
+
| Field | Value |
|
|
39
|
+
|---|---|
|
|
40
|
+
| Primary deliverable | |
|
|
41
|
+
| Duration | |
|
|
42
|
+
| Resolution | |
|
|
43
|
+
| Codec | |
|
|
44
|
+
|
|
45
|
+
## Fallback Pipeline
|
|
46
|
+
|
|
47
|
+
| Field | Value |
|
|
48
|
+
|---|---|
|
|
49
|
+
| Pipeline | `<fallback-pipeline>` |
|
|
50
|
+
| Trigger | <!-- When to switch --> |
|
|
51
|
+
| Trade-off | <!-- What changes with the fallback --> |
|
|
52
|
+
|
|
53
|
+
## Pipeline Stage Plan
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
research → proposal → script → scene_plan → assets → edit → compose
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
| Stage | Owner | Tool / CMS Node | Notes |
|
|
60
|
+
|---|---|---|---|
|
|
61
|
+
| Research | Agent | Web search | |
|
|
62
|
+
| Proposal | Agent | — | |
|
|
63
|
+
| Script | Agent | — | |
|
|
64
|
+
| Scene plan | Agent | — | |
|
|
65
|
+
| Assets | Agent + Provider | `<tool-or-cms-node>` | |
|
|
66
|
+
| Edit | Agent | FFmpeg / Remotion | |
|
|
67
|
+
| Compose | Agent | Remotion / FFmpeg | |
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Platform-Ready Execution Handoff
|
|
2
|
+
|
|
3
|
+
## Project Reference
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Client | `<client-name>` |
|
|
8
|
+
| Project | `<project-name>` |
|
|
9
|
+
| Pipeline | `<selected-pipeline>` |
|
|
10
|
+
| Execution mode | `<local-fork / agent-only / hybrid>` |
|
|
11
|
+
| Date | `YYYY-MM-DD` |
|
|
12
|
+
|
|
13
|
+
## Deliverable Summary
|
|
14
|
+
|
|
15
|
+
| Field | Value |
|
|
16
|
+
|---|---|
|
|
17
|
+
| Video title | |
|
|
18
|
+
| Duration | `<seconds>` |
|
|
19
|
+
| Resolution | `<WxH>` |
|
|
20
|
+
| Aspect ratio | `<ratio>` |
|
|
21
|
+
| Platform target | `<YouTube / TikTok / Instagram / LinkedIn>` |
|
|
22
|
+
| Estimated cost | `$—` |
|
|
23
|
+
| Actual cost | `$—` |
|
|
24
|
+
|
|
25
|
+
## Execution Instructions
|
|
26
|
+
|
|
27
|
+
### For local-fork mode
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
cd ~/OpenMontage
|
|
31
|
+
|
|
32
|
+
# 1. Verify environment
|
|
33
|
+
python -c "from tools.tool_registry import registry; registry.discover(); print('OK')"
|
|
34
|
+
|
|
35
|
+
# 2. Run the pipeline
|
|
36
|
+
# The agent executes each stage in order:
|
|
37
|
+
# research → proposal → script → scene_plan → assets → edit → compose
|
|
38
|
+
|
|
39
|
+
# 3. Final render location
|
|
40
|
+
# Output: output/<project-slug>/final-render.<ext>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### For agent-only mode (CMS node generation)
|
|
44
|
+
|
|
45
|
+
1. Execute CMS nodes via GrowthHub hosted execution:
|
|
46
|
+
|
|
47
|
+
| Step | CMS Node Slug | Inputs | Expected Output |
|
|
48
|
+
|---|---|---|---|
|
|
49
|
+
| 1 | | | |
|
|
50
|
+
| 2 | | | |
|
|
51
|
+
|
|
52
|
+
2. Collect output URLs from CMS node execution results
|
|
53
|
+
3. Follow post-production guidance below
|
|
54
|
+
|
|
55
|
+
### For hybrid mode
|
|
56
|
+
|
|
57
|
+
1. Generate assets via CMS nodes (see agent-only instructions above)
|
|
58
|
+
2. Run local OpenMontage post-production:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
cd ~/OpenMontage
|
|
62
|
+
# Composition, audio mixing, subtitle burn-in, color grading
|
|
63
|
+
# Use the scene plan and prompt matrix from this handoff
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Asset Manifest
|
|
67
|
+
|
|
68
|
+
| ID | Type | Source | URL / Path | Status |
|
|
69
|
+
|---|---|---|---|---|
|
|
70
|
+
| | | | | |
|
|
71
|
+
|
|
72
|
+
## Post-Production Steps
|
|
73
|
+
|
|
74
|
+
| Step | Tool | Input | Output | Notes |
|
|
75
|
+
|---|---|---|---|---|
|
|
76
|
+
| 1 | Remotion / FFmpeg | Scene assets | Draft composition | |
|
|
77
|
+
| 2 | Subtitle gen | Narration audio | SRT/VTT file | |
|
|
78
|
+
| 3 | FFmpeg | Draft + subtitles | Subtitled render | |
|
|
79
|
+
| 4 | FFmpeg | Subtitled render | Color-graded final | Optional |
|
|
80
|
+
|
|
81
|
+
## Render Profile
|
|
82
|
+
|
|
83
|
+
| Field | Value |
|
|
84
|
+
|---|---|
|
|
85
|
+
| Resolution | |
|
|
86
|
+
| FPS | |
|
|
87
|
+
| Codec | |
|
|
88
|
+
| Bitrate | |
|
|
89
|
+
| Audio codec | |
|
|
90
|
+
| Container | |
|
|
91
|
+
|
|
92
|
+
## Known Limitations
|
|
93
|
+
|
|
94
|
+
<!-- Any manual steps, unsupported features, or quality compromises. -->
|
|
95
|
+
|
|
96
|
+
## Approval
|
|
97
|
+
|
|
98
|
+
| Gate | Status |
|
|
99
|
+
|---|---|
|
|
100
|
+
| Production brief approved | `<yes / no>` |
|
|
101
|
+
| Budget approved | `<yes / no>` |
|
|
102
|
+
| QA checklist passed | `<yes / no>` |
|
|
103
|
+
| Ready for execution | `<yes / no>` |
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Prompt Matrix
|
|
2
|
+
|
|
3
|
+
## Project Reference
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Client | `<client-name>` |
|
|
8
|
+
| Project | `<project-name>` |
|
|
9
|
+
| Pipeline | `<selected-pipeline>` |
|
|
10
|
+
| Date | `YYYY-MM-DD` |
|
|
11
|
+
|
|
12
|
+
## Image Generation Prompts
|
|
13
|
+
|
|
14
|
+
| Scene | Provider / CMS Node | Model | Prompt | Style Directive | Aspect Ratio | Negative Prompt | Expected Cost |
|
|
15
|
+
|---|---|---|---|---|---|---|---|
|
|
16
|
+
| 1 | | | | | | | |
|
|
17
|
+
| 2 | | | | | | | |
|
|
18
|
+
| 3 | | | | | | | |
|
|
19
|
+
|
|
20
|
+
## Video Generation Prompts
|
|
21
|
+
|
|
22
|
+
| Scene | Provider / CMS Node | Model | Prompt | Source Image | Duration | Camera Motion | Expected Cost |
|
|
23
|
+
|---|---|---|---|---|---|---|---|
|
|
24
|
+
| 1 | | | | | | | |
|
|
25
|
+
| 2 | | | | | | | |
|
|
26
|
+
|
|
27
|
+
## TTS Prompts
|
|
28
|
+
|
|
29
|
+
| Scene | Provider | Voice | Text | Speed | Emotion | Expected Cost |
|
|
30
|
+
|---|---|---|---|---|---|---|
|
|
31
|
+
| 1 | | | | | | |
|
|
32
|
+
| 2 | | | | | | |
|
|
33
|
+
|
|
34
|
+
## Music Prompts
|
|
35
|
+
|
|
36
|
+
| Track | Provider | Genre | Mood | Duration | Instrumental | Expected Cost |
|
|
37
|
+
|---|---|---|---|---|---|---|
|
|
38
|
+
| BG | | | | | | |
|
|
39
|
+
|
|
40
|
+
## Style Consistency Rules
|
|
41
|
+
|
|
42
|
+
<!-- Global style directives that apply across all prompts. -->
|
|
43
|
+
|
|
44
|
+
- Base style: `<photorealistic / illustrated / anime / flat motion / minimalist>`
|
|
45
|
+
- Color palette: `<description or hex values>`
|
|
46
|
+
- Typography: `<font family, weight, treatment>`
|
|
47
|
+
- Lighting: `<natural / studio / cinematic / neon>`
|
|
48
|
+
- Consistency anchor: `<reference image URL or description>`
|