arkaos 2.0.0-alpha.1

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 (486) hide show
  1. package/CONSTITUTION.md +81 -0
  2. package/LICENSE +21 -0
  3. package/README.md +154 -0
  4. package/VERSION +1 -0
  5. package/arka/SKILL.md +134 -0
  6. package/bin/arkaos +107 -0
  7. package/config/constitution.yaml +168 -0
  8. package/config/hooks/post-tool-use-v2.sh +116 -0
  9. package/config/hooks/post-tool-use.sh +188 -0
  10. package/config/hooks/pre-compact-v2.sh +43 -0
  11. package/config/hooks/pre-compact.sh +99 -0
  12. package/config/hooks/user-prompt-submit-v2.sh +119 -0
  13. package/config/hooks/user-prompt-submit.sh +312 -0
  14. package/core/__init__.py +3 -0
  15. package/core/__pycache__/__init__.cpython-313.pyc +0 -0
  16. package/core/agents/__init__.py +14 -0
  17. package/core/agents/__pycache__/__init__.cpython-313.pyc +0 -0
  18. package/core/agents/__pycache__/loader.cpython-313.pyc +0 -0
  19. package/core/agents/__pycache__/registry_gen.cpython-313.pyc +0 -0
  20. package/core/agents/__pycache__/schema.cpython-313.pyc +0 -0
  21. package/core/agents/__pycache__/validator.cpython-313.pyc +0 -0
  22. package/core/agents/loader.py +88 -0
  23. package/core/agents/registry_gen.py +118 -0
  24. package/core/agents/schema.py +265 -0
  25. package/core/agents/validator.py +141 -0
  26. package/core/conclave/__init__.py +12 -0
  27. package/core/conclave/__pycache__/__init__.cpython-313.pyc +0 -0
  28. package/core/conclave/__pycache__/advisor_db.cpython-313.pyc +0 -0
  29. package/core/conclave/__pycache__/display.cpython-313.pyc +0 -0
  30. package/core/conclave/__pycache__/matcher.cpython-313.pyc +0 -0
  31. package/core/conclave/__pycache__/persistence.cpython-313.pyc +0 -0
  32. package/core/conclave/__pycache__/profiler.cpython-313.pyc +0 -0
  33. package/core/conclave/__pycache__/prompts.cpython-313.pyc +0 -0
  34. package/core/conclave/__pycache__/schema.cpython-313.pyc +0 -0
  35. package/core/conclave/advisor_db.py +373 -0
  36. package/core/conclave/display.py +104 -0
  37. package/core/conclave/matcher.py +104 -0
  38. package/core/conclave/persistence.py +61 -0
  39. package/core/conclave/profiler.py +298 -0
  40. package/core/conclave/prompts.py +77 -0
  41. package/core/conclave/schema.py +132 -0
  42. package/core/governance/__init__.py +5 -0
  43. package/core/governance/__pycache__/__init__.cpython-313.pyc +0 -0
  44. package/core/governance/__pycache__/constitution.cpython-313.pyc +0 -0
  45. package/core/governance/constitution.py +152 -0
  46. package/core/registry/__init__.py +1 -0
  47. package/core/registry/__pycache__/__init__.cpython-313.pyc +0 -0
  48. package/core/registry/__pycache__/generator.cpython-313.pyc +0 -0
  49. package/core/registry/generator.py +199 -0
  50. package/core/runtime/__init__.py +6 -0
  51. package/core/runtime/__pycache__/__init__.cpython-313.pyc +0 -0
  52. package/core/runtime/__pycache__/base.cpython-313.pyc +0 -0
  53. package/core/runtime/__pycache__/claude_code.cpython-313.pyc +0 -0
  54. package/core/runtime/__pycache__/codex_cli.cpython-313.pyc +0 -0
  55. package/core/runtime/__pycache__/cursor.cpython-313.pyc +0 -0
  56. package/core/runtime/__pycache__/gemini_cli.cpython-313.pyc +0 -0
  57. package/core/runtime/__pycache__/registry.cpython-313.pyc +0 -0
  58. package/core/runtime/__pycache__/subagent.cpython-313.pyc +0 -0
  59. package/core/runtime/base.py +143 -0
  60. package/core/runtime/claude_code.py +104 -0
  61. package/core/runtime/codex_cli.py +71 -0
  62. package/core/runtime/cursor.py +71 -0
  63. package/core/runtime/gemini_cli.py +68 -0
  64. package/core/runtime/registry.py +86 -0
  65. package/core/runtime/subagent.py +201 -0
  66. package/core/specs/__init__.py +10 -0
  67. package/core/specs/__pycache__/__init__.cpython-313.pyc +0 -0
  68. package/core/specs/__pycache__/manager.cpython-313.pyc +0 -0
  69. package/core/specs/__pycache__/schema.cpython-313.pyc +0 -0
  70. package/core/specs/manager.py +164 -0
  71. package/core/specs/schema.py +199 -0
  72. package/core/squads/__init__.py +7 -0
  73. package/core/squads/__pycache__/__init__.cpython-313.pyc +0 -0
  74. package/core/squads/__pycache__/loader.cpython-313.pyc +0 -0
  75. package/core/squads/__pycache__/registry.cpython-313.pyc +0 -0
  76. package/core/squads/__pycache__/schema.cpython-313.pyc +0 -0
  77. package/core/squads/loader.py +40 -0
  78. package/core/squads/registry.py +145 -0
  79. package/core/squads/schema.py +93 -0
  80. package/core/synapse/__init__.py +11 -0
  81. package/core/synapse/__pycache__/__init__.cpython-313.pyc +0 -0
  82. package/core/synapse/__pycache__/cache.cpython-313.pyc +0 -0
  83. package/core/synapse/__pycache__/engine.cpython-313.pyc +0 -0
  84. package/core/synapse/__pycache__/layers.cpython-313.pyc +0 -0
  85. package/core/synapse/cache.py +82 -0
  86. package/core/synapse/engine.py +184 -0
  87. package/core/synapse/layers.py +441 -0
  88. package/core/tasks/__init__.py +6 -0
  89. package/core/tasks/__pycache__/__init__.cpython-313.pyc +0 -0
  90. package/core/tasks/__pycache__/manager.cpython-313.pyc +0 -0
  91. package/core/tasks/__pycache__/schema.cpython-313.pyc +0 -0
  92. package/core/tasks/manager.py +150 -0
  93. package/core/tasks/schema.py +108 -0
  94. package/core/workflow/__init__.py +10 -0
  95. package/core/workflow/__pycache__/__init__.cpython-313.pyc +0 -0
  96. package/core/workflow/__pycache__/engine.cpython-313.pyc +0 -0
  97. package/core/workflow/__pycache__/loader.cpython-313.pyc +0 -0
  98. package/core/workflow/__pycache__/schema.cpython-313.pyc +0 -0
  99. package/core/workflow/engine.py +216 -0
  100. package/core/workflow/loader.py +28 -0
  101. package/core/workflow/schema.py +129 -0
  102. package/departments/brand/SKILL.md +85 -0
  103. package/departments/brand/agents/brand-director.yaml +77 -0
  104. package/departments/brand/agents/brand-strategist.md +182 -0
  105. package/departments/brand/agents/brand-strategist.yaml +58 -0
  106. package/departments/brand/agents/creative-director.md +149 -0
  107. package/departments/brand/agents/motion-designer.md +113 -0
  108. package/departments/brand/agents/ux-designer.yaml +60 -0
  109. package/departments/brand/agents/visual-designer.md +187 -0
  110. package/departments/brand/agents/visual-designer.yaml +58 -0
  111. package/departments/brand/references/brand-creation-guide.md +559 -0
  112. package/departments/brand/scripts/provider-call.sh +262 -0
  113. package/departments/brand/skills/archetype-finder/SKILL.md +18 -0
  114. package/departments/brand/skills/colors/SKILL.md +18 -0
  115. package/departments/brand/skills/design-system/SKILL.md +18 -0
  116. package/departments/brand/skills/identity-system/SKILL.md +18 -0
  117. package/departments/brand/skills/logo-brief/SKILL.md +18 -0
  118. package/departments/brand/skills/mockup-generate/SKILL.md +18 -0
  119. package/departments/brand/skills/naming-evaluate/SKILL.md +50 -0
  120. package/departments/brand/skills/positioning-statement/SKILL.md +18 -0
  121. package/departments/brand/skills/primal-audit/SKILL.md +43 -0
  122. package/departments/brand/skills/ux-audit/SKILL.md +18 -0
  123. package/departments/brand/skills/voice-guide/SKILL.md +18 -0
  124. package/departments/brand/skills/wireframe/SKILL.md +18 -0
  125. package/departments/brand/squad.yaml +39 -0
  126. package/departments/brand/workflows/identity.yaml +113 -0
  127. package/departments/brand/workflows/naming.yaml +58 -0
  128. package/departments/community/SKILL.md +62 -0
  129. package/departments/community/agents/community-manager.yaml +57 -0
  130. package/departments/community/agents/community-strategist.yaml +74 -0
  131. package/departments/community/agents/engagement-designer.yaml +56 -0
  132. package/departments/community/skills/ai-community/SKILL.md +18 -0
  133. package/departments/community/skills/betting-setup/SKILL.md +18 -0
  134. package/departments/community/skills/business-model/SKILL.md +53 -0
  135. package/departments/community/skills/content-calendar/SKILL.md +18 -0
  136. package/departments/community/skills/events-plan/SKILL.md +18 -0
  137. package/departments/community/skills/gamification-design/SKILL.md +18 -0
  138. package/departments/community/skills/growth-plan/SKILL.md +18 -0
  139. package/departments/community/skills/metrics-track/SKILL.md +18 -0
  140. package/departments/community/skills/moderation/SKILL.md +18 -0
  141. package/departments/community/skills/monetize-plan/SKILL.md +18 -0
  142. package/departments/community/skills/niche-setup/SKILL.md +18 -0
  143. package/departments/community/skills/onboarding-flow/SKILL.md +18 -0
  144. package/departments/community/skills/platform-select/SKILL.md +18 -0
  145. package/departments/community/skills/retention-system/SKILL.md +48 -0
  146. package/departments/community/squad.yaml +32 -0
  147. package/departments/community/workflows/setup.yaml +62 -0
  148. package/departments/content/SKILL.md +65 -0
  149. package/departments/content/agents/content-strategist.yaml +74 -0
  150. package/departments/content/agents/repurpose-distributor.yaml +57 -0
  151. package/departments/content/agents/scriptwriter.yaml +56 -0
  152. package/departments/content/agents/viral-engineer.yaml +56 -0
  153. package/departments/content/skills/ai-workflow/SKILL.md +18 -0
  154. package/departments/content/skills/analytics/SKILL.md +18 -0
  155. package/departments/content/skills/calendar/SKILL.md +18 -0
  156. package/departments/content/skills/content-system/SKILL.md +75 -0
  157. package/departments/content/skills/hook-write/SKILL.md +43 -0
  158. package/departments/content/skills/monetization-plan/SKILL.md +18 -0
  159. package/departments/content/skills/newsletter-write/SKILL.md +18 -0
  160. package/departments/content/skills/platform-optimize/SKILL.md +18 -0
  161. package/departments/content/skills/repurpose-plan/SKILL.md +18 -0
  162. package/departments/content/skills/script-structure/SKILL.md +18 -0
  163. package/departments/content/skills/short-form/SKILL.md +18 -0
  164. package/departments/content/skills/thumbnail-package/SKILL.md +18 -0
  165. package/departments/content/skills/viral-design/SKILL.md +45 -0
  166. package/departments/content/skills/youtube-strategy/SKILL.md +18 -0
  167. package/departments/content/squad.yaml +39 -0
  168. package/departments/content/workflows/viral.yaml +99 -0
  169. package/departments/dev/SKILL.md +135 -0
  170. package/departments/dev/agents/analyst.md +184 -0
  171. package/departments/dev/agents/architect.md +184 -0
  172. package/departments/dev/agents/architect.yaml +74 -0
  173. package/departments/dev/agents/backend-dev.yaml +70 -0
  174. package/departments/dev/agents/cto.md +140 -0
  175. package/departments/dev/agents/cto.yaml +77 -0
  176. package/departments/dev/agents/dba.yaml +72 -0
  177. package/departments/dev/agents/devops-eng.yaml +72 -0
  178. package/departments/dev/agents/devops.md +204 -0
  179. package/departments/dev/agents/frontend-dev.md +213 -0
  180. package/departments/dev/agents/frontend-dev.yaml +71 -0
  181. package/departments/dev/agents/qa-eng.yaml +72 -0
  182. package/departments/dev/agents/qa.md +231 -0
  183. package/departments/dev/agents/security-eng.yaml +72 -0
  184. package/departments/dev/agents/security.md +174 -0
  185. package/departments/dev/agents/senior-dev.md +177 -0
  186. package/departments/dev/agents/tech-lead.md +188 -0
  187. package/departments/dev/agents/tech-lead.yaml +72 -0
  188. package/departments/dev/skills/adversarial-review/SKILL.md +117 -0
  189. package/departments/dev/skills/agent-design/SKILL.md +127 -0
  190. package/departments/dev/skills/agent-workflow/SKILL.md +116 -0
  191. package/departments/dev/skills/ai-assisted-dev/SKILL.md +18 -0
  192. package/departments/dev/skills/ai-security/SKILL.md +112 -0
  193. package/departments/dev/skills/api-design/SKILL.md +59 -0
  194. package/departments/dev/skills/architecture-design/SKILL.md +89 -0
  195. package/departments/dev/skills/changelog/SKILL.md +110 -0
  196. package/departments/dev/skills/ci-cd-pipeline/SKILL.md +130 -0
  197. package/departments/dev/skills/clean-code-review/SKILL.md +65 -0
  198. package/departments/dev/skills/code-review/SKILL.md +18 -0
  199. package/departments/dev/skills/codebase-onboard/SKILL.md +109 -0
  200. package/departments/dev/skills/db-design/SKILL.md +18 -0
  201. package/departments/dev/skills/db-schema/SKILL.md +130 -0
  202. package/departments/dev/skills/ddd-model/SKILL.md +18 -0
  203. package/departments/dev/skills/dependency-audit/SKILL.md +118 -0
  204. package/departments/dev/skills/deploy/SKILL.md +18 -0
  205. package/departments/dev/skills/devops-pipeline/SKILL.md +18 -0
  206. package/departments/dev/skills/docs/SKILL.md +18 -0
  207. package/departments/dev/skills/env-secrets/SKILL.md +89 -0
  208. package/departments/dev/skills/incident/SKILL.md +125 -0
  209. package/departments/dev/skills/mcp/SKILL.md +106 -0
  210. package/departments/dev/skills/mcp-builder/SKILL.md +121 -0
  211. package/departments/dev/skills/observability/SKILL.md +119 -0
  212. package/departments/dev/skills/onboard/SKILL.md +389 -0
  213. package/departments/dev/skills/onboard/scripts/detect-stack.py +472 -0
  214. package/departments/dev/skills/performance-audit/SKILL.md +49 -0
  215. package/departments/dev/skills/performance-profiler/SKILL.md +128 -0
  216. package/departments/dev/skills/rag-architect/SKILL.md +125 -0
  217. package/departments/dev/skills/red-team/SKILL.md +112 -0
  218. package/departments/dev/skills/refactor-plan/SKILL.md +18 -0
  219. package/departments/dev/skills/release/SKILL.md +130 -0
  220. package/departments/dev/skills/research/SKILL.md +18 -0
  221. package/departments/dev/skills/runbook/SKILL.md +103 -0
  222. package/departments/dev/skills/scaffold/SKILL.md +249 -0
  223. package/departments/dev/skills/security-audit/SKILL.md +68 -0
  224. package/departments/dev/skills/skill-audit/SKILL.md +96 -0
  225. package/departments/dev/skills/spec/SKILL.md +218 -0
  226. package/departments/dev/skills/stack-check/SKILL.md +18 -0
  227. package/departments/dev/skills/tdd-cycle/SKILL.md +56 -0
  228. package/departments/dev/skills/tech-debt/SKILL.md +100 -0
  229. package/departments/dev/squad.yaml +62 -0
  230. package/departments/dev/workflows/debug.yaml +63 -0
  231. package/departments/dev/workflows/feature.yaml +129 -0
  232. package/departments/dev/workflows/refactor.yaml +64 -0
  233. package/departments/ecom/SKILL.md +39 -0
  234. package/departments/ecom/agents/commerce-engineer.yaml +58 -0
  235. package/departments/ecom/agents/cro-specialist.yaml +56 -0
  236. package/departments/ecom/agents/ecom-director.yaml +73 -0
  237. package/departments/ecom/agents/retention-manager.yaml +59 -0
  238. package/departments/ecom/skills/analytics/SKILL.md +18 -0
  239. package/departments/ecom/skills/cart-recovery/SKILL.md +18 -0
  240. package/departments/ecom/skills/cro-optimize/SKILL.md +58 -0
  241. package/departments/ecom/skills/customer-journey/SKILL.md +18 -0
  242. package/departments/ecom/skills/fulfillment-plan/SKILL.md +18 -0
  243. package/departments/ecom/skills/marketplace-manage/SKILL.md +18 -0
  244. package/departments/ecom/skills/pricing-strategy/SKILL.md +18 -0
  245. package/departments/ecom/skills/product-launch/SKILL.md +18 -0
  246. package/departments/ecom/skills/rfm-segment/SKILL.md +44 -0
  247. package/departments/ecom/skills/social-commerce/SKILL.md +18 -0
  248. package/departments/ecom/skills/store-audit/SKILL.md +18 -0
  249. package/departments/ecom/skills/subscription-model/SKILL.md +18 -0
  250. package/departments/ecom/squad.yaml +39 -0
  251. package/departments/ecom/workflows/product-page.yaml +62 -0
  252. package/departments/ecommerce/SKILL.md +363 -0
  253. package/departments/ecommerce/agents/ecommerce-manager.md +91 -0
  254. package/departments/finance/SKILL.md +37 -0
  255. package/departments/finance/agents/cfo.md +85 -0
  256. package/departments/finance/agents/cfo.yaml +77 -0
  257. package/departments/finance/agents/financial-analyst.yaml +57 -0
  258. package/departments/finance/agents/investment-strategist.yaml +58 -0
  259. package/departments/finance/skills/budget-plan/SKILL.md +18 -0
  260. package/departments/finance/skills/cashflow-forecast/SKILL.md +18 -0
  261. package/departments/finance/skills/ciso-advisor/SKILL.md +113 -0
  262. package/departments/finance/skills/financial-model/SKILL.md +70 -0
  263. package/departments/finance/skills/pitch-deck/SKILL.md +18 -0
  264. package/departments/finance/skills/scenario-analysis/SKILL.md +18 -0
  265. package/departments/finance/skills/unit-economics/SKILL.md +44 -0
  266. package/departments/finance/skills/valuation-model/SKILL.md +18 -0
  267. package/departments/finance/squad.yaml +37 -0
  268. package/departments/finance/workflows/cashflow.yaml +47 -0
  269. package/departments/finance/workflows/model.yaml +83 -0
  270. package/departments/kb/SKILL.md +38 -0
  271. package/departments/kb/agents/knowledge-curator.yaml +60 -0
  272. package/departments/kb/agents/knowledge-director.yaml +72 -0
  273. package/departments/kb/agents/research-analyst.yaml +58 -0
  274. package/departments/kb/skills/ai-research/SKILL.md +18 -0
  275. package/departments/kb/skills/competitive-intel/SKILL.md +18 -0
  276. package/departments/kb/skills/knowledge-review/SKILL.md +18 -0
  277. package/departments/kb/skills/learn-content/SKILL.md +18 -0
  278. package/departments/kb/skills/moc-create/SKILL.md +18 -0
  279. package/departments/kb/skills/persona-build/SKILL.md +18 -0
  280. package/departments/kb/skills/research-plan/SKILL.md +51 -0
  281. package/departments/kb/skills/search-kb/SKILL.md +18 -0
  282. package/departments/kb/skills/source-evaluate/SKILL.md +18 -0
  283. package/departments/kb/skills/taxonomy-manage/SKILL.md +18 -0
  284. package/departments/kb/skills/write-as-persona/SKILL.md +18 -0
  285. package/departments/kb/skills/zettelkasten-process/SKILL.md +56 -0
  286. package/departments/kb/squad.yaml +34 -0
  287. package/departments/kb/workflows/learn.yaml +63 -0
  288. package/departments/knowledge/SKILL.md +474 -0
  289. package/departments/knowledge/agents/knowledge-curator.md +89 -0
  290. package/departments/knowledge/scripts/kb-check-capabilities.sh +143 -0
  291. package/departments/knowledge/scripts/kb-cleanup.sh +135 -0
  292. package/departments/knowledge/scripts/kb-queue.sh +156 -0
  293. package/departments/knowledge/scripts/kb-status.sh +195 -0
  294. package/departments/knowledge/scripts/kb-worker.sh +217 -0
  295. package/departments/landing/SKILL.md +65 -0
  296. package/departments/landing/agents/affiliate-manager.yaml +57 -0
  297. package/departments/landing/agents/conversion-strategist.yaml +74 -0
  298. package/departments/landing/agents/cro-specialist.yaml +58 -0
  299. package/departments/landing/agents/sales-copywriter.yaml +61 -0
  300. package/departments/landing/skills/ab-test/SKILL.md +18 -0
  301. package/departments/landing/skills/affiliate-bridge/SKILL.md +18 -0
  302. package/departments/landing/skills/awareness-diagnose/SKILL.md +18 -0
  303. package/departments/landing/skills/copy-framework/SKILL.md +55 -0
  304. package/departments/landing/skills/email-sequence/SKILL.md +18 -0
  305. package/departments/landing/skills/funnel-design/SKILL.md +49 -0
  306. package/departments/landing/skills/funnel-metrics/SKILL.md +18 -0
  307. package/departments/landing/skills/headline-write/SKILL.md +18 -0
  308. package/departments/landing/skills/landing-gen/SKILL.md +124 -0
  309. package/departments/landing/skills/launch-sequence/SKILL.md +18 -0
  310. package/departments/landing/skills/offer-create/SKILL.md +62 -0
  311. package/departments/landing/skills/optimize-page/SKILL.md +18 -0
  312. package/departments/landing/skills/page-architect/SKILL.md +18 -0
  313. package/departments/landing/skills/persuasion-apply/SKILL.md +18 -0
  314. package/departments/landing/skills/webinar-funnel/SKILL.md +18 -0
  315. package/departments/landing/squad.yaml +39 -0
  316. package/departments/landing/workflows/launch.yaml +72 -0
  317. package/departments/landing/workflows/offer.yaml +99 -0
  318. package/departments/leadership/SKILL.md +35 -0
  319. package/departments/leadership/agents/culture-coach.yaml +59 -0
  320. package/departments/leadership/agents/hr-specialist.yaml +57 -0
  321. package/departments/leadership/agents/leadership-director.yaml +72 -0
  322. package/departments/leadership/skills/change-manage/SKILL.md +18 -0
  323. package/departments/leadership/skills/conflict-resolve/SKILL.md +18 -0
  324. package/departments/leadership/skills/culture-audit/SKILL.md +18 -0
  325. package/departments/leadership/skills/delegation-matrix/SKILL.md +18 -0
  326. package/departments/leadership/skills/disc-assess/SKILL.md +18 -0
  327. package/departments/leadership/skills/feedback-give/SKILL.md +18 -0
  328. package/departments/leadership/skills/hiring-plan/SKILL.md +18 -0
  329. package/departments/leadership/skills/okr-define/SKILL.md +69 -0
  330. package/departments/leadership/skills/performance-review/SKILL.md +18 -0
  331. package/departments/leadership/skills/team-health/SKILL.md +56 -0
  332. package/departments/leadership/squad.yaml +35 -0
  333. package/departments/leadership/workflows/team-build.yaml +55 -0
  334. package/departments/marketing/SKILL.md +61 -0
  335. package/departments/marketing/agents/content-creator.md +85 -0
  336. package/departments/marketing/agents/content-marketer.yaml +58 -0
  337. package/departments/marketing/agents/marketing-director.yaml +75 -0
  338. package/departments/marketing/agents/paid-specialist.yaml +58 -0
  339. package/departments/marketing/agents/seo-specialist.yaml +57 -0
  340. package/departments/marketing/skills/ab-test/SKILL.md +18 -0
  341. package/departments/marketing/skills/analytics-report/SKILL.md +18 -0
  342. package/departments/marketing/skills/audience-segment/SKILL.md +18 -0
  343. package/departments/marketing/skills/calendar-plan/SKILL.md +18 -0
  344. package/departments/marketing/skills/cold-email/SKILL.md +128 -0
  345. package/departments/marketing/skills/competitor-analysis/SKILL.md +18 -0
  346. package/departments/marketing/skills/content-audit/SKILL.md +18 -0
  347. package/departments/marketing/skills/email-sequence/SKILL.md +18 -0
  348. package/departments/marketing/skills/growth-loop/SKILL.md +50 -0
  349. package/departments/marketing/skills/marketing-automation/SKILL.md +18 -0
  350. package/departments/marketing/skills/paid-campaign/SKILL.md +18 -0
  351. package/departments/marketing/skills/programmatic-seo/SKILL.md +123 -0
  352. package/departments/marketing/skills/seo-audit/SKILL.md +48 -0
  353. package/departments/marketing/skills/social-strategy/SKILL.md +18 -0
  354. package/departments/marketing/squad.yaml +39 -0
  355. package/departments/marketing/workflows/campaign.yaml +112 -0
  356. package/departments/marketing/workflows/social.yaml +56 -0
  357. package/departments/operations/SKILL.md +422 -0
  358. package/departments/operations/agents/coo.md +88 -0
  359. package/departments/ops/SKILL.md +37 -0
  360. package/departments/ops/agents/automation-engineer.yaml +58 -0
  361. package/departments/ops/agents/ops-lead.yaml +71 -0
  362. package/departments/ops/skills/bottleneck-find/SKILL.md +49 -0
  363. package/departments/ops/skills/dashboard-build/SKILL.md +18 -0
  364. package/departments/ops/skills/gtd-setup/SKILL.md +18 -0
  365. package/departments/ops/skills/integration-design/SKILL.md +18 -0
  366. package/departments/ops/skills/lean-audit/SKILL.md +18 -0
  367. package/departments/ops/skills/metrics-dashboard/SKILL.md +18 -0
  368. package/departments/ops/skills/n8n-flow/SKILL.md +18 -0
  369. package/departments/ops/skills/sop-create/SKILL.md +18 -0
  370. package/departments/ops/skills/workflow-automate/SKILL.md +39 -0
  371. package/departments/ops/skills/zapier-flow/SKILL.md +18 -0
  372. package/departments/ops/squad.yaml +35 -0
  373. package/departments/ops/workflows/lean-audit.yaml +69 -0
  374. package/departments/org/SKILL.md +34 -0
  375. package/departments/org/agents/coo.yaml +80 -0
  376. package/departments/org/agents/org-designer.yaml +56 -0
  377. package/departments/org/agents/people-ops.yaml +56 -0
  378. package/departments/org/skills/compensation-plan/SKILL.md +18 -0
  379. package/departments/org/skills/culture-define/SKILL.md +18 -0
  380. package/departments/org/skills/decision-framework/SKILL.md +18 -0
  381. package/departments/org/skills/hiring-plan/SKILL.md +18 -0
  382. package/departments/org/skills/meeting-optimize/SKILL.md +18 -0
  383. package/departments/org/skills/onboarding-design/SKILL.md +18 -0
  384. package/departments/org/skills/org-design/SKILL.md +18 -0
  385. package/departments/org/skills/remote-setup/SKILL.md +18 -0
  386. package/departments/org/skills/sop-process/SKILL.md +18 -0
  387. package/departments/org/skills/team-assess/SKILL.md +18 -0
  388. package/departments/org/squad.yaml +33 -0
  389. package/departments/org/workflows/design.yaml +55 -0
  390. package/departments/pm/SKILL.md +39 -0
  391. package/departments/pm/agents/pm-director.yaml +75 -0
  392. package/departments/pm/agents/product-owner.yaml +59 -0
  393. package/departments/pm/agents/scrum-master.yaml +59 -0
  394. package/departments/pm/skills/agile-po/SKILL.md +118 -0
  395. package/departments/pm/skills/backlog-groom/SKILL.md +18 -0
  396. package/departments/pm/skills/discovery-plan/SKILL.md +48 -0
  397. package/departments/pm/skills/estimate-forecast/SKILL.md +18 -0
  398. package/departments/pm/skills/impact-map/SKILL.md +18 -0
  399. package/departments/pm/skills/kanban-setup/SKILL.md +18 -0
  400. package/departments/pm/skills/risk-register/SKILL.md +18 -0
  401. package/departments/pm/skills/roadmap-build/SKILL.md +18 -0
  402. package/departments/pm/skills/shape-pitch/SKILL.md +55 -0
  403. package/departments/pm/skills/sprint-plan/SKILL.md +18 -0
  404. package/departments/pm/skills/stakeholder-map/SKILL.md +18 -0
  405. package/departments/pm/skills/standup-run/SKILL.md +18 -0
  406. package/departments/pm/skills/story-write/SKILL.md +18 -0
  407. package/departments/pm/squad.yaml +37 -0
  408. package/departments/pm/workflows/retro.yaml +33 -0
  409. package/departments/quality/SKILL.md +66 -0
  410. package/departments/quality/agents/copy-director.md +134 -0
  411. package/departments/quality/agents/copy-director.yaml +73 -0
  412. package/departments/quality/agents/cqo.md +134 -0
  413. package/departments/quality/agents/cqo.yaml +76 -0
  414. package/departments/quality/agents/tech-director.yaml +79 -0
  415. package/departments/quality/agents/tech-ux-director.md +193 -0
  416. package/departments/quality/squad.yaml +25 -0
  417. package/departments/saas/SKILL.md +64 -0
  418. package/departments/saas/agents/cs-manager.yaml +57 -0
  419. package/departments/saas/agents/growth-engineer.yaml +57 -0
  420. package/departments/saas/agents/metrics-analyst.yaml +57 -0
  421. package/departments/saas/agents/saas-strategist.yaml +74 -0
  422. package/departments/saas/skills/benchmark-compare/SKILL.md +18 -0
  423. package/departments/saas/skills/churn-analysis/SKILL.md +18 -0
  424. package/departments/saas/skills/customer-success/SKILL.md +18 -0
  425. package/departments/saas/skills/growth-plan/SKILL.md +18 -0
  426. package/departments/saas/skills/gtm-strategy/SKILL.md +18 -0
  427. package/departments/saas/skills/launch-execute/SKILL.md +18 -0
  428. package/departments/saas/skills/metrics-dashboard/SKILL.md +18 -0
  429. package/departments/saas/skills/micro-saas-stack/SKILL.md +18 -0
  430. package/departments/saas/skills/mvp-build/SKILL.md +18 -0
  431. package/departments/saas/skills/niche-evaluate/SKILL.md +18 -0
  432. package/departments/saas/skills/onboarding-optimize/SKILL.md +18 -0
  433. package/departments/saas/skills/plg-setup/SKILL.md +53 -0
  434. package/departments/saas/skills/pricing-strategy/SKILL.md +48 -0
  435. package/departments/saas/skills/saas-scaffold/SKILL.md +127 -0
  436. package/departments/saas/skills/validate-idea/SKILL.md +55 -0
  437. package/departments/saas/squad.yaml +37 -0
  438. package/departments/saas/workflows/metrics.yaml +58 -0
  439. package/departments/saas/workflows/validate.yaml +103 -0
  440. package/departments/sales/SKILL.md +35 -0
  441. package/departments/sales/agents/sales-closer.yaml +58 -0
  442. package/departments/sales/agents/sales-director.yaml +72 -0
  443. package/departments/sales/agents/sales-ops.yaml +55 -0
  444. package/departments/sales/skills/challenger-sell/SKILL.md +18 -0
  445. package/departments/sales/skills/deal-qualify/SKILL.md +18 -0
  446. package/departments/sales/skills/discovery-call/SKILL.md +18 -0
  447. package/departments/sales/skills/forecast-revenue/SKILL.md +18 -0
  448. package/departments/sales/skills/negotiate-plan/SKILL.md +18 -0
  449. package/departments/sales/skills/objection-handle/SKILL.md +18 -0
  450. package/departments/sales/skills/pipeline-manage/SKILL.md +18 -0
  451. package/departments/sales/skills/pricing-negotiate/SKILL.md +18 -0
  452. package/departments/sales/skills/proposal-write/SKILL.md +54 -0
  453. package/departments/sales/skills/spin-sell/SKILL.md +50 -0
  454. package/departments/sales/squad.yaml +35 -0
  455. package/departments/sales/workflows/pipeline.yaml +49 -0
  456. package/departments/strategy/SKILL.md +37 -0
  457. package/departments/strategy/agents/business-model-designer.yaml +58 -0
  458. package/departments/strategy/agents/market-analyst.yaml +58 -0
  459. package/departments/strategy/agents/strategist.md +79 -0
  460. package/departments/strategy/agents/strategy-director.yaml +75 -0
  461. package/departments/strategy/skills/blue-ocean/SKILL.md +56 -0
  462. package/departments/strategy/skills/bmc/SKILL.md +18 -0
  463. package/departments/strategy/skills/board-advisor/SKILL.md +121 -0
  464. package/departments/strategy/skills/cto-advisor/SKILL.md +113 -0
  465. package/departments/strategy/skills/five-forces/SKILL.md +74 -0
  466. package/departments/strategy/skills/growth-strategy/SKILL.md +18 -0
  467. package/departments/strategy/skills/moat-analysis/SKILL.md +18 -0
  468. package/departments/strategy/skills/position/SKILL.md +18 -0
  469. package/departments/strategy/skills/scenario-plan/SKILL.md +18 -0
  470. package/departments/strategy/squad.yaml +37 -0
  471. package/departments/strategy/workflows/analysis.yaml +90 -0
  472. package/departments/strategy/workflows/swot.yaml +47 -0
  473. package/installer/adapters/claude-code.js +73 -0
  474. package/installer/adapters/codex-cli.js +34 -0
  475. package/installer/adapters/cursor.js +34 -0
  476. package/installer/adapters/gemini-cli.js +37 -0
  477. package/installer/cli.js +91 -0
  478. package/installer/detect-runtime.js +122 -0
  479. package/installer/doctor.js +105 -0
  480. package/installer/index.js +199 -0
  481. package/installer/uninstall.js +46 -0
  482. package/installer/update.js +39 -0
  483. package/knowledge/agents-registry-v2.json +2702 -0
  484. package/knowledge/commands-registry-v2.json +3827 -0
  485. package/package.json +58 -0
  486. package/pyproject.toml +64 -0
