@monoes/monomindcli 2.16.3 → 2.16.5

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 (488) hide show
  1. package/.claude/agents/github/repo-architect.md +1 -1
  2. package/.claude/agents/specialists/integration-architect.md +9 -13
  3. package/.claude/commands/agents/agent-capabilities.md +1 -0
  4. package/.claude/commands/agents/agent-coordination.md +1 -0
  5. package/.claude/commands/agents/agent-spawning.md +1 -0
  6. package/.claude/commands/agents/agent-types.md +1 -0
  7. package/.claude/commands/analysis/bottleneck-detect.md +1 -0
  8. package/.claude/commands/analysis/performance-bottlenecks.md +1 -0
  9. package/.claude/commands/analysis/performance-report.md +1 -0
  10. package/.claude/commands/analysis/token-usage.md +1 -0
  11. package/.claude/commands/automation/README.md +1 -1
  12. package/.claude/commands/automation/auto-agent.md +1 -0
  13. package/.claude/commands/automation/self-healing.md +1 -0
  14. package/.claude/commands/automation/session-memory.md +1 -0
  15. package/.claude/commands/automation/smart-agents.md +1 -0
  16. package/.claude/commands/automation/smart-spawn.md +1 -0
  17. package/.claude/commands/automation/workflow-select.md +22 -27
  18. package/.claude/commands/coordination/README.md +2 -2
  19. package/.claude/commands/coordination/agent-spawn.md +1 -0
  20. package/.claude/commands/coordination/monoswarm-init.md +9 -8
  21. package/.claude/commands/coordination/task-orchestrate.md +6 -5
  22. package/.claude/commands/github/README.md +1 -1
  23. package/.claude/commands/github/github-modes.md +1 -0
  24. package/.claude/commands/github/issue-tracker.md +1 -0
  25. package/.claude/commands/github/pr-manager.md +1 -0
  26. package/.claude/commands/github/release-manager.md +1 -2
  27. package/.claude/commands/github/repo-architect.md +1 -0
  28. package/.claude/commands/github/sync-coordinator.md +1 -0
  29. package/.claude/commands/hooks/overview.md +1 -0
  30. package/.claude/commands/hooks/post-edit.md +1 -0
  31. package/.claude/commands/hooks/post-task.md +1 -0
  32. package/.claude/commands/hooks/pre-edit.md +1 -0
  33. package/.claude/commands/hooks/pre-task.md +1 -0
  34. package/.claude/commands/hooks/session-end.md +1 -0
  35. package/.claude/commands/hooks/setup.md +1 -0
  36. package/.claude/commands/mastermind/adr.md +3 -1
  37. package/.claude/commands/mastermind/brain.md +3 -1
  38. package/.claude/commands/mastermind/budget.md +3 -1
  39. package/.claude/commands/mastermind/code-review.md +3 -1
  40. package/.claude/commands/mastermind/content.md +3 -1
  41. package/.claude/commands/mastermind/createorg.md +4 -2
  42. package/.claude/commands/mastermind/createtask.md +6 -4
  43. package/.claude/commands/mastermind/debug.md +3 -1
  44. package/.claude/commands/mastermind/design.md +3 -1
  45. package/.claude/commands/mastermind/do.md +5 -3
  46. package/.claude/commands/mastermind/execute.md +3 -1
  47. package/.claude/commands/mastermind/finance.md +3 -1
  48. package/.claude/commands/mastermind/graph-status.md +3 -1
  49. package/.claude/commands/mastermind/help.md +17 -20
  50. package/.claude/commands/mastermind/idea.md +3 -1
  51. package/.claude/commands/mastermind/ideate.md +4 -2
  52. package/.claude/commands/mastermind/improve.md +4 -2
  53. package/.claude/commands/mastermind/loops.md +3 -1
  54. package/.claude/commands/mastermind/marketing.md +3 -1
  55. package/.claude/commands/mastermind/master.md +4 -3
  56. package/.claude/commands/mastermind/memory.md +8 -36
  57. package/.claude/commands/mastermind/monoswarm.md +3 -2
  58. package/.claude/commands/mastermind/okf-export.md +3 -1
  59. package/.claude/commands/mastermind/okf-import.md +3 -1
  60. package/.claude/commands/mastermind/ops.md +3 -1
  61. package/.claude/commands/mastermind/orgs.md +3 -1
  62. package/.claude/commands/mastermind/orgstatus.md +3 -1
  63. package/.claude/commands/mastermind/plan.md +3 -1
  64. package/.claude/commands/mastermind/receive-review.md +3 -1
  65. package/.claude/commands/mastermind/release.md +3 -1
  66. package/.claude/commands/mastermind/repeat.md +3 -1
  67. package/.claude/commands/mastermind/research.md +3 -1
  68. package/.claude/commands/mastermind/review.md +3 -1
  69. package/.claude/commands/mastermind/runorg.md +4 -2
  70. package/.claude/commands/mastermind/sales.md +3 -1
  71. package/.claude/commands/mastermind/skill-builder.md +3 -1
  72. package/.claude/commands/mastermind/specialagents.md +3 -1
  73. package/.claude/commands/mastermind/stoporg.md +9 -11
  74. package/.claude/commands/mastermind/techport.md +3 -1
  75. package/.claude/commands/mastermind/topology.md +4 -3
  76. package/.claude/commands/mastermind/understand.md +3 -1
  77. package/.claude/commands/mastermind/worktree.md +3 -1
  78. package/.claude/commands/memory/memory-search.md +1 -0
  79. package/.claude/commands/monitoring/README.md +1 -1
  80. package/.claude/commands/monitoring/agent-metrics.md +1 -0
  81. package/.claude/commands/monitoring/agents.md +1 -0
  82. package/.claude/commands/monitoring/status.md +1 -0
  83. package/.claude/commands/monoswarm/README.md +3 -3
  84. package/.claude/commands/monoswarm/analysis.md +2 -2
  85. package/.claude/commands/monoswarm/consensus.md +1 -0
  86. package/.claude/commands/monoswarm/development.md +3 -3
  87. package/.claude/commands/monoswarm/examples.md +4 -4
  88. package/.claude/commands/monoswarm/init.md +2 -1
  89. package/.claude/commands/monoswarm/maintenance.md +2 -2
  90. package/.claude/commands/monoswarm/memory.md +1 -0
  91. package/.claude/commands/monoswarm/monoswarm.md +5 -5
  92. package/.claude/commands/monoswarm/optimization.md +2 -2
  93. package/.claude/commands/monoswarm/research.md +2 -2
  94. package/.claude/commands/monoswarm/spawn.md +1 -0
  95. package/.claude/commands/monoswarm/status.md +2 -1
  96. package/.claude/commands/monoswarm/stop.md +2 -1
  97. package/.claude/commands/monoswarm/testing.md +2 -2
  98. package/.claude/commands/pair/README.md +8 -9
  99. package/.claude/commands/pair/examples.md +3 -4
  100. package/.claude/commands/pair/session.md +1 -1
  101. package/.claude/commands/workflows/README.md +45 -40
  102. package/.claude/commands/workflows/development.md +42 -55
  103. package/.claude/commands/workflows/research.md +41 -57
  104. package/.claude/commands/workflows/workflow-create.md +43 -45
  105. package/.claude/commands/workflows/workflow-execute.md +58 -68
  106. package/.claude/commands/workflows/workflow-export.md +37 -63
  107. package/.claude/helpers/agent-registry.cjs +434 -0
  108. package/.claude/helpers/build-skill-registry.cjs +10 -6
  109. package/.claude/helpers/handlers/pick-core.cjs +55 -26
  110. package/.claude/helpers/handlers/route-handler.cjs +11 -3
  111. package/.claude/helpers/handlers/session-restore-handler.cjs +4 -1
  112. package/.claude/helpers/hook-handler.cjs +4 -2
  113. package/.claude/helpers/jev-catalog.cjs +14 -6
  114. package/.claude/helpers/jev-picker.cjs +52 -8
  115. package/.claude/helpers/pick-rank.cjs +184 -6
  116. package/.claude/helpers/pick-stats.cjs +86 -2
  117. package/.claude/skills/agentic-jujutsu/SKILL.md +2 -3
  118. package/.claude/skills/github-toolkit/SKILL.md +1 -1
  119. package/.claude/skills/hooks-automation/SKILL.md +243 -938
  120. package/.claude/skills/mastermind-agent-detail/SKILL.md +1 -1
  121. package/.claude/skills/mastermind-agent-select/SKILL.md +16 -1
  122. package/.claude/skills/mastermind-agents/SKILL.md +31 -38
  123. package/.claude/skills/mastermind-createorg/SKILL.md +3 -3
  124. package/.claude/skills/mastermind-env/SKILL.md +4 -18
  125. package/.claude/skills/mastermind-inbox/SKILL.md +31 -52
  126. package/.claude/skills/mastermind-instance/SKILL.md +7 -5
  127. package/.claude/skills/mastermind-new-agent/SKILL.md +3 -3
  128. package/.claude/skills/mastermind-org-settings/SKILL.md +3 -4
  129. package/.claude/skills/mastermind-orgs/SKILL.md +26 -32
  130. package/.claude/skills/mastermind-orgstatus/SKILL.md +49 -140
  131. package/.claude/skills/mastermind-plugins/SKILL.md +1 -1
  132. package/.claude/skills/mastermind-release/SKILL.md +9 -1
  133. package/.claude/skills/mastermind-research/SKILL.md +9 -1
  134. package/.claude/skills/mastermind-review/SKILL.md +9 -1
  135. package/.claude/skills/mastermind-routine-detail/SKILL.md +1 -1
  136. package/.claude/skills/mastermind-runorg/SKILL.md +13 -13
  137. package/.claude/skills/mastermind-stoporg/SKILL.md +7 -62
  138. package/.claude/skills/mastermind-tasks/SKILL.md +6 -8
  139. package/.claude/skills/monodesign/SKILL.md +257 -0
  140. package/.claude/skills/monodesign/adapt.md +53 -0
  141. package/.claude/skills/monodesign/agents/monodesign-asset-producer.md +100 -0
  142. package/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
  143. package/.claude/skills/monodesign/animate.md +65 -0
  144. package/.claude/skills/monodesign/audit.md +89 -0
  145. package/.claude/skills/monodesign/bolder.md +50 -0
  146. package/.claude/skills/monodesign/clarify.md +64 -0
  147. package/.claude/skills/monodesign/colorize.md +68 -0
  148. package/.claude/skills/monodesign/craft.md +51 -0
  149. package/.claude/skills/monodesign/critique.md +66 -0
  150. package/.claude/skills/monodesign/delight.md +47 -0
  151. package/.claude/skills/monodesign/distill.md +56 -0
  152. package/.claude/skills/monodesign/document.md +83 -0
  153. package/.claude/skills/monodesign/extract.md +74 -0
  154. package/.claude/skills/monodesign/harden.md +65 -0
  155. package/.claude/skills/monodesign/init.md +30 -0
  156. package/.claude/skills/monodesign/layout.md +36 -0
  157. package/.claude/skills/monodesign/live.md +34 -0
  158. package/.claude/skills/monodesign/onboard.md +50 -0
  159. package/.claude/skills/monodesign/optimize.md +64 -0
  160. package/.claude/skills/monodesign/overdrive.md +56 -0
  161. package/.claude/skills/monodesign/polish.md +68 -0
  162. package/.claude/skills/monodesign/quieter.md +57 -0
  163. package/.claude/skills/monodesign/reference/adapt.md +312 -0
  164. package/.claude/skills/monodesign/reference/adapt.native.md +58 -0
  165. package/.claude/skills/monodesign/reference/android.md +40 -0
  166. package/.claude/skills/monodesign/reference/animate.md +203 -0
  167. package/.claude/skills/monodesign/reference/antipatterns-catalog.md +410 -0
  168. package/.claude/skills/monodesign/reference/audit.md +135 -0
  169. package/.claude/skills/monodesign/reference/audit.native.md +139 -0
  170. package/.claude/skills/monodesign/reference/bolder.md +120 -0
  171. package/.claude/skills/monodesign/reference/brand-workflow.md +180 -0
  172. package/.claude/skills/monodesign/reference/brand.md +108 -0
  173. package/.claude/skills/monodesign/reference/clarify.md +288 -0
  174. package/.claude/skills/monodesign/reference/codex.md +105 -0
  175. package/.claude/skills/monodesign/reference/cognitive-load.md +106 -0
  176. package/.claude/skills/monodesign/reference/color-and-contrast.md +105 -0
  177. package/.claude/skills/monodesign/reference/colorize.md +257 -0
  178. package/.claude/skills/monodesign/reference/component-specs.md +260 -0
  179. package/.claude/skills/monodesign/reference/component-states.md +274 -0
  180. package/.claude/skills/monodesign/reference/component-system.md +358 -0
  181. package/.claude/skills/monodesign/reference/copy-formulas.md +160 -0
  182. package/.claude/skills/monodesign/reference/craft.md +123 -0
  183. package/.claude/skills/monodesign/reference/critique.md +780 -0
  184. package/.claude/skills/monodesign/reference/delight.md +302 -0
  185. package/.claude/skills/monodesign/reference/design-principles.md +246 -0
  186. package/.claude/skills/monodesign/reference/distill.md +111 -0
  187. package/.claude/skills/monodesign/reference/document.md +429 -0
  188. package/.claude/skills/monodesign/reference/extract.md +69 -0
  189. package/.claude/skills/monodesign/reference/harden.md +347 -0
  190. package/.claude/skills/monodesign/reference/heuristics-scoring.md +234 -0
  191. package/.claude/skills/monodesign/reference/hooks.md +92 -0
  192. package/.claude/skills/monodesign/reference/image-prompts.md +130 -0
  193. package/.claude/skills/monodesign/reference/init.md +221 -0
  194. package/.claude/skills/monodesign/reference/interaction-design.md +189 -0
  195. package/.claude/skills/monodesign/reference/ios.md +45 -0
  196. package/.claude/skills/monodesign/reference/layout.md +185 -0
  197. package/.claude/skills/monodesign/reference/live.md +710 -0
  198. package/.claude/skills/monodesign/reference/motion-design.md +109 -0
  199. package/.claude/skills/monodesign/reference/onboard.md +234 -0
  200. package/.claude/skills/monodesign/reference/optimize.md +258 -0
  201. package/.claude/skills/monodesign/reference/overdrive.md +130 -0
  202. package/.claude/skills/monodesign/reference/personas.md +179 -0
  203. package/.claude/skills/monodesign/reference/polish.md +241 -0
  204. package/.claude/skills/monodesign/reference/pre-delivery-checklist.md +108 -0
  205. package/.claude/skills/monodesign/reference/product.md +60 -0
  206. package/.claude/skills/monodesign/reference/quieter.md +99 -0
  207. package/.claude/skills/monodesign/reference/responsive-design.md +114 -0
  208. package/.claude/skills/monodesign/reference/shape.md +165 -0
  209. package/.claude/skills/monodesign/reference/spatial-design.md +100 -0
  210. package/.claude/skills/monodesign/reference/teach.md +10 -0
  211. package/.claude/skills/monodesign/reference/token-architecture.md +222 -0
  212. package/.claude/skills/monodesign/reference/typeset.md +301 -0
  213. package/.claude/skills/monodesign/reference/typography.md +159 -0
  214. package/.claude/skills/monodesign/reference/ux-research.md +143 -0
  215. package/.claude/skills/monodesign/reference/ux-rules.md +211 -0
  216. package/.claude/skills/monodesign/reference/ux-writing.md +107 -0
  217. package/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
  218. package/.claude/skills/monodesign/scripts/context-signals.mjs +260 -0
  219. package/.claude/skills/monodesign/scripts/context.mjs +1065 -0
  220. package/.claude/skills/monodesign/scripts/critique-storage.mjs +416 -0
  221. package/.claude/skills/monodesign/scripts/detect-csp.mjs +193 -0
  222. package/.claude/skills/monodesign/scripts/detect.mjs +33 -0
  223. package/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1960 -0
  224. package/.claude/skills/monodesign/scripts/detector/cli/main.mjs +321 -0
  225. package/.claude/skills/monodesign/scripts/detector/design-system.mjs +814 -0
  226. package/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5628 -0
  227. package/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +50 -0
  228. package/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +259 -0
  229. package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +339 -0
  230. package/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +636 -0
  231. package/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1016 -0
  232. package/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +253 -0
  233. package/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +198 -0
  234. package/.claude/skills/monodesign/scripts/detector/findings.mjs +12 -0
  235. package/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +181 -0
  236. package/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +373 -0
  237. package/.claude/skills/monodesign/scripts/detector/fix/index.mjs +426 -0
  238. package/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +198 -0
  239. package/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +166 -0
  240. package/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +563 -0
  241. package/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +3024 -0
  242. package/.claude/skills/monodesign/scripts/detector/shared/color.mjs +124 -0
  243. package/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +101 -0
  244. package/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +30 -0
  245. package/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +148 -0
  246. package/.claude/skills/monodesign/scripts/detector/shared/page.mjs +7 -0
  247. package/.claude/skills/monodesign/scripts/hook-admin.mjs +694 -0
  248. package/.claude/skills/monodesign/scripts/hook-before-edit.mjs +516 -0
  249. package/.claude/skills/monodesign/scripts/hook-lib.mjs +1785 -0
  250. package/.claude/skills/monodesign/scripts/hook.mjs +61 -0
  251. package/.claude/skills/monodesign/scripts/lib/design-parser.mjs +809 -0
  252. package/.claude/skills/monodesign/scripts/lib/is-generated.mjs +69 -0
  253. package/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +640 -0
  254. package/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +129 -0
  255. package/.claude/skills/monodesign/scripts/lib/provider.mjs +4 -0
  256. package/.claude/skills/monodesign/scripts/lib/target-args.mjs +42 -0
  257. package/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +50 -0
  258. package/.claude/skills/monodesign/scripts/live/completion.mjs +19 -0
  259. package/.claude/skills/monodesign/scripts/live/event-validation.mjs +137 -0
  260. package/.claude/skills/monodesign/scripts/live/insert-ui.mjs +458 -0
  261. package/.claude/skills/monodesign/scripts/live/manual-apply.mjs +939 -0
  262. package/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +357 -0
  263. package/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +152 -0
  264. package/.claude/skills/monodesign/scripts/live/session-store.mjs +293 -0
  265. package/.claude/skills/monodesign/scripts/live/svelte-component.mjs +826 -0
  266. package/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +279 -0
  267. package/.claude/skills/monodesign/scripts/live/ui-core.mjs +180 -0
  268. package/.claude/skills/monodesign/scripts/live/vocabulary.mjs +36 -0
  269. package/.claude/skills/monodesign/scripts/live-accept.mjs +812 -0
  270. package/.claude/skills/monodesign/scripts/live-browser-dom.js +147 -0
  271. package/.claude/skills/monodesign/scripts/live-browser-session.js +124 -0
  272. package/.claude/skills/monodesign/scripts/live-browser.js +11213 -0
  273. package/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1241 -0
  274. package/.claude/skills/monodesign/scripts/live-complete.mjs +75 -0
  275. package/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +683 -0
  276. package/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +51 -0
  277. package/.claude/skills/monodesign/scripts/live-inject.mjs +596 -0
  278. package/.claude/skills/monodesign/scripts/live-insert.mjs +272 -0
  279. package/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +363 -0
  280. package/.claude/skills/monodesign/scripts/live-poll.mjs +384 -0
  281. package/.claude/skills/monodesign/scripts/live-resume.mjs +94 -0
  282. package/.claude/skills/monodesign/scripts/live-server.mjs +1210 -0
  283. package/.claude/skills/monodesign/scripts/live-status.mjs +61 -0
  284. package/.claude/skills/monodesign/scripts/live-target.mjs +30 -0
  285. package/.claude/skills/monodesign/scripts/live-wrap.mjs +884 -0
  286. package/.claude/skills/monodesign/scripts/live.mjs +297 -0
  287. package/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +14 -0
  288. package/.claude/skills/monodesign/scripts/palette.mjs +635 -0
  289. package/.claude/skills/monodesign/scripts/pin.mjs +221 -0
  290. package/.claude/skills/monodesign/shape.md +71 -0
  291. package/.claude/skills/monodesign/teach.md +18 -0
  292. package/.claude/skills/monodesign/typeset.md +59 -0
  293. package/.claude/skills/monolean-audit/SKILL.md +4 -6
  294. package/.claude/skills/monolean-help/SKILL.md +0 -1
  295. package/.claude/skills/monoswarm/SKILL.md +17 -17
  296. package/.claude/skills/pair-programming/SKILL.md +127 -1100
  297. package/README.md +28 -43
  298. package/dist/src/agents/registry-builder.d.ts +58 -22
  299. package/dist/src/agents/registry-builder.d.ts.map +1 -1
  300. package/dist/src/agents/registry-builder.js +41 -341
  301. package/dist/src/agents/registry-builder.js.map +1 -1
  302. package/dist/src/agents/registry-freshness.d.ts +4 -4
  303. package/dist/src/agents/registry-freshness.d.ts.map +1 -1
  304. package/dist/src/agents/registry-freshness.js +11 -60
  305. package/dist/src/agents/registry-freshness.js.map +1 -1
  306. package/dist/src/commands/doc.d.ts.map +1 -1
  307. package/dist/src/commands/doc.js +6 -15
  308. package/dist/src/commands/doc.js.map +1 -1
  309. package/dist/src/commands/doctor-pick-checks.d.ts +20 -3
  310. package/dist/src/commands/doctor-pick-checks.d.ts.map +1 -1
  311. package/dist/src/commands/doctor-pick-checks.js +138 -45
  312. package/dist/src/commands/doctor-pick-checks.js.map +1 -1
  313. package/dist/src/commands/doctor-project-checks.d.ts +2 -2
  314. package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
  315. package/dist/src/commands/doctor-project-checks.js +21 -17
  316. package/dist/src/commands/doctor-project-checks.js.map +1 -1
  317. package/dist/src/commands/doctor.d.ts.map +1 -1
  318. package/dist/src/commands/doctor.js +6 -4
  319. package/dist/src/commands/doctor.js.map +1 -1
  320. package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
  321. package/dist/src/commands/hooks-routing-commands.js +4 -3
  322. package/dist/src/commands/hooks-routing-commands.js.map +1 -1
  323. package/dist/src/commands/init-upgrade.d.ts.map +1 -1
  324. package/dist/src/commands/init-upgrade.js +10 -0
  325. package/dist/src/commands/init-upgrade.js.map +1 -1
  326. package/dist/src/commands/init-wizard.d.ts.map +1 -1
  327. package/dist/src/commands/init-wizard.js +7 -2
  328. package/dist/src/commands/init-wizard.js.map +1 -1
  329. package/dist/src/commands/init.d.ts.map +1 -1
  330. package/dist/src/commands/init.js +27 -27
  331. package/dist/src/commands/init.js.map +1 -1
  332. package/dist/src/commands/monograph.d.ts.map +1 -1
  333. package/dist/src/commands/monograph.js +16 -21
  334. package/dist/src/commands/monograph.js.map +1 -1
  335. package/dist/src/commands/org.js +1 -1
  336. package/dist/src/commands/org.js.map +1 -1
  337. package/dist/src/commands/pick.d.ts.map +1 -1
  338. package/dist/src/commands/pick.js +4 -3
  339. package/dist/src/commands/pick.js.map +1 -1
  340. package/dist/src/decision/jev.d.ts +20 -0
  341. package/dist/src/decision/jev.d.ts.map +1 -1
  342. package/dist/src/decision/jev.js +12 -0
  343. package/dist/src/decision/jev.js.map +1 -1
  344. package/dist/src/decision/pick-eval.d.ts +23 -0
  345. package/dist/src/decision/pick-eval.d.ts.map +1 -1
  346. package/dist/src/decision/pick-eval.js +24 -1
  347. package/dist/src/decision/pick-eval.js.map +1 -1
  348. package/dist/src/decision/pick-real.d.ts +93 -0
  349. package/dist/src/decision/pick-real.d.ts.map +1 -0
  350. package/dist/src/decision/pick-real.js +253 -0
  351. package/dist/src/decision/pick-real.js.map +1 -0
  352. package/dist/src/decision/picks.d.ts +6 -0
  353. package/dist/src/decision/picks.d.ts.map +1 -1
  354. package/dist/src/decision/picks.js +34 -11
  355. package/dist/src/decision/picks.js.map +1 -1
  356. package/dist/src/init/claudemd-generator.d.ts.map +1 -1
  357. package/dist/src/init/claudemd-generator.js +1 -0
  358. package/dist/src/init/claudemd-generator.js.map +1 -1
  359. package/dist/src/init/copy-assets.d.ts.map +1 -1
  360. package/dist/src/init/copy-assets.js +17 -9
  361. package/dist/src/init/copy-assets.js.map +1 -1
  362. package/dist/src/init/embeddings-step.d.ts +23 -0
  363. package/dist/src/init/embeddings-step.d.ts.map +1 -0
  364. package/dist/src/init/embeddings-step.js +53 -0
  365. package/dist/src/init/embeddings-step.js.map +1 -0
  366. package/dist/src/init/executor.d.ts.map +1 -1
  367. package/dist/src/init/executor.js +35 -5
  368. package/dist/src/init/executor.js.map +1 -1
  369. package/dist/src/init/file-guard.d.ts +93 -0
  370. package/dist/src/init/file-guard.d.ts.map +1 -0
  371. package/dist/src/init/file-guard.js +239 -0
  372. package/dist/src/init/file-guard.js.map +1 -0
  373. package/dist/src/init/helpers-generator.d.ts +7 -0
  374. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  375. package/dist/src/init/helpers-generator.js +13 -0
  376. package/dist/src/init/helpers-generator.js.map +1 -1
  377. package/dist/src/init/init-memory.d.ts +10 -0
  378. package/dist/src/init/init-memory.d.ts.map +1 -1
  379. package/dist/src/init/init-memory.js +44 -1
  380. package/dist/src/init/init-memory.js.map +1 -1
  381. package/dist/src/init/managed-block.d.ts +3 -1
  382. package/dist/src/init/managed-block.d.ts.map +1 -1
  383. package/dist/src/init/managed-block.js +9 -2
  384. package/dist/src/init/managed-block.js.map +1 -1
  385. package/dist/src/init/mcp-generator.d.ts +9 -0
  386. package/dist/src/init/mcp-generator.d.ts.map +1 -1
  387. package/dist/src/init/mcp-generator.js +28 -0
  388. package/dist/src/init/mcp-generator.js.map +1 -1
  389. package/dist/src/init/project-indexes.d.ts +19 -0
  390. package/dist/src/init/project-indexes.d.ts.map +1 -0
  391. package/dist/src/init/project-indexes.js +44 -0
  392. package/dist/src/init/project-indexes.js.map +1 -0
  393. package/dist/src/init/runtime-config-merge.d.ts +21 -0
  394. package/dist/src/init/runtime-config-merge.d.ts.map +1 -0
  395. package/dist/src/init/runtime-config-merge.js +88 -0
  396. package/dist/src/init/runtime-config-merge.js.map +1 -0
  397. package/dist/src/init/settings-generator.js +1 -1
  398. package/dist/src/init/settings-generator.js.map +1 -1
  399. package/dist/src/init/shared-instructions-generator.d.ts +3 -1
  400. package/dist/src/init/shared-instructions-generator.d.ts.map +1 -1
  401. package/dist/src/init/shared-instructions-generator.js +14 -39
  402. package/dist/src/init/shared-instructions-generator.js.map +1 -1
  403. package/dist/src/init/shared.d.ts +17 -2
  404. package/dist/src/init/shared.d.ts.map +1 -1
  405. package/dist/src/init/shared.js +39 -7
  406. package/dist/src/init/shared.js.map +1 -1
  407. package/dist/src/init/types.d.ts +22 -2
  408. package/dist/src/init/types.d.ts.map +1 -1
  409. package/dist/src/init/types.js +11 -3
  410. package/dist/src/init/types.js.map +1 -1
  411. package/dist/src/init/upgrade.d.ts +7 -0
  412. package/dist/src/init/upgrade.d.ts.map +1 -1
  413. package/dist/src/init/upgrade.js +60 -48
  414. package/dist/src/init/upgrade.js.map +1 -1
  415. package/dist/src/init/write-antigravity.d.ts +1 -0
  416. package/dist/src/init/write-antigravity.d.ts.map +1 -1
  417. package/dist/src/init/write-antigravity.js +28 -4
  418. package/dist/src/init/write-antigravity.js.map +1 -1
  419. package/dist/src/init/write-claude.d.ts.map +1 -1
  420. package/dist/src/init/write-claude.js +47 -23
  421. package/dist/src/init/write-claude.js.map +1 -1
  422. package/dist/src/init/write-kimicode.d.ts +27 -0
  423. package/dist/src/init/write-kimicode.d.ts.map +1 -1
  424. package/dist/src/init/write-kimicode.js +119 -92
  425. package/dist/src/init/write-kimicode.js.map +1 -1
  426. package/dist/src/init/write-opencode.d.ts.map +1 -1
  427. package/dist/src/init/write-opencode.js +45 -6
  428. package/dist/src/init/write-opencode.js.map +1 -1
  429. package/dist/src/init/write-runtime-config.d.ts.map +1 -1
  430. package/dist/src/init/write-runtime-config.js +108 -81
  431. package/dist/src/init/write-runtime-config.js.map +1 -1
  432. package/dist/src/knowledge/eval/golden-set.js +0 -15
  433. package/dist/src/knowledge/eval/golden-set.js.map +1 -1
  434. package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
  435. package/dist/src/mcp-tools/embeddings-tools.js +14 -5
  436. package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
  437. package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
  438. package/dist/src/mcp-tools/hooks-routing.js +4 -3
  439. package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
  440. package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -1
  441. package/dist/src/mcp-tools/monograph/build-tools.js +16 -9
  442. package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -1
  443. package/dist/src/mcp-tools/org-skill-tools.d.ts.map +1 -1
  444. package/dist/src/mcp-tools/org-skill-tools.js +6 -2
  445. package/dist/src/mcp-tools/org-skill-tools.js.map +1 -1
  446. package/dist/src/mcp-tools/pick-tools.d.ts.map +1 -1
  447. package/dist/src/mcp-tools/pick-tools.js +13 -4
  448. package/dist/src/mcp-tools/pick-tools.js.map +1 -1
  449. package/dist/src/memory/embedding-operations.d.ts +0 -4
  450. package/dist/src/memory/embedding-operations.d.ts.map +1 -1
  451. package/dist/src/memory/embedding-operations.js +11 -85
  452. package/dist/src/memory/embedding-operations.js.map +1 -1
  453. package/dist/src/memory/memory-bridge.d.ts +7 -0
  454. package/dist/src/memory/memory-bridge.d.ts.map +1 -1
  455. package/dist/src/memory/memory-bridge.js +15 -0
  456. package/dist/src/memory/memory-bridge.js.map +1 -1
  457. package/dist/src/orgrt/bash-timeout.d.ts +17 -0
  458. package/dist/src/orgrt/bash-timeout.d.ts.map +1 -1
  459. package/dist/src/orgrt/bash-timeout.js +15 -0
  460. package/dist/src/orgrt/bash-timeout.js.map +1 -1
  461. package/dist/src/orgrt/session.d.ts.map +1 -1
  462. package/dist/src/orgrt/session.js +5 -2
  463. package/dist/src/orgrt/session.js.map +1 -1
  464. package/dist/src/orgrt/task-match.d.ts +3 -1
  465. package/dist/src/orgrt/task-match.d.ts.map +1 -1
  466. package/dist/src/orgrt/task-match.js +12 -4
  467. package/dist/src/orgrt/task-match.js.map +1 -1
  468. package/dist/src/platform-adapters/merge.d.ts +4 -3
  469. package/dist/src/platform-adapters/merge.d.ts.map +1 -1
  470. package/dist/src/platform-adapters/merge.js +18 -8
  471. package/dist/src/platform-adapters/merge.js.map +1 -1
  472. package/dist/src/platform-adapters/mutation.d.ts +6 -1
  473. package/dist/src/platform-adapters/mutation.d.ts.map +1 -1
  474. package/dist/src/platform-adapters/mutation.js +9 -3
  475. package/dist/src/platform-adapters/mutation.js.map +1 -1
  476. package/dist/src/platform-adapters/operations.d.ts.map +1 -1
  477. package/dist/src/platform-adapters/operations.js +14 -6
  478. package/dist/src/platform-adapters/operations.js.map +1 -1
  479. package/dist/src/platform-adapters/types.d.ts +5 -0
  480. package/dist/src/platform-adapters/types.d.ts.map +1 -1
  481. package/dist/src/routing/agent-pick.d.ts +9 -7
  482. package/dist/src/routing/agent-pick.d.ts.map +1 -1
  483. package/dist/src/routing/agent-pick.js +17 -17
  484. package/dist/src/routing/agent-pick.js.map +1 -1
  485. package/dist/tsconfig.tsbuildinfo +1 -1
  486. package/package.json +6 -6
  487. package/.claude/skills/github-issue-triage/SKILL.md +0 -354
  488. package/.claude/skills/github-repo-recap/SKILL.md +0 -207
