invos 1.0.0

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 (346) hide show
  1. package/README.md +39 -0
  2. package/bin/invos.js +78 -0
  3. package/kit/.agents/skills/apple/DESCRIPTION.md +2 -0
  4. package/kit/.agents/skills/apple/apple-notes/SKILL.md +90 -0
  5. package/kit/.agents/skills/apple/apple-reminders/SKILL.md +130 -0
  6. package/kit/.agents/skills/audit/SKILL.md +177 -0
  7. package/kit/.agents/skills/design-marca/SKILL.md +92 -0
  8. package/kit/.agents/skills/humanizer/SKILL.md +476 -0
  9. package/kit/.agents/skills/instagram-carrossel/SKILL.md +79 -0
  10. package/kit/.agents/skills/instagram-carrossel/references/fetch-assets.md +77 -0
  11. package/kit/.agents/skills/instagram-carrossel/references/publish.md +48 -0
  12. package/kit/.agents/skills/instagram-carrossel/references/render-png.md +147 -0
  13. package/kit/.agents/skills/instagram-carrossel/scripts/publish.js +165 -0
  14. package/kit/.agents/skills/llm-wiki/SKILL.md +507 -0
  15. package/kit/.agents/skills/onboard/SKILL.md +152 -0
  16. package/kit/.agents/skills/pd-ikigai/SKILL.md +269 -0
  17. package/kit/.agents/skills/popular-web-designs/SKILL.md +214 -0
  18. package/kit/.agents/skills/popular-web-designs/templates/airbnb.md +259 -0
  19. package/kit/.agents/skills/popular-web-designs/templates/airtable.md +102 -0
  20. package/kit/.agents/skills/popular-web-designs/templates/apple.md +326 -0
  21. package/kit/.agents/skills/popular-web-designs/templates/bmw.md +193 -0
  22. package/kit/.agents/skills/popular-web-designs/templates/cal.md +272 -0
  23. package/kit/.agents/skills/popular-web-designs/templates/claude.md +325 -0
  24. package/kit/.agents/skills/popular-web-designs/templates/clay.md +317 -0
  25. package/kit/.agents/skills/popular-web-designs/templates/clickhouse.md +294 -0
  26. package/kit/.agents/skills/popular-web-designs/templates/cohere.md +279 -0
  27. package/kit/.agents/skills/popular-web-designs/templates/coinbase.md +142 -0
  28. package/kit/.agents/skills/popular-web-designs/templates/composio.md +320 -0
  29. package/kit/.agents/skills/popular-web-designs/templates/cursor.md +322 -0
  30. package/kit/.agents/skills/popular-web-designs/templates/elevenlabs.md +278 -0
  31. package/kit/.agents/skills/popular-web-designs/templates/expo.md +294 -0
  32. package/kit/.agents/skills/popular-web-designs/templates/figma.md +233 -0
  33. package/kit/.agents/skills/popular-web-designs/templates/framer.md +259 -0
  34. package/kit/.agents/skills/popular-web-designs/templates/hashicorp.md +291 -0
  35. package/kit/.agents/skills/popular-web-designs/templates/ibm.md +345 -0
  36. package/kit/.agents/skills/popular-web-designs/templates/intercom.md +159 -0
  37. package/kit/.agents/skills/popular-web-designs/templates/kraken.md +138 -0
  38. package/kit/.agents/skills/popular-web-designs/templates/linear.app.md +380 -0
  39. package/kit/.agents/skills/popular-web-designs/templates/lovable.md +311 -0
  40. package/kit/.agents/skills/popular-web-designs/templates/minimax.md +270 -0
  41. package/kit/.agents/skills/popular-web-designs/templates/mintlify.md +339 -0
  42. package/kit/.agents/skills/popular-web-designs/templates/miro.md +121 -0
  43. package/kit/.agents/skills/popular-web-designs/templates/mistral.ai.md +274 -0
  44. package/kit/.agents/skills/popular-web-designs/templates/mongodb.md +279 -0
  45. package/kit/.agents/skills/popular-web-designs/templates/notion.md +322 -0
  46. package/kit/.agents/skills/popular-web-designs/templates/nvidia.md +306 -0
  47. package/kit/.agents/skills/popular-web-designs/templates/ollama.md +280 -0
  48. package/kit/.agents/skills/popular-web-designs/templates/opencode.ai.md +294 -0
  49. package/kit/.agents/skills/popular-web-designs/templates/pinterest.md +243 -0
  50. package/kit/.agents/skills/popular-web-designs/templates/posthog.md +269 -0
  51. package/kit/.agents/skills/popular-web-designs/templates/raycast.md +281 -0
  52. package/kit/.agents/skills/popular-web-designs/templates/replicate.md +274 -0
  53. package/kit/.agents/skills/popular-web-designs/templates/resend.md +316 -0
  54. package/kit/.agents/skills/popular-web-designs/templates/revolut.md +198 -0
  55. package/kit/.agents/skills/popular-web-designs/templates/runwayml.md +257 -0
  56. package/kit/.agents/skills/popular-web-designs/templates/sanity.md +370 -0
  57. package/kit/.agents/skills/popular-web-designs/templates/sentry.md +275 -0
  58. package/kit/.agents/skills/popular-web-designs/templates/spacex.md +207 -0
  59. package/kit/.agents/skills/popular-web-designs/templates/spotify.md +259 -0
  60. package/kit/.agents/skills/popular-web-designs/templates/stripe.md +335 -0
  61. package/kit/.agents/skills/popular-web-designs/templates/supabase.md +268 -0
  62. package/kit/.agents/skills/popular-web-designs/templates/superhuman.md +265 -0
  63. package/kit/.agents/skills/popular-web-designs/templates/together.ai.md +276 -0
  64. package/kit/.agents/skills/popular-web-designs/templates/uber.md +308 -0
  65. package/kit/.agents/skills/popular-web-designs/templates/vercel.md +323 -0
  66. package/kit/.agents/skills/popular-web-designs/templates/voltagent.md +336 -0
  67. package/kit/.agents/skills/popular-web-designs/templates/warp.md +266 -0
  68. package/kit/.agents/skills/popular-web-designs/templates/webflow.md +105 -0
  69. package/kit/.agents/skills/popular-web-designs/templates/wise.md +186 -0
  70. package/kit/.agents/skills/popular-web-designs/templates/x.ai.md +270 -0
  71. package/kit/.agents/skills/popular-web-designs/templates/zapier.md +341 -0
  72. package/kit/.agents/skills/productivity/DESCRIPTION.md +3 -0
  73. package/kit/.agents/skills/productivity/google-workspace/SKILL.md +335 -0
  74. package/kit/.agents/skills/productivity/google-workspace/references/gmail-search-syntax.md +63 -0
  75. package/kit/.agents/skills/productivity/google-workspace/scripts/_hermes_home.py +42 -0
  76. package/kit/.agents/skills/productivity/google-workspace/scripts/google_api.py +1225 -0
  77. package/kit/.agents/skills/productivity/google-workspace/scripts/gws_bridge.py +111 -0
  78. package/kit/.agents/skills/productivity/google-workspace/scripts/setup.py +481 -0
  79. package/kit/.agents/skills/productivity/nano-pdf/SKILL.md +52 -0
  80. package/kit/.agents/skills/productivity/notion/SKILL.md +448 -0
  81. package/kit/.agents/skills/productivity/notion/references/block-types.md +112 -0
  82. package/kit/.agents/skills/productivity/ocr-and-documents/DESCRIPTION.md +3 -0
  83. package/kit/.agents/skills/productivity/ocr-and-documents/SKILL.md +172 -0
  84. package/kit/.agents/skills/productivity/ocr-and-documents/scripts/extract_marker.py +87 -0
  85. package/kit/.agents/skills/productivity/ocr-and-documents/scripts/extract_pymupdf.py +98 -0
  86. package/kit/.agents/skills/productivity/powerpoint/LICENSE.txt +30 -0
  87. package/kit/.agents/skills/productivity/powerpoint/SKILL.md +237 -0
  88. package/kit/.agents/skills/productivity/powerpoint/editing.md +205 -0
  89. package/kit/.agents/skills/productivity/powerpoint/pptxgenjs.md +420 -0
  90. package/kit/.agents/skills/productivity/powerpoint/scripts/__init__.py +0 -0
  91. package/kit/.agents/skills/productivity/powerpoint/scripts/add_slide.py +195 -0
  92. package/kit/.agents/skills/productivity/powerpoint/scripts/clean.py +286 -0
  93. package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/__init__.py +0 -0
  94. package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/merge_runs.py +199 -0
  95. package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/simplify_redlines.py +197 -0
  96. package/kit/.agents/skills/productivity/powerpoint/scripts/office/pack.py +159 -0
  97. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  98. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  99. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  100. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  101. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  102. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  103. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  104. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  105. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  106. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  107. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  108. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  109. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  110. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  111. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  112. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  113. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  114. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  115. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  116. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  117. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  118. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  119. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  120. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  121. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  122. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  123. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  124. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-contentTypes.xsd +42 -0
  125. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-coreProperties.xsd +50 -0
  126. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-digSig.xsd +49 -0
  127. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-relationships.xsd +33 -0
  128. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/mce/mc.xsd +75 -0
  129. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  130. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  131. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  132. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  133. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  134. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  135. package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  136. package/kit/.agents/skills/proposta/SKILL.md +159 -0
  137. package/kit/.agents/skills/proposta/references/proposta-avancada.md +17 -0
  138. package/kit/.agents/skills/proposta/references/proposta.html +187 -0
  139. package/kit/.agents/skills/session-checkpoint/SKILL.md +80 -0
  140. package/kit/.agents/skills/session-end/SKILL.md +166 -0
  141. package/kit/.agents/skills/session-start/SKILL.md +149 -0
  142. package/kit/.agents/skills/social-content/SKILL.md +119 -0
  143. package/kit/.agents/skills/stop-slop/CHANGELOG.md +24 -0
  144. package/kit/.agents/skills/stop-slop/LICENSE +21 -0
  145. package/kit/.agents/skills/stop-slop/README.md +62 -0
  146. package/kit/.agents/skills/stop-slop/SKILL.md +68 -0
  147. package/kit/.agents/skills/stop-slop/references/examples.md +59 -0
  148. package/kit/.agents/skills/stop-slop/references/phrases.md +128 -0
  149. package/kit/.agents/skills/stop-slop/references/structures.md +134 -0
  150. package/kit/.agents/squads/advisory-board/README.md +34 -0
  151. package/kit/.agents/squads/advisory-board/agents/board-chair.md +161 -0
  152. package/kit/.agents/squads/advisory-board/agents/brene-brown.md +296 -0
  153. package/kit/.agents/squads/advisory-board/agents/charlie-munger.md +590 -0
  154. package/kit/.agents/squads/advisory-board/agents/derek-sivers.md +268 -0
  155. package/kit/.agents/squads/advisory-board/agents/naval-ravikant.md +251 -0
  156. package/kit/.agents/squads/advisory-board/agents/patrick-lencioni.md +394 -0
  157. package/kit/.agents/squads/advisory-board/agents/peter-thiel.md +269 -0
  158. package/kit/.agents/squads/advisory-board/agents/ray-dalio.md +587 -0
  159. package/kit/.agents/squads/advisory-board/agents/reid-hoffman.md +278 -0
  160. package/kit/.agents/squads/advisory-board/agents/simon-sinek.md +291 -0
  161. package/kit/.agents/squads/advisory-board/agents/yvon-chouinard.md +275 -0
  162. package/kit/.agents/squads/advisory-board/checklists/output-quality.md +73 -0
  163. package/kit/.agents/squads/advisory-board/config/config.yaml +67 -0
  164. package/kit/.agents/squads/advisory-board/data/mental-models-catalog.yaml +178 -0
  165. package/kit/.agents/squads/advisory-board/data/routing-catalog.yaml +89 -0
  166. package/kit/.agents/squads/advisory-board/squad.yaml +50 -0
  167. package/kit/.agents/squads/advisory-board/tasks/convene-board.md +152 -0
  168. package/kit/.agents/squads/advisory-board/tasks/diagnose.md +138 -0
  169. package/kit/.agents/squads/advisory-board/tasks/evaluate-scaling.md +165 -0
  170. package/kit/.agents/squads/advisory-board/tasks/get-founder-counsel.md +169 -0
  171. package/kit/.agents/squads/advisory-board/tasks/resolve-culture-crisis.md +164 -0
  172. package/kit/.agents/squads/advisory-board/tasks/review.md +133 -0
  173. package/kit/.agents/squads/advisory-board/tasks/seek-investment-counsel.md +161 -0
  174. package/kit/.agents/squads/advisory-board/workflows/wf-board-meeting.yaml +115 -0
  175. package/kit/.agents/squads/advisory-board/workflows/wf-decision-framework.yaml +135 -0
  176. package/kit/.agents/squads/brand/README.md +179 -0
  177. package/kit/.agents/squads/brand/agents/alexandra-watkins.md +1869 -0
  178. package/kit/.agents/squads/brand/agents/april-dunford.md +1781 -0
  179. package/kit/.agents/squads/brand/agents/brand-chief.md +600 -0
  180. package/kit/.agents/squads/brand/agents/emily-heyward.md +1685 -0
  181. package/kit/.agents/squads/brand/agents/marty-neumeier.md +1642 -0
  182. package/kit/.agents/squads/brand/agents/michael-johnson.md +1814 -0
  183. package/kit/.agents/squads/brand/agents/sagi-haviv.md +2025 -0
  184. package/kit/.agents/squads/brand/checklists/brand-book-checklist.md +31 -0
  185. package/kit/.agents/squads/brand/checklists/brand-launch-checklist.md +52 -0
  186. package/kit/.agents/squads/brand/checklists/brand-strategy-checklist.md +45 -0
  187. package/kit/.agents/squads/brand/checklists/naming-checklist.md +48 -0
  188. package/kit/.agents/squads/brand/checklists/positioning-checklist.md +48 -0
  189. package/kit/.agents/squads/brand/checklists/smoke-tests.md +180 -0
  190. package/kit/.agents/squads/brand/checklists/visual-identity-checklist.md +61 -0
  191. package/kit/.agents/squads/brand/config.yaml +135 -0
  192. package/kit/.agents/squads/brand/data/brand-archetypes.md +135 -0
  193. package/kit/.agents/squads/brand/data/brand-audit-methodology.md +99 -0
  194. package/kit/.agents/squads/brand/data/brand-pantheon.md +61 -0
  195. package/kit/.agents/squads/brand/data/brand-voice-matrix.md +92 -0
  196. package/kit/.agents/squads/brand/data/color-psychology.md +125 -0
  197. package/kit/.agents/squads/brand/squad.yaml +123 -0
  198. package/kit/.agents/squads/brand/tasks/brand-audit.md +150 -0
  199. package/kit/.agents/squads/brand/tasks/brand-book-creation.md +136 -0
  200. package/kit/.agents/squads/brand/tasks/brand-diagnosis.md +135 -0
  201. package/kit/.agents/squads/brand/tasks/brand-touchpoint-audit.md +100 -0
  202. package/kit/.agents/squads/brand/tasks/coherence-check.md +132 -0
  203. package/kit/.agents/squads/brand/tasks/logo-evaluation.md +103 -0
  204. package/kit/.agents/squads/brand/tasks/movement-architecture.md +136 -0
  205. package/kit/.agents/squads/brand/tasks/naming-exercise.md +134 -0
  206. package/kit/.agents/squads/brand/tasks/positioning-exercise.md +146 -0
  207. package/kit/.agents/squads/brand/tasks/research-references.md +225 -0
  208. package/kit/.agents/squads/brand/tasks/visual-identity-brief.md +134 -0
  209. package/kit/.agents/squads/brand/templates/brand-book-tmpl.md +148 -0
  210. package/kit/.agents/squads/brand/templates/brand-soul-canvas-tmpl.md +80 -0
  211. package/kit/.agents/squads/brand/templates/naming-brief-tmpl.md +83 -0
  212. package/kit/.agents/squads/brand/templates/positioning-canvas-tmpl.md +60 -0
  213. package/kit/.agents/squads/brand/templates/visual-identity-brief-tmpl.md +109 -0
  214. package/kit/.agents/squads/brand/workflows/wf-brand-audit.yaml +148 -0
  215. package/kit/.agents/squads/brand/workflows/wf-brand-from-zero.yaml +229 -0
  216. package/kit/.agents/squads/brand/workflows/wf-brief-to-references.yaml +141 -0
  217. package/kit/.agents/squads/hormozi-squad/README.md +25 -0
  218. package/kit/.agents/squads/hormozi-squad/agents/hormozi-ads.md +159 -0
  219. package/kit/.agents/squads/hormozi-squad/agents/hormozi-advisor.md +178 -0
  220. package/kit/.agents/squads/hormozi-squad/agents/hormozi-audit.md +178 -0
  221. package/kit/.agents/squads/hormozi-squad/agents/hormozi-chief.md +121 -0
  222. package/kit/.agents/squads/hormozi-squad/agents/hormozi-closer.md +179 -0
  223. package/kit/.agents/squads/hormozi-squad/agents/hormozi-content.md +166 -0
  224. package/kit/.agents/squads/hormozi-squad/agents/hormozi-copy.md +152 -0
  225. package/kit/.agents/squads/hormozi-squad/agents/hormozi-hooks.md +177 -0
  226. package/kit/.agents/squads/hormozi-squad/agents/hormozi-launch.md +160 -0
  227. package/kit/.agents/squads/hormozi-squad/agents/hormozi-leads.md +198 -0
  228. package/kit/.agents/squads/hormozi-squad/agents/hormozi-models.md +191 -0
  229. package/kit/.agents/squads/hormozi-squad/agents/hormozi-offers.md +197 -0
  230. package/kit/.agents/squads/hormozi-squad/agents/hormozi-pricing.md +151 -0
  231. package/kit/.agents/squads/hormozi-squad/agents/hormozi-retention.md +166 -0
  232. package/kit/.agents/squads/hormozi-squad/agents/hormozi-scale.md +175 -0
  233. package/kit/.agents/squads/hormozi-squad/agents/hormozi-workshop.md +160 -0
  234. package/kit/.agents/squads/hormozi-squad/checklists/output-quality.md +71 -0
  235. package/kit/.agents/squads/hormozi-squad/config/config.yaml +183 -0
  236. package/kit/.agents/squads/hormozi-squad/data/hormozi-frameworks.yaml +105 -0
  237. package/kit/.agents/squads/hormozi-squad/data/routing-catalog.yaml +94 -0
  238. package/kit/.agents/squads/hormozi-squad/squad.yaml +60 -0
  239. package/kit/.agents/squads/hormozi-squad/tasks/audit-business.md +186 -0
  240. package/kit/.agents/squads/hormozi-squad/tasks/close-sale.md +179 -0
  241. package/kit/.agents/squads/hormozi-squad/tasks/create-hooks.md +159 -0
  242. package/kit/.agents/squads/hormozi-squad/tasks/create-offer.md +178 -0
  243. package/kit/.agents/squads/hormozi-squad/tasks/design-workshop.md +192 -0
  244. package/kit/.agents/squads/hormozi-squad/tasks/diagnose.md +166 -0
  245. package/kit/.agents/squads/hormozi-squad/tasks/generate-leads.md +187 -0
  246. package/kit/.agents/squads/hormozi-squad/tasks/plan-launch.md +179 -0
  247. package/kit/.agents/squads/hormozi-squad/tasks/review.md +133 -0
  248. package/kit/.agents/squads/hormozi-squad/tasks/set-pricing.md +167 -0
  249. package/kit/.agents/squads/hormozi-squad/workflows/wf-business-turnaround.yaml +104 -0
  250. package/kit/.agents/squads/hormozi-squad/workflows/wf-offer-creation.yaml +105 -0
  251. package/kit/.agents/squads/index.md +14 -0
  252. package/kit/.agents/squads/instagram-carrossel/DEPENDENCIES.md +75 -0
  253. package/kit/.agents/squads/instagram-carrossel/README.md +52 -0
  254. package/kit/.agents/squads/instagram-carrossel/RUN.md +115 -0
  255. package/kit/.agents/squads/instagram-carrossel/_memory/memories.md +16 -0
  256. package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/create-slides.md +96 -0
  257. package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/generate-angles.md +111 -0
  258. package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/optimize-copy.md +81 -0
  259. package/kit/.agents/squads/instagram-carrossel/agents/copywriter.custom.md +73 -0
  260. package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/create-slides.md +132 -0
  261. package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/propose-visual-identities.md +89 -0
  262. package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/render-export.md +100 -0
  263. package/kit/.agents/squads/instagram-carrossel/agents/image-designer.custom.md +47 -0
  264. package/kit/.agents/squads/instagram-carrossel/agents/publisher/tasks/validate-publish.md +50 -0
  265. package/kit/.agents/squads/instagram-carrossel/agents/publisher.custom.md +26 -0
  266. package/kit/.agents/squads/instagram-carrossel/agents/researcher/tasks/find-and-rank-news.md +105 -0
  267. package/kit/.agents/squads/instagram-carrossel/agents/researcher.custom.md +46 -0
  268. package/kit/.agents/squads/instagram-carrossel/agents/reviewer/tasks/generate-feedback.md +91 -0
  269. package/kit/.agents/squads/instagram-carrossel/agents/reviewer/tasks/score-content.md +103 -0
  270. package/kit/.agents/squads/instagram-carrossel/agents/reviewer.custom.md +53 -0
  271. package/kit/.agents/squads/instagram-carrossel/output/.gitkeep +0 -0
  272. package/kit/.agents/squads/instagram-carrossel/output/slides/.gitkeep +0 -0
  273. package/kit/.agents/squads/instagram-carrossel/output/slides/rendered/.gitkeep +0 -0
  274. package/kit/.agents/squads/instagram-carrossel/pipeline/data/anti-patterns.md +125 -0
  275. package/kit/.agents/squads/instagram-carrossel/pipeline/data/domain-framework.md +92 -0
  276. package/kit/.agents/squads/instagram-carrossel/pipeline/data/instagram-feed-best-practices.md +235 -0
  277. package/kit/.agents/squads/instagram-carrossel/pipeline/data/output-examples.md +244 -0
  278. package/kit/.agents/squads/instagram-carrossel/pipeline/data/quality-criteria.md +120 -0
  279. package/kit/.agents/squads/instagram-carrossel/pipeline/data/research-brief.md +135 -0
  280. package/kit/.agents/squads/instagram-carrossel/pipeline/data/tone-of-voice.md +32 -0
  281. package/kit/.agents/squads/instagram-carrossel/pipeline/pipeline.yaml +136 -0
  282. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-01-input-content.md +38 -0
  283. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-02-find-news.md +42 -0
  284. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-03-select-story.md +59 -0
  285. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-04-generate-angles.md +45 -0
  286. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-05-select-angle.md +64 -0
  287. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-06-create-copy.md +51 -0
  288. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-07-approve-copy.md +52 -0
  289. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-08-propose-visuals.md +42 -0
  290. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-09-select-visual.md +61 -0
  291. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-10-create-slides.md +55 -0
  292. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-11-approve-images.md +60 -0
  293. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-12-review.md +55 -0
  294. package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-13-publish.md +79 -0
  295. package/kit/.agents/squads/instagram-carrossel/squad-party.csv +6 -0
  296. package/kit/.agents/squads/instagram-carrossel/squad.yaml +70 -0
  297. package/kit/AGENTS.md +175 -0
  298. package/kit/CLAUDE.md +1 -0
  299. package/kit/COMECE-AQUI.md +207 -0
  300. package/kit/INVOS.json +37 -0
  301. package/kit/MEMORY.md +31 -0
  302. package/kit/README.md +434 -0
  303. package/kit/SECURITY.md +39 -0
  304. package/kit/clientes/README.md +72 -0
  305. package/kit/clientes/_index.md +32 -0
  306. package/kit/clientes/_template/arquivos/.gitkeep +0 -0
  307. package/kit/clientes/_template/contexto.md +21 -0
  308. package/kit/clientes/_template/entregas.md +20 -0
  309. package/kit/clientes/_template/perfil.md +47 -0
  310. package/kit/clientes/_template/propostas/.gitkeep +0 -0
  311. package/kit/conteudo/README.md +12 -0
  312. package/kit/conteudo/_fila.md +12 -0
  313. package/kit/conteudo/carrosseis/.gitkeep +0 -0
  314. package/kit/conteudo/publicados/.gitkeep +0 -0
  315. package/kit/docs/audit-enxugamento-sieve.md +187 -0
  316. package/kit/docs/cli.md +62 -0
  317. package/kit/docs/hotmart-webhook.md +96 -0
  318. package/kit/docs/lab-user.md +35 -0
  319. package/kit/docs/prd-invos-cli.md +264 -0
  320. package/kit/integracoes/README.md +31 -0
  321. package/kit/integracoes/composio/README.md +128 -0
  322. package/kit/integracoes/composio/marketing-tools.md +61 -0
  323. package/kit/marca/README.md +13 -0
  324. package/kit/marca/assets/.gitkeep +0 -0
  325. package/kit/marca/marca.md +57 -0
  326. package/kit/memoria/ativo.md +18 -0
  327. package/kit/memoria/decisoes.md +26 -0
  328. package/kit/memoria/empresa.md +46 -0
  329. package/kit/memoria/historico/README.md +8 -0
  330. package/kit/memoria/insights.md +11 -0
  331. package/kit/memoria/perfil.md +29 -0
  332. package/kit/memoria/projetos.md +27 -0
  333. package/kit/memoria/regras/_TEMPLATE-exemplo.md +15 -0
  334. package/kit/memoria/regras/task-com-dono.md +18 -0
  335. package/kit/scripts/smoke-estado.sh +32 -0
  336. package/kit/scripts/validar.sh +206 -0
  337. package/package.json +43 -0
  338. package/src/commands/doctor.js +104 -0
  339. package/src/commands/init.js +44 -0
  340. package/src/commands/install.js +41 -0
  341. package/src/commands/update.js +113 -0
  342. package/src/lock.js +47 -0
  343. package/src/manifest.js +10 -0
  344. package/src/resolve-kit.js +33 -0
  345. package/src/symlinks.js +78 -0
  346. package/src/utils.js +113 -0
