@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.
Files changed (109) hide show
  1. package/README.md +56 -156
  2. package/assets/worker-kits/growthub-ai-website-cloner-v1/.env.example +7 -0
  3. package/assets/worker-kits/growthub-ai-website-cloner-v1/QUICKSTART.md +116 -0
  4. package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/NEW-CLIENT.md +22 -0
  5. package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/_template/brand-kit.md +27 -0
  6. package/assets/worker-kits/growthub-ai-website-cloner-v1/brands/growthub/brand-kit.md +26 -0
  7. package/assets/worker-kits/growthub-ai-website-cloner-v1/bundles/growthub-ai-website-cloner-v1.json +53 -0
  8. package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/ai-website-cloner-fork-integration.md +118 -0
  9. package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/design-token-system.md +135 -0
  10. package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/multi-phase-pipeline.md +129 -0
  11. package/assets/worker-kits/growthub-ai-website-cloner-v1/docs/parallel-builder-dispatch.md +103 -0
  12. package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/clone-brief-sample.md +54 -0
  13. package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/component-spec-sample.md +123 -0
  14. package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/platform-handoff-sample.md +102 -0
  15. package/assets/worker-kits/growthub-ai-website-cloner-v1/examples/visual-qa-sample.md +119 -0
  16. package/assets/worker-kits/growthub-ai-website-cloner-v1/growthub-meta/README.md +71 -0
  17. package/assets/worker-kits/growthub-ai-website-cloner-v1/growthub-meta/kit-standard.md +47 -0
  18. package/assets/worker-kits/growthub-ai-website-cloner-v1/kit.json +105 -0
  19. package/assets/worker-kits/growthub-ai-website-cloner-v1/output/README.md +26 -0
  20. package/assets/worker-kits/growthub-ai-website-cloner-v1/output-standards.md +75 -0
  21. package/assets/worker-kits/growthub-ai-website-cloner-v1/runtime-assumptions.md +70 -0
  22. package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/check-deps.sh +50 -0
  23. package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/clone-fork.sh +66 -0
  24. package/assets/worker-kits/growthub-ai-website-cloner-v1/setup/verify-env.mjs +78 -0
  25. package/assets/worker-kits/growthub-ai-website-cloner-v1/skills.md +186 -0
  26. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/asset-manifest.md +57 -0
  27. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/builder-dispatch-plan.md +92 -0
  28. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/clone-brief.md +59 -0
  29. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/component-spec.md +124 -0
  30. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/design-token-extraction.md +89 -0
  31. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/platform-handoff.md +114 -0
  32. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/reconnaissance-report.md +77 -0
  33. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/visual-qa-checklist.md +107 -0
  34. package/assets/worker-kits/growthub-ai-website-cloner-v1/validation-checklist.md +76 -0
  35. package/assets/worker-kits/growthub-ai-website-cloner-v1/workers/ai-website-cloner-operator/CLAUDE.md +256 -0
  36. package/assets/worker-kits/growthub-open-montage-studio-v1/.env.example +40 -0
  37. package/assets/worker-kits/growthub-open-montage-studio-v1/QUICKSTART.md +114 -0
  38. package/assets/worker-kits/growthub-open-montage-studio-v1/brands/NEW-CLIENT.md +42 -0
  39. package/assets/worker-kits/growthub-open-montage-studio-v1/brands/_template/brand-kit.md +49 -0
  40. package/assets/worker-kits/growthub-open-montage-studio-v1/brands/growthub/brand-kit.md +50 -0
  41. package/assets/worker-kits/growthub-open-montage-studio-v1/bundles/growthub-open-montage-studio-v1.json +55 -0
  42. package/assets/worker-kits/growthub-open-montage-studio-v1/docs/cms-node-bridge.md +152 -0
  43. package/assets/worker-kits/growthub-open-montage-studio-v1/docs/open-montage-fork-integration.md +120 -0
  44. package/assets/worker-kits/growthub-open-montage-studio-v1/docs/pipeline-reference.md +147 -0
  45. package/assets/worker-kits/growthub-open-montage-studio-v1/docs/provider-adapter-layer.md +105 -0
  46. package/assets/worker-kits/growthub-open-montage-studio-v1/examples/cms-node-video-gen-sample.md +109 -0
  47. package/assets/worker-kits/growthub-open-montage-studio-v1/examples/pipeline-selection-sample.md +67 -0
  48. package/assets/worker-kits/growthub-open-montage-studio-v1/examples/platform-ready-handoff-sample.md +101 -0
  49. package/assets/worker-kits/growthub-open-montage-studio-v1/examples/video-production-brief-sample.md +68 -0
  50. package/assets/worker-kits/growthub-open-montage-studio-v1/growthub-meta/README.md +7 -0
  51. package/assets/worker-kits/growthub-open-montage-studio-v1/growthub-meta/kit-standard.md +45 -0
  52. package/assets/worker-kits/growthub-open-montage-studio-v1/kit.json +107 -0
  53. package/assets/worker-kits/growthub-open-montage-studio-v1/output/README.md +34 -0
  54. package/assets/worker-kits/growthub-open-montage-studio-v1/output-standards.md +79 -0
  55. package/assets/worker-kits/growthub-open-montage-studio-v1/runtime-assumptions.md +86 -0
  56. package/assets/worker-kits/growthub-open-montage-studio-v1/setup/check-deps.sh +43 -0
  57. package/assets/worker-kits/growthub-open-montage-studio-v1/setup/clone-fork.sh +53 -0
  58. package/assets/worker-kits/growthub-open-montage-studio-v1/setup/verify-env.mjs +102 -0
  59. package/assets/worker-kits/growthub-open-montage-studio-v1/skills.md +254 -0
  60. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/asset-tracking.md +46 -0
  61. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/cms-node-pipeline-mapping.md +64 -0
  62. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/generation-batch-plan.md +70 -0
  63. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/pipeline-selection-brief.md +67 -0
  64. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/platform-ready-execution-handoff.md +103 -0
  65. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/prompt-matrix.md +48 -0
  66. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/provider-selection-brief.md +86 -0
  67. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/review-qa-checklist.md +59 -0
  68. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/scene-plan.md +65 -0
  69. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/video-production-brief.md +58 -0
  70. package/assets/worker-kits/growthub-open-montage-studio-v1/validation-checklist.md +46 -0
  71. package/assets/worker-kits/growthub-open-montage-studio-v1/workers/open-montage-studio-operator/CLAUDE.md +304 -0
  72. package/assets/worker-kits/growthub-twenty-crm-v1/.env.example +15 -0
  73. package/assets/worker-kits/growthub-twenty-crm-v1/QUICKSTART.md +90 -0
  74. package/assets/worker-kits/growthub-twenty-crm-v1/brands/NEW-CLIENT.md +57 -0
  75. package/assets/worker-kits/growthub-twenty-crm-v1/brands/_template/brand-kit.md +88 -0
  76. package/assets/worker-kits/growthub-twenty-crm-v1/brands/growthub/brand-kit.md +92 -0
  77. package/assets/worker-kits/growthub-twenty-crm-v1/bundles/growthub-twenty-crm-v1.json +56 -0
  78. package/assets/worker-kits/growthub-twenty-crm-v1/docs/api-and-webhooks.md +296 -0
  79. package/assets/worker-kits/growthub-twenty-crm-v1/docs/data-model-layer.md +172 -0
  80. package/assets/worker-kits/growthub-twenty-crm-v1/docs/twenty-fork-integration.md +213 -0
  81. package/assets/worker-kits/growthub-twenty-crm-v1/examples/crm-playbook-sample.md +172 -0
  82. package/assets/worker-kits/growthub-twenty-crm-v1/examples/crm-setup-sample.md +100 -0
  83. package/assets/worker-kits/growthub-twenty-crm-v1/examples/lead-enrichment-sample.md +117 -0
  84. package/assets/worker-kits/growthub-twenty-crm-v1/examples/pipeline-automation-sample.md +132 -0
  85. package/assets/worker-kits/growthub-twenty-crm-v1/growthub-meta/README.md +114 -0
  86. package/assets/worker-kits/growthub-twenty-crm-v1/growthub-meta/kit-standard.md +61 -0
  87. package/assets/worker-kits/growthub-twenty-crm-v1/kit.json +108 -0
  88. package/assets/worker-kits/growthub-twenty-crm-v1/output/README.md +46 -0
  89. package/assets/worker-kits/growthub-twenty-crm-v1/output-standards.md +175 -0
  90. package/assets/worker-kits/growthub-twenty-crm-v1/runtime-assumptions.md +150 -0
  91. package/assets/worker-kits/growthub-twenty-crm-v1/setup/check-deps.sh +56 -0
  92. package/assets/worker-kits/growthub-twenty-crm-v1/setup/clone-fork.sh +77 -0
  93. package/assets/worker-kits/growthub-twenty-crm-v1/setup/verify-env.mjs +105 -0
  94. package/assets/worker-kits/growthub-twenty-crm-v1/skills.md +401 -0
  95. package/assets/worker-kits/growthub-twenty-crm-v1/templates/api-query-plan.md +179 -0
  96. package/assets/worker-kits/growthub-twenty-crm-v1/templates/crm-playbook.md +155 -0
  97. package/assets/worker-kits/growthub-twenty-crm-v1/templates/crm-setup-brief.md +94 -0
  98. package/assets/worker-kits/growthub-twenty-crm-v1/templates/custom-object-design.md +115 -0
  99. package/assets/worker-kits/growthub-twenty-crm-v1/templates/data-model-design.md +112 -0
  100. package/assets/worker-kits/growthub-twenty-crm-v1/templates/enrichment-field-map.md +100 -0
  101. package/assets/worker-kits/growthub-twenty-crm-v1/templates/import-mapping.md +139 -0
  102. package/assets/worker-kits/growthub-twenty-crm-v1/templates/integration-handoff.md +190 -0
  103. package/assets/worker-kits/growthub-twenty-crm-v1/templates/lead-enrichment-pipeline.md +128 -0
  104. package/assets/worker-kits/growthub-twenty-crm-v1/templates/pipeline-automation-brief.md +88 -0
  105. package/assets/worker-kits/growthub-twenty-crm-v1/templates/webhook-integration-spec.md +129 -0
  106. package/assets/worker-kits/growthub-twenty-crm-v1/templates/workspace-config-checklist.md +129 -0
  107. package/assets/worker-kits/growthub-twenty-crm-v1/validation-checklist.md +115 -0
  108. package/assets/worker-kits/growthub-twenty-crm-v1/workers/twenty-crm-operator/CLAUDE.md +310 -0
  109. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,6 @@