@@ -1,4 +1,6 @@
1
- <!-- "Mastermind — Execute tasks from a task file (default, docs/tasks/) or monotask board (--monotask flag) with parallel, minimal, or sequential agent modes, context group routing, and review cycles" -->
1
+ ---
2
+ description: Mastermind — Execute tasks from a task file (default, docs/tasks/) or monotask board (--monotask flag) with parallel, minimal, or sequential agent modes, context group routing, and review cycles
3
+ ---
2
4
 
3
5
  ## Repeat Flag Extraction
4
6
 
@@ -67,7 +69,7 @@ Otherwise:
67
69
 
68
70
  ### 2a: Load all pending tasks
69
71
 
70
- **File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `mastermind-taskfile/SKILL.md`. If `--filter` was set, keep only tasks whose title contains the filter text (case-insensitive).
72
+ **File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `.claude/commands/mastermind/_taskfile.md`. If `--filter` was set, keep only tasks whose title contains the filter text (case-insensitive).
71
73
 
72
74
  **Monotask mode:**
73
75
  ```bash
@@ -419,7 +421,7 @@ Proceed to Step 9.
419
421
  1. Change `> status: review` → `> status: done` in that task's section
420
422
  2. Replace all `- [ ]` with `- [x]` in that task's Checklist section
421
423
  3. If DONE_WITH_CONCERNS: append `> concerns: <concerns>` after the status line
422
- 4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `mastermind-taskfile/SKILL.md` — find tasks whose prerequisites are now all `done` and change their status from `backlog` to `todo`.
424
+ 4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `.claude/commands/mastermind/_taskfile.md` — find tasks whose prerequisites are now all `done` and change their status from `backlog` to `todo`.
423
425
 
424
426
  *Monotask mode:*
425
427
  ```bash
