openclaw-node-harness 2.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 (779) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +184 -0
  3. package/bin/discord-read.js +228 -0
  4. package/bin/fleet-deploy.js +365 -0
  5. package/bin/lane-watchdog.js +232 -0
  6. package/bin/mesh-agent.js +714 -0
  7. package/bin/mesh-bridge.js +535 -0
  8. package/bin/mesh-deploy-listener.js +322 -0
  9. package/bin/mesh-deploy.js +1048 -0
  10. package/bin/mesh-health-publisher.js +247 -0
  11. package/bin/mesh-task-daemon.js +451 -0
  12. package/bin/mesh-tool-discord.js +293 -0
  13. package/bin/mesh.js +649 -0
  14. package/boot/manifest.yaml +187 -0
  15. package/cli.js +35 -0
  16. package/config/daemon.json.template +16 -0
  17. package/config/obsidian-sync.json.template +39 -0
  18. package/config/openclaw.json.template +124 -0
  19. package/config/transcript-sources.json.template +22 -0
  20. package/identity/AGENTS.md +201 -0
  21. package/identity/CLAUDE.md +64 -0
  22. package/identity/DELEGATION.md +304 -0
  23. package/identity/HEARTBEAT.md +163 -0
  24. package/identity/MEMORY_SPEC.md +368 -0
  25. package/identity/PRINCIPLES.md +81 -0
  26. package/identity/SOUL.md +48 -0
  27. package/identity/TOOLS.md +47 -0
  28. package/install.sh +895 -0
  29. package/lib/agent-activity.js +390 -0
  30. package/lib/kanban-io.js +352 -0
  31. package/lib/mesh-registry.js +194 -0
  32. package/lib/mesh-roles.js +13 -0
  33. package/lib/mesh-tasks.js +306 -0
  34. package/lib/nats-resolve.js +108 -0
  35. package/mission-control/README.md +36 -0
  36. package/mission-control/drizzle/0000_simple_silhouette.sql +62 -0
  37. package/mission-control/drizzle/meta/0000_snapshot.json +413 -0
  38. package/mission-control/drizzle/meta/_journal.json +13 -0
  39. package/mission-control/drizzle.config.ts +13 -0
  40. package/mission-control/eslint.config.mjs +18 -0
  41. package/mission-control/next.config.ts +7 -0
  42. package/mission-control/package-lock.json +10518 -0
  43. package/mission-control/package.json +49 -0
  44. package/mission-control/postcss.config.mjs +7 -0
  45. package/mission-control/public/file.svg +1 -0
  46. package/mission-control/public/globe.svg +1 -0
  47. package/mission-control/public/next.svg +1 -0
  48. package/mission-control/public/vercel.svg +1 -0
  49. package/mission-control/public/window.svg +1 -0
  50. package/mission-control/scripts/enrich-descriptions.js +193 -0
  51. package/mission-control/scripts/gen-chronology.js +102 -0
  52. package/mission-control/scripts/import-pipeline-v2.js +523 -0
  53. package/mission-control/scripts/import-pipeline.js +295 -0
  54. package/mission-control/src/app/api/activity/live/route.ts +27 -0
  55. package/mission-control/src/app/api/activity/route.ts +47 -0
  56. package/mission-control/src/app/api/burndown/route.ts +112 -0
  57. package/mission-control/src/app/api/critical-path/route.ts +159 -0
  58. package/mission-control/src/app/api/dependencies/route.ts +176 -0
  59. package/mission-control/src/app/api/memory/categories/route.ts +93 -0
  60. package/mission-control/src/app/api/memory/consolidate/route.ts +107 -0
  61. package/mission-control/src/app/api/memory/doc/route.ts +89 -0
  62. package/mission-control/src/app/api/memory/flush/route.ts +129 -0
  63. package/mission-control/src/app/api/memory/graph/route.ts +105 -0
  64. package/mission-control/src/app/api/memory/items/route.ts +86 -0
  65. package/mission-control/src/app/api/memory/list/route.ts +48 -0
  66. package/mission-control/src/app/api/memory/retrieve/route.ts +51 -0
  67. package/mission-control/src/app/api/memory/search/route.ts +143 -0
  68. package/mission-control/src/app/api/memory/sync/route.ts +23 -0
  69. package/mission-control/src/app/api/memory/wikilinks/route.ts +75 -0
  70. package/mission-control/src/app/api/mesh/events/route.ts +67 -0
  71. package/mission-control/src/app/api/mesh/nodes/route.ts +221 -0
  72. package/mission-control/src/app/api/mesh/tokens/route.ts +133 -0
  73. package/mission-control/src/app/api/projects/route.ts +102 -0
  74. package/mission-control/src/app/api/resolve-path/route.ts +92 -0
  75. package/mission-control/src/app/api/scheduler/tick/route.ts +38 -0
  76. package/mission-control/src/app/api/scheduler/waves/route.ts +54 -0
  77. package/mission-control/src/app/api/screenshot/route.ts +127 -0
  78. package/mission-control/src/app/api/settings/gateway/route.ts +92 -0
  79. package/mission-control/src/app/api/skills/[id]/health/route.ts +57 -0
  80. package/mission-control/src/app/api/skills/list/route.ts +41 -0
  81. package/mission-control/src/app/api/souls/[id]/evolution/route.ts +253 -0
  82. package/mission-control/src/app/api/souls/[id]/prompt/route.ts +205 -0
  83. package/mission-control/src/app/api/souls/[id]/propagate/route.ts +146 -0
  84. package/mission-control/src/app/api/souls/route.ts +174 -0
  85. package/mission-control/src/app/api/tasks/[id]/handoff/route.ts +115 -0
  86. package/mission-control/src/app/api/tasks/[id]/route.ts +266 -0
  87. package/mission-control/src/app/api/tasks/[id]/tree/route.ts +94 -0
  88. package/mission-control/src/app/api/tasks/route.ts +253 -0
  89. package/mission-control/src/app/api/tts/route.ts +47 -0
  90. package/mission-control/src/app/api/workspace/files/route.ts +88 -0
  91. package/mission-control/src/app/api/workspace/read/route.ts +73 -0
  92. package/mission-control/src/app/burndown/page.tsx +309 -0
  93. package/mission-control/src/app/calendar/page.tsx +839 -0
  94. package/mission-control/src/app/favicon.ico +0 -0
  95. package/mission-control/src/app/globals.css +67 -0
  96. package/mission-control/src/app/graph/page.tsx +352 -0
  97. package/mission-control/src/app/layout.tsx +35 -0
  98. package/mission-control/src/app/live/page.tsx +232 -0
  99. package/mission-control/src/app/memory/page.tsx +154 -0
  100. package/mission-control/src/app/mesh/page.tsx +457 -0
  101. package/mission-control/src/app/obsidian/page.tsx +252 -0
  102. package/mission-control/src/app/page.tsx +70 -0
  103. package/mission-control/src/app/roadmap/page.tsx +1757 -0
  104. package/mission-control/src/app/settings/page.tsx +260 -0
  105. package/mission-control/src/app/souls/page.tsx +573 -0
  106. package/mission-control/src/components/board/activity-timeline.tsx +96 -0
  107. package/mission-control/src/components/board/daily-board.tsx +373 -0
  108. package/mission-control/src/components/board/kanban-board.tsx +364 -0
  109. package/mission-control/src/components/board/kanban-column.tsx +105 -0
  110. package/mission-control/src/components/board/live-stream.tsx +116 -0
  111. package/mission-control/src/components/board/skill-health-card.tsx +128 -0
  112. package/mission-control/src/components/board/status-banner.tsx +124 -0
  113. package/mission-control/src/components/board/task-card.tsx +454 -0
  114. package/mission-control/src/components/board/unified-task-dialog.tsx +1043 -0
  115. package/mission-control/src/components/layout/resizable-layout.tsx +68 -0
  116. package/mission-control/src/components/layout/sidebar.tsx +90 -0
  117. package/mission-control/src/components/live/audio-spectrum.tsx +106 -0
  118. package/mission-control/src/components/live/chat-bubble.tsx +52 -0
  119. package/mission-control/src/components/live/chat-input.tsx +92 -0
  120. package/mission-control/src/components/memory/doc-reader.tsx +172 -0
  121. package/mission-control/src/components/memory/memory-list.tsx +169 -0
  122. package/mission-control/src/components/memory/search-bar.tsx +67 -0
  123. package/mission-control/src/components/memory/search-results.tsx +149 -0
  124. package/mission-control/src/components/obsidian/backlinks-panel.tsx +52 -0
  125. package/mission-control/src/components/obsidian/file-tree.tsx +186 -0
  126. package/mission-control/src/components/obsidian/local-graph.tsx +107 -0
  127. package/mission-control/src/components/obsidian/obsidian-graph.tsx +192 -0
  128. package/mission-control/src/components/obsidian/obsidian-reader.tsx +246 -0
  129. package/mission-control/src/lib/activity.ts +29 -0
  130. package/mission-control/src/lib/config.ts +21 -0
  131. package/mission-control/src/lib/db/index.ts +429 -0
  132. package/mission-control/src/lib/db/schema.ts +218 -0
  133. package/mission-control/src/lib/gateway-notify.ts +113 -0
  134. package/mission-control/src/lib/hooks.ts +536 -0
  135. package/mission-control/src/lib/memory/categories.ts +125 -0
  136. package/mission-control/src/lib/memory/entities.ts +482 -0
  137. package/mission-control/src/lib/memory/extract.ts +369 -0
  138. package/mission-control/src/lib/memory/retrieval.ts +281 -0
  139. package/mission-control/src/lib/memory/wikilinks.ts +147 -0
  140. package/mission-control/src/lib/nats.ts +126 -0
  141. package/mission-control/src/lib/parsers/clawvault-doc.ts +98 -0
  142. package/mission-control/src/lib/parsers/daily-log.ts +73 -0
  143. package/mission-control/src/lib/parsers/memory-md.ts +81 -0
  144. package/mission-control/src/lib/parsers/task-markdown.ts +459 -0
  145. package/mission-control/src/lib/parsers/transcript.ts +209 -0
  146. package/mission-control/src/lib/scheduler.ts +394 -0
  147. package/mission-control/src/lib/speech/use-speech-pipeline.ts +176 -0
  148. package/mission-control/src/lib/sync/memory.ts +224 -0
  149. package/mission-control/src/lib/sync/tasks.ts +271 -0
  150. package/mission-control/src/lib/tts/edge.ts +31 -0
  151. package/mission-control/src/lib/tts/google.ts +78 -0
  152. package/mission-control/src/lib/tts/index.ts +39 -0
  153. package/mission-control/src/lib/tts/types.ts +18 -0
  154. package/mission-control/tsconfig.json +42 -0
  155. package/obsidian-vault/.obsidian/app.json +10 -0
  156. package/obsidian-vault/.obsidian/community-plugins.json +8 -0
  157. package/obsidian-vault/.obsidian/graph.json +40 -0
  158. package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/main.js +58769 -0
  159. package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/manifest.json +10 -0
  160. package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/styles.css +47 -0
  161. package/obsidian-vault/00-meta/.gitkeep +0 -0
  162. package/obsidian-vault/01-architecture/.gitkeep +0 -0
  163. package/obsidian-vault/02-smart-contracts/.gitkeep +0 -0
  164. package/obsidian-vault/03-backend/.gitkeep +0 -0
  165. package/obsidian-vault/04-mobile/.gitkeep +0 -0
  166. package/obsidian-vault/05-ar-mapping/.gitkeep +0 -0
  167. package/obsidian-vault/06-3d-assets/.gitkeep +0 -0
  168. package/obsidian-vault/07-sound-music/.gitkeep +0 -0
  169. package/obsidian-vault/08-lore/.gitkeep +0 -0
  170. package/obsidian-vault/09-quests-playthrough/.gitkeep +0 -0
  171. package/obsidian-vault/10-economy/.gitkeep +0 -0
  172. package/obsidian-vault/11-nft-assets/.gitkeep +0 -0
  173. package/obsidian-vault/12-nft-mechanics/.gitkeep +0 -0
  174. package/obsidian-vault/13-dao-guild-social/.gitkeep +0 -0
  175. package/obsidian-vault/14-game-progression/.gitkeep +0 -0
  176. package/obsidian-vault/15-analytics/.gitkeep +0 -0
  177. package/obsidian-vault/16-security/.gitkeep +0 -0
  178. package/obsidian-vault/17-devops/.gitkeep +0 -0
  179. package/obsidian-vault/18-marketplace/.gitkeep +0 -0
  180. package/obsidian-vault/19-decisions/.gitkeep +0 -0
  181. package/obsidian-vault/20-business-strategy/.gitkeep +0 -0
  182. package/obsidian-vault/21-legal-regulatory/.gitkeep +0 -0
  183. package/obsidian-vault/nodes/.gitkeep +0 -0
  184. package/openclaw.env.example +17 -0
  185. package/package.json +45 -0
  186. package/services/launchd/ai.openclaw.gateway.plist +59 -0
  187. package/services/launchd/ai.openclaw.lane-watchdog.plist +32 -0
  188. package/services/launchd/ai.openclaw.log-rotate.plist +28 -0
  189. package/services/launchd/ai.openclaw.memory-daemon.plist +36 -0
  190. package/services/launchd/ai.openclaw.mesh-agent.plist +38 -0
  191. package/services/launchd/ai.openclaw.mesh-bridge.plist +36 -0
  192. package/services/launchd/ai.openclaw.mesh-deploy-listener.plist +33 -0
  193. package/services/launchd/ai.openclaw.mesh-health-publisher.plist +29 -0
  194. package/services/launchd/ai.openclaw.mesh-task-daemon.plist +36 -0
  195. package/services/launchd/ai.openclaw.mesh-tool-discord.plist +36 -0
  196. package/services/launchd/ai.openclaw.mission-control.plist +41 -0
  197. package/services/service-manifest.json +13 -0
  198. package/services/systemd/openclaw-gateway.service +21 -0
  199. package/services/systemd/openclaw-lane-watchdog.service +21 -0
  200. package/services/systemd/openclaw-log-rotate.service +13 -0
  201. package/services/systemd/openclaw-log-rotate.timer +9 -0
  202. package/services/systemd/openclaw-memory-daemon.service +21 -0
  203. package/services/systemd/openclaw-mesh-agent.service +19 -0
  204. package/services/systemd/openclaw-mesh-bridge.service +21 -0
  205. package/services/systemd/openclaw-mesh-deploy-listener.service +23 -0
  206. package/services/systemd/openclaw-mesh-health-publisher.service +21 -0
  207. package/services/systemd/openclaw-mesh-task-daemon.service +21 -0
  208. package/services/systemd/openclaw-mesh-tool-discord.service +21 -0
  209. package/services/systemd/openclaw-mission-control.service +22 -0
  210. package/skills/1password/.clawhub/origin.json +7 -0
  211. package/skills/1password/SKILL.md +63 -0
  212. package/skills/1password/references/cli-examples.md +29 -0
  213. package/skills/1password/references/get-started.md +17 -0
  214. package/skills/acquisition-channel-advisor/SKILL.md +643 -0
  215. package/skills/acquisition-channel-advisor/examples/conversation-flow.md +531 -0
  216. package/skills/agent-browser/.clawhub/origin.json +7 -0
  217. package/skills/agent-browser/CONTRIBUTING.md +63 -0
  218. package/skills/agent-browser/SKILL.md +338 -0
  219. package/skills/agentic-compass/.clawhub/origin.json +7 -0
  220. package/skills/agentic-compass/README.md +96 -0
  221. package/skills/agentic-compass/SKILL.md +112 -0
  222. package/skills/agentic-compass/references/README.md +5 -0
  223. package/skills/agentic-compass/scripts/agentic-compass.py +196 -0
  224. package/skills/arcane-dev-ops/SKILL.md +61 -0
  225. package/skills/arcane-dev-ops/references/checklist.md +22 -0
  226. package/skills/arcane-dev-ops/references/validation-cases.md +11 -0
  227. package/skills/arcane-dev-ops/scripts/prepush_check.sh +41 -0
  228. package/skills/auto-updater/.clawhub/origin.json +7 -0
  229. package/skills/auto-updater/SKILL.md +158 -0
  230. package/skills/auto-updater/references/agent-guide.md +152 -0
  231. package/skills/auto-updater/references/summary-examples.md +109 -0
  232. package/skills/business-health-diagnostic/SKILL.md +782 -0
  233. package/skills/byterover/.clawhub/origin.json +7 -0
  234. package/skills/byterover/SKILL.md +105 -0
  235. package/skills/byterover/TROUBLESHOOTING.md +50 -0
  236. package/skills/byterover/WORKFLOWS.md +229 -0
  237. package/skills/capability-evolver/.clawhub/origin.json +7 -0
  238. package/skills/capability-evolver/CONTRIBUTING.md +11 -0
  239. package/skills/capability-evolver/README.md +157 -0
  240. package/skills/capability-evolver/README.zh-CN.md +112 -0
  241. package/skills/capability-evolver/SKILL.md +93 -0
  242. package/skills/capability-evolver/assets/gep/capsules.json +5 -0
  243. package/skills/capability-evolver/assets/gep/genes.json +104 -0
  244. package/skills/capability-evolver/index.js +59 -0
  245. package/skills/capability-evolver/package.json +22 -0
  246. package/skills/capability-evolver/scripts/analyze_by_skill.js +121 -0
  247. package/skills/capability-evolver/scripts/build_public.js +350 -0
  248. package/skills/capability-evolver/scripts/export_history.js +98 -0
  249. package/skills/capability-evolver/scripts/extract_log.js +85 -0
  250. package/skills/capability-evolver/scripts/generate_history.js +75 -0
  251. package/skills/capability-evolver/scripts/human_report.js +147 -0
  252. package/skills/capability-evolver/scripts/publish_public.js +516 -0
  253. package/skills/capability-evolver/scripts/suggest_version.js +89 -0
  254. package/skills/capability-evolver/src/evolve.js +594 -0
  255. package/skills/capability-evolver/src/gep/assetStore.js +204 -0
  256. package/skills/capability-evolver/src/gep/candidates.js +134 -0
  257. package/skills/capability-evolver/src/gep/paths.js +23 -0
  258. package/skills/capability-evolver/src/gep/prompt.js +254 -0
  259. package/skills/capability-evolver/src/gep/selector.js +89 -0
  260. package/skills/capability-evolver/src/gep/signals.js +27 -0
  261. package/skills/cc-godmode/.clawhub/origin.json +7 -0
  262. package/skills/cc-godmode/CHANGELOG.md +66 -0
  263. package/skills/cc-godmode/README.md +293 -0
  264. package/skills/cc-godmode/SKILL.md +242 -0
  265. package/skills/cc-godmode/docs/AGENTS.md +332 -0
  266. package/skills/cc-godmode/docs/MIGRATION.md +206 -0
  267. package/skills/cc-godmode/docs/TROUBLESHOOTING.md +357 -0
  268. package/skills/cc-godmode/docs/WORKFLOWS.md +329 -0
  269. package/skills/cc-godmode/references/agents.md +433 -0
  270. package/skills/cc-godmode/scripts/build-skill.js +232 -0
  271. package/skills/clawdbot-filesystem/.clawhub/origin.json +7 -0
  272. package/skills/clawdbot-filesystem/LICENSE.md +21 -0
  273. package/skills/clawdbot-filesystem/README.md +322 -0
  274. package/skills/clawdbot-filesystem/SKILL.md +219 -0
  275. package/skills/clawdbot-filesystem/config.json +41 -0
  276. package/skills/clawdbot-filesystem/package.json +69 -0
  277. package/skills/clawdbot-security-check/.clawhub/origin.json +7 -0
  278. package/skills/clawdbot-security-check/README.md +168 -0
  279. package/skills/clawdbot-security-check/SKILL.md +145 -0
  280. package/skills/clawdbot-security-check/references/audit-checks.md +521 -0
  281. package/skills/clawdbot-security-check/skill.json +42 -0
  282. package/skills/clawddocs/.clawhub/origin.json +7 -0
  283. package/skills/clawddocs/SKILL.md +176 -0
  284. package/skills/clawddocs/package.json +9 -0
  285. package/skills/clawddocs/scripts/build-index.sh +17 -0
  286. package/skills/clawddocs/scripts/cache.sh +13 -0
  287. package/skills/clawddocs/scripts/fetch-doc.sh +7 -0
  288. package/skills/clawddocs/scripts/recent.sh +5 -0
  289. package/skills/clawddocs/scripts/search.sh +8 -0
  290. package/skills/clawddocs/scripts/sitemap.sh +23 -0
  291. package/skills/clawddocs/scripts/track-changes.sh +16 -0
  292. package/skills/clawddocs/snippets/common-configs.md +69 -0
  293. package/skills/clawguard/.clawhub/origin.json +7 -0
  294. package/skills/clawguard/SKILL.md +137 -0
  295. package/skills/company-research/SKILL.md +393 -0
  296. package/skills/company-research/examples/sample.md +164 -0
  297. package/skills/company-research/template.md +60 -0
  298. package/skills/crypto-price/.clawhub/origin.json +7 -0
  299. package/skills/crypto-price/ARCHITECTURE.md +437 -0
  300. package/skills/crypto-price/README.md +194 -0
  301. package/skills/crypto-price/SKILL.md +61 -0
  302. package/skills/crypto-price/requirements.txt +1 -0
  303. package/skills/crypto-price/scripts/get_price_chart.py +988 -0
  304. package/skills/customer-journey-map/SKILL.md +343 -0
  305. package/skills/customer-journey-map/examples/sample.md +33 -0
  306. package/skills/customer-journey-map/template.md +28 -0
  307. package/skills/customer-journey-mapping-workshop/SKILL.md +522 -0
  308. package/skills/deep-research/.clawhub/origin.json +7 -0
  309. package/skills/deep-research/SKILL.md +93 -0
  310. package/skills/deep-research/rules/logic.md +32 -0
  311. package/skills/discord-telegram-triage/SKILL.md +59 -0
  312. package/skills/discord-telegram-triage/references/discord-runbook.md +28 -0
  313. package/skills/discord-telegram-triage/references/validation-cases.md +11 -0
  314. package/skills/discord-telegram-triage/scripts/triage_snapshot.sh +23 -0
  315. package/skills/discovery-interview-prep/SKILL.md +408 -0
  316. package/skills/discovery-process/SKILL.md +503 -0
  317. package/skills/discovery-process/examples/sample.md +60 -0
  318. package/skills/discovery-process/template.md +39 -0
  319. package/skills/dist/arcane-dev-ops.skill +0 -0
  320. package/skills/dist/discord-telegram-triage.skill +0 -0
  321. package/skills/dist/founder-brief-summarizer.skill +0 -0
  322. package/skills/epic-breakdown-advisor/SKILL.md +664 -0
  323. package/skills/epic-hypothesis/SKILL.md +285 -0
  324. package/skills/epic-hypothesis/examples/sample.md +104 -0
  325. package/skills/epic-hypothesis/template.md +30 -0
  326. package/skills/excel/.clawhub/origin.json +7 -0
  327. package/skills/excel/SKILL.md +332 -0
  328. package/skills/excel/scripts/excel.py +1120 -0
  329. package/skills/fast-browser-use/.clawhub/origin.json +7 -0
  330. package/skills/fast-browser-use/CODEBUDDY.md +142 -0
  331. package/skills/fast-browser-use/Cargo.toml +77 -0
  332. package/skills/fast-browser-use/README.md +62 -0
  333. package/skills/fast-browser-use/SKILL.md +217 -0
  334. package/skills/fast-browser-use/package-lock.json +28 -0
  335. package/skills/fast-browser-use/package.json +8 -0
  336. package/skills/fast-browser-use/rustfmt.toml +10 -0
  337. package/skills/fast-browser-use/src/bin/cli.rs +373 -0
  338. package/skills/fast-browser-use/src/bin/mcp_server.rs +203 -0
  339. package/skills/fast-browser-use/src/browser/config.rs +136 -0
  340. package/skills/fast-browser-use/src/browser/debug.rs +16 -0
  341. package/skills/fast-browser-use/src/browser/mod.rs +61 -0
  342. package/skills/fast-browser-use/src/browser/session.rs +478 -0
  343. package/skills/fast-browser-use/src/dom/element.rs +442 -0
  344. package/skills/fast-browser-use/src/dom/extract_dom.js +849 -0
  345. package/skills/fast-browser-use/src/dom/mod.rs +14 -0
  346. package/skills/fast-browser-use/src/dom/tree.rs +296 -0
  347. package/skills/fast-browser-use/src/dom/yaml.rs +149 -0
  348. package/skills/fast-browser-use/src/error.rs +115 -0
  349. package/skills/fast-browser-use/src/lib.rs +17 -0
  350. package/skills/fast-browser-use/src/mcp/handler.rs +63 -0
  351. package/skills/fast-browser-use/src/mcp/mod.rs +81 -0
  352. package/skills/fast-browser-use/src/tools/Readability.min.js +1480 -0
  353. package/skills/fast-browser-use/src/tools/annotate.rs +165 -0
  354. package/skills/fast-browser-use/src/tools/click.rs +84 -0
  355. package/skills/fast-browser-use/src/tools/close.rs +35 -0
  356. package/skills/fast-browser-use/src/tools/close_tab.rs +45 -0
  357. package/skills/fast-browser-use/src/tools/convert_to_markdown.js +117 -0
  358. package/skills/fast-browser-use/src/tools/cookies.rs +58 -0
  359. package/skills/fast-browser-use/src/tools/debug.rs +44 -0
  360. package/skills/fast-browser-use/src/tools/evaluate.rs +40 -0
  361. package/skills/fast-browser-use/src/tools/extract.rs +66 -0
  362. package/skills/fast-browser-use/src/tools/go_back.rs +35 -0
  363. package/skills/fast-browser-use/src/tools/go_forward.rs +35 -0
  364. package/skills/fast-browser-use/src/tools/hover.js +33 -0
  365. package/skills/fast-browser-use/src/tools/hover.rs +97 -0
  366. package/skills/fast-browser-use/src/tools/html_to_markdown.rs +99 -0
  367. package/skills/fast-browser-use/src/tools/input.rs +93 -0
  368. package/skills/fast-browser-use/src/tools/local_storage.rs +159 -0
  369. package/skills/fast-browser-use/src/tools/markdown.rs +181 -0
  370. package/skills/fast-browser-use/src/tools/mod.rs +326 -0
  371. package/skills/fast-browser-use/src/tools/navigate.rs +55 -0
  372. package/skills/fast-browser-use/src/tools/new_tab.rs +60 -0
  373. package/skills/fast-browser-use/src/tools/press_key.rs +78 -0
  374. package/skills/fast-browser-use/src/tools/read_links.rs +59 -0
  375. package/skills/fast-browser-use/src/tools/readability_script.rs +8 -0
  376. package/skills/fast-browser-use/src/tools/screenshot.rs +47 -0
  377. package/skills/fast-browser-use/src/tools/scroll.js +22 -0
  378. package/skills/fast-browser-use/src/tools/scroll.rs +95 -0
  379. package/skills/fast-browser-use/src/tools/select.js +23 -0
  380. package/skills/fast-browser-use/src/tools/select.rs +129 -0
  381. package/skills/fast-browser-use/src/tools/sitemap.rs +426 -0
  382. package/skills/fast-browser-use/src/tools/snapshot.rs +324 -0
  383. package/skills/fast-browser-use/src/tools/switch_tab.rs +69 -0
  384. package/skills/fast-browser-use/src/tools/tab_list.rs +76 -0
  385. package/skills/fast-browser-use/src/tools/utils.rs +92 -0
  386. package/skills/fast-browser-use/src/tools/wait.rs +53 -0
  387. package/skills/fast-browser-use/test_auth.json +3 -0
  388. package/skills/fast-browser-use/test_state.json +6 -0
  389. package/skills/fast-browser-use/tests/browser_tools_integration.rs +233 -0
  390. package/skills/fast-browser-use/tests/cli_recipes_integration.rs +112 -0
  391. package/skills/fast-browser-use/tests/cookies_integration.rs +56 -0
  392. package/skills/fast-browser-use/tests/debug_integration.rs +83 -0
  393. package/skills/fast-browser-use/tests/dom_integration.rs +170 -0
  394. package/skills/fast-browser-use/tests/local_storage_integration.rs +75 -0
  395. package/skills/fast-browser-use/tests/markdown_integration.rs +448 -0
  396. package/skills/fast-browser-use/tests/navigation_integration.rs +241 -0
  397. package/skills/fast-browser-use/tests/sitemap_integration.rs +326 -0
  398. package/skills/fast-browser-use/tests/tab_management_integration.rs +300 -0
  399. package/skills/feature-investment-advisor/SKILL.md +639 -0
  400. package/skills/feature-investment-advisor/examples/conversation-flow.md +538 -0
  401. package/skills/finance-based-pricing-advisor/SKILL.md +763 -0
  402. package/skills/finance-metrics-quickref/SKILL.md +309 -0
  403. package/skills/find-skills/.clawhub/origin.json +7 -0
  404. package/skills/find-skills/SKILL.md +143 -0
  405. package/skills/flavor-text-writer/SKILL.md +27 -0
  406. package/skills/founder-brief-summarizer/SKILL.md +52 -0
  407. package/skills/founder-brief-summarizer/references/response-templates.md +15 -0
  408. package/skills/founder-brief-summarizer/references/validation-cases.md +11 -0
  409. package/skills/founder-brief-summarizer/scripts/brief_template.sh +28 -0
  410. package/skills/frontend-design/.clawhub/origin.json +7 -0
  411. package/skills/frontend-design/LICENSE.txt +190 -0
  412. package/skills/frontend-design/SKILL.md +53 -0
  413. package/skills/gemini/.clawhub/origin.json +7 -0
  414. package/skills/gemini/SKILL.md +33 -0
  415. package/skills/gemini-deep-research/.clawhub/origin.json +7 -0
  416. package/skills/gemini-deep-research/SKILL.md +78 -0
  417. package/skills/gemini-deep-research/scripts/deep_research.py +176 -0
  418. package/skills/git-essentials/.clawhub/origin.json +7 -0
  419. package/skills/git-essentials/SKILL.md +239 -0
  420. package/skills/git-essentials/references/advanced.md +211 -0
  421. package/skills/github/.clawhub/origin.json +7 -0
  422. package/skills/github/SKILL.md +57 -0
  423. package/skills/google-drive/.clawhub/origin.json +7 -0
  424. package/skills/google-drive/LICENSE.txt +21 -0
  425. package/skills/google-drive/SKILL.md +320 -0
  426. package/skills/growth-loop/SKILL.md +270 -0
  427. package/skills/growth-loop/_meta.json +9 -0
  428. package/skills/growth-loop/references/diagnosis-framework.md +84 -0
  429. package/skills/growth-loop/references/platform-benchmarks.md +79 -0
  430. package/skills/growth-loop/scripts/init-campaign.sh +274 -0
  431. package/skills/humanize-ai-text/.clawhub/origin.json +7 -0
  432. package/skills/humanize-ai-text/SKILL.md +192 -0
  433. package/skills/humanize-ai-text/scripts/compare.py +58 -0
  434. package/skills/humanize-ai-text/scripts/detect.py +160 -0
  435. package/skills/humanize-ai-text/scripts/patterns.json +191 -0
  436. package/skills/humanize-ai-text/scripts/transform.py +127 -0
  437. package/skills/humanizer/.clawhub/origin.json +7 -0
  438. package/skills/humanizer/README.md +82 -0
  439. package/skills/humanizer/SKILL.md +443 -0
  440. package/skills/jobs-to-be-done/SKILL.md +378 -0
  441. package/skills/jobs-to-be-done/examples/sample.md +80 -0
  442. package/skills/jobs-to-be-done/template.md +65 -0
  443. package/skills/lean-ux-canvas/SKILL.md +561 -0
  444. package/skills/lean-ux-canvas/examples/sample.md +88 -0
  445. package/skills/lean-ux-canvas/template.md +32 -0
  446. package/skills/markdown-formatter/.clawhub/origin.json +7 -0
  447. package/skills/markdown-formatter/README.md +137 -0
  448. package/skills/markdown-formatter/SKILL.md +369 -0
  449. package/skills/markdown-formatter/config.json +20 -0
  450. package/skills/markdown-formatter/index.js +439 -0
  451. package/skills/markdown-formatter/package.json +23 -0
  452. package/skills/markdown-formatter/test.js +23 -0
  453. package/skills/marketing-mode/.clawhub/origin.json +7 -0
  454. package/skills/marketing-mode/README.md +49 -0
  455. package/skills/marketing-mode/SKILL.md +703 -0
  456. package/skills/marketing-mode/mode-prompt.md +39 -0
  457. package/skills/marketing-mode/skill.json +51 -0
  458. package/skills/memory-hygiene/.clawhub/origin.json +7 -0
  459. package/skills/memory-hygiene/SKILL.md +91 -0
  460. package/skills/memory-setup/.clawhub/origin.json +7 -0
  461. package/skills/memory-setup/SKILL.md +180 -0
  462. package/skills/memorylayer/.clawhub/origin.json +7 -0
  463. package/skills/memorylayer/README.md +197 -0
  464. package/skills/memorylayer/SKILL.md +227 -0
  465. package/skills/memorylayer/examples/agent-integration.js +145 -0
  466. package/skills/memorylayer/examples/basic-usage.js +87 -0
  467. package/skills/memorylayer/examples/token-savings-demo.js +183 -0
  468. package/skills/memorylayer/index.js +115 -0
  469. package/skills/memorylayer/package-lock.json +295 -0
  470. package/skills/memorylayer/package.json +27 -0
  471. package/skills/memorylayer/python/memorylayer_skill.py +230 -0
  472. package/skills/memorylayer/python/requirements.txt +7 -0
  473. package/skills/mesh/SKILL.md +184 -0
  474. package/skills/model-usage/.clawhub/origin.json +7 -0
  475. package/skills/model-usage/SKILL.md +54 -0
  476. package/skills/model-usage/references/codexbar-cli.md +28 -0
  477. package/skills/model-usage/scripts/model_usage.py +310 -0
  478. package/skills/moltbook-interact/.clawhub/origin.json +7 -0
  479. package/skills/moltbook-interact/INSTALL.md +139 -0
  480. package/skills/moltbook-interact/README.md +198 -0
  481. package/skills/moltbook-interact/SKILL.md +72 -0
  482. package/skills/moltbook-interact/references/api.md +106 -0
  483. package/skills/moltbook-interact/scripts/moltbook.sh +142 -0
  484. package/skills/moltbook-registry/.clawhub/origin.json +7 -0
  485. package/skills/moltbook-registry/README.md +26 -0
  486. package/skills/moltbook-registry/SKILL.md +82 -0
  487. package/skills/moltbook-registry/index.js +180 -0
  488. package/skills/moltbook-registry/package.json +11 -0
  489. package/skills/mythril-scanner/SKILL.md +27 -0
  490. package/skills/n8n/.clawhub/origin.json +7 -0
  491. package/skills/n8n/SKILL.md +141 -0
  492. package/skills/n8n/references/api.md +156 -0
  493. package/skills/n8n/scripts/n8n_api.py +158 -0
  494. package/skills/n8n-workflow-automation/.clawhub/origin.json +7 -0
  495. package/skills/n8n-workflow-automation/SKILL.md +103 -0
  496. package/skills/n8n-workflow-automation/assets/runbook-template.md +32 -0
  497. package/skills/narrative-designer/SKILL.md +27 -0
  498. package/skills/ontology/.clawhub/origin.json +7 -0
  499. package/skills/ontology/SKILL.md +236 -0
  500. package/skills/ontology/references/queries.md +211 -0
  501. package/skills/ontology/references/schema.md +322 -0
  502. package/skills/ontology/scripts/ontology.py +374 -0
  503. package/skills/openai-image-gen/.clawhub/origin.json +7 -0
  504. package/skills/openai-image-gen/SKILL.md +45 -0
  505. package/skills/openai-image-gen/scripts/gen.py +227 -0
  506. package/skills/openclaw-agent-optimize/.clawhub/origin.json +7 -0
  507. package/skills/openclaw-agent-optimize/SKILL.md +33 -0
  508. package/skills/openclaw-agent-optimize/references/agent-orchestration.md +20 -0
  509. package/skills/openclaw-agent-optimize/references/context-management.md +15 -0
  510. package/skills/openclaw-agent-optimize/references/continuous-learning.md +14 -0
  511. package/skills/openclaw-agent-optimize/references/cron-optimization.md +16 -0
  512. package/skills/openclaw-agent-optimize/references/memory-patterns.md +14 -0
  513. package/skills/openclaw-agent-optimize/references/model-selection.md +18 -0
  514. package/skills/openclaw-skill-scanner/.clawhub/origin.json +7 -0
  515. package/skills/openclaw-skill-scanner/SKILL.md +88 -0
  516. package/skills/openclaw-skill-scanner/install-hook.sh +294 -0
  517. package/skills/openclaw-skill-scanner/report-template.md +53 -0
  518. package/skills/openclaw-skill-scanner/scanner.py +929 -0
  519. package/skills/openclaw-skill-scanner/whitelist.json +18 -0
  520. package/skills/opportunity-solution-tree/SKILL.md +428 -0
  521. package/skills/opportunity-solution-tree/examples/sample.md +104 -0
  522. package/skills/opportunity-solution-tree/template.md +33 -0
  523. package/skills/pdf/.clawhub/origin.json +7 -0
  524. package/skills/pdf/SKILL.md +304 -0
  525. package/skills/pestel-analysis/SKILL.md +384 -0
  526. package/skills/pestel-analysis/examples/sample.md +143 -0
  527. package/skills/pestel-analysis/template.md +53 -0
  528. package/skills/pol-probe/SKILL.md +217 -0
  529. package/skills/pol-probe/examples/sample.md +136 -0
  530. package/skills/pol-probe/template.md +59 -0
  531. package/skills/pol-probe-advisor/SKILL.md +492 -0
  532. package/skills/positioning-statement/SKILL.md +229 -0
  533. package/skills/positioning-statement/examples/sample.md +51 -0
  534. package/skills/positioning-statement/template.md +25 -0
  535. package/skills/positioning-workshop/SKILL.md +424 -0
  536. package/skills/prd-development/SKILL.md +654 -0
  537. package/skills/prd-development/examples/sample.md +43 -0
  538. package/skills/prd-development/template.md +55 -0
  539. package/skills/press-release/SKILL.md +277 -0
  540. package/skills/press-release/examples/sample.md +73 -0
  541. package/skills/press-release/template.md +39 -0
  542. package/skills/prioritization-advisor/SKILL.md +451 -0
  543. package/skills/proactive-messages/.clawhub/origin.json +7 -0
  544. package/skills/proactive-messages/SKILL.md +91 -0
  545. package/skills/problem-framing-canvas/SKILL.md +466 -0
  546. package/skills/problem-framing-canvas/examples/sample.md +58 -0
  547. package/skills/problem-framing-canvas/template.md +22 -0
  548. package/skills/problem-statement/SKILL.md +255 -0
  549. package/skills/problem-statement/examples/sample.md +82 -0
  550. package/skills/problem-statement/template.md +37 -0
  551. package/skills/product-strategy-session/SKILL.md +434 -0
  552. package/skills/product-strategy-session/examples/sample.md +67 -0
  553. package/skills/product-strategy-session/template.md +38 -0
  554. package/skills/prompt-guard/.clawhub/origin.json +7 -0
  555. package/skills/prompt-guard/ARCHITECTURE.md +364 -0
  556. package/skills/prompt-guard/CHANGELOG.md +200 -0
  557. package/skills/prompt-guard/README.md +215 -0
  558. package/skills/prompt-guard/SECURITY.md +66 -0
  559. package/skills/prompt-guard/SKILL.md +174 -0
  560. package/skills/prompt-guard/blog/how-i-secured-my-ai-agent.md +185 -0
  561. package/skills/prompt-guard/config.example.yaml +56 -0
  562. package/skills/prompt-guard/references/detection-patterns.md +298 -0
  563. package/skills/prompt-guard/requirements.txt +1 -0
  564. package/skills/prompt-guard/scripts/analyze_log.py +224 -0
  565. package/skills/prompt-guard/scripts/audit.py +344 -0
  566. package/skills/prompt-guard/scripts/detect.py +1587 -0
  567. package/skills/prompt-guard/scripts/hivefence.py +345 -0
  568. package/skills/proto-persona/SKILL.md +336 -0
  569. package/skills/proto-persona/examples/sample.md +97 -0
  570. package/skills/proto-persona/template.md +45 -0
  571. package/skills/recommendation-canvas/SKILL.md +382 -0
  572. package/skills/recommendation-canvas/examples/sample.md +94 -0
  573. package/skills/recommendation-canvas/template.md +86 -0
  574. package/skills/refactor-suggest/.clawhub/origin.json +7 -0
  575. package/skills/refactor-suggest/SKILL.md +94 -0
  576. package/skills/roadmap-planning/SKILL.md +506 -0
  577. package/skills/roadmap-planning/examples/sample.md +62 -0
  578. package/skills/roadmap-planning/template.md +30 -0
  579. package/skills/saas-economics-efficiency-metrics/SKILL.md +694 -0
  580. package/skills/saas-economics-efficiency-metrics/examples/cash-trap.md +365 -0
  581. package/skills/saas-economics-efficiency-metrics/examples/healthy-unit-economics.md +279 -0
  582. package/skills/saas-economics-efficiency-metrics/template.md +263 -0
  583. package/skills/saas-revenue-growth-metrics/SKILL.md +629 -0
  584. package/skills/saas-revenue-growth-metrics/examples/healthy-saas.md +131 -0
  585. package/skills/saas-revenue-growth-metrics/examples/warning-signs.md +229 -0
  586. package/skills/saas-revenue-growth-metrics/template.md +192 -0
  587. package/skills/save-money/.clawhub/origin.json +7 -0
  588. package/skills/save-money/SKILL.md +173 -0
  589. package/skills/scripts/golden_skills_v3.sh +32 -0
  590. package/skills/search/.clawhub/origin.json +7 -0
  591. package/skills/search/SKILL.md +18 -0
  592. package/skills/search/skill.json +1 -0
  593. package/skills/second-brain/.clawhub/origin.json +7 -0
  594. package/skills/second-brain/SKILL.md +278 -0
  595. package/skills/second-brain/scripts/ensue-api.sh +37 -0
  596. package/skills/self-improving-agent/.clawhub/origin.json +7 -0
  597. package/skills/self-improving-agent/.learnings/ERRORS.md +5 -0
  598. package/skills/self-improving-agent/.learnings/FEATURE_REQUESTS.md +5 -0
  599. package/skills/self-improving-agent/.learnings/LEARNINGS.md +5 -0
  600. package/skills/self-improving-agent/SKILL.md +130 -0
  601. package/skills/self-improving-agent/assets/LEARNINGS.md +45 -0
  602. package/skills/self-improving-agent/assets/SKILL-TEMPLATE.md +177 -0
  603. package/skills/self-improving-agent/hooks/openclaw/HOOK.md +23 -0
  604. package/skills/self-improving-agent/hooks/openclaw/handler.js +56 -0
  605. package/skills/self-improving-agent/hooks/openclaw/handler.ts +62 -0
  606. package/skills/self-improving-agent/references/examples.md +374 -0
  607. package/skills/self-improving-agent/references/hooks-setup.md +223 -0
  608. package/skills/self-improving-agent/references/openclaw-integration.md +248 -0
  609. package/skills/self-improving-agent/references/templates.md +480 -0
  610. package/skills/self-improving-agent/scripts/activator.sh +20 -0
  611. package/skills/self-improving-agent/scripts/error-detector.sh +55 -0
  612. package/skills/self-improving-agent/scripts/extract-skill.sh +203 -0
  613. package/skills/self-improving-agent-1-0-2/.clawhub/origin.json +7 -0
  614. package/skills/self-improving-agent-1-0-2/SKILL.md +562 -0
  615. package/skills/self-improving-agent-1-0-2/assets/LEARNINGS.md +45 -0
  616. package/skills/self-improving-agent-1-0-2/assets/SKILL-TEMPLATE.md +182 -0
  617. package/skills/self-improving-agent-1-0-2/references/clawdbot-integration.md +311 -0
  618. package/skills/self-improving-agent-1-0-2/references/examples.md +374 -0
  619. package/skills/self-improving-agent-1-0-2/references/hooks-setup.md +223 -0
  620. package/skills/self-improving-agent-1-0-2/scripts/activator.sh +20 -0
  621. package/skills/self-improving-agent-1-0-2/scripts/error-detector.sh +55 -0
  622. package/skills/self-improving-agent-1-0-2/scripts/extract-skill.sh +203 -0
  623. package/skills/self-love-confidence/.clawhub/origin.json +7 -0
  624. package/skills/self-love-confidence/SKILL.md +79 -0
  625. package/skills/self-reflection/.clawhub/origin.json +7 -0
  626. package/skills/self-reflection/README.md +292 -0
  627. package/skills/self-reflection/SKILL.md +110 -0
  628. package/skills/self-reflection/self-reflection.example.json +6 -0
  629. package/skills/slither-analyzer/SKILL.md +27 -0
  630. package/skills/solidity-audit/SKILL.md +27 -0
  631. package/skills/soulcraft/.clawhub/origin.json +7 -0
  632. package/skills/soulcraft/README.md +123 -0
  633. package/skills/soulcraft/SKILL.md +340 -0
  634. package/skills/soulcraft/references/question-bank.md +154 -0
  635. package/skills/soulcraft/references/soul-examples.md +207 -0
  636. package/skills/soulcraft/research/RESEARCH_REPORT.md +317 -0
  637. package/skills/spotify-player/.clawhub/origin.json +7 -0
  638. package/skills/spotify-player/SKILL.md +44 -0
  639. package/skills/storyboard/SKILL.md +259 -0
  640. package/skills/storyboard/examples/sample.md +71 -0
  641. package/skills/storyboard/template.md +41 -0
  642. package/skills/summarize/.clawhub/origin.json +7 -0
  643. package/skills/summarize/SKILL.md +59 -0
  644. package/skills/superdesign/.clawhub/origin.json +7 -0
  645. package/skills/superdesign/SKILL.md +224 -0
  646. package/skills/tam-sam-som-calculator/SKILL.md +399 -0
  647. package/skills/tam-sam-som-calculator/examples/sample.md +142 -0
  648. package/skills/tam-sam-som-calculator/scripts/market-sizing.py +95 -0
  649. package/skills/tam-sam-som-calculator/template.md +35 -0
  650. package/skills/tavily-search/.clawhub/origin.json +7 -0
  651. package/skills/tavily-search/SKILL.md +49 -0
  652. package/skills/tavily-search/scripts/extract.mjs +59 -0
  653. package/skills/tavily-search/scripts/search.mjs +101 -0
  654. package/skills/twitter/SKILL.md +74 -0
  655. package/skills/twitter/_meta.json +9 -0
  656. package/skills/twitter/references/validation-cases.md +53 -0
  657. package/skills/twitter/scripts/twitter.sh +421 -0
  658. package/skills/ui-ux-pro-max/.clawhub/origin.json +7 -0
  659. package/skills/ui-ux-pro-max/SKILL.md +54 -0
  660. package/skills/ui-ux-pro-max/assets/data/charts.csv +26 -0
  661. package/skills/ui-ux-pro-max/assets/data/colors.csv +97 -0
  662. package/skills/ui-ux-pro-max/assets/data/icons.csv +101 -0
  663. package/skills/ui-ux-pro-max/assets/data/landing.csv +31 -0
  664. package/skills/ui-ux-pro-max/assets/data/products.csv +97 -0
  665. package/skills/ui-ux-pro-max/assets/data/react-performance.csv +45 -0
  666. package/skills/ui-ux-pro-max/assets/data/stacks/astro.csv +54 -0
  667. package/skills/ui-ux-pro-max/assets/data/stacks/flutter.csv +53 -0
  668. package/skills/ui-ux-pro-max/assets/data/stacks/html-tailwind.csv +56 -0
  669. package/skills/ui-ux-pro-max/assets/data/stacks/jetpack-compose.csv +53 -0
  670. package/skills/ui-ux-pro-max/assets/data/stacks/nextjs.csv +53 -0
  671. package/skills/ui-ux-pro-max/assets/data/stacks/nuxt-ui.csv +51 -0
  672. package/skills/ui-ux-pro-max/assets/data/stacks/nuxtjs.csv +59 -0
  673. package/skills/ui-ux-pro-max/assets/data/stacks/react-native.csv +52 -0
  674. package/skills/ui-ux-pro-max/assets/data/stacks/react.csv +54 -0
  675. package/skills/ui-ux-pro-max/assets/data/stacks/shadcn.csv +61 -0
  676. package/skills/ui-ux-pro-max/assets/data/stacks/svelte.csv +54 -0
  677. package/skills/ui-ux-pro-max/assets/data/stacks/swiftui.csv +51 -0
  678. package/skills/ui-ux-pro-max/assets/data/stacks/vue.csv +50 -0
  679. package/skills/ui-ux-pro-max/assets/data/styles.csv +68 -0
  680. package/skills/ui-ux-pro-max/assets/data/typography.csv +58 -0
  681. package/skills/ui-ux-pro-max/assets/data/ui-reasoning.csv +101 -0
  682. package/skills/ui-ux-pro-max/assets/data/ux-guidelines.csv +100 -0
  683. package/skills/ui-ux-pro-max/assets/data/web-interface.csv +31 -0
  684. package/skills/ui-ux-pro-max/references/upstream-README.md +488 -0
  685. package/skills/ui-ux-pro-max/references/upstream-skill-content.md +288 -0
  686. package/skills/ui-ux-pro-max/scripts/__init__.py +0 -0
  687. package/skills/ui-ux-pro-max/scripts/core.py +253 -0
  688. package/skills/ui-ux-pro-max/scripts/design_system.py +1071 -0
  689. package/skills/ui-ux-pro-max/scripts/search.py +111 -0
  690. package/skills/user-story/SKILL.md +272 -0
  691. package/skills/user-story/examples/sample.md +110 -0
  692. package/skills/user-story/scripts/user-story-template.py +65 -0
  693. package/skills/user-story/template.md +32 -0
  694. package/skills/user-story-mapping/SKILL.md +296 -0
  695. package/skills/user-story-mapping/examples/sample.md +77 -0
  696. package/skills/user-story-mapping/template.md +41 -0
  697. package/skills/user-story-mapping-workshop/SKILL.md +485 -0
  698. package/skills/user-story-mapping-workshop/template.md +28 -0
  699. package/skills/user-story-splitting/SKILL.md +313 -0
  700. package/skills/user-story-splitting/examples/sample.md +147 -0
  701. package/skills/user-story-splitting/template.md +37 -0
  702. package/skills/wacli/.clawhub/origin.json +7 -0
  703. package/skills/wacli/SKILL.md +53 -0
  704. package/skills/web-search/.clawhub/origin.json +7 -0
  705. package/skills/web-search/SKILL.md +151 -0
  706. package/skills/web-search/references/api-details.md +207 -0
  707. package/skills/web-search/scripts/search.py +576 -0
  708. package/skills/workshop-facilitation/SKILL.md +88 -0
  709. package/skills/world-builder/SKILL.md +27 -0
  710. package/souls/blockchain-auditor/PRINCIPLES.md +75 -0
  711. package/souls/blockchain-auditor/SOUL.md +56 -0
  712. package/souls/blockchain-auditor/capabilities.json +33 -0
  713. package/souls/blockchain-auditor/evolution/capsules.json +4 -0
  714. package/souls/blockchain-auditor/evolution/events.jsonl +1 -0
  715. package/souls/blockchain-auditor/evolution/genes.json +62 -0
  716. package/souls/daedalus/PRINCIPLES.md +78 -0
  717. package/souls/daedalus/SOUL.md +48 -0
  718. package/souls/daedalus/capabilities.json +46 -0
  719. package/souls/identity-architect/PRINCIPLES.md +83 -0
  720. package/souls/identity-architect/SOUL.md +66 -0
  721. package/souls/identity-architect/capabilities.json +38 -0
  722. package/souls/identity-architect/evolution/capsules.json +4 -0
  723. package/souls/identity-architect/evolution/events.jsonl +0 -0
  724. package/souls/identity-architect/evolution/genes.json +4 -0
  725. package/souls/infra-ops/PRINCIPLES.md +77 -0
  726. package/souls/infra-ops/SOUL.md +56 -0
  727. package/souls/infra-ops/capabilities.json +33 -0
  728. package/souls/infra-ops/evolution/capsules.json +4 -0
  729. package/souls/infra-ops/evolution/events.jsonl +0 -0
  730. package/souls/infra-ops/evolution/genes.json +4 -0
  731. package/souls/lore-writer/PRINCIPLES.md +74 -0
  732. package/souls/lore-writer/SOUL.md +54 -0
  733. package/souls/lore-writer/capabilities.json +37 -0
  734. package/souls/lore-writer/evolution/capsules.json +4 -0
  735. package/souls/lore-writer/evolution/events.jsonl +0 -0
  736. package/souls/lore-writer/evolution/genes.json +4 -0
  737. package/souls/qa-evidence/PRINCIPLES.md +97 -0
  738. package/souls/qa-evidence/SOUL.md +66 -0
  739. package/souls/qa-evidence/capabilities.json +32 -0
  740. package/souls/qa-evidence/evolution/capsules.json +4 -0
  741. package/souls/qa-evidence/evolution/events.jsonl +0 -0
  742. package/souls/qa-evidence/evolution/genes.json +4 -0
  743. package/souls/registry.json +211 -0
  744. package/souls/sync-registry.js +65 -0
  745. package/uninstall.sh +102 -0
  746. package/workspace-bin/auto-checkpoint +60 -0
  747. package/workspace-bin/clawvault-access-control +65 -0
  748. package/workspace-bin/clawvault-local +28 -0
  749. package/workspace-bin/compile-boot +494 -0
  750. package/workspace-bin/daily-log-writer.mjs +251 -0
  751. package/workspace-bin/evolve +540 -0
  752. package/workspace-bin/fitness_score.py +395 -0
  753. package/workspace-bin/hooks/pre-commit +80 -0
  754. package/workspace-bin/install-daemon +299 -0
  755. package/workspace-bin/lane-watchdog.js +232 -0
  756. package/workspace-bin/lib/__init__.py +0 -0
  757. package/workspace-bin/lib/frontmatter.py +114 -0
  758. package/workspace-bin/memory-daemon.mjs +879 -0
  759. package/workspace-bin/memory-maintenance.mjs +531 -0
  760. package/workspace-bin/mesh-bridge.mjs +154 -0
  761. package/workspace-bin/multi-review +130 -0
  762. package/workspace-bin/obsidian +125 -0
  763. package/workspace-bin/obsidian-sync.mjs +888 -0
  764. package/workspace-bin/openclaw-register-source +102 -0
  765. package/workspace-bin/proactive-scan +147 -0
  766. package/workspace-bin/quality-gate +175 -0
  767. package/workspace-bin/screenshot +96 -0
  768. package/workspace-bin/session-recap +453 -0
  769. package/workspace-bin/skill-audit +494 -0
  770. package/workspace-bin/skill-quality-check +134 -0
  771. package/workspace-bin/skill-routing-eval +599 -0
  772. package/workspace-bin/soul-prompt +251 -0
  773. package/workspace-bin/subagent-audit.mjs +267 -0
  774. package/workspace-bin/test-multi-soul-workflow +130 -0
  775. package/workspace-bin/trust-registry +465 -0
  776. package/workspace-docs/AGENTS.md +201 -0
  777. package/workspace-docs/CLAUDE.md +64 -0
  778. package/workspace-docs/PRINCIPLES.md +81 -0
  779. package/workspace-docs/SOUL.md +48 -0