1
1
  # @growthub/cli
2
2
 
3
- `@growthub/cli` is the published CLI for Growthub Local. It covers five shipped user flows:
4
-
5
- - full local app discovery and onboarding
6
- - worker kit discovery, export, inspection, and validation
7
- - shared template discovery and extraction
8
- - hosted workflows, capabilities, dynamic pipelines, and artifacts
9
- - hosted Growthub auth + machine profile bridge
3
+ `@growthub/cli` is the public CLI for Growthub Local.
10
4
 
11
5
  ## Install
12
6
 
@@ -14,201 +8,107 @@
14
8
  npm install -g @growthub/cli
15
9
  ```
16
10
 
17
- You can also install through the guided installer:
11
+ Or use the guided installer:
18
12
 
19
13
  ```bash
20
14
  npm create growthub-local@latest
21
15
  ```
22
16
 
23
- Or jump directly to a profile:
24
-
25
- ```bash
26
- npm create growthub-local@latest -- --profile gtm
27
- npm create growthub-local@latest -- --profile dx
28
- ```
29
-
30
- ## CLI Editions
17
+ ## At a Glance
31
18
 
32
- The current CLI exposes five user-facing flows through `growthub discover` and direct subcommands.
19
+ The CLI ships these user flows:
33
20
 
34
- ### 1. Full Local App
21
+ - `Agent Harness` (Paperclip Local App, Open Agents, Qwen Code CLI)
22
+ - `Worker Kits`
23
+ - `Templates`
24
+ - `Workflows`
25
+ - `Local Intelligence`
26
+ - `Hosted Auth Bridge`
35
27
 
36
- Use this when you want to create or reopen a full Growthub local surface.
28
+ ## Quick Commands
37
29
 
38
30
  ```bash