@@ -1,4 +1,6 @@
1
- <!-- Execute a written implementation plan step by step with review checkpoints and finishing handoff. -->
1
+ ---
2
+ description: Execute a written implementation plan step by step with review checkpoints and finishing handoff.
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Mastermind finance domain — invoicing, budget tracking, financial forecasting. Default mode: confirm. -->
1
+ ---
2
+ description: "Mastermind finance domain — invoicing, budget tracking, financial forecasting. Default mode: confirm."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Single-line graph stats — nodes, edges, freshness, usage % -->
1
+ ---
2
+ description: Single-line graph stats — nodes, edges, freshness, usage %
3
+ ---
2
4
 
3
5
  ```bash
4
6
  node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" graph-status
@@ -1,4 +1,6 @@
1
- <!-- Mastermind commands reference — quick overview of all skills, CLI subcommands, and MCP tools available in this session -->
1
+ ---
2
+ description: Mastermind commands reference — quick overview of all skills, CLI subcommands, and MCP tools available in this session
3
+ ---
2
4
 
3
5
  # Mastermind Help
4
6
 
@@ -18,23 +20,17 @@ Quick reference for all Mastermind skills and CLI commands available in this pro
18
20
  | `mastermind:swarm` | Swarm coordination reference — topologies, strategies, init patterns |
19
21
  | `mastermind:memory` | Memory CLI quick reference |
20
22
 
21
- ## Org Runtime (v2 default)
23
+ ## Org Runtime
22
24
 
23
25
  | Command | Description |
24
26
  |-------|-------------|
25
- | `/mastermind:createorg` | Define and save an org (always v2-shaped) |
26
- | `/mastermind:runorg` | Start a saved org via the Org Runtime v2 daemon (`monomind org run`/`serve`) — auto-migrates v1-shaped configs first |
27
- | `/mastermind:stoporg` | Stop a running scheduled org loop |
27
+ | `/mastermind:createorg` | Define and save an org |
28
+ | `/mastermind:runorg` | Start a saved org via the Org Runtime daemon (`monomind org run`/`serve`) — converts legacy-format config files first |
29
+ | `/mastermind:stoporg` | Stop a running org (`monomind org stop`) |
28
30
  | `/mastermind:orgstatus` | Detailed status for a single org |
29
31
  | `/mastermind:orgs` | List all saved orgs |
30
32
 
31
- ### Legacy v1 (marker `LEGACY-ORG-V1` — reachable only under these explicit names)
32
-
33
- | Command | Description |
34
- |-------|-------------|
35
- | `/mastermind:runorgv1` | Legacy prompt-orchestrated org runner — superseded by `/mastermind:runorg` |
36
- | `/mastermind:approvev1` | Legacy approval queue for v1 orgs — v2 approvals arrive as dashboard question events instead |
37
- | `/mastermind:heartbeatv1` | Legacy manual agent wake-up for v1 orgs — v2 roles are live SDK sessions with no wake cycle |
33
+ Pending tool approvals from a running org: `monomind org approvals <org>`, then `monomind org approve` / `monomind org deny` (or the dashboard's Human Input tab).
38
34
 
39
35
  ## Core CLI Commands
40
36
 
@@ -42,8 +38,8 @@ Quick reference for all Mastermind skills and CLI commands available in this pro
42
38
  # Initialize project
43
39
  npx monomind init --wizard
44
40
 
45
- # Start background daemon
46
- npx monomind daemon start
41
+ # Start the orchestration system (there is no background daemon)
42
+ npx monomind start
47
43
 
48
44
  # System diagnostics
49
45
  npx monomind doctor --fix
@@ -55,9 +51,9 @@ npx monomind agent status --id <agent-id>
55
51
  npx monomind agent stop --id <agent-id>
56
52
 
57
53
  # Swarm management
58
- npx monomind swarm init --topology hierarchical --max-agents 8 --strategy specialized
59
- npx monomind swarm status
60
- npx monomind swarm stop
54
+ npx monomind monoswarm init --topology hierarchical --max-agents 8 --strategy specialized
55
+ npx monomind monoswarm status
56
+ npx monomind monoswarm stop
61
57
 
62
58
  # Memory operations
63
59
  npx monomind memory store --key "my-key" --value "my-value" --namespace patterns
@@ -65,9 +61,10 @@ npx monomind memory search --query "search terms"
65
61
  npx monomind memory list --namespace patterns
66
62
  npx monomind memory retrieve --key "my-key"
67
63
 
68
- # Workflow management
69
- npx monomind workflow run -t development --task "Build feature"
70
- npx monomind workflow list
64
+ # Workflows (org starter templates — there is no workflow command)
65
+ npx monomind org create feature --template dev-team --goal "Build feature"
66
+ npx monomind org run feature --task "Build feature"
67
+ npx monomind org list
71
68
 
72
69
  # Knowledge graph
73
70
  npx monomind monograph build
@@ -1,4 +1,6 @@
1
- <!-- Mastermind idea domain — brainstorm products, features, pivots. Default mode: confirm. -->
1
+ ---
2
+ description: "Mastermind idea domain — brainstorm products, features, pivots. Default mode: confirm."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- "Mastermind — Research ideas from a prompt, evaluate them with a PM lens, elaborate, and decompose into subtasks saved to docs/ideas/ (default) or monotask boards (--monotask flag)" -->
1
+ ---
2
+ description: Mastermind — Research ideas from a prompt, evaluate them with a PM lens, elaborate, and decompose into subtasks saved to docs/ideas/ (default) or monotask boards (--monotask flag)
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
4
6
 
@@ -103,7 +105,7 @@ After all agents complete:
103
105
  2. Deduplicate by title similarity (fuzzy match — drop ideas whose titles are >80% similar to an already-kept idea).
104
106
  3. Persist each unique idea:
105
107
 
106
- **File mode:** Append to `IDEA_FILE` using the idea section format from `mastermind-taskfile/SKILL.md`:
108
+ **File mode:** Append to `IDEA_FILE` using the idea section format from `.claude/commands/mastermind/_taskfile.md`:
107
109
  ```markdown