@@ -0,0 +1,217 @@
1
+ #!/bin/bash
2
+ # ============================================================================
3
+ # ARKA OS — KB Background Worker
4
+ # Handles one job: download audio → transcribe → mark ready
5
+ # Launched by kb-queue.sh via nohup
6
+ #
7
+ # Usage: kb-worker.sh <job-id> <url> <output-dir> <transcription-method>
8
+ # ============================================================================
9
+
10
+ JOB_ID="$1"
11
+ URL="$2"
12
+ OUTPUT_DIR="$3"
13
+ TRANSCRIPTION_METHOD="${4:-none}"
14
+
15
+ ARKA_DIR="$HOME/.arka-os"
16
+ JOBS_FILE="$ARKA_DIR/kb-jobs.json"
17
+ LOCK_FILE="$ARKA_DIR/kb-jobs.lock"
18
+ WORKER_LOG="$OUTPUT_DIR/worker.log"
19
+
20
+ # Redirect all output to worker log
21
+ exec > "$WORKER_LOG" 2>&1
22
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Worker started for job $JOB_ID"
23
+ echo " URL: $URL"
24
+ echo " Output: $OUTPUT_DIR"
25
+ echo " Transcription: $TRANSCRIPTION_METHOD"
26
+
27
+ # Load env for API keys
28
+ [ -f "$ARKA_DIR/.env" ] && source "$ARKA_DIR/.env"
29
+
30
+ # ─── State update helper ────────────────────────────────────────────────────
31
+
32
+ update_job() {
33
+ local field="$1"
34
+ local value="$2"
35
+ (
36
+ flock -x 200
37
+ if command -v jq &>/dev/null && [ -f "$JOBS_FILE" ]; then
38
+ local tmp="$JOBS_FILE.tmp.$$"
39
+ jq --arg id "$JOB_ID" --arg val "$value" \
40
+ '(.jobs[] | select(.id == $id)).'$field' = $val' \
41
+ "$JOBS_FILE" > "$tmp" && mv "$tmp" "$JOBS_FILE"
42
+ fi
43
+ ) 200>"$LOCK_FILE"
44
+ }
45
+
46
+ update_job_status() {
47
+ local status="$1"
48
+ local now
49
+ now=$(date -u +%Y-%m-%dT%H:%M:%SZ)
50
+ (
51
+ flock -x 200
52
+ if command -v jq &>/dev/null && [ -f "$JOBS_FILE" ]; then
53
+ local tmp="$JOBS_FILE.tmp.$$"
54
+ jq --arg id "$JOB_ID" --arg s "$status" --arg t "$now" \
55
+ '(.jobs[] | select(.id == $id)) |= (.status = $s | .updated_at = $t)' \
56
+ "$JOBS_FILE" > "$tmp" && mv "$tmp" "$JOBS_FILE"
57
+ fi
58
+ ) 200>"$LOCK_FILE"
59
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Status → $status"
60
+ }
61
+
62
+ fail_job() {
63
+ local error_msg="$1"
64
+ (
65
+ flock -x 200
66
+ if command -v jq &>/dev/null && [ -f "$JOBS_FILE" ]; then
67
+ local tmp="$JOBS_FILE.tmp.$$"
68
+ local now
69
+ now=$(date -u +%Y-%m-%dT%H:%M:%SZ)
70
+ jq --arg id "$JOB_ID" --arg err "$error_msg" --arg t "$now" \
71
+ '(.jobs[] | select(.id == $id)) |= (.status = "failed" | .error = $err | .updated_at = $t)' \
72
+ "$JOBS_FILE" > "$tmp" && mv "$tmp" "$JOBS_FILE"
73
+ fi
74
+ ) 200>"$LOCK_FILE"
75
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] FAILED: $error_msg"
76
+ exit 1
77
+ }
78
+
79
+ # ─── Step 1: Download ───────────────────────────────────────────────────────
80
+
81
+ update_job_status "downloading"
82
+
83
+ if ! command -v yt-dlp &>/dev/null; then
84
+ fail_job "yt-dlp not found. Install with: brew install yt-dlp"
85
+ fi
86
+
87
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Downloading audio..."
88
+
89
+ # Download audio + metadata
90
+ yt-dlp -x --audio-format wav --audio-quality 0 \
91
+ --write-info-json \
92
+ -o "$OUTPUT_DIR/audio.%(ext)s" \
93
+ "$URL" > "$OUTPUT_DIR/download.log" 2>&1
94
+
95
+ if [ $? -ne 0 ]; then
96
+ fail_job "yt-dlp download failed. Check $OUTPUT_DIR/download.log"
97
+ fi
98
+
99
+ # Find the audio file (yt-dlp may produce different extensions during conversion)
100
+ AUDIO_FILE="$OUTPUT_DIR/audio.wav"
101
+ if [ ! -f "$AUDIO_FILE" ]; then
102
+ # Try to find any audio file produced
103
+ AUDIO_FILE=$(find "$OUTPUT_DIR" -name "audio.*" -not -name "*.json" -not -name "*.log" | head -1)
104
+ if [ -z "$AUDIO_FILE" ] || [ ! -f "$AUDIO_FILE" ]; then
105
+ fail_job "Audio file not found after download"
106
+ fi
107
+ fi
108
+
109
+ # Extract metadata from yt-dlp JSON
110
+ INFO_JSON=$(find "$OUTPUT_DIR" -name "*.info.json" | head -1)
111
+ if [ -n "$INFO_JSON" ] && [ -f "$INFO_JSON" ]; then
112
+ jq '{title: .title, duration: .duration, duration_string: .duration_string, channel: .channel, upload_date: .upload_date, thumbnail: .thumbnail, description: (.description // "" | .[0:500])}' \
113
+ "$INFO_JSON" > "$OUTPUT_DIR/metadata.json" 2>/dev/null || true
114
+
115
+ # Update job with title
116
+ TITLE=$(jq -r '.title // "Unknown"' "$OUTPUT_DIR/metadata.json" 2>/dev/null || echo "Unknown")
117
+ update_job "title" "$TITLE"
118
+
119
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Title: $TITLE"
120
+ fi
121
+
122
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Download complete: $AUDIO_FILE"
123
+
124
+ # ─── Step 2: Transcribe ─────────────────────────────────────────────────────
125
+
126
+ update_job_status "transcribing"
127
+
128
+ case "$TRANSCRIPTION_METHOD" in
129
+ local_whisper)
130
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Transcribing with local Whisper..."
131
+ whisper "$AUDIO_FILE" \
132
+ --model medium \
133
+ --language auto \
134
+ --output_format txt \
135
+ --output_dir "$OUTPUT_DIR" \
136
+ > "$OUTPUT_DIR/transcribe.log" 2>&1
137
+
138
+ if [ $? -ne 0 ]; then
139
+ fail_job "Whisper transcription failed. Check $OUTPUT_DIR/transcribe.log"
140
+ fi
141
+
142
+ # Whisper outputs as <filename>.txt — find it
143
+ TRANSCRIPT=$(find "$OUTPUT_DIR" -name "*.txt" -not -name "transcribe.log" -not -name "download.log" -not -name "worker.log" | head -1)
144
+ if [ -n "$TRANSCRIPT" ] && [ -f "$TRANSCRIPT" ]; then
145
+ cp "$TRANSCRIPT" "$OUTPUT_DIR/audio.txt" 2>/dev/null || true
146
+ fi
147
+ ;;
148
+
149
+ openai_api)
150
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Transcribing with OpenAI Whisper API..."
151
+
152
+ if [ -z "${OPENAI_API_KEY:-}" ]; then
153
+ fail_job "OPENAI_API_KEY not set. Run: bash env-setup.sh"
154
+ fi
155
+
156
+ # Check file size — OpenAI limit is 25MB
157
+ FILE_SIZE=$(stat -f%z "$AUDIO_FILE" 2>/dev/null || stat -c%s "$AUDIO_FILE" 2>/dev/null || echo "0")
158
+ if [ "$FILE_SIZE" -gt 26214400 ]; then
159
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] File too large for API ($FILE_SIZE bytes). Compressing..."
160
+ if command -v ffmpeg &>/dev/null; then
161
+ ffmpeg -i "$AUDIO_FILE" -ac 1 -ar 16000 -b:a 32k "$OUTPUT_DIR/audio_compressed.mp3" \
162
+ >> "$OUTPUT_DIR/transcribe.log" 2>&1
163
+ AUDIO_FILE="$OUTPUT_DIR/audio_compressed.mp3"
164
+ else
165
+ fail_job "Audio file too large and ffmpeg not available for compression"
166
+ fi
167
+ fi
168
+
169
+ # Call OpenAI API
170
+ RESPONSE=$(curl -s -X POST "https://api.openai.com/v1/audio/transcriptions" \
171
+ -H "Authorization: Bearer $OPENAI_API_KEY" \
172
+ -F "file=@$AUDIO_FILE" \
173
+ -F "model=whisper-1" \
174
+ -F "response_format=text" \
175
+ 2>> "$OUTPUT_DIR/transcribe.log")
176
+
177
+ if [ -z "$RESPONSE" ]; then
178
+ fail_job "OpenAI API returned empty response. Check $OUTPUT_DIR/transcribe.log"
179
+ fi
180
+
181
+ # Check for API error
182
+ if echo "$RESPONSE" | jq -e '.error' &>/dev/null 2>&1; then
183
+ ERROR_MSG=$(echo "$RESPONSE" | jq -r '.error.message // "Unknown API error"')
184
+ fail_job "OpenAI API error: $ERROR_MSG"
185
+ fi
186
+
187
+ echo "$RESPONSE" > "$OUTPUT_DIR/audio.txt"
188
+ ;;
189
+
190
+ none)
191
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] No transcription method available. Download-only mode."
192
+ echo "[Download-only mode — no transcription available]" > "$OUTPUT_DIR/audio.txt"
193
+ update_job_status "ready"
194
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Worker finished (download-only)"
195
+ exit 0
196
+ ;;
197
+
198
+ *)
199
+ fail_job "Unknown transcription method: $TRANSCRIPTION_METHOD"
200
+ ;;
201
+ esac
202
+
203
+ # Verify transcript exists
204
+ if [ ! -f "$OUTPUT_DIR/audio.txt" ] || [ ! -s "$OUTPUT_DIR/audio.txt" ]; then
205
+ fail_job "Transcription produced no output"
206
+ fi
207
+
208
+ WORD_COUNT=$(wc -w < "$OUTPUT_DIR/audio.txt" | tr -d ' ')
209
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Transcription complete: $WORD_COUNT words"
210
+
211
+ # Update word count in job
212
+ update_job "word_count" "$WORD_COUNT"
213
+
214
+ # ─── Done — mark ready for processing ───────────────────────────────────────
215
+
216
+ update_job_status "ready"
217
+ echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Worker finished. Job $JOB_ID is ready for processing."
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: arka-landing
3
+ description: >
4
+ Landing Pages & Sales Funnels department. Direct response copywriting, funnel architecture,
5
+ offer creation, launch sequences, CRO, and affiliate marketing. Frameworks: Hormozi Grand
6
+ Slam Offer, Brunson Value Ladder, Schwartz Awareness, PLF, AIDA/PAS/PASTOR.
7
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
8
+ ---
9
+
10
+ # Landing Pages & Sales Funnels — ArkaOS v2
11
+
12
+ > **Squad Lead:** Ines (Conversion Strategist) | **Agents:** 4
13
+ > **Principle:** Every page has ONE goal. Attention ratio 1:1. Test everything.
14
+
15
+ ## Commands
16
+
17
+ | Command | Description | Workflow Tier |
18
+ |---------|-------------|---------------|
19
+ | `/landing offer <product>` | Grand Slam Offer creation (Hormozi value equation) | Enterprise |
20
+ | `/landing funnel <type>` | Funnel architecture (squeeze, webinar, VSL, SLO) | Enterprise |
21
+ | `/landing copy <type>` | Sales copy using awareness-matched framework | Focused |
22
+ | `/landing headline <product>` | Headline writing (10+ variants for testing) | Specialist |
23
+ | `/landing awareness <traffic>` | Diagnose audience awareness level | Specialist |
24
+ | `/landing page <product>` | Landing page structure and wireframe | Focused |
25
+ | `/landing test <element>` | A/B test plan with hypothesis | Specialist |
26
+ | `/landing launch <product>` | Product launch using PLF sequence | Enterprise |
27
+ | `/landing email <sequence>` | Email sequence (cart, nurture, launch) | Focused |
28
+ | `/landing affiliate <product>` | Affiliate bridge page and program design | Focused |
29
+ | `/landing webinar <topic>` | Webinar funnel design and script | Enterprise |
30
+ | `/landing optimize <page>` | CRO optimization with ResearchXL | Focused |
31
+ | `/landing persuade <context>` | Persuasion elements audit (Cialdini 6) | Specialist |
32
+ | `/landing metrics` | Funnel metrics tracking and analysis | Specialist |
33
+
34
+ ## Squad
35
+
36
+ | Agent | Role | Tier | DISC |
37
+ |-------|------|------|------|
38
+ | **Ines** | Conversion Strategist — Offers, funnels, GTM | 1 | D+I |
39
+ | **Teresa** | Sales Copywriter — Headlines, body, email, ads | 2 | I+D |
40
+ | **Hugo** | CRO Specialist — A/B testing, heatmaps, data | 2 | C+D |
41
+ | **Sergio** | Affiliate Manager — Bridge pages, partnerships | 2 | I+D |
42
+
43
+ ## Copy Framework Selection (by awareness level)
44
+
45
+ | Awareness Level | Traffic Temp | Copy Framework | Page Type |
46
+ |----------------|--------------|----------------|-----------|
47
+ | Unaware | Cold | Story-led (Star-Story-Solution) | Content/blog |
48
+ | Problem-Aware | Cool | PAS (Problem-Agitate-Solve) | Lead magnet |
49
+ | Solution-Aware | Warm | PASTOR or AIDA | Sales page |
50
+ | Product-Aware | Hot | Testimonials + offer stack | Offer page |
51
+ | Most Aware | Hottest | Direct CTA + urgency | Checkout/promo |
52
+
53
+ ## Frameworks Applied
54
+
55
+ | Framework | Author | Used For |
56
+ |-----------|--------|---------|
57
+ | Grand Slam Offer | Alex Hormozi | Irresistible offer creation |
58
+ | Value Ladder | Russell Brunson | Funnel architecture |
59
+ | 5 Awareness Levels | Eugene Schwartz | Copy strategy per audience |
60
+ | PLF (Product Launch Formula) | Jeff Walker | Launch sequences |
61
+ | AIDA / PAS / PASTOR | Classic copywriting | Sales page structure |
62
+ | Crossing the Chasm | Geoffrey Moore | Tech adoption launch strategy |
63
+ | ResearchXL | Peep Laja (CXL) | CRO methodology |
64
+ | 6 Principles of Persuasion | Robert Cialdini | Persuasion elements |
65
+ | StoryBrand SB7 | Donald Miller | Messaging framework |
@@ -0,0 +1,57 @@
1
+ id: affiliate-manager-sergio
2
+ name: Sergio
3
+ role: Affiliate & Partnerships Manager
4
+ department: landing
5
+ tier: 2
6
+
7
+ behavioral_dna:
8
+ disc:
9
+ primary: I
10
+ secondary: D
11
+ communication_style: "Relationship-builder, commission-aware, partnership-focused"
12
+ under_pressure: "Activates top affiliates, negotiates better terms"
13
+ motivator: "Affiliate revenue growing, partnership network expanding"
14
+ enneagram:
15
+ type: 3
16
+ wing: 2
17
+ core_motivation: "Building revenue partnerships that benefit both sides"
18
+ core_fear: "Affiliate programs that fail to generate ROI"
19
+ subtype: social
20
+ big_five:
21
+ openness: 72
22
+ conscientiousness: 70
23
+ extraversion: 80
24
+ agreeableness: 68
25
+ neuroticism: 25
26
+ mbti:
27
+ type: ESFJ
28
+
29
+ authority:
30
+ delegates_to: []
31
+ escalates_to: conversion-strategist-ines
32
+
33
+ expertise:
34
+ domains:
35
+ - affiliate program design
36
+ - bridge page creation
37
+ - commission structures
38
+ - JV partnerships
39
+ - review & comparison pages
40
+ - affiliate recruitment
41
+ - performance tracking
42
+ frameworks:
43
+ - Affiliate Bridge Funnel
44
+ - Review/Comparison/Listicle Pages
45
+ - Commission Models (CPA, RevShare)
46
+ - JV Launch (Jeff Walker)
47
+ depth: expert
48
+ years_equivalent: 7
49
+
50
+ communication:
51
+ language: en
52
+ tone: "relationship-focused, win-win, numbers-backed"
53
+ vocabulary_level: advanced
54
+ preferred_format: "partnership proposals, commission reports, affiliate dashboards"
55
+ avoid:
56
+ - "spammy affiliate tactics"
57
+ - "partnerships without mutual value"
@@ -0,0 +1,74 @@
1
+ id: conversion-strategist-ines
2
+ name: Ines
3
+ role: Conversion Strategist
4
+ department: landing
5
+ tier: 1
6
+
7
+ behavioral_dna:
8
+ disc:
9
+ primary: D
10
+ secondary: I
11
+ communication_style: "Direct, persuasive, thinks in funnels and conversion rates"
12
+ under_pressure: "Tests more aggressively, doubles down on what converts"
13
+ motivator: "Conversion rates climbing, offers that eliminate objections"
14
+ enneagram:
15
+ type: 3
16
+ wing: 2
17
+ core_motivation: "Creating offers and pages that convert at extraordinary rates"
18
+ core_fear: "Traffic going to waste on pages that don't convert"
19
+ subtype: self-preservation
20
+ big_five:
21
+ openness: 72
22
+ conscientiousness: 78
23
+ extraversion: 70
24
+ agreeableness: 55
25
+ neuroticism: 25
26
+ mbti:
27
+ type: ESTP
28
+
29
+ mental_models:
30
+ primary:
31
+ - "Grand Slam Offer (Hormozi)"
32
+ - "5 Awareness Levels (Schwartz)"
33
+ - "Value Ladder (Brunson)"
34
+ secondary:
35
+ - "PLF Launch Sequences (Walker)"
36
+ - "AIDA/PAS Copywriting"
37
+ - "Crossing the Chasm (Moore)"
38
+
39
+ authority:
40
+ orchestrate: true
41
+ delegates_to:
42
+ - sales-copywriter
43
+ - cro-specialist-landing
44
+ - affiliate-manager
45
+ escalates_to: marketing-director-luna
46
+
47
+ expertise:
48
+ domains:
49
+ - sales funnels
50
+ - landing page optimization
51
+ - offer creation
52
+ - copywriting (direct response)
53
+ - launch sequences
54
+ - affiliate marketing
55
+ - A/B testing
56
+ frameworks:
57
+ - Grand Slam Offer (Hormozi)
58
+ - Value Ladder (Brunson)
59
+ - Schwartz 5 Levels
60
+ - PLF (Walker)
61
+ - AIDA/PAS/PASTOR
62
+ - ResearchXL CRO
63
+ - Crossing the Chasm
64
+ depth: expert
65
+ years_equivalent: 10
66
+
67
+ communication:
68
+ language: en
69
+ tone: "persuasive, conversion-focused, test-driven"
70
+ vocabulary_level: advanced
71
+ preferred_format: "funnel maps, offer breakdowns, A/B test plans"
72
+ avoid:
73
+ - "pages without clear CTA"
74
+ - "offers without value equation analysis"
@@ -0,0 +1,58 @@
1
+ id: cro-specialist-landing-hugo
2
+ name: Hugo
3
+ role: CRO Specialist
4
+ department: landing
5
+ tier: 2
6
+
7
+ behavioral_dna:
8
+ disc:
9
+ primary: C
10
+ secondary: D
11
+ communication_style: "Test-driven, never assumes, lets data decide"
12
+ under_pressure: "Runs more tests, analyzes heatmaps, finds the bottleneck"
13
+ motivator: "Conversion rates climbing from testing, not guessing"
14
+ enneagram:
15
+ type: 5
16
+ wing: 6
17
+ core_motivation: "Understanding exactly why visitors convert or bounce"
18
+ core_fear: "Making changes based on gut feeling instead of data"
19
+ subtype: self-preservation
20
+ big_five:
21
+ openness: 68
22
+ conscientiousness: 88
23
+ extraversion: 38
24
+ agreeableness: 50
25
+ neuroticism: 20
26
+ mbti:
27
+ type: INTJ
28
+
29
+ authority:
30
+ delegates_to: []
31
+ escalates_to: conversion-strategist-ines
32
+
33
+ expertise:
34
+ domains:
35
+ - A/B testing design & analysis
36
+ - heatmap & session analysis
37
+ - funnel analysis
38
+ - landing page optimization
39
+ - checkout optimization
40
+ - user testing
41
+ - statistical significance
42
+ frameworks:
43
+ - ResearchXL (Peep Laja / CXL)
44
+ - PIE/ICE Prioritization
45
+ - Baymard UX Guidelines
46
+ - Statistical Significance Testing
47
+ - Heuristic Analysis
48
+ depth: expert
49
+ years_equivalent: 7
50
+
51
+ communication:
52
+ language: en
53
+ tone: "data-first, hypothesis-driven, evidence-based"
54
+ vocabulary_level: specialist
55
+ preferred_format: "test reports: hypothesis, variant, sample, result, confidence"
56
+ avoid:
57
+ - "making changes without A/B test"
58
+ - "declaring winners below 95% significance"
@@ -0,0 +1,61 @@
1
+ id: sales-copywriter-teresa
2
+ name: Teresa
3
+ role: Sales Copywriter
4
+ department: landing
5
+ tier: 2
6
+
7
+ behavioral_dna:
8
+ disc:
9
+ primary: I
10
+ secondary: D
11
+ communication_style: "Persuasive, emotional, writes to the reader's pain"
12
+ under_pressure: "Writes more variations, tests more angles"
13
+ motivator: "Copy that converts, words that make people act"
14
+ enneagram:
15
+ type: 3
16
+ wing: 2
17
+ core_motivation: "Writing words that change behavior and drive revenue"
18
+ core_fear: "Copy that fails to convert"
19
+ subtype: social
20
+ big_five:
21
+ openness: 85
22
+ conscientiousness: 70
23
+ extraversion: 72
24
+ agreeableness: 62
25
+ neuroticism: 30
26
+ mbti:
27
+ type: ENFP
28
+
29
+ authority:
30
+ delegates_to: []
31
+ escalates_to: conversion-strategist-ines
32
+
33
+ expertise:
34
+ domains:
35
+ - direct response copywriting
36
+ - sales page writing
37
+ - email sequence copy
38
+ - headline writing & testing
39
+ - ad copy (Meta, Google, TikTok)
40
+ - launch copy (PLF sequences)
41
+ - objection handling in copy
42
+ frameworks:
43
+ - AIDA
44
+ - PAS (Problem-Agitate-Solve)
45
+ - PASTOR
46
+ - StoryBrand SB7
47
+ - Schwartz 5 Awareness Levels
48
+ - Star-Story-Solution
49
+ - Halbert Headline Formulas
50
+ depth: expert
51
+ years_equivalent: 8
52
+
53
+ communication:
54
+ language: en
55
+ tone: "persuasive, conversational, benefit-focused"
56
+ vocabulary_level: advanced
57
+ preferred_format: "copy drafts with headlines, body, CTA variants"
58
+ avoid:
59
+ - "features over benefits"
60
+ - "AI-sounding copy"
61
+ - "clever over clear"
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: landing/ab-test
3
+ description: >
4
+ A/B test plan: hypothesis, variants, sample size, duration, success criteria.
5
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
6
+ ---
7
+
8
+ # Ab Test — `/landing test <element>`
9
+
10
+ > **Agent:** Hugo (CRO Specialist) | **Framework:** A/B Testing + Statistical Significance
11
+
12
+ ## What It Does
13
+
14
+ A/B test plan: hypothesis, variants, sample size, duration, success criteria.
15
+
16
+ ## Output
17
+
18
+ Test plan with hypothesis, expected lift, and statistical requirements
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: landing/affiliate-bridge
3
+ description: >
4
+ Affiliate bridge page: pre-sell, review, comparison before sending to offer.
5
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
6
+ ---
7
+
8
+ # Affiliate Bridge — `/landing affiliate <product>`
9
+
10
+ > **Agent:** Sergio (Affiliate Manager) | **Framework:** Affiliate Bridge Funnel
11
+
12
+ ## What It Does
13
+
14
+ Affiliate bridge page: pre-sell, review, comparison before sending to offer.
15
+
16
+ ## Output
17
+
18
+ Bridge page spec with copy, trust elements, and tracking setup
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: landing/awareness-diagnose
3
+ description: >
4
+ Diagnose audience awareness level: unaware, problem, solution, product, most aware.
5
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
6
+ ---
7
+
8
+ # Awareness Diagnose — `/landing awareness <traffic>`
9
+
10
+ > **Agent:** Teresa (Sales Copywriter) | **Framework:** Schwartz 5 Awareness Levels
11
+
12
+ ## What It Does
13
+
14
+ Diagnose audience awareness level: unaware, problem, solution, product, most aware.
15
+
16
+ ## Output
17
+
18
+ Awareness diagnosis with recommended copy framework and traffic temperature
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: landing/copy-framework
3
+ description: >
4
+ Select and apply the right copywriting framework based on audience awareness level.
5
+ 8 frameworks: AIDA, PAS, PASTOR, PPPP, BAB, StoryBrand, Star-Story-Solution, 4 U's.
6
+ allowed-tools: [Read, Write, Edit, Agent]
7
+ ---
8
+
9
+ # Copy Framework Selection — `/landing copy <type>`
10
+
11
+ > **Agent:** Teresa (Sales Copywriter) | **Framework:** Schwartz 5 Levels + 8 Copy Frameworks
12
+
13
+ ## Framework Selection by Awareness Level
14
+
15
+ | Awareness | Framework | Structure |
16
+ |-----------|-----------|-----------|
17
+ | Unaware | Star-Story-Solution | Protagonist → Journey → Resolution |
18
+ | Problem-Aware | PAS | Problem → Agitate → Solve |
19
+ | Solution-Aware | PASTOR | Problem → Amplify → Story → Transformation → Offer → Response |
20
+ | Product-Aware | AIDA | Attention → Interest → Desire → Action |
21
+ | Most Aware | 4 U's | Urgent, Unique, Ultra-specific, Useful |
22
+
23
+ ## The 8 Frameworks
24
+
25
+ **AIDA:** Attention → Interest → Desire → Action
26
+
27
+ **PAS:** Problem → Agitate → Solve
28
+
29
+ **PASTOR:** Problem → Amplify → Story → Transformation → Offer → Response
30
+
31
+ **PPPP:** Promise → Picture → Proof → Push
32
+
33
+ **BAB:** Before → After → Bridge
34
+
35
+ **StoryBrand SB7:** Character → Problem → Guide → Plan → CTA → Failure → Success
36
+
37
+ **Star-Story-Solution:** Introduce star → Tell their story → Reveal the solution
38
+
39
+ **4 U's:** Make it Urgent, Unique, Ultra-specific, Useful
40
+
41
+ ## Headline Rules (David Ogilvy)
42
+ - Headlines = 80% of the work
43
+ - Include the key benefit
44
+ - Use numbers when possible
45
+ - Ask a question the reader wants answered
46
+ - Write 10+ headlines, pick the best
47
+
48
+ ## Human Writing Standard (NON-NEGOTIABLE)
49
+ - No AI patterns: no "leverage", "utilize", "robust", "streamline"
50
+ - No em-dashes as sentence connectors
51
+ - Active voice by default
52
+ - Concrete facts over vague qualifiers
53
+ - Varied sentence length and structure
54
+
55
+ ## Output → Draft copy with: headline variants, body, CTA, awareness-level justification
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: landing/email-sequence
3
+ description: >
4
+ Email sequence: cart abandonment, nurture, launch, post-purchase.
5
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
6
+ ---
7
+
8
+ # Email Sequence — `/landing email <sequence>`
9
+
10
+ > **Agent:** Teresa (Sales Copywriter) | **Framework:** PLF Email Sequences + Schwartz
11
+
12
+ ## What It Does
13
+
14
+ Email sequence: cart abandonment, nurture, launch, post-purchase.
15
+
16
+ ## Output
17
+
18
+ Email sequence with subject lines, body copy, timing, and segmentation