31
+ # Discovery
39
32
  growthub
40
- growthub list
41
33
  growthub discover
34
+
35
+ # Agent Harness
42
36
  growthub onboard
43
37
  growthub run
44
- ```
45
-
46
- User flow:
47
-
48
- 1. Open the discovery hub.
49
- 2. Choose `Full Local App`.
50
- 3. Create a new `gtm` or `dx` profile, or load an existing local profile.
51
- 4. Complete onboarding.
52
- 5. Start the local server and finish the hosted authentication bridge.
38
+ growthub open-agents
39
+ growthub qwen-code
53
40
 
54
- ### 2. Worker Kits
55
-
56
- Use this when you want a working-directory-ready environment for an agent.
57
-
58
- ### Discovery
59
-
60
- ```bash
61
- # Interactive discovery hub
62
- growthub list
63
-
64
- # Interactive browser — type filter → kit selector → actions
41
+ # Worker Kits
65
42
  growthub kit
66
-
67
- # All kits grouped by family with descriptions and inline commands
68
43
  growthub kit list
44
+ growthub kit inspect <kit-id>
45
+ growthub kit download <kit-id>
46
+ growthub kit validate <path>
69
47
 
70
- # Filter by family
71
- growthub kit list --family studio
72
- growthub kit list --family studio,operator
48
+ # Templates
49
+ growthub template
50
+ growthub template list
51
+ growthub template get <slug>
73
52
 