108
110
  ### <Idea Title>
109
111
  > status: new
@@ -1,4 +1,6 @@
1
- <!-- "Mastermind — Deeply analyze a component, research improvements online, and create improvement tasks saved to docs/improvements/ (default) or monotask boards (--monotask flag)" -->
1
+ ---
2
+ description: Mastermind — Deeply analyze a component, research improvements online, and create improvement tasks saved to docs/improvements/ (default) or monotask boards (--monotask flag)
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
4
6
 
@@ -175,7 +177,7 @@ The agent must synthesize the code analysis and online research into concrete im
175
177
 
176
178
  Persist each improvement:
177
179
 
178
- **File mode:** Append to `IMPROVE_FILE` using the improvement section format from `mastermind-taskfile/SKILL.md`:
180
+ **File mode:** Append to `IMPROVE_FILE` using the improvement section format from `.claude/commands/mastermind/_taskfile.md`:
179
181
  ```markdown
180
182
  ### <Improvement Title>
181
183
  > status: discovered
@@ -1,4 +1,6 @@
1
- <!-- List active loops — command, type, run count, HIL status -->
1
+ ---
2
+ description: List active loops — command, type, run count, HIL status
3
+ ---
2
4
 
3
5
  ```bash
4
6
  node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" loops-status
@@ -1,4 +1,6 @@
1
- <!-- Mastermind marketing domain — campaigns, copy, SEO, social media. Default mode: confirm. -->
1
+ ---
2
+ description: "Mastermind marketing domain — campaigns, copy, SEO, social media. Default mode: confirm."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Use when starting any conversation or receiving any user request — loads the brain, routes to the right mastermind skill, enforces anti-drift discipline, and spawns domain managers for complex multi-domain work. Single entry point for all mastermind capabilities. -->
1
+ ---
2
+ description: Use when starting any conversation or receiving any user request — loads the brain, routes to the right mastermind skill, enforces anti-drift discipline, and spawns domain managers for complex multi-domain work. Single entry point for all mastermind capabilities.
3
+ ---
2
4
 
