@egbe-ai/opencode 0.0.0-stage → 0.1.8

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 (479) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +124 -2
  3. package/index.js +5 -0
  4. package/package.json +55 -4
  5. package/plugin.js +230 -0
  6. package/session-log.js +315 -0
  7. package/skills/.egbe-catalog/manifest.json +1 -0
  8. package/skills/egbe-os-analytics/SKILL.md +499 -0
  9. package/skills/egbe-os-analytics/canonical-events.v1.json +256 -0
  10. package/skills/egbe-os-analytics/references/session-funnel.md +130 -0
  11. package/skills/egbe-os-analytics/references/workflows/activation-tracking.md +147 -0
  12. package/skills/egbe-os-analytics/references/workflows/landing-click-tracking.md +209 -0
  13. package/skills/egbe-os-analytics/references/workflows/payment-lifecycle-tracking.md +122 -0
  14. package/skills/egbe-os-analytics/references/workflows/product-funnel-tracking.md +77 -0
  15. package/skills/egbe-os-analytics/references/workflows/signup-lifecycle-tracking.md +208 -0
  16. package/skills/egbe-os-analytics/scripts/umami_funnel.py +927 -0
  17. package/skills/egbe-os-apollo-lead-finder/SKILL.md +135 -0
  18. package/skills/egbe-os-apollo-lead-finder/references/operations.md +240 -0
  19. package/skills/egbe-os-apollo-lead-finder/scripts/enrich.js +6 -0
  20. package/skills/egbe-os-apollo-lead-finder/scripts/enrich.sh +4 -0
  21. package/skills/egbe-os-apollo-lead-finder/scripts/find-leads.js +6 -0
  22. package/skills/egbe-os-apollo-lead-finder/scripts/find-leads.sh +4 -0
  23. package/skills/egbe-os-apollo-lead-finder/scripts/lib/apollo-client.js +343 -0
  24. package/skills/egbe-os-apollo-lead-finder/scripts/lib/connection-identity.js +17 -0
  25. package/skills/egbe-os-apollo-lead-finder/scripts/lib/helpers.js +127 -0
  26. package/skills/egbe-os-apollo-lead-finder/scripts/lib/places-filters.js +217 -0
  27. package/skills/egbe-os-apollo-lead-finder/scripts/lib/sourcing.js +153 -0
  28. package/skills/egbe-os-apollo-lead-finder/scripts/places-leads.js +653 -0
  29. package/skills/egbe-os-apollo-lead-finder/scripts/places-leads.sh +4 -0
  30. package/skills/egbe-os-apollo-lead-finder/scripts/search.js +6 -0
  31. package/skills/egbe-os-apollo-lead-finder/scripts/search.sh +4 -0
  32. package/skills/egbe-os-campaign-landing-page/SKILL.md +95 -0
  33. package/skills/egbe-os-campaign-landing-page/agents/openai.yaml +4 -0
  34. package/skills/egbe-os-campaign-landing-page/references/leads-calendar-and-tracking.md +66 -0
  35. package/skills/egbe-os-campaign-landing-page/references/os-wiring.md +58 -0
  36. package/skills/egbe-os-campaign-landing-page/references/qa.md +40 -0
  37. package/skills/egbe-os-campaign-landing-page/references/routing.md +32 -0
  38. package/skills/egbe-os-db/SKILL.md +174 -0
  39. package/skills/egbe-os-deploy/SKILL.md +412 -0
  40. package/skills/egbe-os-design/SKILL.md +182 -0
  41. package/skills/egbe-os-design-landing-page/SKILL.md +117 -0
  42. package/skills/egbe-os-design-landing-page/agents/openai.yaml +4 -0
  43. package/skills/egbe-os-design-landing-page/assets/scaffold/.dockerignore +11 -0
  44. package/skills/egbe-os-design-landing-page/assets/scaffold/AGENTS.md +31 -0
  45. package/skills/egbe-os-design-landing-page/assets/scaffold/Dockerfile +21 -0
  46. package/skills/egbe-os-design-landing-page/assets/scaffold/eslint.config.mjs +18 -0
  47. package/skills/egbe-os-design-landing-page/assets/scaffold/next.config.ts +11 -0
  48. package/skills/egbe-os-design-landing-page/assets/scaffold/package.json +36 -0
  49. package/skills/egbe-os-design-landing-page/assets/scaffold/postcss.config.mjs +7 -0
  50. package/skills/egbe-os-design-landing-page/assets/scaffold/public/.gitkeep +1 -0
  51. package/skills/egbe-os-design-landing-page/assets/scaffold/sentry.edge.config.ts +13 -0
  52. package/skills/egbe-os-design-landing-page/assets/scaffold/sentry.server.config.ts +13 -0
  53. package/skills/egbe-os-design-landing-page/assets/scaffold/src/app/global-error.tsx +19 -0
  54. package/skills/egbe-os-design-landing-page/assets/scaffold/src/app/globals.css +22 -0
  55. package/skills/egbe-os-design-landing-page/assets/scaffold/src/app/layout.tsx +21 -0
  56. package/skills/egbe-os-design-landing-page/assets/scaffold/src/app/page.tsx +3 -0
  57. package/skills/egbe-os-design-landing-page/assets/scaffold/src/app/privacy/page.tsx +28 -0
  58. package/skills/egbe-os-design-landing-page/assets/scaffold/src/components/egbe-analytics.tsx +39 -0
  59. package/skills/egbe-os-design-landing-page/assets/scaffold/src/instrumentation-client.ts +15 -0
  60. package/skills/egbe-os-design-landing-page/assets/scaffold/src/instrumentation.ts +13 -0
  61. package/skills/egbe-os-design-landing-page/assets/scaffold/src/lib/egbe-observability.generated.ts +20 -0
  62. package/skills/egbe-os-design-landing-page/assets/scaffold/src/lib/utils.ts +6 -0
  63. package/skills/egbe-os-design-landing-page/assets/scaffold/tsconfig.json +34 -0
  64. package/skills/egbe-os-design-landing-page/references/application-preparation.md +44 -0
  65. package/skills/egbe-os-design-landing-page/references/page-inputs.md +22 -0
  66. package/skills/egbe-os-destination-readiness/SKILL.md +132 -0
  67. package/skills/egbe-os-destination-readiness/references/checks.md +130 -0
  68. package/skills/egbe-os-destination-readiness/references/network-requirements.md +34 -0
  69. package/skills/egbe-os-destination-readiness/references/report.md +116 -0
  70. package/skills/egbe-os-domains/SKILL.md +189 -0
  71. package/skills/egbe-os-errors/SKILL.md +259 -0
  72. package/skills/egbe-os-git/SKILL.md +275 -0
  73. package/skills/egbe-os-git/references/issues.md +33 -0
  74. package/skills/egbe-os-google-ads/SKILL.md +163 -0
  75. package/skills/egbe-os-google-ads/references/artifacts.md +133 -0
  76. package/skills/egbe-os-google-ads/references/campaigns.md +157 -0
  77. package/skills/egbe-os-google-ads/references/conversions.md +153 -0
  78. package/skills/egbe-os-google-ads/references/delivery.md +128 -0
  79. package/skills/egbe-os-google-ads/references/keyword-ideas.md +40 -0
  80. package/skills/egbe-os-google-ads/references/reporting.md +105 -0
  81. package/skills/egbe-os-google-ads/references/search-assets.md +219 -0
  82. package/skills/egbe-os-google-ads/references/server-conversions.md +119 -0
  83. package/skills/egbe-os-google-auth/SKILL.md +285 -0
  84. package/skills/egbe-os-google-auth/agents/openai.yaml +4 -0
  85. package/skills/egbe-os-gtm-knowledge/SKILL.md +151 -0
  86. package/skills/egbe-os-images/SKILL.md +163 -0
  87. package/skills/egbe-os-images/references/stock-images.md +21 -0
  88. package/skills/egbe-os-instantly-campaign-launcher/SKILL.md +127 -0
  89. package/skills/egbe-os-instantly-campaign-launcher/references/instantly-ops.md +260 -0
  90. package/skills/egbe-os-instantly-campaign-launcher/references/observation-and-scheduling.md +188 -0
  91. package/skills/egbe-os-instantly-campaign-launcher/references/reply-handling.md +116 -0
  92. package/skills/egbe-os-instantly-campaign-launcher/references/run-spec-template.json +65 -0
  93. package/skills/egbe-os-instantly-campaign-launcher/references/run-state.md +145 -0
  94. package/skills/egbe-os-instantly-campaign-launcher/scripts/conclude-campaign.js +158 -0
  95. package/skills/egbe-os-instantly-campaign-launcher/scripts/install-crons.js +956 -0
  96. package/skills/egbe-os-instantly-campaign-launcher/scripts/launch-campaign.js +2008 -0
  97. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/campaign-metrics.js +124 -0
  98. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/confirmed-opt-outs.js +208 -0
  99. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/connection-identity.js +17 -0
  100. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/create-once.js +23 -0
  101. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/gtm-identity.js +125 -0
  102. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/helpers.js +545 -0
  103. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/html-body.js +266 -0
  104. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/instantly-client.js +328 -0
  105. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/outreach-db.js +370 -0
  106. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/recipient-exclusion/index.js +86 -0
  107. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/replenish-test-harness.js +53 -0
  108. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/reply-queue.js +67 -0
  109. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/run-config.js +103 -0
  110. package/skills/egbe-os-instantly-campaign-launcher/scripts/lib/sender-selection.js +105 -0
  111. package/skills/egbe-os-instantly-campaign-launcher/scripts/monitor-campaign.js +607 -0
  112. package/skills/egbe-os-instantly-campaign-launcher/scripts/outreach-report.js +147 -0
  113. package/skills/egbe-os-instantly-campaign-launcher/scripts/replenish-leads.js +619 -0
  114. package/skills/egbe-os-instantly-campaign-launcher/scripts/reply-worker.js +258 -0
  115. package/skills/egbe-os-instantly-campaign-launcher/scripts/run-cron-job.js +32 -0
  116. package/skills/egbe-os-instantly-campaign-launcher/scripts/send-reply.js +260 -0
  117. package/skills/egbe-os-linkedin-ads/SKILL.md +114 -0
  118. package/skills/egbe-os-linkedin-ads/references/destination-requirements.md +30 -0
  119. package/skills/egbe-os-linkedin-ads/references/runtime/api-reference.md +154 -0
  120. package/skills/egbe-os-linkedin-ads/references/runtime/artifacts.md +63 -0
  121. package/skills/egbe-os-linkedin-ads/references/workflows/build-paused.md +44 -0
  122. package/skills/egbe-os-linkedin-ads/references/workflows/conversions.md +88 -0
  123. package/skills/egbe-os-linkedin-ads/references/workflows/launch-and-pause.md +49 -0
  124. package/skills/egbe-os-linkedin-ads/references/workflows/monitoring.md +35 -0
  125. package/skills/egbe-os-linkedin-ads/references/workflows/readiness.md +63 -0
  126. package/skills/egbe-os-linkedin-ads/references/workflows/targeting-and-creative.md +52 -0
  127. package/skills/egbe-os-llm/SKILL.md +160 -0
  128. package/skills/egbe-os-mail/SKILL.md +180 -0
  129. package/skills/egbe-os-me/SKILL.md +119 -0
  130. package/skills/egbe-os-meta-ads/SKILL.md +114 -0
  131. package/skills/egbe-os-meta-ads/references/creative/creative-specs.md +15 -0
  132. package/skills/egbe-os-meta-ads/references/creative/talking-head.md +35 -0
  133. package/skills/egbe-os-meta-ads/references/destination-requirements.md +30 -0
  134. package/skills/egbe-os-meta-ads/references/runtime/api-reference.md +436 -0
  135. package/skills/egbe-os-meta-ads/references/runtime/artifacts.md +51 -0
  136. package/skills/egbe-os-meta-ads/references/runtime/insights-reference.md +187 -0
  137. package/skills/egbe-os-meta-ads/references/runtime/pixel-install.md +196 -0
  138. package/skills/egbe-os-meta-ads/references/runtime/shared-analytics-attribution.md +16 -0
  139. package/skills/egbe-os-meta-ads/references/workflows/build-paused.md +36 -0
  140. package/skills/egbe-os-meta-ads/references/workflows/launch-ready.md +16 -0
  141. package/skills/egbe-os-meta-ads/references/workflows/launch.md +23 -0
  142. package/skills/egbe-os-meta-ads/references/workflows/monitoring.md +72 -0
  143. package/skills/egbe-os-meta-ads/references/workflows/pause.md +17 -0
  144. package/skills/egbe-os-meta-ads/references/workflows/recovery.md +23 -0
  145. package/skills/egbe-os-meta-ads/scripts/check-pixel.py +229 -0
  146. package/skills/egbe-os-meta-ads/scripts/validate-meta-artifacts.py +187 -0
  147. package/skills/egbe-os-notifications/SKILL.md +78 -0
  148. package/skills/egbe-os-openai-ads/SKILL.md +149 -0
  149. package/skills/egbe-os-openai-ads/references/creative/chat-card.md +51 -0
  150. package/skills/egbe-os-openai-ads/references/destination-requirements.md +29 -0
  151. package/skills/egbe-os-openai-ads/references/runtime/api-reference.md +219 -0
  152. package/skills/egbe-os-openai-ads/references/runtime/artifacts.md +169 -0
  153. package/skills/egbe-os-openai-ads/references/workflows/build-paused.md +40 -0
  154. package/skills/egbe-os-openai-ads/references/workflows/conversions.md +40 -0
  155. package/skills/egbe-os-openai-ads/references/workflows/creative-assembly.md +24 -0
  156. package/skills/egbe-os-openai-ads/references/workflows/launch.md +27 -0
  157. package/skills/egbe-os-openai-ads/references/workflows/monitoring.md +54 -0
  158. package/skills/egbe-os-openai-ads/references/workflows/pause.md +22 -0
  159. package/skills/egbe-os-openai-ads/references/workflows/readiness.md +37 -0
  160. package/skills/egbe-os-openai-ads/references/workflows/tracking.md +32 -0
  161. package/skills/egbe-os-openai-ads/scripts/validate-openai-artifacts.py +271 -0
  162. package/skills/egbe-os-organic-trend-watch/SKILL.md +139 -0
  163. package/skills/egbe-os-organic-trend-watch/agents/openai.yaml +4 -0
  164. package/skills/egbe-os-organic-trend-watch/references/analysis-and-adaptation.md +54 -0
  165. package/skills/egbe-os-organic-trend-watch/references/collection-and-analysis.md +117 -0
  166. package/skills/egbe-os-organic-trend-watch/references/output-contract.md +133 -0
  167. package/skills/egbe-os-organic-trend-watch/references/provider-contract.md +169 -0
  168. package/skills/egbe-os-organic-trend-watch/references/runtime-contract.md +204 -0
  169. package/skills/egbe-os-organic-trend-watch/references/visual-analysis-prompt.md +17 -0
  170. package/skills/egbe-os-organic-trend-watch/scripts/_analysis.py +612 -0
  171. package/skills/egbe-os-organic-trend-watch/scripts/_contract.py +1133 -0
  172. package/skills/egbe-os-organic-trend-watch/scripts/_provider_inputs.py +165 -0
  173. package/skills/egbe-os-organic-trend-watch/scripts/analyze-visual-evidence.py +315 -0
  174. package/skills/egbe-os-organic-trend-watch/scripts/build-provider-inputs.py +88 -0
  175. package/skills/egbe-os-organic-trend-watch/scripts/connection_identity.py +22 -0
  176. package/skills/egbe-os-organic-trend-watch/scripts/egbe_artifacts.py +24 -0
  177. package/skills/egbe-os-organic-trend-watch/scripts/finalize-receipt.py +106 -0
  178. package/skills/egbe-os-organic-trend-watch/scripts/normalize-videos.py +647 -0
  179. package/skills/egbe-os-organic-trend-watch/scripts/prepare-visual-evidence.py +324 -0
  180. package/skills/egbe-os-organic-trend-watch/scripts/render-result.py +30 -0
  181. package/skills/egbe-os-organic-trend-watch/scripts/run-apify.py +723 -0
  182. package/skills/egbe-os-organic-trend-watch/scripts/run-state.py +192 -0
  183. package/skills/egbe-os-organic-trend-watch/scripts/validate-context.py +27 -0
  184. package/skills/egbe-os-organic-trend-watch/scripts/validate-runtime.py +137 -0
  185. package/skills/egbe-os-payments/SKILL.md +215 -0
  186. package/skills/egbe-os-payments/agents/openai.yaml +4 -0
  187. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/.egbe/scaffolds/billing-nextjs-subscription.v1.json +5 -0
  188. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/AGENTS.append.md +13 -0
  189. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/db/migrations/1000_egbe_billing.sql +66 -0
  190. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/package.fragment.json +12 -0
  191. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/scripts/billing-sync.mjs +162 -0
  192. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/account/billing/error.tsx +11 -0
  193. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/account/billing/loading.tsx +8 -0
  194. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/account/billing/page.tsx +121 -0
  195. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/api/billing/checkout/route.ts +102 -0
  196. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/api/billing/portal/route.ts +54 -0
  197. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/api/billing/status/route.ts +22 -0
  198. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/app/api/payments/webhook/route.ts +65 -0
  199. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/components/egbe-billing/plan-badge.tsx +16 -0
  200. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/billing-sync.test.mjs +58 -0
  201. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/catalog.ts +82 -0
  202. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/checkout-payload.ts +47 -0
  203. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/foundation-contract.test.mjs +59 -0
  204. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/lifecycle.d.ts +16 -0
  205. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/lifecycle.mjs +82 -0
  206. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/lifecycle.test.mjs +94 -0
  207. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/os-client.ts +96 -0
  208. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/plans.json +17 -0
  209. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/repository.ts +325 -0
  210. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/signature.d.ts +6 -0
  211. package/skills/egbe-os-payments/assets/scaffolds/billing-nextjs-subscription/src/lib/egbe-billing/signature.mjs +22 -0
  212. package/skills/egbe-os-payments/references/contracts/plan-catalog.md +46 -0
  213. package/skills/egbe-os-payments/references/security/durable-verification.md +64 -0
  214. package/skills/egbe-os-payments/references/security/server-integration.md +26 -0
  215. package/skills/egbe-os-payments/references/security/webhook-and-entitlements.md +152 -0
  216. package/skills/egbe-os-payments/references/ux/billing-experience.md +47 -0
  217. package/skills/egbe-os-payments/references/workflows/account-billing.md +64 -0
  218. package/skills/egbe-os-payments/references/workflows/discounts-and-promotion-codes.md +265 -0
  219. package/skills/egbe-os-payments/references/workflows/one-time-purchase.md +75 -0
  220. package/skills/egbe-os-payments/references/workflows/product-checkout.md +355 -0
  221. package/skills/egbe-os-payments/references/workflows/subscription-lifecycle.md +55 -0
  222. package/skills/egbe-os-playbook/SKILL.md +79 -0
  223. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/email-outreach.md +91 -0
  224. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/google-search.md +40 -0
  225. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/linkedin.md +24 -0
  226. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/meta.md +23 -0
  227. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/openai.md +15 -0
  228. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/channels/reddit.md +56 -0
  229. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/choose-test.md +73 -0
  230. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/evaluate.md +91 -0
  231. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/market.md +96 -0
  232. package/skills/egbe-os-playbook/playbooks/market-and-acquisition/run-test.md +111 -0
  233. package/skills/egbe-os-playbook/playbooks/market-and-acquisition.md +56 -0
  234. package/skills/egbe-os-playbook/playbooks/product/business-loop.md +141 -0
  235. package/skills/egbe-os-playbook/playbooks/product/collaboration.md +26 -0
  236. package/skills/egbe-os-playbook/playbooks/product/deliver.md +75 -0
  237. package/skills/egbe-os-playbook/playbooks/product/diagnose.md +80 -0
  238. package/skills/egbe-os-playbook/playbooks/product/evaluate.md +67 -0
  239. package/skills/egbe-os-playbook/playbooks/product/experience.md +132 -0
  240. package/skills/egbe-os-playbook/playbooks/product/loop-examples.md +67 -0
  241. package/skills/egbe-os-playbook/playbooks/product/offer.md +65 -0
  242. package/skills/egbe-os-playbook/playbooks/product/value.md +91 -0
  243. package/skills/egbe-os-playbook/playbooks/product.md +67 -0
  244. package/skills/egbe-os-playbook/references/catalog.md +127 -0
  245. package/skills/egbe-os-playbook/references/changes.md +167 -0
  246. package/skills/egbe-os-playbook/scripts/playbook-changes.py +6 -0
  247. package/skills/egbe-os-playbook/scripts/playbook_changes/__init__.py +1 -0
  248. package/skills/egbe-os-playbook/scripts/playbook_changes/cli.py +57 -0
  249. package/skills/egbe-os-playbook/scripts/playbook_changes/operations.py +137 -0
  250. package/skills/egbe-os-playbook/scripts/playbook_changes/protocol.py +132 -0
  251. package/skills/egbe-os-playbook/scripts/playbook_changes/storage.py +180 -0
  252. package/skills/egbe-os-playbook/scripts/playbook_changes/transport.py +113 -0
  253. package/skills/egbe-os-product-auth/SKILL.md +151 -0
  254. package/skills/egbe-os-product-auth/agents/openai.yaml +4 -0
  255. package/skills/egbe-os-product-auth/assets/db/README.md +102 -0
  256. package/skills/egbe-os-product-auth/assets/db/create-validation-session.mjs +223 -0
  257. package/skills/egbe-os-product-auth/assets/db/migrate.mjs +64 -0
  258. package/skills/egbe-os-product-auth/assets/db/migrations/0001_auth.sql +33 -0
  259. package/skills/egbe-os-product-auth/assets/db/migrations/0002_auth_identities.sql +16 -0
  260. package/skills/egbe-os-product-auth/assets/scaffolds/product-auth-database/AGENTS.append.md +17 -0
  261. package/skills/egbe-os-product-auth/assets/scaffolds/product-auth-database/package.fragment.json +10 -0
  262. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/AGENTS.append.md +9 -0
  263. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/package.fragment.json +13 -0
  264. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/src/lib/egbe-product/db.ts +31 -0
  265. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/src/lib/egbe-product/identity.ts +94 -0
  266. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/src/lib/egbe-product/index.ts +3 -0
  267. package/skills/egbe-os-product-auth/assets/scaffolds/product-nextjs-postgres/src/lib/egbe-product/session.ts +91 -0
  268. package/skills/egbe-os-product-auth/references/contracts/live-auth-interface.md +108 -0
  269. package/skills/egbe-os-product-auth/references/frameworks/nextjs.md +34 -0
  270. package/skills/egbe-os-product-auth/references/security/session-and-credentials.md +73 -0
  271. package/skills/egbe-os-product-auth/references/ux/auth-experience.md +58 -0
  272. package/skills/egbe-os-product-auth/references/workflows/account-recovery.md +22 -0
  273. package/skills/egbe-os-product-auth/references/workflows/build-auth.md +212 -0
  274. package/skills/egbe-os-product-auth/references/workflows/google.md +34 -0
  275. package/skills/egbe-os-product-auth/references/workflows/passwordless-email.md +65 -0
  276. package/skills/egbe-os-product-build/SKILL.md +111 -0
  277. package/skills/egbe-os-product-build/agents/openai.yaml +4 -0
  278. package/skills/egbe-os-product-build/references/capabilities.md +25 -0
  279. package/skills/egbe-os-product-build/references/engineering.md +72 -0
  280. package/skills/egbe-os-product-build/references/execution.md +55 -0
  281. package/skills/egbe-os-product-build/references/foundations.md +93 -0
  282. package/skills/egbe-os-product-build/references/interface-quality.md +32 -0
  283. package/skills/egbe-os-product-build/references/workflows/private-review-handoff.md +86 -0
  284. package/skills/egbe-os-product-build/scripts/scaffold.py +296 -0
  285. package/skills/egbe-os-product-demo-video/SKILL.md +118 -0
  286. package/skills/egbe-os-product-demo-video/references/recording.md +32 -0
  287. package/skills/egbe-os-product-market-research/SKILL.md +159 -0
  288. package/skills/egbe-os-product-market-research/agents/openai.yaml +4 -0
  289. package/skills/egbe-os-product-market-research/references/catalog.v1.json +177 -0
  290. package/skills/egbe-os-product-market-research/references/config/channel-footprint-sources.v1.json +99 -0
  291. package/skills/egbe-os-product-market-research/references/config/creative-taxonomy.v1.json +367 -0
  292. package/skills/egbe-os-product-market-research/references/contracts/creative-video.md +75 -0
  293. package/skills/egbe-os-product-market-research/references/contracts/funnel-teardown.md +235 -0
  294. package/skills/egbe-os-product-market-research/references/contracts/geography-comparison.md +71 -0
  295. package/skills/egbe-os-product-market-research/references/contracts/lifecycle-capture.md +119 -0
  296. package/skills/egbe-os-product-market-research/references/contracts/research-artifacts.md +520 -0
  297. package/skills/egbe-os-product-market-research/references/contracts/walk-mechanics.v2.json +18 -0
  298. package/skills/egbe-os-product-market-research/references/prompts/acquisition-channels.md +137 -0
  299. package/skills/egbe-os-product-market-research/references/prompts/acquisition-channels.user.md +4 -0
  300. package/skills/egbe-os-product-market-research/references/prompts/competitive-landscape.md +118 -0
  301. package/skills/egbe-os-product-market-research/references/prompts/competitive-landscape.user.md +4 -0
  302. package/skills/egbe-os-product-market-research/references/prompts/demand-validation.md +154 -0
  303. package/skills/egbe-os-product-market-research/references/prompts/demand-validation.user.md +4 -0
  304. package/skills/egbe-os-product-market-research/references/prompts/market-size-and-dynamics.md +100 -0
  305. package/skills/egbe-os-product-market-research/references/prompts/market-size-and-dynamics.user.md +4 -0
  306. package/skills/egbe-os-product-market-research/references/prompts/pricing-and-monetization.md +126 -0
  307. package/skills/egbe-os-product-market-research/references/prompts/pricing-and-monetization.user.md +4 -0
  308. package/skills/egbe-os-product-market-research/references/prompts/target-audience.md +98 -0
  309. package/skills/egbe-os-product-market-research/references/prompts/target-audience.user.md +4 -0
  310. package/skills/egbe-os-product-market-research/references/prompts/unit-economics.md +217 -0
  311. package/skills/egbe-os-product-market-research/references/prompts/unit-economics.user.md +4 -0
  312. package/skills/egbe-os-product-market-research/references/prompts/value-proposition.md +113 -0
  313. package/skills/egbe-os-product-market-research/references/prompts/value-proposition.user.md +4 -0
  314. package/skills/egbe-os-product-market-research/references/workflows/acquisition-channels.md +27 -0
  315. package/skills/egbe-os-product-market-research/references/workflows/channel-footprint.md +163 -0
  316. package/skills/egbe-os-product-market-research/references/workflows/community-demand.md +100 -0
  317. package/skills/egbe-os-product-market-research/references/workflows/competitive-landscape.md +27 -0
  318. package/skills/egbe-os-product-market-research/references/workflows/competitor-ads.md +82 -0
  319. package/skills/egbe-os-product-market-research/references/workflows/competitor-set.md +300 -0
  320. package/skills/egbe-os-product-market-research/references/workflows/creative-patterns.md +228 -0
  321. package/skills/egbe-os-product-market-research/references/workflows/demand-validation.md +27 -0
  322. package/skills/egbe-os-product-market-research/references/workflows/fleet-prior.md +80 -0
  323. package/skills/egbe-os-product-market-research/references/workflows/funnel-teardown.md +184 -0
  324. package/skills/egbe-os-product-market-research/references/workflows/geography-comparison.md +84 -0
  325. package/skills/egbe-os-product-market-research/references/workflows/keyword-economics.md +122 -0
  326. package/skills/egbe-os-product-market-research/references/workflows/lifecycle-capture.md +218 -0
  327. package/skills/egbe-os-product-market-research/references/workflows/local-research.md +55 -0
  328. package/skills/egbe-os-product-market-research/references/workflows/market-size-and-dynamics.md +27 -0
  329. package/skills/egbe-os-product-market-research/references/workflows/preview.md +175 -0
  330. package/skills/egbe-os-product-market-research/references/workflows/pricing-and-monetization.md +27 -0
  331. package/skills/egbe-os-product-market-research/references/workflows/recommendations.md +35 -0
  332. package/skills/egbe-os-product-market-research/references/workflows/review-mining.md +76 -0
  333. package/skills/egbe-os-product-market-research/references/workflows/target-audience.md +27 -0
  334. package/skills/egbe-os-product-market-research/references/workflows/tiktok-reels-market-trends.md +46 -0
  335. package/skills/egbe-os-product-market-research/references/workflows/unit-economics.md +27 -0
  336. package/skills/egbe-os-product-market-research/references/workflows/value-proposition.md +27 -0
  337. package/skills/egbe-os-product-market-research/scripts/build-organic-trend-context.py +167 -0
  338. package/skills/egbe-os-product-market-research/scripts/build-preview-context.py +91 -0
  339. package/skills/egbe-os-product-market-research/scripts/build-research-query.py +225 -0
  340. package/skills/egbe-os-product-market-research/scripts/channel-footprint-model.py +294 -0
  341. package/skills/egbe-os-product-market-research/scripts/connection_identity.py +22 -0
  342. package/skills/egbe-os-product-market-research/scripts/creative-model.py +364 -0
  343. package/skills/egbe-os-product-market-research/scripts/creative-selection.py +113 -0
  344. package/skills/egbe-os-product-market-research/scripts/creative-semantics.py +365 -0
  345. package/skills/egbe-os-product-market-research/scripts/creative-video.py +542 -0
  346. package/skills/egbe-os-product-market-research/scripts/egbe_artifacts.py +24 -0
  347. package/skills/egbe-os-product-market-research/scripts/finalize-organic-trend-watch.py +304 -0
  348. package/skills/egbe-os-product-market-research/scripts/funnel-email-review.py +97 -0
  349. package/skills/egbe-os-product-market-research/scripts/funnel-model.py +966 -0
  350. package/skills/egbe-os-product-market-research/scripts/funnel_features.py +50 -0
  351. package/skills/egbe-os-product-market-research/scripts/geography-comparison-contract.py +172 -0
  352. package/skills/egbe-os-product-market-research/scripts/geography-comparison.py +169 -0
  353. package/skills/egbe-os-product-market-research/scripts/keyword-forecast.py +61 -0
  354. package/skills/egbe-os-product-market-research/scripts/keyword-locale-publication.py +136 -0
  355. package/skills/egbe-os-product-market-research/scripts/lifecycle-start.py +190 -0
  356. package/skills/egbe-os-product-market-research/scripts/persist-research-report.py +63 -0
  357. package/skills/egbe-os-product-market-research/scripts/research-artifact-io.py +281 -0
  358. package/skills/egbe-os-product-market-research/scripts/research-evidence.py +496 -0
  359. package/skills/egbe-os-product-market-research/scripts/research-policy.py +33 -0
  360. package/skills/egbe-os-product-market-research/scripts/research-section-runtime.py +343 -0
  361. package/skills/egbe-os-product-market-research/scripts/research-section-workflow.py +288 -0
  362. package/skills/egbe-os-product-market-research/scripts/research_integrity.py +122 -0
  363. package/skills/egbe-os-product-market-research/scripts/review-research-completion.py +306 -0
  364. package/skills/egbe-os-product-market-research/scripts/run-acquisition-channels.py +72 -0
  365. package/skills/egbe-os-product-market-research/scripts/run-channel-footprint.py +2258 -0
  366. package/skills/egbe-os-product-market-research/scripts/run-community-demand.py +1603 -0
  367. package/skills/egbe-os-product-market-research/scripts/run-competitive-landscape.py +66 -0
  368. package/skills/egbe-os-product-market-research/scripts/run-competitor-ads.py +1156 -0
  369. package/skills/egbe-os-product-market-research/scripts/run-competitor-set.py +2514 -0
  370. package/skills/egbe-os-product-market-research/scripts/run-creative-patterns.py +2042 -0
  371. package/skills/egbe-os-product-market-research/scripts/run-demand-validation.py +72 -0
  372. package/skills/egbe-os-product-market-research/scripts/run-fleet-prior.py +652 -0
  373. package/skills/egbe-os-product-market-research/scripts/run-funnel-teardown.py +493 -0
  374. package/skills/egbe-os-product-market-research/scripts/run-keyword-economics.py +1443 -0
  375. package/skills/egbe-os-product-market-research/scripts/run-lifecycle-capture.py +1543 -0
  376. package/skills/egbe-os-product-market-research/scripts/run-market-size-and-dynamics.py +66 -0
  377. package/skills/egbe-os-product-market-research/scripts/run-os-research.py +311 -0
  378. package/skills/egbe-os-product-market-research/scripts/run-pricing-and-monetization.py +71 -0
  379. package/skills/egbe-os-product-market-research/scripts/run-review-mining.py +1051 -0
  380. package/skills/egbe-os-product-market-research/scripts/run-target-audience.py +66 -0
  381. package/skills/egbe-os-product-market-research/scripts/run-unit-economics.py +71 -0
  382. package/skills/egbe-os-product-market-research/scripts/run-value-proposition.py +67 -0
  383. package/skills/egbe-os-product-market-research/scripts/upsert-markdown-section.py +156 -0
  384. package/skills/egbe-os-product-market-research/scripts/walk-funnels.py +249 -0
  385. package/skills/egbe-os-product-market-research/scripts/write-preview.py +710 -0
  386. package/skills/egbe-os-product-market-research/scripts/write-recommendations.py +272 -0
  387. package/skills/egbe-os-product-report/SKILL.md +150 -0
  388. package/skills/egbe-os-product-report/references/artifacts.md +84 -0
  389. package/skills/egbe-os-product-report/references/brief.md +34 -0
  390. package/skills/egbe-os-product-report/references/daily.md +76 -0
  391. package/skills/egbe-os-product-report/references/sources.md +68 -0
  392. package/skills/egbe-os-product-routines/SKILL.md +166 -0
  393. package/skills/egbe-os-product-routines/references/catalog.md +22 -0
  394. package/skills/egbe-os-product-routines/references/continuation-check.md +41 -0
  395. package/skills/egbe-os-product-routines/references/product-reporting.md +163 -0
  396. package/skills/egbe-os-product-routines/references/run-preset.md +32 -0
  397. package/skills/egbe-os-quickstart/scripts/egbe-curl.py +357 -0
  398. package/skills/egbe-os-quiz-funnel/SKILL.md +152 -0
  399. package/skills/egbe-os-quiz-funnel/agents/openai.yaml +4 -0
  400. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-engine.d.mts +224 -0
  401. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-engine.mjs +652 -0
  402. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-engine.test.mjs +764 -0
  403. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-history.d.mts +31 -0
  404. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-history.mjs +87 -0
  405. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-history.test.mjs +265 -0
  406. package/skills/egbe-os-quiz-funnel/assets/engine/quiz-reference.test.mjs +254 -0
  407. package/skills/egbe-os-quiz-funnel/assets/examples/egbe-docs/product/quizzes/books-checkup/QUIZ.md +195 -0
  408. package/skills/egbe-os-quiz-funnel/assets/examples/egbe-docs/product/quizzes/books-checkup/quiz.json +421 -0
  409. package/skills/egbe-os-quiz-funnel/assets/examples/egbe-docs/product/quizzes/books-checkup/quiz.public.json +369 -0
  410. package/skills/egbe-os-quiz-funnel/assets/examples/egbe-docs/product/quizzes/books-checkup/validation.json +21 -0
  411. package/skills/egbe-os-quiz-funnel/assets/reference/index.html +26 -0
  412. package/skills/egbe-os-quiz-funnel/assets/reference/quiz-bootstrap.js +31 -0
  413. package/skills/egbe-os-quiz-funnel/assets/reference/quiz-early-actions.mjs +11 -0
  414. package/skills/egbe-os-quiz-funnel/assets/reference/quiz-first-screen.mjs +32 -0
  415. package/skills/egbe-os-quiz-funnel/assets/reference/quiz-page.mjs +480 -0
  416. package/skills/egbe-os-quiz-funnel/assets/reference/quiz.css +264 -0
  417. package/skills/egbe-os-quiz-funnel/references/competitor-teardown.md +159 -0
  418. package/skills/egbe-os-quiz-funnel/references/conversion-handoff.md +156 -0
  419. package/skills/egbe-os-quiz-funnel/references/implementation.md +207 -0
  420. package/skills/egbe-os-quiz-funnel/references/inputs.md +37 -0
  421. package/skills/egbe-os-quiz-funnel/references/measurement.md +122 -0
  422. package/skills/egbe-os-quiz-funnel/references/spec-contract.md +335 -0
  423. package/skills/egbe-os-quiz-funnel/references/verification.md +101 -0
  424. package/skills/egbe-os-quiz-funnel/references/walk-mechanics.v2.json +18 -0
  425. package/skills/egbe-os-quiz-funnel/scripts/compile-quiz-spec.py +1869 -0
  426. package/skills/egbe-os-quiz-funnel/scripts/prepare-research-identity.py +66 -0
  427. package/skills/egbe-os-reddit-ads/SKILL.md +121 -0
  428. package/skills/egbe-os-reddit-ads/assets/static-banners/bold-statement/schema.json +41 -0
  429. package/skills/egbe-os-reddit-ads/assets/static-banners/bold-statement/template.html +106 -0
  430. package/skills/egbe-os-reddit-ads/assets/static-banners/data-proof/schema.json +61 -0
  431. package/skills/egbe-os-reddit-ads/assets/static-banners/data-proof/template.html +151 -0
  432. package/skills/egbe-os-reddit-ads/assets/static-banners/honest-breakdown/schema.json +91 -0
  433. package/skills/egbe-os-reddit-ads/assets/static-banners/honest-breakdown/template.html +185 -0
  434. package/skills/egbe-os-reddit-ads/assets/static-banners/question-hook/schema.json +51 -0
  435. package/skills/egbe-os-reddit-ads/assets/static-banners/question-hook/template.html +121 -0
  436. package/skills/egbe-os-reddit-ads/assets/static-banners/reddit-post-style/schema.json +87 -0
  437. package/skills/egbe-os-reddit-ads/assets/static-banners/reddit-post-style/template.html +212 -0
  438. package/skills/egbe-os-reddit-ads/references/creative/html-to-png-pipeline.md +123 -0
  439. package/skills/egbe-os-reddit-ads/references/creative/static-banner-qa.md +12 -0
  440. package/skills/egbe-os-reddit-ads/references/creative/static-banner-system.md +16 -0
  441. package/skills/egbe-os-reddit-ads/references/destination-requirements.md +36 -0
  442. package/skills/egbe-os-reddit-ads/references/runtime/api-reference.md +435 -0
  443. package/skills/egbe-os-reddit-ads/references/runtime/artifacts.md +57 -0
  444. package/skills/egbe-os-reddit-ads/references/runtime/monitoring.md +64 -0
  445. package/skills/egbe-os-reddit-ads/references/runtime/pixel-and-tracking.md +49 -0
  446. package/skills/egbe-os-reddit-ads/references/runtime/policies.md +19 -0
  447. package/skills/egbe-os-reddit-ads/references/runtime/shared-analytics-attribution.md +14 -0
  448. package/skills/egbe-os-reddit-ads/references/workflows/build-paused.md +35 -0
  449. package/skills/egbe-os-reddit-ads/references/workflows/launch-ready.md +19 -0
  450. package/skills/egbe-os-reddit-ads/references/workflows/launch.md +32 -0
  451. package/skills/egbe-os-reddit-ads/references/workflows/readiness.md +9 -0
  452. package/skills/egbe-os-reddit-ads/scripts/capture-ad.sh +178 -0
  453. package/skills/egbe-os-reddit-ads/scripts/validate-reddit-artifacts.py +187 -0
  454. package/skills/egbe-os-report-ui/SKILL.md +133 -0
  455. package/skills/egbe-os-report-ui/assets/egbe-wordmark.svg +9 -0
  456. package/skills/egbe-os-report-ui/assets/examples/components.html +417 -0
  457. package/skills/egbe-os-report-ui/assets/examples/editorial.html +209 -0
  458. package/skills/egbe-os-report-ui/assets/scaffold.html +179 -0
  459. package/skills/egbe-os-report-ui/references/components.md +209 -0
  460. package/skills/egbe-os-research/SKILL.md +125 -0
  461. package/skills/egbe-os-saas-unit-economics/SKILL.md +188 -0
  462. package/skills/egbe-os-scrape/SKILL.md +160 -0
  463. package/skills/egbe-os-search/SKILL.md +182 -0
  464. package/skills/egbe-os-search/references/google-places.md +81 -0
  465. package/skills/egbe-os-support/SKILL.md +149 -0
  466. package/skills/egbe-os-telemetry/SKILL.md +344 -0
  467. package/skills/egbe-os-telemetry/references/harnesses/claude-code.md +97 -0
  468. package/skills/egbe-os-telemetry/references/harnesses/codex.md +22 -0
  469. package/skills/egbe-os-telemetry/references/harnesses/hermes.md +39 -0
  470. package/skills/egbe-os-telemetry/references/harnesses/openclaw.md +139 -0
  471. package/skills/egbe-os-telemetry/references/harnesses/opencode.md +28 -0
  472. package/skills/egbe-os-tools/SKILL.md +180 -0
  473. package/skills/egbe-os-tools/references/theona.md +26 -0
  474. package/skills/egbe-os-wallet/SKILL.md +181 -0
  475. package/skills/egbe-setup/EGBE.md +484 -0
  476. package/skills/egbe-setup/SKILL.md +116 -0
  477. package/skills/egbe-setup/references/project.md +80 -0
  478. package/state.js +37 -0
  479. package/update.js +361 -0