74
- # Machine-readable output
75
- growthub kit list --json
53
+ # Workflows
54
+ growthub workflow
55
+ growthub workflow saved
56
+ growthub pipeline assemble
76
57
 
77
- # Family taxonomy
78
- growthub kit families
58
+ # Hosted Auth Bridge
59
+ growthub auth login
60
+ growthub auth whoami
61
+ growthub auth logout
79
62
  ```
80
63
 
81
- ### Inspect, download, and validate
64
+ ## Worker Kit Command Surface
82
65
 
83
66
  ```bash
67
+ growthub kit list
84
68
  growthub kit inspect creative-strategist-v1
85
69
  growthub kit inspect growthub-open-higgsfield-studio-v1
86
- growthub kit inspect growthub-email-marketing-v1 --json
87
-
88
70
  growthub kit download creative-strategist-v1
89
71
  growthub kit download growthub-open-higgsfield-studio-v1
90
- growthub kit download higgsfield --yes
91
-
92
72
  growthub kit path creative-strategist-v1
93
73
  growthub kit validate /absolute/path/to/kit
94
74
  ```
95
75
 
96
- ### After download
97
-
98
- 1. Point Growthub local or your local adapter `Working directory` at the exported folder.
99
- 2. Add runtime-only environment variables required by the kit.
100
- 3. Start a new session so the operator contract loads from `CLAUDE.md`.
101
-
102
- ### Available bundled kits
103
-
104
- | Kit | Family | Description |
105
- |---|---|---|
106
- | `creative-strategist-v1` | workflow | Video creative briefs and campaign strategy |
107
- | `growthub-email-marketing-v1` | operator | Brand-aware email campaigns, sequences, and campaign planning |
108
- | `growthub-open-higgsfield-studio-v1` | studio | Open Higgsfield visual production workflows |
109
-
110
76
  ### How local adapters use worker kits
111
77
 
112
- Local adapters execute inside the agent `Working directory` path. Worker kits are designed to plug into that path directly:
78
+ 1. Download or resolve a kit path from the CLI.
79
+ 2. Point the agent working directory at the exported folder.
80
+ 3. Start a new session so the kit contract loads from `CLAUDE.md`.
113
81
 
114
- 1. `growthub kit download <id>` exports the kit as a folder plus zip.
115
- 2. Point the agent `Working directory` at the exported folder.
116
- 3. Start a new session so the agent reads the kit contract from `CLAUDE.md`.
82
+ ## Harness Notes
117
83
 
118
- ### 3. Shared Templates
84
+ ### Open Agents
119
85
 
120
- Use this when you need a reusable artifact primitive without exporting a full kit.
86
+ - upstream: [vercel-labs/open-agents](https://github.com/vercel-labs/open-agents)
87
+ - secure auth mode support: `none`, `api-key`, `vercel-managed`
88
+ - prompt/chat commands: `growthub open-agents prompt`, `growthub open-agents chat`
121
89
 
122
- ```bash
123
- growthub template
124
- growthub template list
125
- growthub template list --type ad-formats
126
- growthub template list --type scene-modules --subtype hooks
127
- growthub template get villain-animation
128
- growthub template get meme-overlay --out ~/kit/hooks/
129
- growthub template get villain-animation --json
130
- ```
90
+ ### Qwen Code CLI
131
91
 
132
- User flow:
92
+ - upstream: [QwenLM/qwen-code](https://github.com/QwenLM/qwen-code)
93
+ - secure local key setup from `growthub qwen-code` configure flow
94
+ - prompt/chat session commands: `growthub qwen-code prompt`, `growthub qwen-code session`
133
95
 
134
- 1. Browse by family and artifact group.
135
- 2. Preview the selected artifact.
136
- 3. Print it, copy it to a local workspace, or use the slug in another workflow.
96
+ ## Extension Model
137
97
 
138
- ### 4. Hosted Workflows
98
+ Content extensions:
139
99
 
140
- Use this when you want CMS node contract discovery, dynamic hosted pipeline creation, and saved workflow lifecycle management.
100
+ - worker kits: `cli/assets/worker-kits/`
101
+ - shared templates: `cli/assets/shared-templates/`
141
102
 
142
- ```bash
143
- growthub workflow
144
- growthub workflow saved
145
- growthub pipeline assemble
146
- ```
147
-
148
- ### 5. Hosted Auth Bridge
149
-
150
- Use this when you want the hosted Growthub account to remain the top-level identity while syncing safe local-machine metadata into the CLI runtime.
151
-
152
- ```bash
153
- growthub auth login
154
- growthub auth whoami
155
- growthub auth logout
156
- growthub profile status
157
- growthub profile pull
158
- growthub profile push
159
- ```
160
-
161
- Contract:
162
-
163
- 1. Hosted Growthub auth remains the source of truth for the user identity.
164
- 2. Local workspace config stays local-first and is not overwritten by hosted state.
165
- 3. Hosted machine linkage is stored separately from `instances/<id>/config.json`.
166
- 4. `growthub` and `paperclipai` remain intentional side-by-side surfaces rather than auto-loading one another.
167
-
168
- ## Workflows Discovery V1
169
-
170
- The public CLI now supports a hosted workflow discovery flow inside the interactive hub for all Growthub Auth Users:
171
-
172
- ```bash
173
- growthub discover
174
- growthub workflow
175
- growthub workflow saved
176
- ```
177
-
178
- Use this when you want to:
179
-
180
- - inspect CMS node contracts from the interactive contracts browser
181
- - list hosted saved workflows and inspect detail
182
- - create/save hosted workflows through Dynamic Pipelines
183
- - execute a hosted saved workflow from the CLI
184
- - manage workflow lifecycle actions (archive/delete) from CLI
185
-
186
- The full public usage and architecture notes live here:
103
+ Governance/reference docs:
187
104
 
105
+ - [Worker Kits](../docs/WORKER_KITS.md)
188
106
  - [CLI Workflows Discovery V1](../docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
189
-
190
- ## Contribution Model
191
-
192
- The CLI has two extension surfaces for content:
193
-
194
- - worker kits in `cli/assets/worker-kits/`
195
- - shared templates in `cli/assets/shared-templates/`
196
-
197
- Use shared templates for reusable cross-kit primitives. Use worker kits for full opinionated environments with prompts, standards, examples, and runtime assumptions.
198
-
199
- For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXTENSION_WORKFLOWS.md](../docs/CLI_TEMPLATE_CONTRIBUTION_EXTENSION_WORKFLOWS.md).
200
-
201
- ## Development Notes
202
-
203
- - `@growthub/cli` version: `0.3.49`
204
- - Node.js: `>=20`
205
- - Source of truth repo: [Growthub Local](https://github.com/Growthub-ai/growthub-local)
107
+ - [Agent Harness Auth Primitive](../docs/AGENT_HARNESS_AUTH_PRIMITIVE.md)
108
+ - [Kernel Packet Registry](../docs/kernel-packets/README.md)
206
109
 
207
110
  ## Links
208
111
 
209
- - [GitHub README](https://github.com/Growthub-ai/growthub-local#readme)
112
+ - [Growthub Local Repository](https://github.com/Growthub-ai/growthub-local)
113
+ - [Root README](https://github.com/Growthub-ai/growthub-local#readme)
210
114
  - [Contributing](https://github.com/Growthub-ai/growthub-local/blob/main/CONTRIBUTING.md)
211
- - [Growthub Authentication Bridge](https://github.com/Growthub-ai/growthub-local/blob/main/docs/GROWTHUB_AUTH_BRIDGE.md)
212
- - [CLI Workflows Discovery V1](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
213
- - [Worker Kits](https://github.com/Growthub-ai/growthub-local/blob/main/docs/WORKER_KITS.md)
214
- - [CLI Template Contribution Extension Workflows](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_TEMPLATE_CONTRIBUTION_EXTENSION_WORKFLOWS.md)
@@ -0,0 +1,7 @@
1
+ # AI Website Cloner Worker Kit — Environment Config
2
+ # Copy this file to .env and adjust values only if needed.
3
+ # No API key is required for this kit.
4
+
5
+ # Optional: override local fork path.
6
+ # Default: ~/ai-website-cloner-template
7
+ AI_CLONER_FORK_PATH=~/ai-website-cloner-template
@@ -0,0 +1,116 @@
1
+ # AI Website Cloner — Quickstart
2
+
3
+ **Kit:** `growthub-ai-website-cloner-v1`
4
+ **Fork:** [JCodesMore/ai-website-cloner-template](https://github.com/JCodesMore/ai-website-cloner-template)
5
+
6
+ ---
7
+
8
+ ## Prerequisites
9
+
10
+ - Node.js 24+ — [nodejs.org](https://nodejs.org/)
11
+ - An AI coding agent (Claude Code recommended) — `npm install -g @anthropic-ai/claude-code`
12
+ - Git
13
+
14
+ ---
15
+
16
+ ## Step 1 — Set up the fork
17
+
18
+ ```bash
19
+ bash setup/clone-fork.sh
20
+ ```
21
+
22
+ This clones the `ai-website-cloner-template` fork to `~/ai-website-cloner-template` and runs `npm install`.
23
+
24
+ ---
25
+
26
+ ## Step 2 — Copy the env file (optional — no API key required)
27
+
28
+ ```bash
29
+ cp .env.example .env
30
+ ```
31
+
32
+ The cloner works without an API key. The `.env` file is used for optional configuration (custom fork path, default agent).
33
+
34
+ ---
35
+
36
+ ## Step 3 — Verify the environment
37
+
38
+ ```bash
39
+ node setup/verify-env.mjs
40
+ ```
41
+
42
+ ---
43
+
44
+ ## Step 4 — Point your AI agent at this kit
45
+
46
+ In Claude Code:
47
+ ```bash
48
+ cd <path-to-this-kit>
49
+ claude --chrome
50
+ ```
51
+
52
+ In Cursor or other agents, open this directory as the project root.
53
+
54
+ ---
55
+
56
+ ## Step 5 — Run the clone skill
57
+
58
+ In your AI agent chat:
59
+ ```
60
+ /clone-website https://example.com
61
+ ```
62
+
63
+ Or provide multiple URLs for a multi-page clone:
64
+ ```
65
+ /clone-website https://example.com https://example.com/about https://example.com/pricing
66
+ ```
67
+
68
+ ---
69
+
70
+ ## What happens next
71
+
72
+ The agent will:
73
+ 1. Screenshot the target at desktop, tablet, and mobile viewports
74
+ 2. Extract all design tokens using `getComputedStyle()`
75
+ 3. Inventory all assets (images, videos, fonts, SVGs)
76
+ 4. Write a component spec for every section
77
+ 5. Dispatch parallel builder agents in git worktrees
78
+ 6. Assemble and merge all builder outputs
79
+ 7. Run visual QA against the original screenshots
80
+ 8. Produce a platform handoff document
81
+
82
+ ---
83
+
84
+ ## Output location
85
+
86
+ All artifacts land in:
87
+ ```
88
+ ~/ai-website-cloner-template/output/<client-slug>/<project-slug>/
89
+ ```
90
+
91
+ The cloned Next.js components live in:
92
+ ```
93
+ ~/ai-website-cloner-template/src/components/
94
+ ```
95
+
96
+ ---
97
+
98
+ ## Running the cloned site
99
+
100
+ ```bash
101
+ cd ~/ai-website-cloner-template
102
+ npm run dev
103
+ ```
104
+
105
+ Open [http://localhost:3000](http://localhost:3000) to view the clone.
106
+
107
+ ---
108
+
109
+ ## Docs
110
+
111
+ - `skills.md` — Full skill and pipeline reference
112
+ - `docs/ai-website-cloner-fork-integration.md` — Fork integration details
113
+ - `docs/multi-phase-pipeline.md` — Pipeline architecture deep-dive
114
+ - `docs/parallel-builder-dispatch.md` — Worktree builder system
115
+ - `docs/design-token-system.md` — Token extraction and Tailwind v4 mapping
116
+ - `validation-checklist.md` — Pre-handoff validation checklist
@@ -0,0 +1,22 @@
1
+ # New Client Setup
2
+
3
+ To start a project for a new client:
4
+
5
+ 1. Create a brand kit directory:
6
+ ```bash
7
+ mkdir -p brands/<client-slug>
8
+ cp brands/_template/brand-kit.md brands/<client-slug>/brand-kit.md
9
+ ```
10
+
11
+ 2. Edit `brands/<client-slug>/brand-kit.md` with the client's details.
12
+
13
+ 3. Create the output directory:
14
+ ```bash
15
+ mkdir -p output/<client-slug>/<project-slug>/research
16
+ mkdir -p output/<client-slug>/<project-slug>/specs
17
+ mkdir -p output/<client-slug>/<project-slug>/qa
18
+ ```
19
+
20
+ 4. Start your AI agent session and point it at this kit directory.
21
+
22
+ 5. Run the clone skill: `/clone-website <target-url>`
@@ -0,0 +1,27 @@
1
+ # Brand Kit — [CLIENT NAME]
2
+
3
+ **Created:** YYYY-MM-DD
4
+ **Kit:** `growthub-ai-website-cloner-v1`
5
+
6
+ ---
7
+
8
+ ## Client details
9
+
10
+ - **Client:** [CLIENT NAME]
11
+ - **Website:** [https://example.com]
12
+ - **Industry:** [Industry]
13
+ - **Primary contact:** [Name / email]
14
+
15
+ ---
16
+
17
+ ## Project history
18
+
19
+ | Date | Deliverable | Output path |
20
+ |---|---|---|
21
+ | YYYY-MM-DD | AI Website Clone v1 — [Project Name] | `output/<client-slug>/<project-slug>/` |
22
+
23
+ ---
24
+
25
+ ## Notes
26
+
27
+ [Any standing notes about this client's preferences, constraints, or requirements]
@@ -0,0 +1,26 @@
1
+ # Brand Kit — Growthub
2
+
3
+ **Created:** 2026-04-15
4
+ **Kit:** `growthub-ai-website-cloner-v1`
5
+
6
+ ---
7
+
8
+ ## Client details
9
+
10
+ - **Client:** Growthub
11
+ - **Website:** [https://growthub.com](https://growthub.com)
12
+ - **Industry:** AI-powered growth tooling
13
+
14
+ ---
15
+
16
+ ## Project history
17
+
18
+ | Date | Deliverable | Output path |
19
+ |---|---|---|
20
+ | — | — | — |
21
+
22
+ ---
23
+
24
+ ## Notes
25
+
26
+ Example brand kit for operator reference. Replace with your client's details.
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 2,
3
+ "bundle": {
4
+ "id": "growthub-ai-website-cloner-v1",
5
+ "version": "1.0.0",
6
+ "kitId": "growthub-ai-website-cloner-v1",
7
+ "workerId": "ai-website-cloner-operator"
8
+ },
9
+ "briefType": "ai-website-clone-project",
10
+ "publicExampleBrandPaths": [
11
+ "brands/growthub/brand-kit.md"
12
+ ],
13
+ "requiredFrozenAssets": [
14
+ "QUICKSTART.md",
15
+ ".env.example",
16
+ "skills.md",
17
+ "output-standards.md",
18
+ "runtime-assumptions.md",
19
+ "validation-checklist.md",
20
+ "workers/ai-website-cloner-operator/CLAUDE.md",
21
+ "brands/_template/brand-kit.md",
22
+ "brands/growthub/brand-kit.md",
23
+ "brands/NEW-CLIENT.md",
24
+ "setup/clone-fork.sh",
25
+ "setup/verify-env.mjs",
26
+ "setup/check-deps.sh",
27
+ "output/README.md",
28
+ "templates/clone-brief.md",
29
+ "templates/reconnaissance-report.md",
30
+ "templates/component-spec.md",
31
+ "templates/builder-dispatch-plan.md",
32
+ "templates/asset-manifest.md",
33
+ "templates/visual-qa-checklist.md",
34
+ "templates/platform-handoff.md",
35
+ "templates/design-token-extraction.md",
36
+ "examples/clone-brief-sample.md",
37
+ "examples/component-spec-sample.md",
38
+ "examples/visual-qa-sample.md",
39
+ "examples/platform-handoff-sample.md",
40
+ "docs/ai-website-cloner-fork-integration.md",
41
+ "docs/multi-phase-pipeline.md",
42
+ "docs/parallel-builder-dispatch.md",
43
+ "docs/design-token-system.md",
44
+ "growthub-meta/README.md",
45
+ "growthub-meta/kit-standard.md"
46
+ ],
47
+ "optionalPresets": [],
48
+ "export": {
49
+ "folderName": "growthub-agent-worker-kit-ai-website-cloner-v1",
50
+ "zipFileName": "growthub-agent-worker-kit-ai-website-cloner-v1.zip"
51
+ },
52
+ "activationModes": ["export"]
53
+ }
@@ -0,0 +1,118 @@
1
+ # AI Website Cloner — Fork Integration
2
+
3
+ **Kit:** `growthub-ai-website-cloner-v1`
4
+ **Fork:** [JCodesMore/ai-website-cloner-template](https://github.com/JCodesMore/ai-website-cloner-template)
5
+
6
+ ---
7
+
8
+ ## What the fork is
9
+
10
+ `ai-website-cloner-template` is a production-grade Next.js 16 + shadcn/ui + Tailwind CSS v4 template purpose-built for AI coding agents. It provides:
11
+
12
+ - A pre-scaffolded Next.js codebase at the correct version and configuration
13
+ - The `/clone-website` skill — a multi-phase pipeline for cloning any website
14
+ - Built-in multi-agent / parallel worktree support for builder dispatch
15
+ - Support for 13+ AI coding agents (Claude Code, Cursor, Copilot, Codex, Gemini CLI, etc.)
16
+
17
+ The template is a **git repository you clone locally** — the AI agent operates inside it as its working directory.
18
+
19
+ ---
20
+
21
+ ## How this kit integrates with the fork
22
+
23
+ This Growthub worker kit provides the **operator layer** on top of the fork:
24
+
25
+ | Layer | What it does |
26
+ |---|---|
27
+ | Fork (`ai-website-cloner-template`) | Scaffold, skill definitions, parallel builder infrastructure |
28
+ | This kit (Growthub operator) | Workflow methodology, templates, QA standards, brand management |
29
+
30
+ The Growthub operator (`workers/ai-website-cloner-operator/CLAUDE.md`) reads the fork's skill definition and applies a structured 8-phase workflow with:
31
+ - Strict phase ordering
32
+ - Mandatory reconnaissance before spec writing
33
+ - Explicit builder dispatch plan with worktree isolation
34
+ - Formal QA standards with diff requirements
35
+ - Brand kit management
36
+
37
+ ---
38
+
39
+ ## Fork setup path
40
+
41
+ The fork is set up by `setup/clone-fork.sh`:
42
+
43
+ ```
44
+ git clone https://github.com/JCodesMore/ai-website-cloner-template.git ~/ai-website-cloner-template
45
+ cd ~/ai-website-cloner-template
46
+ npm install
47
+ ```
48
+
49
+ Default path: `~/ai-website-cloner-template`
50
+ Override: set `AI_CLONER_FORK_PATH` environment variable.
51
+
52
+ ---
53
+
54
+ ## Fork tech stack (locked)
55
+
56
+ | Layer | Version |
57
+ |---|---|
58
+ | Next.js | 16 (App Router, React 19) |
59
+ | TypeScript | strict mode |
60
+ | shadcn/ui | Latest at fork commit |
61
+ | Tailwind CSS | v4 |
62
+ | Design tokens | oklch color space |
63
+ | Icons | Lucide React + extracted SVGs |
64
+ | Node.js requirement | 24+ |
65
+
66
+ ---
67
+
68
+ ## Agent support
69
+
70
+ The fork's skill is defined in `.claude/skills/clone-website/SKILL.md` (synced to other agents). Supported agents:
71
+
72
+ - Claude Code (recommended — `--chrome` flag enables browser automation)
73
+ - Cursor, Windsurf, Copilot, Cline, Roo Code, Continue, Codex, OpenCode, Gemini CLI, Amazon Q, Augment Code, Aider
74
+
75
+ ---
76
+
77
+ ## How the `/clone-website` skill works
78
+
79
+ When invoked, the skill:
80
+
81
+ 1. Opens Chrome (Claude Code) or uses Playwright/browser integration for other agents
82
+ 2. Navigates to each target URL
83
+ 3. Takes screenshots at desktop (1440px), tablet (768px), mobile (375px)
84
+ 4. Executes `getComputedStyle()` extraction in the browser console
85
+ 5. Downloads all external assets to `public/`
86
+ 6. Writes component spec files to `docs/research/components/`
87
+ 7. Dispatches parallel builder subagents — each works in a `git worktree` branch
88
+ 8. Merges all builder branches and assembles the page
89
+ 9. Runs `npm run build`, `npm run lint`, and `npm run typecheck`
90
+
91
+ ---
92
+
93
+ ## Fork structure (relevant paths for the operator)
94
+
95
+ ```
96
+ ~/ai-website-cloner-template/
97
+ .claude/
98
+ skills/
99
+ clone-website/
100
+ SKILL.md # The core skill definition
101
+ AGENTS.md # Agent project instructions
102
+ src/
103
+ app/
104
+ page.tsx # Main cloned page (written by orchestrator)
105
+ layout.tsx # Root layout
106
+ globals.css # Design tokens and base styles
107
+ components/
108
+ <section-slug>/ # One directory per cloned section (written by builders)
109
+ icons.tsx # Extracted SVG icons
110
+ lib/
111
+ utils.ts # cn() utility
112
+ public/
113
+ images/ # Downloaded images
114
+ videos/ # Downloaded videos
115
+ seo/ # Favicon, OG, webmanifest
116
+ docs/
117
+ research/ # Reconnaissance output (created by operator)
118
+ ```