3
5
  <SUBAGENT-STOP>
4
6
  If you were dispatched as a subagent to execute a specific task, skip the MASTERMIND PROTOCOL section below and proceed directly to execution.
@@ -249,8 +251,7 @@ Describe your goal. Mastermind identifies the relevant domains, spawns specialis
249
251
 
250
252
  **Persistent agent orgs** — named teams that coordinate across sessions
251
253
  `/mastermind:createorg` — define an org: roles, hierarchy, goal
252
- `/mastermind:runorg` — start a saved org via the Org Runtime v2 daemon (auto-migrates v1 configs); legacy prompt-orchestrated path: `/mastermind:runorgv1`
253
- `/mastermind:approvev1` — review and action pending approval requests from running org agents (v1 orgs only — v2 approvals arrive in the dashboard Human Input tab)
254
+ `/mastermind:runorg` — start a saved org via the Org Runtime daemon (converts legacy-format config files first); pending tool approvals: `monomind org approvals <org>` or the dashboard Human Input tab
254
255
 
255
256
  **Autonomous & advanced**
256
257
  `/mastermind:repeat` — wrap any mastermind command in a loop (`--tillend` supported)
@@ -1,14 +1,16 @@
1
- <!-- LanceDB memory system — store, search, retrieve, list, delete, and manage cross-session persistent memory with vector embeddings -->
1
+ ---
2
+ description: Memory system — store, search, retrieve, list, delete, and manage cross-session persistent memory in local SQLite with vector embeddings
3
+ ---
2
4
 