@@ -0,0 +1,264 @@
1
+ /*
2
+ * Plain reference styles. They prove the layout rules (one column, first
3
+ * question and its options visible on a phone, large tap targets) and nothing
4
+ * else. Replace them with the product's own design.
5
+ */
6
+ :root {
7
+ --quiz-ink: #16181d;
8
+ --quiz-muted: #5b616e;
9
+ --quiz-line: #d5d8de;
10
+ --quiz-surface: #ffffff;
11
+ --quiz-page: #f5f6f8;
12
+ --quiz-accent: #1f4fd8;
13
+ --quiz-accent-ink: #ffffff;
14
+ --quiz-danger: #b3261e;
15
+ --quiz-radius: 12px;
16
+ }
17
+
18
+ * {
19
+ box-sizing: border-box;
20
+ }
21
+
22
+ body {
23
+ margin: 0;
24
+ min-height: 100vh;
25
+ display: flex;
26
+ flex-direction: column;
27
+ background: var(--quiz-page);
28
+ color: var(--quiz-ink);
29
+ font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
30
+ }
31
+
32
+ .quiz-brand,
33
+ .quiz-footer,
34
+ .quiz {
35
+ width: 100%;
36
+ max-width: 480px;
37
+ margin: 0 auto;
38
+ padding: 0 16px;
39
+ }
40
+
41
+ .quiz-brand {
42
+ padding-top: 12px;
43
+ padding-bottom: 4px;
44
+ font-weight: 600;
45
+ }
46
+
47
+ .quiz-brand a,
48
+ .quiz-footer a {
49
+ color: inherit;
50
+ text-decoration: none;
51
+ }
52
+
53
+ .quiz {
54
+ flex: 1;
55
+ }
56
+
57
+ .quiz-top {
58
+ display: flex;
59
+ align-items: center;
60
+ gap: 8px;
61
+ min-height: 44px;
62
+ }
63
+
64
+ .quiz-back {
65
+ width: 44px;
66
+ height: 44px;
67
+ border: 0;
68
+ border-radius: var(--quiz-radius);
69
+ background: transparent;
70
+ color: var(--quiz-ink);
71
+ font-size: 20px;
72
+ cursor: pointer;
73
+ }
74
+
75
+ .quiz-progress {
76
+ flex: 1;
77
+ height: 6px;
78
+ border-radius: 3px;
79
+ background: var(--quiz-line);
80
+ overflow: hidden;
81
+ }
82
+
83
+ .quiz-progress span {
84
+ display: block;
85
+ height: 100%;
86
+ background: var(--quiz-accent);
87
+ transition: width 0.2s ease;
88
+ }
89
+
90
+ .quiz-lead {
91
+ margin: 8px 0 0;
92
+ color: var(--quiz-muted);
93
+ }
94
+
95
+ .quiz-headline {
96
+ margin: 8px 0 16px;
97
+ font-size: 26px;
98
+ line-height: 1.2;
99
+ outline: none;
100
+ }
101
+
102
+ .quiz-hint {
103
+ margin: -8px 0 12px;
104
+ color: var(--quiz-muted);
105
+ }
106
+
107
+ .quiz-body {
108
+ margin: 0 0 16px;
109
+ }
110
+
111
+ .quiz-points {
112
+ margin: 0 0 16px;
113
+ padding: 12px 14px 12px 32px;
114
+ border-radius: var(--quiz-radius);
115
+ background: var(--quiz-surface);
116
+ border: 1px solid var(--quiz-line);
117
+ }
118
+
119
+ .quiz-points li + li {
120
+ margin-top: 4px;
121
+ }
122
+
123
+ .quiz-options {
124
+ display: grid;
125
+ gap: 10px;
126
+ }
127
+
128
+ .quiz-option,
129
+ .quiz-continue,
130
+ .quiz-cta {
131
+ display: block;
132
+ width: 100%;
133
+ min-height: 56px;
134
+ padding: 14px 16px;
135
+ border-radius: var(--quiz-radius);
136
+ font: inherit;
137
+ font-weight: 600;
138
+ text-align: center;
139
+ text-decoration: none;
140
+ cursor: pointer;
141
+ }
142
+
143
+ .quiz-option {
144
+ border: 1px solid var(--quiz-line);
145
+ background: var(--quiz-surface);
146
+ color: var(--quiz-ink);
147
+ text-align: left;
148
+ }
149
+
150
+ .quiz-option[aria-pressed="true"] {
151
+ border-color: var(--quiz-accent);
152
+ box-shadow: inset 0 0 0 1px var(--quiz-accent);
153
+ }
154
+
155
+ .quiz-continue,
156
+ .quiz-cta {
157
+ margin-top: 16px;
158
+ border: 0;
159
+ background: var(--quiz-accent);
160
+ color: var(--quiz-accent-ink);
161
+ }
162
+
163
+ .quiz-continue:disabled,
164
+ .quiz-cta:disabled {
165
+ opacity: 0.45;
166
+ cursor: default;
167
+ }
168
+
169
+ .quiz-option:focus-visible,
170
+ .quiz-continue:focus-visible,
171
+ .quiz-cta:focus-visible,
172
+ .quiz-back:focus-visible,
173
+ .quiz-field input:focus-visible {
174
+ outline: 3px solid var(--quiz-accent);
175
+ outline-offset: 2px;
176
+ }
177
+
178
+ .quiz-media {
179
+ display: block;
180
+ width: 100%;
181
+ height: auto;
182
+ margin: 0 0 16px;
183
+ border-radius: var(--quiz-radius);
184
+ }
185
+
186
+ .quiz-cta-note {
187
+ margin: 8px 0 0;
188
+ color: var(--quiz-muted);
189
+ font-size: 14px;
190
+ text-align: center;
191
+ }
192
+
193
+ .quiz-proof {
194
+ margin: 0 0 8px;
195
+ padding: 0;
196
+ list-style: none;
197
+ display: grid;
198
+ gap: 8px;
199
+ }
200
+
201
+ .quiz-proof li {
202
+ padding: 12px 14px;
203
+ border-radius: var(--quiz-radius);
204
+ background: var(--quiz-surface);
205
+ border: 1px solid var(--quiz-line);
206
+ }
207
+
208
+ .quiz-proof cite,
209
+ .quiz-proof small {
210
+ display: block;
211
+ margin-top: 4px;
212
+ color: var(--quiz-muted);
213
+ font-style: normal;
214
+ }
215
+
216
+ .quiz-field {
217
+ display: block;
218
+ margin-bottom: 12px;
219
+ }
220
+
221
+ .quiz-field span {
222
+ display: block;
223
+ margin-bottom: 4px;
224
+ font-weight: 600;
225
+ }
226
+
227
+ .quiz-field input {
228
+ width: 100%;
229
+ min-height: 48px;
230
+ padding: 10px 12px;
231
+ border: 1px solid var(--quiz-line);
232
+ border-radius: var(--quiz-radius);
233
+ font: inherit;
234
+ }
235
+
236
+ .quiz-note {
237
+ margin: 0;
238
+ color: var(--quiz-muted);
239
+ font-size: 14px;
240
+ }
241
+
242
+ .quiz-error {
243
+ margin: 12px 0 0;
244
+ color: var(--quiz-danger);
245
+ }
246
+
247
+ .quiz-footer {
248
+ display: flex;
249
+ gap: 16px;
250
+ padding-top: 16px;
251
+ padding-bottom: 16px;
252
+ color: var(--quiz-muted);
253
+ font-size: 14px;
254
+ }
255
+
256
+ [hidden] {
257
+ display: none !important;
258
+ }
259
+
260
+ @media (prefers-reduced-motion: reduce) {
261
+ .quiz-progress span {
262
+ transition: none;
263
+ }
264
+ }
@@ -0,0 +1,159 @@
1
+ # Competitor Teardown
2
+
3
+ Inspect reference funnels to answer a specific open experience question. Reuse
4
+ existing observations when they answer it; sustained advertising helps find
5
+ examples, not establish their conversion performance. Write the findings to
6
+ `egbe-docs/product/quizzes/<quiz-slug>/research.md`.
7
+
8
+ This is an optional evidence-gathering capability, independent of compilation.
9
+ Choose its scope from the question being investigated, not a mandatory sample
10
+ count or freshness window.
11
+
12
+ ## Capabilities and budget
13
+
14
+ Read the live contracts before calling them: `GET $OS_URL/tools/skill`,
15
+ `GET $OS_URL/scrape/skill`, and `GET $OS_URL/search/skill`. Use only `OS_URL`
16
+ and `OS_API_KEY`; never a provider's own credentials.
17
+
18
+ Unless the caller sets another budget, stay within 8 paid provider calls (ad
19
+ library searches and actor runs) and 10 web searches, and walk at most 5
20
+ funnels. A lookup on the public page of an ad library is read in the browser
21
+ and is not a provider call. Save the handle of every asynchronous run before
22
+ polling and resume that run after a failure; do not start a replacement.
23
+
24
+ ## 1. Collect candidates
25
+
26
+ Use the relevant discovery routes:
27
+
28
+ - **Seeds.** Funnel addresses supplied by the caller, and competitors named in
29
+ the product documents or in completed market research.
30
+ - **Ad libraries.** Search with category keywords, competitor names, and words
31
+ that signal a quiz: quiz, test, assessment, checkup, "find your".
32
+ - The Meta Ad Library through OS:
33
+ `POST $OS_URL/tools/meta-ad-library/search`. This route reads the library
34
+ through Meta's API. By Meta's reference of that API, it returns an ad
35
+ that reached no location in the European Union only when the ad is about
36
+ social issues, elections, or politics. The route does not see commercial
37
+ advertisers that deliver elsewhere:
38
+ on 2026-09-28 five of six searches returned nothing, while the public
39
+ page listed active ads in the United States for the same category.
40
+ - The Meta Ad Library on its public page, which lists the active ads of
41
+ every country, commercial ones included. Open
42
+ `https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=<keyword or advertiser>`
43
+ in the browser automation, without signing in: the page needs no
44
+ account, and the teardown uses nobody's credentials. `country` takes a
45
+ two-letter code or `ALL`. The page shows the number of active ads and,
46
+ for each ad, the advertiser, the day the ad started running, and the
47
+ address shown in the ad.
48
+ - Google: an ad transparency actor discovered through the `scrape`
49
+ capability.
50
+
51
+ An empty result is the result of one route, not evidence that an advertiser
52
+ does not advertise. Record it as empty, and repeat a search through OS on
53
+ the public page.
54
+ - **Web search.** `POST $OS_URL/search/web/brave` for quiz pages in the category.
55
+
56
+ Include other countries, languages or adjacent categories when they help answer
57
+ the investigation question. Keep differences in audience, market and goal explicit;
58
+ do not treat observations from another setting as evidence for this one.
59
+
60
+ ## 2. Qualify
61
+
62
+ Check that the destination is a flow of questions rather than a plain page.
63
+ Record the observed ad count and age when available. Libraries do not expose
64
+ commercial spend or conversion performance: never state or estimate a budget
65
+ from these signals or treat them as proof the UX works.
66
+
67
+ Select examples that address the investigation question, including relevant
68
+ differences in goal or market. There is no minimum number required for a valid
69
+ observation.
70
+
71
+ ## 3. Walk
72
+
73
+ Use the shared local contract [walk-mechanics.v2.json](walk-mechanics.v2.json),
74
+ `funnel-walk.v2`. The installed skill is self-contained; no separate research
75
+ runtime or Lifecycle Capture installation is required.
76
+ The paid-call and per-attempt budgets bound resource use, not the completeness
77
+ of an observed funnel.
78
+
79
+ Open each funnel in a real browser at 390 by 844. Answer as the target buyer;
80
+ record the persona, answers, visible branch points, target market and observed
81
+ language, currency and consent banner/choice. Flag a market mismatch; currency
82
+ alone does not establish a country. Do not treat source/configuration text as an
83
+ observed screen.
84
+
85
+ Record every logical screen with its observed headline/text, kind, word counts,
86
+ options, answers, advance, CTA, offer, proof, price and notes. Save a real screenshot
87
+ per screen. A long page needs its significant blocks in a full-page capture or
88
+ additional screenshots; scrolling does not add logical screens. Distinguish teaser,
89
+ final personalized result and commercial offer, and price from salary or discount.
90
+ A dismissible popup is an auxiliary branch and does not replace the creative's
91
+ main route. Unknown/unseen is different from absent.
92
+
93
+ Before any submission, inspect the known forms without submitting and list each
94
+ form/URL, purpose and all exact values. Obtain the founder's explicit confirmation
95
+ in the conversation and retain its reference/version. Submit only those exact
96
+ approved forms and data; a new form, mandatory field or value requires a supplement
97
+ and another confirmation. A locally authored approval JSON is not human approval.
98
+ Complete approved lead forms, quizzes and webinar registrations to see the result,
99
+ price and conversion path after contact. Without approval preserve `needs_approval`
100
+ and continue independent observations.
101
+
102
+ Use a research mailbox supplied or confirmed by the caller and the agreed persona
103
+ name. Reserve one numeric plus alias (`<local>+NN@<host>`) per funnel in a local
104
+ private identity registry; reuse it on resume. When the caller supplies a shared
105
+ research registry, use it; otherwise keep a private registry alongside the quiz
106
+ research. Exact contact values stay in runtime records, not public research.md or
107
+ screenshots; capture forms before filling and scrub personalized screenshots.
108
+ The bundled `scripts/prepare-research-identity.py` reserves the alias with a lock
109
+ and atomic write; it imports no other skill. For standalone use:
110
+
111
+ ```bash
112
+ python3 <skill-root>/scripts/prepare-research-identity.py \
113
+ --registry <private-runtime>/identity-registry.json \
114
+ --mailbox <confirmed-research-mailbox> --domain <competitor-domain> \
115
+ --funnel-id <stable-funnel-id>
116
+ ```
117
+
118
+ Read confirmation/result mail the same day if an authorized mailbox capability is
119
+ available. Confirm only an approved continuation, record the observed outcome and
120
+ mail receipt time, and leave missing mail `needs_email` with a reason. Lack of
121
+ mailbox access is an explicit block, not permission to use another identity.
122
+
123
+ An approved phone may use the US fiction range 555-0100 to 555-0199 in the required
124
+ full format only if the form accepts it. Otherwise stop with `phone`; never use a
125
+ random real number. Never create competitor accounts: record `needs_account`, and
126
+ continue only if the founder provides access. Never enter a card or pay. Record a
127
+ live sales-call booking screen (tool, slots, questions and conditions) and stop
128
+ before booking. CAPTCHA/bot verification and required SMS verification end the
129
+ walk with their recorded screen and reason; never bypass them.
130
+
131
+ Walk one main buyer path and additional relevant persona paths when they change
132
+ the offer, final result, price or conversion method. Keep paths distinct; they are
133
+ not extra competitors/funnels for recurring counts. Do not infer unseen branch
134
+ outcomes. Save progress after at most 40 screens per attempt, mark `budget` and
135
+ resume; 40 is not the total funnel length or its terminal outcome. Before submit
136
+ record intent, afterwards its observed response. After a crash check the outcome
137
+ without another submission; unknown outcome stays unknown. One real screen or an
138
+ immediate gate is valid evidence; never add fictional rows to meet a minimum.
139
+
140
+ ## Findings and continuation
141
+
142
+ Keep source URLs, observation dates, market/persona, actual screens and screenshots,
143
+ approval reference (when applicable), stop reason and unknowns together in
144
+ `research.md`. Use the fields and statuses of the observation contract; headings
145
+ and a prescribed report shape are not compiler inputs. Keep additional paths
146
+ distinct from independent funnels. An observation made before an access or
147
+ permission boundary remains useful; do not fabricate the rest or repeat a
148
+ submission to fill a report.
149
+
150
+ Explain what the evidence supports for the investigation question and what it
151
+ does not. Recurrence describes independent examples, not measured performance;
152
+ take patterns, never copied claims, branding or invented numbers. Any accepted
153
+ experience change belongs in the project's existing plan/UX decisions, not in
154
+ a mandatory research adaptation or deviation ledger.
155
+
156
+ When a provider or browser is unavailable, preserve progress and the exact
157
+ failure. Empty API results do not prove absence: use another permitted relevant
158
+ source, within the call budget. A blocked teardown does not block independent
159
+ implementation of an already accepted experience.
@@ -0,0 +1,156 @@
1
+ # Conversion Handoff
2
+
3
+ The result screen ends the quiz and starts the conversion. The quiz hands the
4
+ visitor to a destination; it never creates an account, a checkout session, or
5
+ a booking itself.
6
+
7
+ ## Every goal
8
+
9
+ - The runtime renders the specified result and its call to action; implement
10
+ the accepted wording and destination without inventing a new product promise.
11
+ - The engine builds the destination: `quiz.cta(attribution)` returns the label,
12
+ the destination, and the descriptor of the click. Pass it
13
+ `window.__egbeAttribution.read()` from the shared tracking snippet.
14
+ - Never put answers, names, emails, phone numbers, or other personal data into
15
+ an address.
16
+ - The answers stay in the browser's session storage under
17
+ `quiz-funnel:<quiz-slug>`, on the origin of the product. They survive
18
+ navigation in the same tab and nothing else. Visitors from ads often arrive
19
+ in the browser of another application, where a sign-in may open elsewhere
20
+ and the storage is then empty. Treat a restored result as a convenience,
21
+ never as a promise.
22
+ - Answers to sensitive questions stay in the visitor's browser. Do not store
23
+ or send them.
24
+
25
+ ## `call` with `booking_url`
26
+
27
+ The call to action is a link to the scheduling page. The engine completes the
28
+ link in this order and never replaces a parameter that is already set:
29
+
30
+ 1. the parameters the address already carries;
31
+ 2. `result_param`, when set, with the value `<quiz-slug>.<result-id>`;
32
+ 3. the first-touch `utm_source`, `utm_medium`, `utm_campaign`, `utm_content`,
33
+ and `utm_term` of the visitor;
34
+ 4. `fallback_params`, only for a visitor who arrived without any campaign
35
+ parameter. A real campaign is never completed with invented values.
36
+
37
+ Set `result_param` to a parameter the scheduling tool records, so the person
38
+ who takes the call sees the visitor's result. When that parameter is one of
39
+ the campaign parameters, such as `utm_content`, the result takes its place and
40
+ the value of the ad is not passed.
41
+
42
+ The booking happens in the scheduling tool, so the quiz measures the click and
43
+ not the booking. Count bookings from the records of the scheduling tool by
44
+ their campaign parameters, and say so in the report.
45
+
46
+ ## `call` with `lead_form`
47
+
48
+ Use this destination when the accepted experience calls for contact collection.
49
+ The bundled binding opens it from the result CTA; it does not choose the fields
50
+ or insert a contact gate before a calendar by default. Render the accepted
51
+ labels, consent text and success/error behavior. On a failed save, retain the
52
+ entered values and allow correction/retry unless a different recovery is agreed.
53
+ Never show successful capture merely because navigation continued.
54
+
55
+ The form posts to an endpoint of the product on the same origin. Add that
56
+ endpoint as one route of the product's server, following its existing
57
+ conventions, when the product has a database; when it has none, stop and
58
+ report. The endpoint:
59
+
60
+ | | |
61
+ |---|---|
62
+ | Accepts | `POST` with JSON: `quiz_slug`, `result_id`, `answers`, `attribution`, and `contact` with the fields of the form |
63
+ | Checks | the quiz and the result exist, the contact fields are well formed and of reasonable length; it rejects anything else with a client error and stores nothing |
64
+ | Stores | one durable row with the contact, the quiz, the result, the answers, the first-touch fields of `attribution`, and the time |
65
+ | Tells the founder | through the Egbe OS `mail` capability, so that someone answers |
66
+ | Returns | success and the analytics descriptor of a completed lead capture, as the Egbe OS `egbe-os-analytics` skill describes it; the browser delivers the event |
67
+
68
+ The privacy page of the product must say what the form collects and why.
69
+
70
+ ### Request form, then the scheduling page
71
+
72
+ The destination stays `lead_form`. The rules above apply, except for what
73
+ `success` says and for what a failure does. What `call` with `booking_url`
74
+ says about the result screen applies as well.
75
+
76
+ The specification has no field for the scheduling address. Keep the
77
+ address, the name of the parameter that carries the result, and the fallback
78
+ values together in one place of the application's source, next to the route.
79
+ Confirm the address as [inputs.md](inputs.md) describes for `booking_url`.
80
+ Keep the accepted continuation and failure behavior in the existing integration
81
+ plan or code; no research entry is required for it.
82
+
83
+ - `submit_label` names the next step, choosing a time. `success` says that
84
+ the calendar opens. It promises an email with the link only when the
85
+ product sends one.
86
+ - When the requests are passed on to a client, `consent_note` names the
87
+ client: the visitor agrees to that before sending the form.
88
+ - After the form is sent, the page continues to the scheduling address in
89
+ the same tab. The page completes the address in the order given for
90
+ `booking_url`: what the address carries stays, then the result as
91
+ `<quiz-slug>.<result-id>` under its parameter, then the campaign parameters
92
+ of the first touch, and the fallback values only for a visitor without any
93
+ campaign parameter. `destination.payload` of `quiz.cta(attribution)` holds
94
+ the slug, the id of the result, and the first-touch fields of the visit.
95
+ - The contact does not travel in the address, as for every goal: an address
96
+ stays in the history of the browser and can be read by the scripts of the
97
+ page it opens. The scheduling page asks for the contact itself.
98
+ - Continue after a confirmed save. If the accepted recovery allows calendar
99
+ access without saving, implement that as a distinct state, report the save
100
+ failure to error tracking and do not report a completed capture. Do not add
101
+ a silent timer-based bypass by default. A malformed contact remains editable.
102
+ - The completed request is reported only when the endpoint confirmed it, and
103
+ before the page leaves: wait for the tracker for up to a second, then
104
+ continue.
105
+ - A visitor who comes back from the calendar with the browser's back finds
106
+ the result and its call to action, not the form that was sent.
107
+
108
+ Count requests from the rows the product stored and bookings from the records
109
+ of the scheduling tool, and match the two by email. A visitor may book with
110
+ another email than the one of the request, and a booking can exist without a
111
+ stored request. Both are still attributed by the campaign parameters and the
112
+ result in the records of the scheduling tool.
113
+
114
+ ## `signup`
115
+
116
+ The call to action leads to the product's signup route.
117
+
118
+ Word the label and the result for what really happens. "Save my result" is
119
+ true only when the product stores the result with the account. When it does
120
+ not, name what the account gives instead.
121
+
122
+ When the accepted continuation uses the result after signup in the same tab,
123
+ restore it with `createQuiz(spec, { storage }).result()`. Handle a missing result
124
+ without breaking the product's normal first page. Storing the
125
+ result with the account is product development; hand it over with the fields
126
+ `quiz_slug`, `result_id`, and `answers`.
127
+
128
+ How accounts are created, verified, and signed in belongs to the Egbe OS
129
+ `egbe-os-product-auth` skill. Do not change it.
130
+
131
+ ## `payment`
132
+
133
+ The call to action leads to the product's checkout route with the plan:
134
+ `<path>?<plan_param>=<plan_key>`. A signed-out visitor passes through signup
135
+ and returns to the same plan; that continuation belongs to the product's
136
+ signup and checkout. When checkout needs an account, say so in the note under
137
+ the button, so the account step is expected.
138
+
139
+ Every result that leads to the checkout shows `goal.destination.price`, the
140
+ price and period exactly as the product's plan catalog states them, in a text
141
+ that every visitor of that result reads, and says what the payment unlocks.
142
+ Show no former price, discount, or deadline that is not real.
143
+
144
+ The product may read the answers from session storage after the payment, as
145
+ after signup. Do not write that the product is set up from the answers unless
146
+ it is.
147
+
148
+ Checkout sessions, payment confirmation, and access belong to the Egbe OS
149
+ `egbe-os-payments` skill. A return address is navigation, not proof of payment.
150
+
151
+ ## `not_fit` destinations
152
+
153
+ The runtime's `not_fit` result uses its own link or no CTA, not the primary goal.
154
+ Configure the accepted alternative; do not invent a destination or disqualification.
155
+ The engine may show it early only when remaining answers cannot change the result
156
+ and any headline/body answer tokens are already resolved.