@@ -0,0 +1,782 @@
1
+ ---
2
+ name: business-health-diagnostic
3
+ description: "Use when you need a holistic SaaS health check. Diagnoses growth, retention, unit economics, and capital efficiency to identify red flags, deliver a health scorecard, and prioritize urgent actions by severity."
4
+ type: interactive
5
+ triggers:
6
+ - "how healthy is my SaaS business"
7
+ - "run a business health diagnostic"
8
+ - "prepare metrics for our board meeting"
9
+ - "identify red flags in our SaaS metrics"
10
+ - "are our unit economics sustainable"
11
+ negative_triggers:
12
+ - "help me write a business plan"
13
+ - "what SaaS tools should I use"
14
+ - "explain what NRR means"
15
+ ---
16
+
17
+
18
+ ## Purpose
19
+
20
+ Diagnose overall SaaS business health by analyzing growth, retention, unit economics, and capital efficiency metrics together. Use this to identify problems early, prioritize actions by urgency, and deliver a comprehensive health scorecard for board meetings, quarterly reviews, or fundraising preparation.
21
+
22
+ This is not a single-metric check—it's a holistic diagnostic that connects revenue, retention, economics, and efficiency to reveal systemic issues and opportunities.
23
+
24
+ ## Key Concepts
25
+
26
+ ### The Business Health Framework
27
+
28
+ A SaaS business is healthy when four dimensions work together:
29
+
30
+ 1. **Growth & Retention** — Are you growing and keeping customers?
31
+ - Revenue growth rate
32
+ - NRR (Net Revenue Retention)
33
+ - Churn rate
34
+ - Quick Ratio
35
+
36
+ 2. **Unit Economics** — Is the business model profitable at the customer level?
37
+ - CAC (Customer Acquisition Cost)
38
+ - LTV (Lifetime Value)
39
+ - LTV:CAC ratio
40
+ - Payback period
41
+ - Gross margin
42
+
43
+ 3. **Capital Efficiency** — Are you using cash efficiently?
44
+ - Burn rate
45
+ - Runway
46
+ - Rule of 40
47
+ - Magic Number
48
+
49
+ 4. **Strategic Position** — Are you positioned for sustainable success?
50
+ - Market positioning (below, at, above market pricing)
51
+ - Competitive moat (network effects, data, brand)
52
+ - Revenue concentration risk
53
+ - Operating leverage
54
+
55
+ ### Stage-Specific Benchmarks
56
+
57
+ **Early Stage (Pre-$10M ARR):**
58
+ - Focus: Product-market fit, unit economics
59
+ - Growth: >50% YoY
60
+ - LTV:CAC: >3:1
61
+ - Gross Margin: >70%
62
+ - Runway: >12 months
63
+ - Acceptable: Negative margins, high burn (if unit economics work)
64
+
65
+ **Growth Stage ($10M-$50M ARR):**
66
+ - Focus: Scaling efficiently
67
+ - Growth: >40% YoY
68
+ - NRR: >100%
69
+ - Rule of 40: >40
70
+ - Magic Number: >0.75
71
+ - Acceptable: Moderate burn if growth is strong
72
+
73
+ **Scale Stage ($50M+ ARR):**
74
+ - Focus: Profitability, efficiency
75
+ - Growth: >25% YoY
76
+ - NRR: >110%
77
+ - Rule of 40: >40
78
+ - Profit Margin: >10%
79
+ - Required: Positive or near-positive cash flow
80
+
81
+ ### Red Flag Categories
82
+
83
+ **Critical (Fix immediately):**
84
+ - Runway <6 months
85
+ - LTV:CAC <1.5:1
86
+ - Churn accelerating cohort-over-cohort
87
+ - NRR <90%
88
+ - Magic Number <0.3
89
+
90
+ **High Priority (Fix within quarter):**
91
+ - Rule of 40 <25
92
+ - Payback >24 months
93
+ - Quick Ratio <2
94
+ - Gross margin <60%
95
+ - Revenue concentration >50% in top 10 customers
96
+
97
+ **Medium Priority (Address within 6 months):**
98
+ - NRR 90-100% (flat, not growing)
99
+ - Magic Number 0.3-0.5
100
+ - Operating leverage negative
101
+ - Churn rate stable but high (>5% monthly)
102
+
103
+ ### Anti-Patterns (What This Is NOT)
104
+
105
+ - **Not a single metric:** "Revenue is growing 50%, we're great!" (ignoring burn, churn, unit economics)
106
+ - **Not stage-agnostic:** Early-stage burn is acceptable; scale-stage burn is a problem
107
+ - **Not static:** Health is directional—are metrics improving or degrading?
108
+ - **Not just numbers:** Context matters (competitive pressure, market changes, team capacity)
109
+
110
+ ### When to Use This Framework
111
+
112
+ **Use this when:**
113
+ - Preparing for board meetings or investor updates
114
+ - Quarterly business reviews (QBR)
115
+ - Fundraising preparation (know your numbers)
116
+ - Annual planning (identify improvement areas)
117
+ - You suspect problems but can't pinpoint them
118
+ - New PM/exec joining and needs health assessment
119
+
120
+ **Don't use this when:**
121
+ - You're pre-revenue (focus on product-market fit first)
122
+ - You're in pure research mode (not enough data)
123
+ - You need tactical guidance (use specific skills: feature, channel, pricing)
124
+
125
+ ---
126
+
127
+ ### Facilitation Source of Truth
128
+
129
+ Use [`workshop-facilitation`](../workshop-facilitation/SKILL.md) as the default interaction protocol for this skill.
130
+
131
+ It defines:
132
+ - session heads-up + entry mode (Guided, Context dump, Best guess)
133
+ - one-question turns with plain-language prompts
134
+ - progress labels (for example, Context Qx/8 and Scoring Qx/5)
135
+ - interruption handling and pause/resume behavior
136
+ - numbered recommendations at decision points
137
+ - quick-select numbered response options for regular questions (include `Other (specify)` when useful)
138
+
139
+ This file defines the domain-specific assessment content. If there is a conflict, follow this file's domain logic.
140
+
141
+ ## Application
142
+
143
+ This interactive skill asks **up to 4 adaptive questions**, then delivers a comprehensive diagnostic with prioritized recommendations.
144
+
145
+ ---
146
+
147
+ ### Step 0: Gather Context
148
+
149
+ **Agent asks:**
150
+
151
+ "Let's diagnose your business health. I'll need metrics across four dimensions: growth, retention, unit economics, and capital efficiency.
152
+
153
+ **Company context:**
154
+ - Stage: (Pre-$10M ARR, $10M-$50M ARR, $50M+ ARR)
155
+ - Business model: (PLG, sales-led, hybrid)
156
+ - Target market: (SMB, mid-market, enterprise, mixed)
157
+
158
+ **Why this matters:** Benchmarks vary by stage. Early-stage optimizes for growth; scale-stage optimizes for efficiency.
159
+
160
+ Please provide the following metrics. Use 'unknown' if you don't have a metric."
161
+
162
+ ---
163
+
164
+ ### Step 1: Growth & Retention Metrics
165
+
166
+ **Agent asks:**
167
+
168
+ "**Growth & Retention:**
169
+
170
+ 1. **Revenue:**
171
+ - Current MRR or ARR: $___
172
+ - Revenue growth rate: ___% (MoM or YoY)
173
+
174
+ 2. **Retention:**
175
+ - Monthly churn rate: ___%
176
+ - NRR (Net Revenue Retention): ___%
177
+ - Quick Ratio: ___ (or I can calculate it)
178
+
179
+ 3. **Expansion:**
180
+ - Expansion revenue as % of total MRR: ___%
181
+
182
+ 4. **Cohort trends:**
183
+ - Are recent cohorts retaining better or worse than older cohorts?
184
+ 1. Better (improving)
185
+ 2. Same (stable)
186
+ 3. Worse (degrading)
187
+ 4. Unknown"
188
+
189
+ **Based on answers, agent evaluates:**
190
+ - ✅ **Healthy growth:** Growth >40% YoY (growth stage) or >25% (scale stage)
191
+ - ✅ **Healthy retention:** NRR >100%, churn <5% monthly, Quick Ratio >2
192
+ - 🚨 **Growth problems:** Growth <20% YoY
193
+ - 🚨 **Retention problems:** NRR <100%, churn >5%, cohort degradation
194
+
195
+ ---
196
+
197
+ ### Step 2: Unit Economics Metrics
198
+
199
+ **Agent asks:**
200
+
201
+ "**Unit Economics:**
202
+
203
+ 1. **Acquisition:**
204
+ - CAC (Customer Acquisition Cost): $___
205
+ - Blended or by channel? (If by channel, what's your best channel CAC?)
206
+
207
+ 2. **Value:**
208
+ - LTV (Lifetime Value): $___
209
+ - LTV:CAC ratio: ___ (or I can calculate it)
210
+ - Payback period: ___ months (or I can calculate it)
211
+
212
+ 3. **Margins:**
213
+ - Gross margin: ___%
214
+ - Contribution margin (if known): ___%
215
+
216
+ 4. **Trends:**
217
+ - Is CAC increasing, stable, or decreasing over time?
218
+ 1. Decreasing (improving efficiency)
219
+ 2. Stable
220
+ 3. Increasing (diminishing returns)
221
+ 4. Unknown"
222
+
223
+ **Based on answers, agent evaluates:**
224
+ - ✅ **Healthy economics:** LTV:CAC >3:1, payback <12 months, gross margin >70%
225
+ - ⚠️ **Marginal economics:** LTV:CAC 2-3:1, payback 12-18 months
226
+ - 🚨 **Poor economics:** LTV:CAC <2:1, payback >24 months, gross margin <60%
227
+
228
+ ---
229
+
230
+ ### Step 3: Capital Efficiency Metrics
231
+
232
+ **Agent asks:**
233
+
234
+ "**Capital Efficiency:**
235
+
236
+ 1. **Cash:**
237
+ - Cash balance: $___
238
+ - Monthly net burn rate: $___
239
+ - Runway: ___ months (or I can calculate it)
240
+
241
+ 2. **Efficiency ratios:**
242
+ - Rule of 40: ___ (Growth % + Profit Margin %) (or I can calculate it)
243
+ - Magic Number: ___ (S&M efficiency) (or I can calculate it)
244
+
245
+ 3. **Operating expenses:**
246
+ - S&M as % of revenue: ___%
247
+ - R&D as % of revenue: ___%
248
+ - Is OpEx growing faster than revenue?
249
+ 1. No (positive operating leverage)
250
+ 2. Yes (negative operating leverage)
251
+ 3. Unknown
252
+
253
+ 4. **Profitability:**
254
+ - Profit margin: ___%
255
+ - Path to profitability: (already profitable, 6-12 months, 12-24 months, >24 months, unknown)"
256
+
257
+ **Based on answers, agent evaluates:**
258
+ - ✅ **Healthy efficiency:** Rule of 40 >40, magic number >0.75, runway >12 months
259
+ - ⚠️ **Acceptable efficiency:** Rule of 40 25-40, magic number 0.5-0.75, runway 6-12 months
260
+ - 🚨 **Poor efficiency:** Rule of 40 <25, magic number <0.5, runway <6 months
261
+
262
+ ---
263
+
264
+ ### Step 4: Deliver Comprehensive Diagnostic
265
+
266
+ **Agent synthesizes all metrics and delivers:**
267
+
268
+ 1. **Overall Health Score** — Healthy / Moderate / Concerning / Critical
269
+ 2. **Dimension Scores** — Growth, Retention, Economics, Efficiency
270
+ 3. **Red Flags** — Critical, High Priority, Medium Priority
271
+ 4. **Prioritized Recommendations** — Top 3-5 actions with expected impact
272
+ 5. **Stage-Appropriate Benchmarks** — How you compare to peers
273
+
274
+ ---
275
+
276
+ #### Diagnostic Pattern 1: Healthy Business
277
+
278
+ **When:**
279
+ - Growth, retention, economics, and efficiency all meet stage-appropriate benchmarks
280
+ - No critical red flags
281
+ - Improving trends
282
+
283
+ **Output:**
284
+
285
+ "## ✅ Overall Health: **Healthy**
286
+
287
+ Your business shows strong fundamentals across all dimensions.
288
+
289
+ ---
290
+
291
+ ### Health Scorecard
292
+
293
+ | Dimension | Score | Status |
294
+ |-----------|-------|--------|
295
+ | **Growth & Retention** | ✅ Healthy | Growth ___% YoY, NRR ___%, Churn ___% |
296
+ | **Unit Economics** | ✅ Healthy | LTV:CAC ___:1, Payback ___ months |
297
+ | **Capital Efficiency** | ✅ Healthy | Rule of 40: ___, Runway ___ months |
298
+ | **Overall** | ✅ **Healthy** | Strong position for scaling |
299
+
300
+ ---
301
+
302
+ ### Key Strengths
303
+
304
+ 1. **[Specific strength 1]**
305
+ - Metric: [e.g., NRR 120%]
306
+ - Why it matters: [Expanding within base without new logos]
307
+
308
+ 2. **[Specific strength 2]**
309
+ - Metric: [e.g., LTV:CAC 5:1]
310
+ - Why it matters: [Sustainable unit economics support scaling]
311
+
312
+ 3. **[Specific strength 3]**
313
+ - Metric: [e.g., Rule of 40 = 65]
314
+ - Why it matters: [Excellent balance of growth and efficiency]
315
+
316
+ ---
317
+
318
+ ### Opportunities for Optimization
319
+
320
+ Even healthy businesses can improve. Here are your top opportunities:
321
+
322
+ **1. [Opportunity 1]**
323
+ - Current: [e.g., Magic Number 0.9]
324
+ - Opportunity: [Could scale S&M spend 2x and maintain efficiency]
325
+ - Impact: [+$___ MRR/month]
326
+
327
+ **2. [Opportunity 2]**
328
+ - Current: [e.g., Expansion revenue 15% of total]
329
+ - Opportunity: [Build upsell paths, target 25% expansion revenue]
330
+ - Impact: [NRR 110% → 120%]
331
+
332
+ **3. [Opportunity 3]**
333
+ - Current: [e.g., CAC $500, stable]
334
+ - Opportunity: [Improve conversion, reduce CAC to $400]
335
+ - Impact: [Faster payback, better LTV:CAC]
336
+
337
+ ---
338
+
339
+ ### Recommended Actions (Next Quarter)
340
+
341
+ **Priority 1: Scale what's working**
342
+ - [e.g., Double content marketing budget (best channel)]
343
+ - Expected impact: [+___ customers/month, +$___ MRR]
344
+
345
+ **Priority 2: Expand within base**
346
+ - [e.g., Launch premium tier for 20% of customers]
347
+ - Expected impact: [NRR 110% → 115%]
348
+
349
+ **Priority 3: Improve efficiency**
350
+ - [e.g., Optimize paid acquisition (reduce CAC 10%)]
351
+ - Expected impact: [Payback 8mo → 7mo]
352
+
353
+ ---
354
+
355
+ ### Monitor These Metrics
356
+
357
+ **Weekly:**
358
+ - NRR (should stay >___%)
359
+ - Churn rate (should stay <___%)
360
+ - Quick Ratio (should stay >___)
361
+
362
+ **Monthly:**
363
+ - Rule of 40 (should stay >___)
364
+ - Magic Number (should stay >___)
365
+ - LTV:CAC (should stay >___:1)
366
+
367
+ **Quarterly:**
368
+ - Cohort retention trends
369
+ - Revenue concentration risk
370
+ - Operating leverage
371
+
372
+ ---
373
+
374
+ ### Benchmarks (Your Stage: [Growth/Scale])
375
+
376
+ | Metric | Your Performance | Benchmark | Status |
377
+ |--------|------------------|-----------|--------|
378
+ | Growth Rate | ___% | >40% (growth) / >25% (scale) | ✅ |
379
+ | NRR | ___% | >100% | ✅ |
380
+ | LTV:CAC | ___:1 | >3:1 | ✅ |
381
+ | Rule of 40 | ___ | >40 | ✅ |
382
+ | Gross Margin | ___% | >70% | ✅ |
383
+
384
+ You're performing at or above benchmarks across the board."
385
+
386
+ ---
387
+
388
+ #### Diagnostic Pattern 2: Moderate Health (Fixable Issues)
389
+
390
+ **When:**
391
+ - Most metrics acceptable, but 1-2 dimensions have problems
392
+ - Medium-priority red flags
393
+ - Solvable with focus
394
+
395
+ **Output:**
396
+
397
+ "## ⚠️ Overall Health: **Moderate** (Fixable Issues)
398
+
399
+ Your business has good fundamentals but needs attention in [specific dimension].
400
+
401
+ ---
402
+
403
+ ### Health Scorecard
404
+
405
+ | Dimension | Score | Status |
406
+ |-----------|-------|--------|
407
+ | **Growth & Retention** | [✅ / ⚠️ / 🚨] | [Details] |
408
+ | **Unit Economics** | [✅ / ⚠️ / 🚨] | [Details] |
409
+ | **Capital Efficiency** | [✅ / ⚠️ / 🚨] | [Details] |
410
+ | **Overall** | ⚠️ **Moderate** | [Primary issue area] needs attention |
411
+
412
+ ---
413
+
414
+ ### Red Flags Identified
415
+
416
+ **High Priority** 🚨
417
+ 1. **[Specific red flag]**
418
+ - Metric: [e.g., NRR 95%]
419
+ - Threshold: [Should be >100%]
420
+ - Impact: [Base is contracting, not expanding]
421
+ - Fix by: [End of quarter]
422
+
423
+ **Medium Priority** ⚠️
424
+ 1. **[Specific issue]**
425
+ - Metric: [e.g., Magic Number 0.6]
426
+ - Threshold: [Should be >0.75]
427
+ - Impact: [S&M spend moderately efficient, room for improvement]
428
+ - Fix by: [6 months]
429
+
430
+ ---
431
+
432
+ ### Root Cause Analysis
433
+
434
+ **Primary Issue: [e.g., Retention & Expansion]**
435
+
436
+ **Symptoms:**
437
+ - NRR 95% (should be >100%)
438
+ - Churn rate 5% monthly (should be <3%)
439
+ - Expansion revenue only 10% of MRR (should be 20-30%)
440
+
441
+ **Diagnosis:**
442
+ [e.g., Customers are churning before they expand. Onboarding is weak, no clear upsell paths.]
443
+
444
+ **Impact:**
445
+ - Lost MRR: [Calculate churn impact]
446
+ - Missed expansion: [Calculate expansion opportunity]
447
+ - Total impact: [Combined revenue loss]
448
+
449
+ ---
450
+
451
+ ### Prioritized Action Plan
452
+
453
+ **Immediate (Next 30 days):**
454
+
455
+ **1. Fix [Primary Issue]**
456
+ - Action: [Specific step, e.g., "Launch onboarding improvement program"]
457
+ - Owner: [PM, Customer Success]
458
+ - Target: [Reduce churn 5% → 4%]
459
+ - Impact: [Save $___K MRR/month]
460
+
461
+ **Short-term (Next Quarter):**
462
+
463
+ **2. [Secondary Action]**
464
+ - Action: [e.g., "Build premium tier for upsell"]
465
+ - Target: [NRR 95% → 105%]
466
+ - Impact: [+$___K expansion MRR]
467
+
468
+ **3. [Tertiary Action]**
469
+ - Action: [e.g., "Optimize S&M spend, improve magic number"]
470
+ - Target: [Magic Number 0.6 → 0.8]
471
+ - Impact: [More efficient growth]
472
+
473
+ ---
474
+
475
+ ### What Success Looks Like (90 Days)
476
+
477
+ **Target metrics:**
478
+ - NRR: 95% → 105% (+10pp)
479
+ - Churn: 5% → 3.5% (-30%)
480
+ - Magic Number: 0.6 → 0.8 (+33%)
481
+
482
+ **Impact:**
483
+ - Monthly revenue saved from churn: +$___K
484
+ - Expansion revenue: +$___K
485
+ - More efficient S&M: [details]
486
+
487
+ **If you hit these targets, you'll be in 'Healthy' territory.**
488
+
489
+ ---
490
+
491
+ ### Monitor Weekly
492
+
493
+ **Must-track metrics:**
494
+ - Churn rate (track to ensure it's decreasing)
495
+ - NRR (track to ensure it's improving)
496
+ - Customer feedback (are improvements working?)
497
+
498
+ **Leading indicators:**
499
+ - Onboarding completion rate
500
+ - Time-to-value
501
+ - Usage metrics (activation, engagement)
502
+
503
+ ---
504
+
505
+ ### What Not to Do
506
+
507
+ **Don't:**
508
+ - Scale acquisition until retention is fixed (you'll just churn faster)
509
+ - Ignore expansion (it's easier than new acquisition)
510
+ - Wait too long (retention problems compound)"
511
+
512
+ ---
513
+
514
+ #### Diagnostic Pattern 3: Concerning Health (Urgent Action Required)
515
+
516
+ **When:**
517
+ - Multiple critical red flags
518
+ - 2+ dimensions problematic
519
+ - Requires immediate intervention
520
+
521
+ **Output:**
522
+
523
+ "## 🚨 Overall Health: **Concerning** (Urgent Action Required)
524
+
525
+ Your business has multiple critical issues that need immediate attention.
526
+
527
+ ---
528
+
529
+ ### Health Scorecard
530
+
531
+ | Dimension | Score | Status |
532
+ |-----------|-------|--------|
533
+ | **Growth & Retention** | 🚨 Concerning | [Details] |
534
+ | **Unit Economics** | 🚨 Concerning | [Details] |
535
+ | **Capital Efficiency** | 🚨 Critical | [Details] |
536
+ | **Overall** | 🚨 **Concerning** | Multiple urgent issues |
537
+
538
+ ---
539
+
540
+ ### Critical Red Flags 🚨
541
+
542
+ **1. [Critical Issue 1 - e.g., Runway]**
543
+ - Current: [6 months runway]
544
+ - Threshold: [<6 months = crisis]
545
+ - Impact: [Survival risk]
546
+ - Action: [Raise capital OR cut burn immediately]
547
+ - Timeline: [30 days]
548
+
549
+ **2. [Critical Issue 2 - e.g., Unit Economics]**
550
+ - Current: [LTV:CAC 1.2:1]
551
+ - Threshold: [<1.5:1 = unsustainable]
552
+ - Impact: [Losing money on every customer]
553
+ - Action: [Reduce CAC OR increase LTV]
554
+ - Timeline: [60 days]
555
+
556
+ **3. [Critical Issue 3 - e.g., Cohort Degradation]**
557
+ - Current: [Newer cohorts churning 2x faster than old]
558
+ - Threshold: [Degrading PMF]
559
+ - Impact: [Scaling makes problem worse]
560
+ - Action: [Stop scaling, fix retention]
561
+ - Timeline: [90 days]
562
+
563
+ ---
564
+
565
+ ### Survival Plan (Next 90 Days)
566
+
567
+ **Week 1-2: Triage**
568
+
569
+ **Immediate actions:**
570
+ 1. **Extend runway** (if <6 months)
571
+ - Option A: Raise bridge round ($___K)
572
+ - Option B: Cut burn by ___%
573
+ - Option C: Combination
574
+ - Decision by: [Date]
575
+
576
+ 2. **Stop scaling broken channels**
577
+ - Pause S&M spend on channels with LTV:CAC <2:1
578
+ - Reallocate budget to [best-performing channel]
579
+
580
+ 3. **Assemble crisis team**
581
+ - Daily standups on key metrics
582
+ - Weekly progress reviews
583
+
584
+ ---
585
+
586
+ **Month 1: Stop the Bleeding**
587
+
588
+ **Priority 1: Fix Unit Economics**
589
+ - Current: LTV:CAC ___:1 (unsustainable)
590
+ - Actions:
591
+ 1. Reduce CAC: [Specific tactics]
592
+ 2. Increase LTV: [Improve retention, add expansion]
593
+ - Target: LTV:CAC >2:1 within 30 days
594
+
595
+ **Priority 2: Improve Retention**
596
+ - Current: Churn ___% (too high)
597
+ - Actions:
598
+ 1. Interview churned customers (identify top 3 reasons)
599
+ 2. Fix onboarding (reduce early churn)
600
+ 3. Proactive outreach to at-risk accounts
601
+ - Target: Reduce churn by 20% within 30 days
602
+
603
+ ---
604
+
605
+ **Month 2-3: Stabilize**
606
+
607
+ **Milestone 1: Positive Unit Economics**
608
+ - LTV:CAC >2:1 ✅
609
+ - Payback <18 months ✅
610
+ - Gross margin >60% ✅
611
+
612
+ **Milestone 2: Slowing Churn**
613
+ - Churn decreasing month-over-month
614
+ - Cohort degradation stopped
615
+ - NRR improving toward 100%
616
+
617
+ **Milestone 3: Runway Extended**
618
+ - 12+ months runway (via fundraise or burn reduction)
619
+ - Clear path to next milestone
620
+
621
+ ---
622
+
623
+ ### What Success Looks Like (Day 90)
624
+
625
+ **Metrics:**
626
+ - Runway: ___ months → 12+ months ✅
627
+ - LTV:CAC: ___:1 → >2:1 ✅
628
+ - Churn: ___% → reduced by 30% ✅
629
+ - NRR: ___% → improving toward 100%
630
+
631
+ **Position:**
632
+ - Out of crisis mode
633
+ - Stable foundation to rebuild growth
634
+ - Clear plan for next 6-12 months
635
+
636
+ ---
637
+
638
+ ### What to Avoid
639
+
640
+ **Don't:**
641
+ - Try to grow your way out of this (fix unit economics first)
642
+ - Ignore the data (hope is not a strategy)
643
+ - Scale before you fix retention (accelerates failure)
644
+ - Wait until runway <3 months to fundraise (too late)
645
+
646
+ **Do:**
647
+ - Focus ruthlessly on retention and unit economics
648
+ - Cut costs to extend runway
649
+ - Be honest with board/investors about problems
650
+ - Move fast (you don't have time to waste)"
651
+
652
+ ---
653
+
654
+ #### Diagnostic Pattern 4: Critical Health (Existential Crisis)
655
+
656
+ **When:**
657
+ - Runway <3 months OR
658
+ - Multiple critical failures (LTV:CAC <1:1, massive churn, no path to profitability)
659
+
660
+ **Output:**
661
+
662
+ "## 🚨🚨 Overall Health: **Critical** (Existential Crisis)
663
+
664
+ Your business is in survival mode. Immediate drastic action required.
665
+
666
+ [Similar structure to Pattern 3, but more urgent tone, shorter timelines, more drastic measures]
667
+
668
+ **Immediate Actions (This Week):**
669
+ 1. Emergency board meeting
670
+ 2. Fundraise immediately OR cut burn 50%+
671
+ 3. Stop all non-essential spend
672
+ 4. Fix top 1-2 critical issues (runway, unit economics)"
673
+
674
+ ---
675
+
676
+ ## Examples
677
+
678
+ See `examples/` folder. Mini examples below:
679
+
680
+ ### Example 1: Healthy Growth-Stage SaaS
681
+
682
+ **Metrics:**
683
+ - ARR: $20M, Growth: 60% YoY
684
+ - NRR: 115%, Churn: 2.5%
685
+ - LTV:CAC: 4:1, Payback: 10 months
686
+ - Rule of 40: 50, Runway: 18 months
687
+
688
+ **Diagnosis:** Healthy. Scale aggressively.
689
+
690
+ ---
691
+
692
+ ### Example 2: Moderate Health (Retention Issue)
693
+
694
+ **Metrics:**
695
+ - ARR: $15M, Growth: 40% YoY
696
+ - NRR: 95%, Churn: 5%
697
+ - LTV:CAC: 3.5:1, Payback: 12 months
698
+ - Rule of 40: 38, Runway: 12 months
699
+
700
+ **Diagnosis:** Moderate. Fix retention before scaling further.
701
+
702
+ ---
703
+
704
+ ### Example 3: Concerning (Multiple Issues)
705
+
706
+ **Metrics:**
707
+ - ARR: $8M, Growth: 25% YoY (slowing)
708
+ - NRR: 88%, Churn: 7% (increasing)
709
+ - LTV:CAC: 1.8:1, Payback: 20 months
710
+ - Rule of 40: 15, Runway: 8 months
711
+
712
+ **Diagnosis:** Concerning. Urgent action on retention and unit economics required.
713
+
714
+ ---
715
+
716
+ ## Common Pitfalls
717
+
718
+ ### Pitfall 1: Celebrating Single Metrics
719
+ **Symptom:** "Revenue growing 50%!" (ignoring burn, churn, unit economics)
720
+
721
+ **Consequence:** Unsustainable growth. Scaling broken model.
722
+
723
+ **Fix:** Look at all four dimensions together.
724
+
725
+ ---
726
+
727
+ ### Pitfall 2: Ignoring Stage-Specific Benchmarks
728
+ **Symptom:** "We're not profitable yet, is that bad?" (early-stage company)
729
+
730
+ **Consequence:** Misplaced worry. Early-stage should optimize for growth and unit economics, not profitability.
731
+
732
+ **Fix:** Use stage-appropriate benchmarks.
733
+
734
+ ---
735
+
736
+ ### Pitfall 3: Focusing on Lagging Indicators Only
737
+ **Symptom:** "Churn is 5%, let's watch it"
738
+
739
+ **Consequence:** By the time lagging indicators (churn, NRR) show problems, it's late.
740
+
741
+ **Fix:** Track leading indicators (usage, engagement, onboarding completion).
742
+
743
+ ---
744
+
745
+ ### Pitfall 4: Not Acting on Red Flags
746
+ **Symptom:** "NRR <100% for 3 quarters, but we'll fix it eventually"
747
+
748
+ **Consequence:** Problems compound. Becomes crisis.
749
+
750
+ **Fix:** Set clear timelines. If metric doesn't improve in X time, escalate.
751
+
752
+ ---
753
+
754
+ ### Pitfall 5: Trying to Fix Everything at Once
755
+ **Symptom:** "Let's improve growth, retention, CAC, and efficiency simultaneously"
756
+
757
+ **Consequence:** Resources spread thin. Nothing improves.
758
+
759
+ **Fix:** Prioritize top 1-3 issues. Fix sequentially.
760
+
761
+ ---
762
+
763
+ ## References
764
+
765
+ ### Related Skills
766
+ - `saas-revenue-growth-metrics` — Detailed growth and retention metrics
767
+ - `saas-economics-efficiency-metrics` — Detailed unit economics and capital efficiency
768
+ - `finance-metrics-quickref` — Fast lookup for all metrics and benchmarks
769
+ - `feature-investment-advisor` — Uses health diagnostic to inform feature priorities
770
+ - `acquisition-channel-advisor` — Uses health diagnostic to inform channel priorities
771
+ - `finance-based-pricing-advisor` — Uses health diagnostic to inform pricing decisions
772
+
773
+ ### External Frameworks
774
+ - **Bessemer Venture Partners:** "SaaS Metrics 2.0" — Comprehensive benchmarks
775
+ - **David Skok:** "SaaS Metrics" — Unit economics benchmarks
776
+ - **OpenView Partners:** SaaS benchmarking reports
777
+ - **Battery Ventures:** "State of SaaS" annual report
778
+
779
+ ### Provenance
780
+ - Adapted from `research/finance/Finance_QuickRef.md` (Red flags table)
781
+ - Decision frameworks from `research/finance/Finance_For_PMs.Putting_It_Together_Synthesis.md`
782
+ - Benchmarks from `research/finance/Finance for Product Managers.md`