3
5
  # Monomind Memory System
4
6
 
5
- Persistent memory backed by LanceDB with pure-JS HNSW vector indexing for semantic search (O(log n) approximate nearest neighbor). Supports cross-session and cross-agent collaboration.
7
+ Persistent memory in local SQLite (sql.js/WASM when no native driver is available) with on-device embeddings for semantic search. Above 5,000 entries (`MONOMIND_HNSW_THRESHOLD`) search switches to an HNSW approximate-nearest-neighbour index; below it, brute-force cosine is faster. Supports cross-session and cross-agent collaboration.
6
8
 
7
9
  ## Subcommands
8
10
 
9
11
  | Subcommand | Alias | Description |
10
12
  |---|---|---|
11
- | `init` | — | Initialize memory database (sql.js + LanceDB) |
13
+ | `init` | — | Initialize the SQLite memory database |
12
14
  | `store` | — | Store a key/value entry |
13
15
  | `edit` | — | Edit an existing entry |
14
16
  | `retrieve` | `get` | Retrieve entry by key |
@@ -18,8 +20,6 @@ Persistent memory backed by LanceDB with pure-JS HNSW vector indexing for semant
18
20
  | `templates` | — | Show best-practice entry templates |
19
21
  | `stats` | — | Show memory statistics |
20
22
  | `configure` | `config` | Configure memory backend |
21
- | `cleanup` | — | Clean expired/stale entries |
22
- | `compress` | — | Compress and optimize storage |
23
23
  | `export` | — | Export memory to file |
24
24
  | `import` | — | Import memory from file |
25
25
 
@@ -27,11 +27,11 @@ Persistent memory backed by LanceDB with pure-JS HNSW vector indexing for semant
27
27
 
28
28
  ```bash
29
29
  npx monomind memory init
30
- npx monomind memory init --backend lancedb --verbose --verify
30
+ npx monomind memory init --backend sqlite --verbose --verify
31
31
  npx monomind memory init --force # Overwrite existing
32
32
  ```