@@ -0,0 +1,12 @@
1
+ # Fila de conteúdo
2
+
3
+ > Máx. 5 ideias ativas. Voz e exemplos: `marca/marca.md`.
4
+
5
+ | data | ideia (1 linha) | formato | status | dono | prova / origem |
6
+ |------|-----------------|---------|--------|------|----------------|
7
+ | | | post · story · carrossel · thread | ideia · rascunho · publicado | agente \| humano | |
8
+
9
+ ## Em destaque (1 só)
10
+
11
+ - **Peça da semana:** (vazio)
12
+ - **Done quando:** publicado ou enviado
File without changes
File without changes
@@ -0,0 +1,187 @@
1
+ # Auditoria de Enxugamento — INVOS
2
+
3
+ **Data:** 2026-07-24
4
+ **Escopo:** `/Users/felipealves/FelipeOS/projetos/Felipe.aiOS/projetos/invos`
5
+ **Persona:** Empresário solo / prestador de serviço
6
+ **Read-only:** Nenhum arquivo foi editado.
7
+
8
+ ---
9
+
10
+ ## 1. Veredito (5 linhas)
11
+
12
+ **Score: 6/10** — O core INVOS (memoria + clientes + session skills + proposta + social-content) é enxuto e funcional. O problema é **gordura opcional que veio junto**: 22 skills (10+ nunca usadas por empresário solo semanalmente), 3 squads (só 1 é MVP real), e README/AGENTS.md com seções duplicadas. Risco principal: **modelo fraco vai carregar description de 22 skills no boot** e se confundir com triggers sobrepostos (notion vs google-workspace vs composio; humanizer vs stop-slop).
13
+
14
+ ---
15
+
16
+ ## 2. Tabela KEEP (essencial dia a dia)
17
+
18
+ | Path | Por quê | Freq. esperada |
19
+ |------|---------|----------------|
20
+ | `memoria/` (9 arquivos) | Cérebro do negócio. Sem isso não existe INVOS. | Toda sessão |
21
+ | `clientes/_index.md` + `_template/` | Pipeline de vendas + duplicar cliente. Core do prestador. | Toda sessão |
22
+ | `marca/marca.md` + `assets/` | Identidade visual pra propostas e posts. | Toda sessão (via proposta/social-content) |
23
+ | `conteudo/_fila.md` | Fila de conteúdo pra postar. | Semanal |
24
+ | `.agents/skills/session-start` | Boot. Não negocia. | Toda sessão |
25
+ | `.agents/skills/session-end` | Arquivamento. | Toda sessão |
26
+ | `.agents/skills/session-checkpoint` | Checkpoint proativo. | Durante sessão |
27
+ | `.agents/skills/onboard` | Primeira configuração. | 1x (depois arquivar) |
28
+ | `.agents/skills/proposta` | Proposta comercial HTML. Ferramenta #1 do prestador. | Quinzenal |
29
+ | `.agents/skills/social-content` | Posts/legendas texto. Leve, rápido. | Semanal |
30
+ | `.agents/skills/instagram-carrossel` | Carrossel IG. MVP (1-2 HTML + caption). | Semanal |
31
+ | `.agents/skills/design-marca` | Extrair branding de site. | Mensal |
32
+ | `scripts/validar.sh` | Valida integridade do kit. | Pós-edit |
33
+ | `scripts/smoke-estado.sh` | Smoke test de coerência. | Pós-edit |
34
+ | `AGENTS.md` | Fonte de verdade de operação. | Toda sessão (lido pelo agente) |
35
+ | `COMECE-AQUI.md` | Setup inicial. | 1x (depois não lido) |
36
+
37
+ ---
38
+
39
+ ## 3. Tabela TRIM (manter mas encolher)
40
+
41
+ | Path | O que cortar | Ganho |
42
+ |------|-------------|-------|
43
+ | `AGENTS.md` | **Seção "Proactive Content — Formato Seriado"** (linhas 76-110): 35 linhas de tutorial de conteúdo que o empresário solo não precisa ler no boot. Mover para `conhecimento/formato-seriado.md` e referenciar 1 linha. | -800 tokens boot |
44
+ | `AGENTS.md` | **Tabela "Dia a dia do prestador"** (linhas 36-49): duplica o que já está em `COMECE-AQUI.md` Passo 5. Manter 3 linhas essenciais + link. | -400 tokens |
45
+ | `AGENTS.md` | **Tabela "Skills disponíveis"** (linhas 138-153): redundante com o trigger natural das skills. Manter só as 5 core + 1 linha "outras sob demanda". | -300 tokens |
46
+ | `AGENTS.md` | **Tabela "Squads disponíveis"** (linhas 155-163): o empresário não usa squads. Manter 1 linha: "Squads: instagram-carrossel (produção), brand, advisory-board — detalhes em `.agents/squads/`." | -150 tokens |
47
+ | `README.md` | **Seções "O problema" + "Como funciona"** (linhas 31-150): 120 linhas de marketing. O ZIP é a venda; o README é ref. Manter tabela "Core do dia a dia" + link pra COMECE-AQUI. | -3.000 tokens (mas não lido no boot) |
48
+ | `COMECE-AQUI.md` | **Passo 0 + Passo 2** (linhas 38-87): explicação óbvia ("abra a pasta no agente"). Manter só Passo 1 (renomear) + Passo 3 (onboard). | -500 tokens |
49
+ | `.agents/skills/humanizer` | Manter, mas **renomear trigger** para "humanizer-ptbr" e adicionar `aliases: [tira-ia, limpa-texto]` — empresário não sabe o que é "humanizer". | Clareza |
50
+ | `.agents/skills/stop-slop` | Mesmo caso. Aliases: `tira-ia-en, clean-english`. | Clareza |
51
+
52
+ ---
53
+
54
+ ## 4. Tabela CUT / Opcional (fora do core ou mover)
55
+
56
+ | Path | Motivo | Se mover: para onde |
57
+ |------|--------|---------------------|
58
+ | `.agents/skills/llm-wiki` | Knowledge base interligada. **507 linhas.** Empresário solo não usa wiki. É ferramenta de dev/pesquisador. | `addons/llm-wiki/` ou deletar |
59
+ | `.agents/skills/popular-web-designs` | 54 templates de design systems. **214 linhas.** Empresário não pede "faz igual Stripe". É pra dev frontend. | `addons/popular-web-designs/` ou deletar |
60
+ | `.agents/skills/pd-ikigai` | Encontrar ideia de negócio. **Uma vez na vida.** Não é operação diária. | `addons/pd-ikigai/` |
61
+ | `.agents/skills/audit` | Auditoria Four Cs. Roda 1x por semana no máximo. Não precisa estar no boot. | Manter em skills mas sem trigger automático |
62
+ | `.agents/skills/apple/*` (2) | **macOS only.** 50% do ICP usa Windows. Se incluir, colocar guard: `if platform != darwin: skip`. | `addons/apple/` ou condicional |
63
+ | `.agents/skills/productivity/notion` | Notion é opcional. Empresário solo pode não usar. | `addons/notion/` |
64
+ | `.agents/skills/productivity/google-workspace` | Gmail/Calendar. Opcional. Composio já cobre. | `addons/google-workspace/` |
65
+ | `.agents/skills/productivity/maps` | Geocode/POIs. Nenhum prestador precisa disso. | `addons/maps/` ou deletar |
66
+ | `.agents/skills/productivity/nano-pdf` | Editar PDFs. Nicho. | Manter mas sem destaque |
67
+ | `.agents/skills/productivity/ocr-and-documents` | Extrair texto de PDFs. Nicho. | Manter mas sem destaque |
68
+ | `.agents/skills/productivity/powerpoint` | Criar .pptx. Raramente usado. | `addons/powerpoint/` |
69
+ | `.agents/squads/advisory-board` | 11 conselheiros (Naval, Thiel, Munger...). **Overkill total** pra empresário solo. Nunca vai usar. | `addons/advisory-board/` ou deletar |
70
+ | `.agents/squads/brand` | 7 especialistas de branding. **Overkill.** `design-marca` já cobre o essencial. | `addons/brand/` |
71
+ | `integracoes/composio/` | Opcional. Só se o empresário pedir. | Manter como está (já é opcional) |
72
+
73
+ ---
74
+
75
+ ## 5. Conflitos e Ambiguidade de Trigger
76
+
77
+ | Par de skills | Conflito | Recomendação |
78
+ |---------------|----------|--------------|
79
+ | `social-content` vs `instagram-carrossel` | Ambas criam conteúdo IG. "Post" vs "Carrossel" é a linha, mas modelo fraco vai confundir. | **Já resolvido no AGENTS.md**: social-content = texto, carrossel = visual. Manter. |
80
+ | `humanizer` vs `stop-slop` | Uma é PT-BR, outra EN. Mas trigger "tira-ia" é ambíguo. | Adicionar alias claro: `humanizer-ptbr` e `stop-slop-en`. |
81
+ | `notion` vs `google-workspace` vs `composio` | Três ways de acessar dados. Notion = banco. Google = email/calendário. Composio = CLI. Modelo fraco vai chamar a errada. | **Cortar notion e google-workspace do core.** Composio já cobre CLI. Se precisar, volta via addon. |
82
+ | `proposta` vs `design-marca` | Proposta já lê `marca/marca.md`. Design-marca extrai de site. Conflito: "extrai minha marca" → design-marca. "faz proposta" → proposta. | OK. Sem conflito real. |
83
+ | `session-start` vs `onboard` | Session-start detecta template e chama onboard. OK. | Sem conflito. |
84
+ | `llm-wiki` vs `memoria/` | Duas formas de knowledge base. llm-wiki é interligada; memoria/ é simples. Modelo fraco vai misturar. | **Cortar llm-wiki.** Memória já resolve. |
85
+
86
+ ---
87
+
88
+ ## 6. Boot Mínimo para Modelo Fraco
89
+
90
+ ### O que o agente DEVE ler no session-start (ordem):
91
+
92
+ 1. `AGENTS.md` (enxugado, ~4.000 tokens)
93
+ 2. Skill `session-start` → lê automaticamente:
94
+ - `memoria/empresa.md`
95
+ - `memoria/projetos.md`
96
+ - `memoria/decisoes.md`
97
+ - `memoria/insights.md`
98
+ - `memoria/ativo.md`
99
+ - `clientes/_index.md`
100
+ - `marca/marca.md`
101
+ - Último `memoria/historico/`
102
+
103
+ ### O que NUNCA carregar no boot:
104
+
105
+ - `README.md` (12.8KB de marketing)
106
+ - `SECURITY.md` (só sob demanda)
107
+ - `.agents/skills/*/SKILL.md` (corpo completo — só description)
108
+ - `.agents/squads/` (só se pedir)
109
+ - `integracoes/` (só se pedir)
110
+ - `llm-wiki`, `popular-web-designs`, `pd-ikigai` (nunca no boot)
111
+ - `apple/*`, `productivity/*` (só se platform check passar)
112
+
113
+ ### Checklist de 10s se AGENTS.md estiver gordo:
114
+
115
+ ```
116
+ [ ] AGENTS.md tem < 6.000 bytes?
117
+ [ ] Tabela "Dia a dia" tem < 8 linhas?
118
+ [ ] Tabela "Skills disponíveis" tem < 8 linhas?
119
+ [ ] Seção "Proativo" tem < 15 linhas?
120
+ [ ] Não há seção de marketing/tutorial?
121
+ [ ] Link pra COMECE-AQUI.md (não duplica)?
122
+ [ ] Total skills listadas no boot: < 8?
123
+ [ ] Squads: 1 linha + link?
124
+ ```
125
+
126
+ ---
127
+
128
+ ## 7. Plano de Enxugamento em 3 Ondas
129
+
130
+ ### Onda 1 (hoje, zero risco de quebrar fluxo comercial)
131
+
132
+ 1. **AGENTS.md**: mover "Formato Seriado" para `conhecimento/formato-seriado.md` (-800 tokens)
133
+ 2. **AGENTS.md**: enxugar tabela "Dia a dia" de 14 para 5 linhas (-400 tokens)
134
+ 3. **AGENTS.md**: enxugar tabela "Skills disponíveis" de 14 para 6 linhas (-300 tokens)
135
+ 4. **AGENTS.md**: enxugar tabela "Squads" de 4 para 1 linha (-150 tokens)
136
+ 5. **Renomear triggers**: `humanizer` → `humanizer-ptbr`, `stop-slop` → `stop-slop-en`
137
+
138
+ **Resultado**: AGENTS.md de ~9.2KB para ~5.5KB (~1.400 tokens economizados no boot)
139
+
140
+ ### Onda 2 (semana, mover para addons)
141
+
142
+ 1. Mover `llm-wiki/` → `addons/llm-wiki/`
143
+ 2. Mover `popular-web-designs/` → `addons/popular-web-designs/`
144
+ 3. Mover `pd-ikigai/` → `addons/pd-ikigai/`
145
+ 4. Mover `apple/` → `addons/apple/` (com guard de platform)
146
+ 5. Mover `productivity/notion/` → `addons/notion/`
147
+ 6. Mover `productivity/google-workspace/` → `addons/google-workspace/`
148
+ 7. Mover `productivity/maps/` → `addons/maps/`
149
+ 8. Mover `productivity/powerpoint/` → `addons/powerpoint/`
150
+ 9. Mover `.agents/squads/advisory-board/` → `addons/advisory-board/`
151
+ 10. Mover `.agents/squads/brand/` → `addons/brand/`
152
+
153
+ **Resultado**: Skills core de 22 para 12. Squads de 3 para 1.
154
+
155
+ ### Onda 3 (só se ICP não usar)
156
+
157
+ 1. Se empresário não usa `ocr-and-documents` → mover pra addon
158
+ 2. Se não usa `nano-pdf` → mover pra addon
159
+ 3. Se não usa `audit` → mover pra addon (já é semanal)
160
+ 4. Se `composio` nunca é pedido → mover pra addon
161
+ 5. Consolidar `session-start` + `session-end` em 1 skill com flags (economiza 1 SKILL.md)
162
+
163
+ ---
164
+
165
+ ## 8. NÃO Recomendo
166
+
167
+ - Apagar `memoria/` ou `session-*` (core do sistema)
168
+ - Fundir `social-content` no `instagram-carrossel` (já decidido: texto vs visual)
169
+ - Inventar features novas
170
+ - Mover `proposta`, `design-marca`, `onboard` (core do prestador)
171
+ - Mudar `clientes/_template` ou `_index` (pipeline funcional)
172
+
173
+ ---
174
+
175
+ ## 5 Decisões — RESOLVIDO (Felipe, 2026-07-24)
176
+
177
+ | # | Proposta Sieve | Decisão produto |
178
+ |---|----------------|-----------------|
179
+ | 1 | Mover llm-wiki + popular-web → addons | **NÃO.** Empresário digital pesquisa e cria site/UI p/ si e clientes. |
180
+ | 2 | Mover squads advisory + brand → addons | **NÃO.** Bônus sob demanda (mentes/branding). |
181
+ | 3 | Mover productivity/* → addons / Composio | **NÃO** (exceto maps). Skill nativa Gmail/Notion/PPTX > CLI Composio no dia a dia. Composio = IG/TikTok/Telegram etc. |
182
+ | 4 | Mover apple → addons | **NÃO.** Manter Reminders/Notes. |
183
+ | 5 | Enxugar AGENTS por KB | **Parcial.** Otimizar **linhas/clareza**, não podar regra útil (engessa o sistema). |
184
+
185
+ **Única corte aprovado:** skill **`maps`** removida (sem encaixe; humano usa Google Maps).
186
+
187
+ Ver também: `memoria/decisoes.md` § Skills & enxugamento.
@@ -0,0 +1,62 @@
1
+ # CLI INVOS — `npx invos`
2
+
3
+ ## Como rodar localmente (dev)
4
+
5
+ ```bash
6
+ # Na raiz do kit invos
7
+ cd /caminho/invos
8
+
9
+ # npm link (registra comando invos global)
10
+ npm link packages/cli
11
+
12
+ # Ou rodar direto
13
+ node packages/cli/bin/invos.js --help
14
+
15
+ # Ou via npm
16
+ npm run invos -- init
17
+ ```
18
+
19
+ ## Comandos MVP
20
+
21
+ | Comando | Descrição |
22
+ |---------|-----------|
23
+ | `invos init [dir]` | Cria novo projeto INVOS (copia kit + lock + symlinks) |
24
+ | `invos install` | Instala skills/scripts em diretório existente |
25
+ | `invos update [--dry-run]` | Atualiza shipped, preserva user data |
26
+ | `invos doctor [--fix]` | Valida instalação |
27
+
28
+ ## Smokes
29
+
30
+ ```bash
31
+ # 1. Init
32
+ node packages/cli/bin/invos.js init /tmp/invos-smoke
33
+
34
+ # 2. Install (em repo existente)
35
+ cd /tmp/invos-smoke
36
+ node /caminho/packages/cli/bin/invos.js install
37
+
38
+ # 3. Doctor
39
+ node /caminho/packages/cli/bin/invos.js doctor
40
+
41
+ # 4. Update (preserva USER)
42
+ echo "USER DATA" > memoria/perfil.md
43
+ node /caminho/packages/cli/bin/invos.js update --dry-run
44
+ ```
45
+
46
+ ## Kit source detection
47
+
48
+ 1. `INVOS_KIT_PATH` env var (se definido)
49
+ 2. Relativo ao bin do CLI (`../../..` quando em `packages/cli/`)
50
+ 3. Fallback: `process.cwd()`
51
+
52
+ ## Publicação
53
+
54
+ ```bash
55
+ # npm login (com conta com acesso)
56
+ npm publish packages/cli
57
+ ```
58
+
59
+ Após publicado:
60
+ ```
61
+ npx invos init meu-negocio
62
+ ```
@@ -0,0 +1,96 @@
1
+ # Hotmart Webhook — INVOS
2
+
3
+ > Endpoint que recebe eventos do Hotmart (2.0.0) após compra do INVOS.
4
+
5
+ ## URL canônica
6
+
7
+ ```
8
+ https://inovadigitalid.com/api/hotmart-invos
9
+ ```
10
+
11
+ ## Como configurar no Hotmart
12
+
13
+ 1. Acesse o **formulário do Hotmart** do produto INVOS
14
+ 2. Aba **Webhook**
15
+ 3. **URL:** `https://inovadigitalid.com/api/hotmart-invos`
16
+ 4. **Versão:** 2.0.0
17
+ 5. **Hottok:** o valor da env `HOTMART_HOTTOK` (opcional — gera 503 sem ele em produção)
18
+ 6. **Eventos marcados:**
19
+ - ✅ PURCHASE_APPROVED
20
+ - ✅ COMPLETE (se houver)
21
+ - ✅ REFUNDED
22
+ - ✅ CHARGEBACK
23
+
24
+ ## Eventos tratados
25
+
26
+ | Evento | Ação |
27
+ |--------|------|
28
+ | `PURCHASE_APPROVED` | Extrai buyer email/name, envia e-mail com instruções de instalação via Resend |
29
+ | `COMPLETE` | Mesmo que PURCHASE_APPROVED |
30
+ | `REFUNDED` | Log com tag `revoke` |
31
+ | `CHARGEBACK` | Log com tag `revoke` |
32
+
33
+ ## Validação
34
+
35
+ - Header `X-Hottok` **ou** query param `hottok` — se `HOTMART_HOTTOK` estiver setado, o valor deve bater
36
+ - Se `HOTMART_HOTTOK` estiver vazio em produção (`VERCEL_ENV=production`): **503**
37
+ - Se vazio em dev: aceita com warning implícito
38
+
39
+ ## E-mail: Hotmart vs Resend
40
+
41
+ **Não precisa Resend** se a Hotmart já envia e-mail de entrega pós-compra (área de membros / conteúdo do produto).
42
+ Configure o **conteúdo do e-mail da Hotmart** com: link do repo + “abra no agente e diga Segue o COMECE-AQUI”.
43
+
44
+ Resend no webhook só se quiser **segundo** e-mail técnico nosso (`INVOS_SEND_EMAIL=1` + `RESEND_API_KEY`).
45
+
46
+ ## Env vars
47
+
48
+ | Var | Obrigatória | Descrição |
49
+ |-----|-------------|-----------|
50
+ | `HOTMART_HOTTOK` | Recomendado | Token do form Hotmart (header/body) |
51
+ | `INVOS_SEND_EMAIL` | Não | Só `1` se quiser e-mail via Resend (default: off) |
52
+ | `RESEND_API_KEY` | Não | Só com INVOS_SEND_EMAIL=1 |
53
+ | `RESEND_FROM` | Não | Remetente Resend |
54
+ | `INVOS_GITHUB_URL` | Não | Link no e-mail Resend (default: github.com/felipenalves/invos) |
55
+
56
+ ## Body esperado (Hotmart 2.0.0)
57
+
58
+ ```json
59
+ {
60
+ "id": "evt_abc123",
61
+ "event": "PURCHASE_APPROVED",
62
+ "data": {
63
+ "buyer": { "email": "comprador@email.com", "name": "João" },
64
+ "product": { "id": 12345, "name": "INVOS — Business Memory for AI Agents" },
65
+ "purchase": { "status": "approved", "transaction": "tx_abc" }
66
+ }
67
+ }
68
+ ```
69
+
70
+ ## Response
71
+
72
+ ```json
73
+ { "ok": true, "event": "PURCHASE_APPROVED" }
74
+ ```
75
+
76
+ Sempre 200 (a menos que validação falhe). Hotmart espera resposta rápida.
77
+
78
+ ## Logs
79
+
80
+ Payload é logado com email/name mascarados (`***@***`). Eventos financeiros (REFUNDED/CHARGEBACK) são logados com tag `revoke`.
81
+
82
+ ## Teste local
83
+
84
+ ```bash
85
+ curl -X POST http://localhost:3000/api/hotmart-invos \
86
+ -H "Content-Type: application/json" \
87
+ -H "X-Hottok: meu-hottok-dev" \
88
+ -d '{
89
+ "id": "test_1",
90
+ "event": "PURCHASE_APPROVED",
91
+ "data": {
92
+ "buyer": { "email": "teste@teste.com", "name": "Teste" },
93
+ "product": { "id": 999, "name": "INVOS Dev" }
94
+ }
95
+ }'
96
+ ```
@@ -0,0 +1,35 @@
1
+ # Lab — Testar CLI como comprador
2
+
3
+ > Sandbox isolado pra testar o fluxo `invos init/install/update/doctor`.
4
+
5
+ ## Sandbox
6
+
7
+ ```
8
+ /Users/felipealves/FelipeOS/projetos/Felipe.aiOS/projetos/invos-TEST
9
+ ```
10
+
11
+ ## Rodar
12
+
13
+ ```bash
14
+ bash /Users/felipealves/FelipeOS/projetos/Felipe.aiOS/projetos/invos-TEST/scripts/lab-user-flow.sh
15
+ ```
16
+
17
+ O script:
18
+
19
+ 1. Cria `user-home/` via `invos init`
20
+ 2. Roda `invos doctor` (valida 6/6 files, 7/7 dirs)
21
+ 3. Simula dados do usuário (USER MARKER)
22
+ 4. Roda `invos update` e verifica que USER foi preservado
23
+ 5. Cria `user-existing-app/` com README.md
24
+ 6. Roda `invos install` e verifica que README foi preservado
25
+ 7. Roda `doctor` no existing app
26
+
27
+ Exit 0 = tudo ok.
28
+
29
+ ## Reset
30
+
31
+ ```bash
32
+ bash /Users/felipealves/FelipeOS/projetos/Felipe.aiOS/projetos/invos-TEST/scripts/lab-reset.sh
33
+ ```
34
+
35
+ Remove `user-home/` e `user-existing-app/`.
@@ -0,0 +1,264 @@
1
+ # PRD — INVOS CLI (`npx invos`)
2
+
3
+ > Product Requirements Document · Kit Privado · CLI-first
4
+
5
+ ---
6
+
7
+ ## 1. Visão
8
+
9
+ INVOS = **cérebro do negócio** (intelligence) com 5 raios:
10
+
11
+ | Raio | Função |
12
+ |------|--------|
13
+ | **Oferta** | Proposta, precificação, escopo |
14
+ | **Aquisição** | Pipeline, clientes, leads, conteúdo |
15
+ | **Vendas** | Follow-up, fechamento, objeção |
16
+ | **Entrega** | Projetos, arquivos, revisões, prazos |
17
+ | **Operação** | Memória, regras, sessões, histórico |
18
+
19
+ Pasta = **SaaS de arquivos**. O CLI é o orquestrador que instala, atualiza e diagnostica o sistema.
20
+
21
+ ## 2. Modelo de distribuição
22
+
23
+ - **Kit privado** (pago via Hotmart ou similar)
24
+ - Freemium futuro possível (kit público limitado)
25
+ - CLI = caminho **principal** de acesso
26
+ - Checkout integrado: landing page + entrega automática via Hotmart/GitHub token
27
+
28
+ ## 3. Comandos
29
+
30
+ ### 3.1 `npx invos init`
31
+
32
+ Cria novo projeto INVOS do zero.
33
+
34
+ ```bash
35
+ npx invos init [--name <slug>] [--dir <path>]
36
+ ```
37
+
38
+ - Gera estrutura completa: `AGENTS.md`, `MEMORY.md`, `SECURITY.md`, `.env.example`, `COMECE-AQUI.md`, `memoria/`, `marca/`, `clientes/`, `conteudo/`, `scripts/`, `.agents/skills/`, `.agents/squads/`
39
+ - `--name`: slug do negócio (ex: `ana-studio`)
40
+ - `--dir`: diretório destino (default: `./<name>`)
41
+ - Pós-init: `npx invos doctor` para verificar
42
+
43
+ ### 3.2 `npx invos install`
44
+
45
+ Instala INVOS em **repo existente**. Inspirado em `npx aiox-core install`.
46
+
47
+ ```bash
48
+ cd /meu-projeto && npx invos install
49
+ ```
50
+
51
+ - Adiciona `.agents/skills/`, `.agents/squads/`, `memoria/` (se ausente), `scripts/`, `marca/`
52
+ - Cria `AGENTS.md` com `@AGENTS.md` se `CLAUDE.md` existe (link simbólico de documentação)
53
+ - Cria `INVOS-LOCK.json`
54
+ - **Nunca** sobrescreve: `memoria/` preenchida, `clientes/*` (exceto `_template`), `marca/` com conteúdo real, `conteudo/` real, `.env`
55
+
56
+ ### 3.3 `npx invos update`
57
+
58
+ Atualiza sistema e skills.
59
+
60
+ **Sobe (shipped → local):**
61
+
62
+ | Sobe | Não sobe |
63
+ |------|----------|
64
+ | `.agents/skills/*` | `memoria/*` (dados do usuário) |
65
+ | `.agents/squads/*` | `clientes/<slug>/*` (exceto `_template`) |
66
+ | `AGENTS.md` (shipped) | `marca/marca.md` se preenchido |
67
+ | `scripts/*` | `conteudo/*` real |
68
+ | `COMECE-AQUI.md` | `.env` |
69
+ | `MEMORY.md` | `clientes/_index.md` |
70
+ | `SECURITY.md` | |
71
+ | `templates/` (`clientes/_template`, `marca/assets/`) | |
72
+
73
+ **Política de AGENTS.md custom:**
74
+
75
+ Se o AGENTS.md do usuário divergiu do shipped:
76
+ 1. Renomeia shipped para `AGENTS.md.shipped.bak`
77
+ 2. Warn: `⚠️ AGENTS.md customizado — backup em AGENTS.md.shipped.bak`
78
+ 3. Oferece opções: `replace` (sobrescreve) | `skip` (mantém custom)
79
+
80
+ Sem machineId, sem rastreamento. Apenas diff contra `AGENTS.md.shipped.sha256` no lock.
81
+
82
+ ### 3.4 `npx invos doctor`
83
+
84
+ Diagnóstico do sistema INVOS.
85
+
86
+ ```bash
87
+ npx invos doctor [--fix]
88
+ ```
89
+
90
+ - Verifica estrutura de pastas essenciais
91
+ - Verifica skills presentes (vs manifesto)
92
+ - Verifica lock file
93
+ - `--fix`: tenta corrigir problemas comuns (pastas faltando, symlinks quebrados)
94
+
95
+ ### 3.5 `npx invos uninstall`
96
+
97
+ Remove estrutura INVOS do projeto.
98
+
99
+ ```bash
100
+ npx invos uninstall [--force]
101
+ ```
102
+
103
+ - Remove `.agents/`, `memoria/`, `marca/`, `clientes/`, `conteudo/`, `scripts/`
104
+ - Restaura `INVOS-LOCK.json` backup se existir
105
+ - `--force`: não pede confirmação
106
+
107
+ ### 3.6 `npx invos pack` (fase 2)
108
+
109
+ Empacota skills ou o kit completo para distribuição.
110
+
111
+ ```bash
112
+ npx invos pack [--output <dir>] [--scope skills|kit]
113
+ ```
114
+
115
+ - Escopo `skills`: empacota `.agents/skills/` para reuso
116
+ - Escopo `kit`: snapshot completo do kit (sem dados do usuário)
117
+
118
+ ## 4. Manifesto e lock
119
+
120
+ ### 4.1 `INVOS.json` (manifesto PRODUCT / SEED / USER)
121
+
122
+ ```json
123
+ {
124
+ "version": "1.0.0",
125
+ "manifest": "PRODUCT",
126
+ "product": {
127
+ "name": "invos",
128
+ "type": "kit",
129
+ "distribution": "private",
130
+ "checkout": "hotmart+github"
131
+ },
132
+ "seed": {
133
+ "skills": ["session-start", "session-end", "session-checkpoint", "onboard",
134
+ "proposta", "design-marca", "social-content", "instagram-carrossel",
135
+ "humanizer-ptbr", "stop-slop", "audit", "pd-ikigai", "notion"],
136
+ "squads": ["instagram-carrossel", "advisory-board", "brand", "hormozi-squad"],
137
+ "templates": ["clientes/_template", "marca/assets"]
138
+ },
139
+ "user": {
140
+ "installedAt": "2026-07-24",
141
+ "projectDir": ".",
142
+ "branch": "develop"
143
+ }
144
+ }
145
+ ```
146
+
147
+ Três seções:
148
+ - **PRODUCT**: versão, tipo, distribuição (só no repo oficial)
149
+ - **SEED**: o que o `install`/`init` planta
150
+ - **USER**: metadados da instalação local (gerado pelo CLI)
151
+
152
+ ### 4.2 `INVOS-LOCK.json`
153
+
154
+ ```json
155
+ {
156
+ "version": "1.0.0",
157
+ "shippedSha": {
158
+ "AGENTS.md": "abc123...",
159
+ ".agents/skills/session-start/SKILL.md": "def456..."
160
+ },
161
+ "custom": {
162
+ "AGENTS.md": "skip" // ou "replace"
163
+ },
164
+ "installedAt": "2026-07-24T10:00:00Z",
165
+ "updatedAt": null
166
+ }
167
+ ```
168
+
169
+ - `shippedSha`: sha256 de cada arquivo shipped para diff no update
170
+ - `custom`: decisão do usuário sobre arquivos divergentes
171
+ - Usado por `doctor` e `update`
172
+
173
+ ## 5. Multi-harness
174
+
175
+ Skills canônicas vivem em `.agents/skills/`. Para Claude Code, cria-se `.claude/skills/` com symlinks:
176
+
177
+ ```
178
+ .claude/skills/session-start -> ../../.agents/skills/session-start
179
+ .claude/skills/session-end -> ../../.agents/skills/session-end
180
+ ```
181
+
182
+ Outros harness (Cursor, Gemini, Codex) leem de `.agents/skills/` diretamente.
183
+
184
+ ## 6. Fluxos
185
+
186
+ ### 6.1 Primeira vez (comprou)
187
+
188
+ ```
189
+ Compra na Hotmart
190
+ → recebe link do GitHub (token automático)
191
+ → npx invos init --name meu-negocio
192
+ → npx invos doctor
193
+ → Pronto!
194
+ ```
195
+
196
+ ### 6.2 Já tem projeto
197
+
198
+ ```
199
+ cd /meu-projeto-existente
200
+ npx invos install
201
+ → adiciona skills + memoria + scripts
202
+ → não mexe em dados existentes
203
+ npx invos doctor
204
+ ```
205
+
206
+ ### 6.3 Atualizar
207
+
208
+ ```
209
+ npx invos update
210
+ → baixa último shipped
211
+ → preserva USER
212
+ → avisa se AGENTS.md custom
213
+ ```
214
+
215
+ ### 6.4 Checkout integrado (fase 2)
216
+
217
+ Landing page INVOS → compra Hotmart → gatilho webhook → GitHub release + token → `npx invos init` ou `install` pronto na máquina do comprador.
218
+
219
+ ## 7. MVP (2 semanas)
220
+
221
+ | O que | Entrega |
222
+ |-------|---------|
223
+ | `npx invos init` | Gera estrutura completa |
224
+ | `npx invos install` | Instala em repo existente |
225
+ | `npx invos doctor` | Valida instalação |
226
+ | `npx invos update` | Atualiza skills shipped |
227
+ | `INVOS.json` + `INVOS-LOCK.json` | Manifesto e lock |
228
+ | Multi-harness | Symlinks `.claude/skills/` |
229
+ | AGENTS.md custom policy | `.bak` + skip/replace |
230
+
231
+ **Fora do MVP:**
232
+
233
+ - `npx invos uninstall`
234
+ - `npx invos pack`
235
+ - Checkout LP integrado (apenas MVP de CLI)
236
+ - Freemium público
237
+ - `npx invos upgrade` (para versões pagas)
238
+
239
+ ## 8. Non-goals
240
+
241
+ - **Não é framework de agentes** — não substitui OpenSquad, LangChain, CrewAI
242
+ (INVOS inspira version pin + kit update, mas não vira clone do opensquad)
243
+ - **Não é CMS** — conteúdo é markdown, não banco
244
+ - **Não é SaaS multi-tenant** — cada instalação é independente
245
+ - **Não tem telemetria** — sem machineId, sem tracking
246
+ - **Não substitui Hotmart** — CLI não gerencia pagamentos; só recebe token
247
+
248
+ ## 9. Critérios de aceite
249
+
250
+ | # | Critério | Como verificar |
251
+ |---|----------|----------------|
252
+ | 1 | `npx invos init --name x` gera `x/` com estrutura completa | `ls x/` mostra AGENTS.md, MEMORY.md, memoria/, .agents/ |
253
+ | 2 | `npx invos install` em repo vazio adiciona skills sem quebrar nada | `git status` mostra novos arquivos, nenhum removido |
254
+ | 3 | `npx invos doctor` retorna exit 0 em kit completo | `echo $?` = 0 |
255
+ | 4 | `npx invos update` não sobrescreve `memoria/perfil.md` preenchido | `cat memoria/perfil.md` mantém conteúdo |
256
+ | 5 | AGENTS.md custom gera `.bak` + warn | `ls AGENTS.md.shipped.bak` existe |
257
+ | 6 | Symlinks `.claude/skills/*` apontam para `.agents/skills/*` | `readlink .claude/skills/session-start` = `../../.agents/skills/session-start` |
258
+ | 7 | Lock file contém sha256 dos shipped | `cat INVOS-LOCK.json` mostra `shippedSha` |
259
+
260
+ ## 10. Referência
261
+
262
+ - OpenSquad (inspiração version pin): https://www.npmjs.com/package/opensquad
263
+ - AIOX `npx aiox-core install` (inspiração install em repo existente)
264
+ - INVOS atual: `projetos/invos-TEST` (sandbox de validação)