33
33
 
34
- **Flags:** `--backend hybrid|sqlite|lancedb` (default: `hybrid`), `--path`, `--force`, `--verbose`, `--verify` (default: true), `--load-embeddings`
34
+ **Flags:** `--backend hybrid|sqlite` (default: `hybrid`; `lancedb` is accepted as a legacy alias for SQLite), `--path`, `--force`, `--verbose`, `--verify` (default: true), `--load-embeddings`
35
35
 
36
36
  ## store — Store Data
37
37
 
@@ -132,40 +132,12 @@ Shows backend, total entries, storage size, oldest/newest entry.
132
132
  ## configure — Backend Settings
133
133
 
134
134
  ```bash
135
- npx monomind memory configure --backend lancedb
135
+ npx monomind memory configure --backend sqlite
136
136
  npx monomind memory configure --backend hybrid --cache-size 512 --hnsw-m 16 --hnsw-ef 200
137
137
  ```
138
138
 
139
139
  **Flags:** `--backend/-b`, `--path`, `--cache-size`, `--hnsw-m`, `--hnsw-ef`
140
140
 
141
- ## cleanup — Remove Stale Entries
142
-
143
- ```bash
144
- # Preview without deleting
145
- npx monomind memory cleanup --dry-run
146
-
147
- # Delete entries older than 30 days
148
- npx monomind memory cleanup --older-than 30d
149
-
150
- # Remove expired TTL entries only
151
- npx monomind memory cleanup --expired-only
152
-
153
- # Clean specific namespace
154
- npx monomind memory cleanup --namespace temp --older-than 7d --force
155
- ```
156
-
157
- **Flags:** `--dry-run/-d`, `--older-than/-o` (e.g., `7d`, `30d`), `--expired-only/-e`, `--namespace/-n`, `--force/-f`
158
-
159
- ## compress — Optimize Storage
160
-
161
- ```bash
162
- npx monomind memory compress
163
- npx monomind memory compress --quantize --bits 4 # 32x size reduction
164
- npx monomind memory compress --level max --target vectors
165
- ```
166
-
167
- **Flags:** `--level fast|balanced|max` (default: `balanced`), `--target vectors|text|patterns|all`, `--quantize/-z`, `--bits 4|8|16`, `--rebuild-index/-r` (default: true)
168
-
169
141
  ## export / import
170
142
 
171
143
  ```bash
@@ -1,4 +1,6 @@
1
- <!-- Multi-agent swarm coordination — init, start, status, stop, scale, and coordinate agent teams -->
1
+ ---
2
+ description: Multi-agent swarm coordination — init, start, status, stop, scale, and coordinate agent teams
3
+ ---
2
4
 
3
5
  # Monomind Swarm Coordination
4
6
 
@@ -141,7 +143,6 @@ These are real agent names (Task `subagent_type`). For a task-specific pick use
141
143
  ## See Also
142
144
 
143
145
  - `npx monomind agent spawn` — Spawn individual agents
144
- - `npx monomind hive-mind init` — Byzantine fault-tolerant consensus
145
146
  - `/mastermind` — Interactive swarm topology selection
146
147
 
147
148
  Documentation: https://github.com/monoes/monomind
@@ -1,4 +1,6 @@
1
- <!-- Export the Second Brain knowledge base as a portable OKF (Open Knowledge Format) bundle. -->
1
+ ---
2
+ description: Export the Second Brain knowledge base as a portable OKF (Open Knowledge Format) bundle.
3
+ ---
2
4
 
3
5
  Parse `$ARGUMENTS` for:
4
6
  - `--output <dir>` or `-o <dir>` → output directory (default: `.monomind/knowledge-export`)
@@ -1,4 +1,6 @@
1
- <!-- Import an OKF (Open Knowledge Format) bundle into the Second Brain knowledge base. -->
1
+ ---
2
+ description: Import an OKF (Open Knowledge Format) bundle into the Second Brain knowledge base.
3
+ ---
2
4
 
3
5
  Parse `$ARGUMENTS` for:
4
6
  - `--scope <name>` or `-s <name>` → knowledge scope (default: `shared`)
@@ -1,4 +1,6 @@
1
- <!-- Mastermind ops domain — workflow automation, reporting, process optimization. Default mode: auto. -->
1
+ ---
2
+ description: "Mastermind ops domain — workflow automation, reporting, process optimization. Default mode: auto."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- List all saved orgs with their status, schedule interval, and last/next run times. Shows stopped/active/paused state for scheduled orgs. -->
1
+ ---
2
+ description: List all saved orgs with their runtime status, schedule, and last run time. Flags crashed runs and legacy-format config files.
3
+ ---
2
4
 
3
5
  **If $ARGUMENTS is empty:** Execute the listing below directly.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Show detailed status for a single org — lifecycle state, schedule, last/next run, recent activity, and roles. For scheduled orgs shows loop health. -->
1
+ ---
2
+ description: Show detailed status for a single org — runtime state, schedule, config health, pending approvals, recent activity, and roles.
3
+ ---
2
4
 
3
5
  **If $ARGUMENTS is empty:** Output the following and wait.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Write a comprehensive implementation plan from a spec or requirements. Saves to docs/mastermind/plans/. Default mode: confirm. -->
1
+ ---
2
+ description: "Write a comprehensive implementation plan from a spec or requirements. Saves to docs/mastermind/plans/. Default mode: confirm."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Use when receiving code review feedback to evaluate and implement it with technical rigor — verifies before implementing, clarifies unclear items first, applies reasoned pushback when warranted -->
1
+ ---
2
+ description: Use when receiving code review feedback to evaluate and implement it with technical rigor — verifies before implementing, clarifies unclear items first, applies reasoned pushback when warranted
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Mastermind release domain — versioning, changelog, deployment. Default mode: auto. -->
1
+ ---
2
+ description: "Mastermind release domain — versioning, changelog, deployment. Default mode: auto."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- "Monomind — Repeat any prompt or slash command on a schedule — default 15 min interval, 10 repetitions. This is the universal loop wrapper for all commands." -->
1
+ ---
2
+ description: Monomind — Repeat any prompt or slash command on a schedule — default 15 min interval, 10 repetitions. This is the universal loop wrapper for all commands.
3
+ ---
2
4
 
3
5
  ## Argument Parsing
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Mastermind research domain — market research, competitor analysis, user research, trend scanning. Default mode: auto. -->
1
+ ---
2
+ description: "Mastermind research domain — market research, competitor analysis, user research, trend scanning. Default mode: auto."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Mastermind review domain — code review, security audit, content and strategy review. Trigger on "review this session's work," "full review of this session," or "review this worktree" — add --tillend for exhaustive find-fix-verify looping. Default mode: auto. -->
1
+ ---
2
+ description: "Mastermind review domain — code review, security audit, content and strategy review. Trigger on \"review this session's work,\" \"full review of this session,\" or \"review this worktree\" — add --tillend for exhaustive find-fix-verify looping. Default mode: auto."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Start a saved org via the Org Runtime v2 daemon (monomind org run/serve). Validates the config, auto-migrates v1-shaped configs, starts the daemon, and confirms liveness. The legacy prompt-orchestrated path lives at /mastermind:runorgv1. -->
1
+ ---
2
+ description: Start a saved org via the Org Runtime daemon (monomind org run/serve). Validates the config, converts legacy-format config files, starts the daemon, and confirms liveness.
3
+ ---
2
4
 
3
5
  **If $ARGUMENTS is empty:** Output the following and wait.
4
6
 
@@ -6,7 +8,7 @@
6
8
 
7
9
  **MASTERMIND: RUN ORG**
8
10
 
9
- Running an org starts it through the Org Runtime v2 daemon. Every role becomes
11
+ Running an org starts it through the Org Runtime daemon. Every role becomes
10
12
  a live SDK session; the daemon forwards dashboard events itself — no boss
11
13
  agent, no monotask board, no manual curl emissions.
12
14
 
@@ -1,4 +1,6 @@
1
- <!-- Mastermind sales domain — outreach sequences, proposals, pipeline management. Default mode: confirm. -->
1
+ ---
2
+ description: "Mastermind sales domain — outreach sequences, proposals, pipeline management. Default mode: confirm."
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Use when creating, editing, or verifying mastermind skills — guides the full TDD-for-docs cycle from baseline test through deployment -->
1
+ ---
2
+ description: Use when creating, editing, or verifying mastermind skills — guides the full TDD-for-docs cycle from baseline test through deployment
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Activate a specialist agent persona — browse by category, activate by slug, or auto-select based on conversation context -->
1
+ ---
2
+ description: Activate a specialist agent persona — browse by category, activate by slug, or auto-select based on conversation context
3
+ ---
2
4
 
3
5
  Activate a specialist agent persona. Three modes:
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Stop a running scheduled org loop. Sets status to "stopped" — the next scheduled wakeup reads the status, skips all work, and does not reschedule. Loop dies within one interval. -->
1
+ ---
2
+ description: Stop a running org. Wraps `monomind org stop`, which writes the stop file the org daemon polls — the daemon exits within about 2s.
3
+ ---
2
4
 
3
5
  **If $ARGUMENTS is empty:** Output the following and wait.
4
6
 
@@ -6,7 +8,7 @@
6
8
 
7
9
  **MASTERMIND: STOP ORG**
8
10
 
9
- Stops a scheduled org loop cleanly. The org's `status` is set to `"stopped"` — the next scheduled wakeup will read the status, skip all work, and not reschedule itself. The loop is guaranteed to die within one interval (no orphaned wakeups).
11
+ Stops a running org cleanly. Runs `monomind org stop <name>`, which writes `.monomind/orgs/<name>/stop`; the org daemon polls for that file and exits within about 2 seconds.
10
12
 
11
13
  **Usage:**
12
14
 
@@ -23,16 +25,12 @@ Stops a scheduled org loop cleanly. The org's `status` is set to `"stopped"` —
23
25
 
24
26
  **Lifecycle:**
25
27
  ```
26
- stopped → (runorg) → active
27
- active → (stoporg) → stopped
28
- active → (HIL) → paused (set manually in .monomind/orgs/<name>.json)
29
- paused → (set active) → active (resume by setting status back to "active" in the JSON)
28
+ stopped → (runorg / monomind org run) → running
29
+ running → (stoporg / monomind org stop) → stopped
30
+ running → (monomind org pause) → paused
31
+ paused → (monomind org resume) → running
30
32
  ```
31
33
 
32
- **Note:** v2 orgs (the default) are stopped via `monomind org stop <name>` — this
33
- command handles both: it routes v2 orgs to the CLI and legacy `.loop` orgs
34
- through the v1 status-flip path.
35
-
36
34
  Your orgs (with live runtime status):
37
35
 
38
36
  ```bash
@@ -48,7 +46,7 @@ npx -y monomind@latest org list 2>/dev/null || echo "(none — run /mastermind:c
48
46
  Parse `$ARGUMENTS` for:
49
47
  - `--org <name>` → org_name = <name>
50
48
 
51
- If `--org` is not provided, list orgs with schedules and ask which to stop.
49
+ If `--org` is not provided, list orgs and ask which to stop.
52
50
 
53
51
  Verify the org file exists:
54
52
  ```bash
@@ -1,4 +1,6 @@
1
- <!-- Tech Port — deep-analyzes a foreign project folder and recommends porting valuable features, patterns, or infrastructure into the current monomind base project. -->
1
+ ---
2
+ description: Tech Port — deep-analyzes a foreign project folder and recommends porting valuable features, patterns, or infrastructure into the current monomind base project.
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check below.
4
6
 
@@ -58,10 +58,11 @@ Based on the task or user choice, pick ONE mode and output EXACTLY this structur
58
58
  **Launch command:**
59
59
  ```bash
60
60
  # Swarm:
61
- npx monomind swarm init --topology <topology> --max-agents <N> --strategy <strategy>
61
+ npx monomind monoswarm init --topology <topology> --max-agents <N> --strategy <strategy>
62
62
 
63
- # OR Hive-Mind (no --strategy flag):
64
- npx monomind hive-mind init --topology <topology> --consensus <protocol> --max-agents <N>
63
+ # OR Hive-Mind: the same command without --strategy. There is no --consensus
64
+ # flag — state the consensus protocol in the coordinator's Task prompt.
65
+ npx monomind monoswarm init --topology <topology> --max-agents <N>
65
66
  ```
66
67
 
67
68
  **Agent team:**
@@ -1,4 +1,6 @@
1
- <!-- "Monomind — Run semantic enrichment on the current project's monograph knowledge graph. Uses the active Claude Code session for LLM work — no API key needed." -->
1
+ ---
2
+ description: Monomind — Run semantic enrichment on the current project's monograph knowledge graph. Uses the active Claude Code session for LLM work — no API key needed.
3
+ ---
2
4
 
3
5
  # /mastermind:understand — Semantic Enrichment
4
6
 
@@ -1,4 +1,6 @@
1
- <!-- Use when starting feature work that needs isolation from the current workspace or before executing implementation plans — sets up an isolated git worktree -->
1
+ ---
2
+ description: Use when starting feature work that needs isolation from the current workspace or before executing implementation plans — sets up an isolated git worktree
3
+ ---
2
4
 
3
5
  **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: memory:memory-search
3
+ description: Search stored memory using semantic, keyword, or hybrid search.
3
4
  ---
4
5
 
5
6
  # memory search
@@ -37,7 +37,7 @@ npx monomind status agents
37
37
  npx monomind agent metrics --period 7d
38
38
 
39
39
  # Swarm status
40
- npx monomind swarm status
40
+ npx monomind monoswarm status
41
41
  ```
42
42
 
43
43
  ## Files
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: monitoring:agent-metrics
3
+ description: Show agent performance metrics — tasks completed, success rate, and memory vectors by agent type.
3
4
  ---
4
5
 
5
6
  # agent metrics
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: monitoring:agents
3
+ description: Show detailed agent status — ID, type, current task, uptime, and success rate for all running agents.
3
4
  ---
4
5
 
5
6
  # status agents
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: monitoring:status
3
+ description: Show system status — swarm health, agents, tasks, memory, and MCP server.
3
4
  ---
4
5
 
5
6
  # status
@@ -50,9 +50,9 @@ monoswarm_shutdown Clear run workers from the agent store, reset run stat
50
50
 
51
51
  ```bash
52
52
  # Initialize and start a run via CLI
53
- npx monomind swarm init --topology hierarchical --max-agents 8
54
- npx monomind swarm start "Build REST API" --strategy development
55
- npx monomind swarm status
53
+ npx monomind monoswarm init --topology hierarchical --max-agents 8
54
+ npx monomind monoswarm start "Build REST API" --strategy development
55
+ npx monomind monoswarm status
56
56
  ```
57
57
 
58
58
  For vote-based decisions, use the MCP tools directly — see
@@ -38,8 +38,8 @@ mcp__monomind__coordination_orchestrate({
38
38
 
39
39
  ```bash
40
40
  # CLI equivalent
41
- npx monomind swarm init --topology mesh --max-agents 6
42
- npx monomind swarm start "analyze system performance" --strategy analysis --parallel
41
+ npx monomind monoswarm init --topology mesh --max-agents 6
42
+ npx monomind monoswarm start "analyze system performance" --strategy analysis --parallel
43
43
  ```
44
44
 
45
45
  ## Agent Roles
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: monoswarm:consensus
3
+ description: Propose or vote on a threshold-based decision — vote-count bookkeeping over one JSON state file.
3
4
  ---
4
5
 
5
6
  # monoswarm vote