monomind 2.5.1 → 2.5.2

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 (289) hide show
  1. package/package.json +2 -1
  2. package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +6 -6
  3. package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +4 -4
  4. package/packages/@monomind/cli/.claude/commands/mastermind/approvev1.md +4 -4
  5. package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +6 -6
  6. package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +5 -5
  7. package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +2 -2
  8. package/packages/@monomind/cli/.claude/commands/mastermind/build.md +6 -6
  9. package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +2 -2
  10. package/packages/@monomind/cli/.claude/commands/mastermind/content.md +6 -6
  11. package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +4 -4
  12. package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +3 -3
  13. package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +5 -5
  14. package/packages/@monomind/cli/.claude/commands/mastermind/design.md +5 -5
  15. package/packages/@monomind/cli/.claude/commands/mastermind/do.md +2 -2
  16. package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +5 -5
  17. package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +6 -6
  18. package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +5 -5
  19. package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +6 -6
  20. package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +5 -5
  21. package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +6 -6
  22. package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +6 -6
  23. package/packages/@monomind/cli/.claude/commands/mastermind/master.md +54 -54
  24. package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +6 -6
  25. package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +2 -2
  26. package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +2 -2
  27. package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +5 -5
  28. package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +5 -5
  29. package/packages/@monomind/cli/.claude/commands/mastermind/release.md +6 -6
  30. package/packages/@monomind/cli/.claude/commands/mastermind/research.md +6 -6
  31. package/packages/@monomind/cli/.claude/commands/mastermind/review.md +6 -6
  32. package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +4 -4
  33. package/packages/@monomind/cli/.claude/commands/mastermind/runorgv1.md +5 -5
  34. package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +6 -6
  35. package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +5 -5
  36. package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +3 -3
  37. package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +5 -5
  38. package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +5 -5
  39. package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +5 -5
  40. package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +5 -5
  41. package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +5 -5
  42. package/packages/@monomind/cli/.claude/helpers/control-start.cjs +30 -0
  43. package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +44 -12
  44. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/access.md → mastermind-access/SKILL.md} +2 -2
  45. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/activity.md → mastermind-activity/SKILL.md} +2 -2
  46. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapter-manager.md → mastermind-adapter-manager/SKILL.md} +2 -2
  47. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapters.md → mastermind-adapters/SKILL.md} +2 -2
  48. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agent-detail.md → mastermind-agent-detail/SKILL.md} +2 -2
  49. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agents.md → mastermind-agents/SKILL.md} +2 -2
  50. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approval-detail.md → mastermind-approval-detail/SKILL.md} +2 -2
  51. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approvev1.md → mastermind-approvev1/SKILL.md} +2 -2
  52. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/architect.md → mastermind-architect/SKILL.md} +7 -7
  53. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/autodev.md → mastermind-autodev/SKILL.md} +10 -10
  54. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/backup.md → mastermind-backup/SKILL.md} +2 -2
  55. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/bootstrap.md → mastermind-bootstrap/SKILL.md} +2 -2
  56. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/budgets.md → mastermind-budgets/SKILL.md} +2 -2
  57. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/build.md → mastermind-build/SKILL.md} +5 -5
  58. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/companies.md → mastermind-companies/SKILL.md} +2 -2
  59. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/content.md → mastermind-content/SKILL.md} +5 -5
  60. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/costs.md → mastermind-costs/SKILL.md} +2 -2
  61. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/createorg.md → mastermind-createorg/SKILL.md} +3 -3
  62. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/debug.md → mastermind-debug/SKILL.md} +4 -4
  63. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_delegation.md → mastermind-delegation/SKILL.md} +1 -1
  64. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/design.md → mastermind-design/SKILL.md} +9 -9
  65. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/diagnose.md → mastermind-diagnose/SKILL.md} +2 -2
  66. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/env.md → mastermind-env/SKILL.md} +2 -2
  67. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/environments.md → mastermind-environments/SKILL.md} +2 -2
  68. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/execute.md → mastermind-execute/SKILL.md} +10 -10
  69. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/export.md → mastermind-export/SKILL.md} +2 -2
  70. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finance.md → mastermind-finance/SKILL.md} +5 -5
  71. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goal-detail.md → mastermind-goal-detail/SKILL.md} +2 -2
  72. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goals.md → mastermind-goals/SKILL.md} +2 -2
  73. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/heartbeatv1.md → mastermind-heartbeatv1/SKILL.md} +2 -2
  74. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/idea.md → mastermind-idea/SKILL.md} +7 -7
  75. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/import.md → mastermind-import/SKILL.md} +2 -2
  76. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/inbox.md → mastermind-inbox/SKILL.md} +2 -2
  77. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance.md → mastermind-instance/SKILL.md} +2 -2
  78. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance-settings.md → mastermind-instance-settings/SKILL.md} +2 -2
  79. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invite-landing.md → mastermind-invite-landing/SKILL.md} +2 -2
  80. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invites.md → mastermind-invites/SKILL.md} +2 -2
  81. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issue-detail.md → mastermind-issue-detail/SKILL.md} +2 -2
  82. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issues.md → mastermind-issues/SKILL.md} +2 -2
  83. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/join-queue.md → mastermind-join-queue/SKILL.md} +2 -2
  84. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/liveness.md → mastermind-liveness/SKILL.md} +2 -2
  85. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/marketing.md → mastermind-marketing/SKILL.md} +8 -8
  86. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/memory.md → mastermind-memory/SKILL.md} +2 -2
  87. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monitor.md → mastermind-monitor/SKILL.md} +2 -2
  88. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/my-issues.md → mastermind-my-issues/SKILL.md} +2 -2
  89. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/new-agent.md → mastermind-new-agent/SKILL.md} +2 -2
  90. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/ops.md → mastermind-ops/SKILL.md} +5 -5
  91. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-chart.md → mastermind-org-chart/SKILL.md} +2 -2
  92. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-settings.md → mastermind-org-settings/SKILL.md} +2 -2
  93. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgs.md → mastermind-orgs/SKILL.md} +1 -1
  94. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgstatus.md → mastermind-orgstatus/SKILL.md} +2 -2
  95. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan.md → mastermind-plan/SKILL.md} +7 -7
  96. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan-to-tasks.md → mastermind-plan-to-tasks/SKILL.md} +2 -2
  97. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-manager.md → mastermind-plugin-manager/SKILL.md} +2 -2
  98. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-settings.md → mastermind-plugin-settings/SKILL.md} +2 -2
  99. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugins.md → mastermind-plugins/SKILL.md} +2 -2
  100. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/profile.md → mastermind-profile/SKILL.md} +2 -2
  101. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-detail.md → mastermind-project-detail/SKILL.md} +2 -2
  102. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-workspace.md → mastermind-project-workspace/SKILL.md} +2 -2
  103. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/projects.md → mastermind-projects/SKILL.md} +2 -2
  104. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_protocol.md → mastermind-protocol/SKILL.md} +3 -3
  105. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/release.md → mastermind-release/SKILL.md} +5 -5
  106. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_repeat.md → mastermind-repeat/SKILL.md} +2 -2
  107. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/research.md → mastermind-research/SKILL.md} +5 -5
  108. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/review.md → mastermind-review/SKILL.md} +5 -5
  109. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routine-detail.md → mastermind-routine-detail/SKILL.md} +2 -2
  110. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routines.md → mastermind-routines/SKILL.md} +2 -2
  111. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorgv1.md → mastermind-runorgv1/SKILL.md} +2 -2
  112. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/sales.md → mastermind-sales/SKILL.md} +5 -5
  113. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/search.md → mastermind-search/SKILL.md} +2 -2
  114. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/secrets.md → mastermind-secrets/SKILL.md} +2 -2
  115. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/skill-builder.md → mastermind-skill-builder/SKILL.md} +16 -14
  116. package/packages/@monomind/cli/.claude/skills/mastermind-skills/{skills.md → SKILL.md} +2 -2
  117. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/stoporg.md → mastermind-stoporg/SKILL.md} +2 -2
  118. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/taskdev.md → mastermind-taskdev/SKILL.md} +6 -6
  119. package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/implementer-prompt.md +1 -1
  120. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tasks.md → mastermind-tasks/SKILL.md} +2 -2
  121. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tdd.md → mastermind-tdd/SKILL.md} +4 -4
  122. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/techport.md → mastermind-techport/SKILL.md} +5 -5
  123. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/threads.md → mastermind-threads/SKILL.md} +2 -2
  124. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tree-control.md → mastermind-tree-control/SKILL.md} +2 -2
  125. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/verify.md → mastermind-verify/SKILL.md} +1 -1
  126. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/wiki.md → mastermind-wiki/SKILL.md} +2 -2
  127. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspace-detail.md → mastermind-workspace-detail/SKILL.md} +2 -2
  128. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspaces.md → mastermind-workspaces/SKILL.md} +2 -2
  129. package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +114 -190
  130. package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +1 -1
  131. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +4 -4
  132. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
  133. package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +1 -1
  134. package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +2 -2
  135. package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +1 -1
  136. package/packages/@monomind/cli/.claude/skills/monodesign/init.md +30 -0
  137. package/packages/@monomind/cli/.claude/skills/monodesign/layout.md +36 -0
  138. package/packages/@monomind/cli/.claude/skills/monodesign/live.md +19 -44
  139. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +122 -0
  140. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.native.md +58 -0
  141. package/packages/@monomind/cli/.claude/skills/monodesign/reference/android.md +40 -0
  142. package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +39 -11
  143. package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +22 -16
  144. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +5 -3
  145. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.native.md +139 -0
  146. package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +71 -64
  147. package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +12 -18
  148. package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +114 -0
  149. package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +4 -6
  150. package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +108 -5
  151. package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +70 -143
  152. package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +635 -68
  153. package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +1 -1
  154. package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +1 -1
  155. package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +24 -22
  156. package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +1 -1
  157. package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +22 -29
  158. package/packages/@monomind/cli/.claude/skills/monodesign/reference/init.md +221 -0
  159. package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +0 -6
  160. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ios.md +45 -0
  161. package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +57 -13
  162. package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +159 -63
  163. package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +1 -1
  164. package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +1 -1
  165. package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +16 -8
  166. package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +1 -1
  167. package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +1 -3
  168. package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +1 -1
  169. package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +27 -13
  170. package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +6 -152
  171. package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +180 -3
  172. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
  173. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context-signals.mjs +227 -0
  174. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context.mjs +1062 -0
  175. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/critique-storage.mjs +243 -0
  176. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect-csp.mjs +199 -0
  177. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect.mjs +34 -0
  178. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1938 -0
  179. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/cli/main.mjs +322 -0
  180. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/design-system.mjs +815 -0
  181. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5246 -0
  182. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +51 -0
  183. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +260 -0
  184. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +259 -0
  185. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +574 -0
  186. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1016 -0
  187. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +235 -0
  188. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +199 -0
  189. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/findings.mjs +13 -0
  190. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +199 -0
  191. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +167 -0
  192. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +515 -0
  193. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +2704 -0
  194. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/color.mjs +125 -0
  195. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +102 -0
  196. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +31 -0
  197. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +149 -0
  198. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/page.mjs +8 -0
  199. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-admin.mjs +662 -0
  200. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-before-edit.mjs +517 -0
  201. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-lib.mjs +1777 -0
  202. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook.mjs +62 -0
  203. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/design-parser.mjs +843 -0
  204. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/is-generated.mjs +70 -0
  205. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +641 -0
  206. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +130 -0
  207. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/provider.mjs +5 -0
  208. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/target-args.mjs +43 -0
  209. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +51 -0
  210. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/completion.mjs +20 -0
  211. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/event-validation.mjs +138 -0
  212. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/insert-ui.mjs +459 -0
  213. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-apply.mjs +940 -0
  214. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +358 -0
  215. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +153 -0
  216. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/session-store.mjs +290 -0
  217. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/svelte-component.mjs +827 -0
  218. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +275 -0
  219. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/ui-core.mjs +181 -0
  220. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/vocabulary.mjs +37 -0
  221. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-accept.mjs +813 -0
  222. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-dom.js +147 -0
  223. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-session.js +124 -0
  224. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser.js +11241 -0
  225. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1242 -0
  226. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-complete.mjs +76 -0
  227. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +684 -0
  228. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +52 -0
  229. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-inject.mjs +584 -0
  230. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-insert.mjs +273 -0
  231. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +364 -0
  232. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-poll.mjs +385 -0
  233. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-resume.mjs +95 -0
  234. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-server.mjs +1138 -0
  235. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-status.mjs +62 -0
  236. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-target.mjs +31 -0
  237. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-wrap.mjs +895 -0
  238. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live.mjs +298 -0
  239. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +15 -0
  240. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/palette.mjs +634 -0
  241. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/pin.mjs +222 -0
  242. package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +7 -58
  243. package/packages/@monomind/cli/dist/src/commands/design-detect.d.ts +7 -1
  244. package/packages/@monomind/cli/dist/src/commands/design-detect.js +70 -38
  245. package/packages/@monomind/cli/dist/src/commands/design-palette.d.ts +1 -1
  246. package/packages/@monomind/cli/dist/src/commands/design-palette.js +3 -3
  247. package/packages/@monomind/cli/dist/src/commands/doc.js +72 -15
  248. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +4 -0
  249. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +23 -0
  250. package/packages/@monomind/cli/dist/src/commands/doctor.js +3 -3
  251. package/packages/@monomind/cli/dist/src/commands/org.js +109 -9
  252. package/packages/@monomind/cli/dist/src/init/executor.js +14 -3
  253. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.d.ts +2 -0
  254. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.js +1 -0
  255. package/packages/@monomind/cli/dist/src/mcp-tools/knowledge-tools.js +38 -7
  256. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.d.ts +8 -3
  257. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +193 -31
  258. package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +33 -0
  259. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +166 -17
  260. package/packages/@monomind/cli/dist/src/memory/memory-kg.d.ts +185 -0
  261. package/packages/@monomind/cli/dist/src/memory/memory-kg.js +449 -0
  262. package/packages/@monomind/cli/dist/src/memory/query-router.d.ts +44 -0
  263. package/packages/@monomind/cli/dist/src/memory/query-router.js +113 -0
  264. package/packages/@monomind/cli/dist/src/orgrt/daemon.d.ts +18 -0
  265. package/packages/@monomind/cli/dist/src/orgrt/daemon.js +249 -12
  266. package/packages/@monomind/cli/dist/src/orgrt/migrate.js +7 -0
  267. package/packages/@monomind/cli/dist/src/orgrt/policy.js +7 -0
  268. package/packages/@monomind/cli/dist/src/orgrt/session.d.ts +24 -1
  269. package/packages/@monomind/cli/dist/src/orgrt/session.js +18 -3
  270. package/packages/@monomind/cli/dist/src/orgrt/templates.d.ts +1 -0
  271. package/packages/@monomind/cli/dist/src/orgrt/templates.js +9 -4
  272. package/packages/@monomind/cli/dist/src/orgrt/types.d.ts +15 -0
  273. package/packages/@monomind/cli/dist/src/orgrt/types.js +2 -0
  274. package/packages/@monomind/cli/dist/src/ui/dashboard.html +154 -6
  275. package/packages/@monomind/cli/dist/src/ui/orgs.html +24 -0
  276. package/packages/@monomind/cli/dist/src/ui/server.mjs +162 -12
  277. package/packages/@monomind/cli/package.json +5 -3
  278. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_agent-select.md → mastermind-agent-select/SKILL.md} +0 -0
  279. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finish.md → mastermind-finish/SKILL.md} +0 -0
  280. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_intake.md → mastermind-intake/SKILL.md} +0 -0
  281. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/copywriting-frameworks.md +0 -0
  282. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/persuasion-psychology.md +0 -0
  283. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monotask.md → mastermind-monotask/SKILL.md} +0 -0
  284. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/receive-review.md → mastermind-receive-review/SKILL.md} +0 -0
  285. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorg.md → mastermind-runorg/SKILL.md} +0 -0
  286. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/code-quality-reviewer-prompt.md +0 -0
  287. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/final-reviewer-prompt.md +0 -0
  288. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/spec-reviewer-prompt.md +0 -0
  289. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/worktree.md → mastermind-worktree/SKILL.md} +0 -0
@@ -49,7 +49,7 @@ This skill is invoked by `mastermind:new-agent` or directly via `/mastermind:new
49
49
 
50
50
  ## Step 0 — Brain Load (standalone only)
51
51
 
52
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
52
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
53
53
 
54
54
  ---
55
55
 
@@ -238,4 +238,4 @@ model: <model>
238
238
 
239
239
  ## Step 4 — Brain Write (standalone only)
240
240
 
241
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
241
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:ops`.
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the operations goal for this run
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `ops`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `ops`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `ops`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `ops`)
63
63
 
64
64
  ---
65
65
 
@@ -25,7 +25,7 @@ This skill is invoked by `mastermind:org-chart` or directly via `/mastermind:org
25
25
 
26
26
  ## Step 0 — Brain Load (standalone only)
27
27
 
28
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
28
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
29
29
 
30
30
  ---
31
31
 
@@ -206,4 +206,4 @@ agent_count: <N>
206
206
 
207
207
  ## Step 4 — Brain Write (standalone only)
208
208
 
209
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
209
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -31,7 +31,7 @@ There is no `topology`, `governance`, `alert_threshold`, or `ceo_adapter` in Org
31
31
 
32
32
  ## Step 0 — Brain Load (standalone only)
33
33
 
34
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
34
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
35
35
 
36
36
  ---
37
37
 
@@ -271,4 +271,4 @@ field: <field if edit>
271
271
 
272
272
  ## Step 4 — Brain Write (standalone only)
273
273
 
274
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
274
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -21,7 +21,7 @@ Lists all saved orgs from `.monomind/orgs/*.json`.
21
21
 
22
22
  ## Step 0 — Brain Load (standalone only)
23
23
 
24
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
24
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
25
25
 
26
26
  ---
27
27
 
@@ -20,7 +20,7 @@ This skill is invoked by `mastermind:orgstatus` or directly via `/mastermind:org
20
20
 
21
21
  ## Step 0 — Brain Load (standalone only)
22
22
 
23
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
23
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
24
24
 
25
25
  ---
26
26
 
@@ -251,4 +251,4 @@ status: complete
251
251
 
252
252
  ## Step 7 — Brain Write (standalone only)
253
253
 
254
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
254
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -24,7 +24,7 @@ Assume they are a skilled developer, but know almost nothing about our toolset o
24
24
 
25
25
  ## Inputs
26
26
 
27
- - `brain_context`: BRAIN CONTEXT block (loaded via _protocol.md brain load)
27
+ - `brain_context`: BRAIN CONTEXT block (loaded via mastermind-protocol/SKILL.md brain load)
28
28
  - `params`: spec text, feature description, or path to spec file
29
29
  - `mode`: auto | confirm
30
30
 
@@ -73,7 +73,7 @@ A task is the smallest unit that carries its own test cycle and is worth a fresh
73
73
  ```markdown
74
74
  # [Feature Name] Implementation Plan
75
75
 
76
- > **For agentic workers:** REQUIRED SUB-SKILL: Use `Skill("mastermind-skills:taskdev")` (recommended) or `Skill("mastermind-skills:execute")` to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
76
+ > **For agentic workers:** REQUIRED SUB-SKILL: Use `Skill("mastermind-taskdev")` (recommended) or `Skill("mastermind-execute")` to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
77
77
 
78
78
  **Goal:** [One sentence describing what this builds]
79
79
 
@@ -200,18 +200,18 @@ After the plan is approved (or in auto mode, after self-review):
200
200
 
201
201
  **"Plan complete and saved to `docs/mastermind/plans/<filename>.md`. Two execution options:**
202
202
 
203
- **1. Subagent-Driven (recommended)** — Invoke `Skill("mastermind-skills:taskdev")`: dispatches a fresh subagent per task, reviews between tasks, fast iteration.
203
+ **1. Subagent-Driven (recommended)** — Invoke `Skill("mastermind-taskdev")`: dispatches a fresh subagent per task, reviews between tasks, fast iteration.
204
204
 
205
- **2. Inline Execution** — Invoke `Skill("mastermind-skills:execute")`: batch execution with checkpoints.
205
+ **2. Inline Execution** — Invoke `Skill("mastermind-execute")`: batch execution with checkpoints.
206
206
 
207
207
  **Which approach?"**
208
208
 
209
- **In auto mode:** Skip the question. Default to subagent-driven — invoke `Skill("mastermind-skills:taskdev")` immediately.
209
+ **In auto mode:** Skip the question. Default to subagent-driven — invoke `Skill("mastermind-taskdev")` immediately.
210
210
 
211
211
  **If Subagent-Driven chosen (or auto mode):**
212
- - Invoke `Skill("mastermind-skills:taskdev")`
212
+ - Invoke `Skill("mastermind-taskdev")`
213
213
  - Fresh subagent per task + two-stage review
214
214
 
215
215
  **If Inline Execution chosen:**
216
- - Invoke `Skill("mastermind-skills:execute")`
216
+ - Invoke `Skill("mastermind-execute")`
217
217
  - Batch execution with checkpoints for review
@@ -25,7 +25,7 @@ This skill is invoked by `mastermind:plan-to-tasks` or directly via `/mastermind
25
25
 
26
26
  ## Step 0 — Brain Load (standalone only)
27
27
 
28
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
28
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
29
29
 
30
30
  ---
31
31
 
@@ -133,4 +133,4 @@ dry_run: <true|false>
133
133
 
134
134
  ## Step 6 — Brain Write (standalone only)
135
135
 
136
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
136
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -43,7 +43,7 @@ This skill is invoked by `mastermind:plugin-manager` or directly via `/mastermin
43
43
 
44
44
  ## Step 0 — Brain Load (standalone only)
45
45
 
46
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
46
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
47
47
 
48
48
  ---
49
49
 
@@ -238,4 +238,4 @@ plugin_id: <plugin_id>
238
238
 
239
239
  ## Step 4 — Brain Write (standalone only)
240
240
 
241
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
241
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -55,7 +55,7 @@ This skill is invoked by `mastermind:plugin-settings` or directly via `/mastermi
55
55
 
56
56
  ## Step 0 — Brain Load (standalone only)
57
57
 
58
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
58
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
59
59
 
60
60
  ---
61
61
 
@@ -270,4 +270,4 @@ health_status: <health>
270
270
 
271
271
  ## Step 4 — Brain Write (standalone only)
272
272
 
273
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
273
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:plugins` or directly via `/mastermind:plugi
24
24
 
25
25
  ## Step 0 — Brain Load (standalone only)
26
26
 
27
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
27
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
28
28
 
29
29
  ---
30
30
 
@@ -187,4 +187,4 @@ plugins_total: <N>
187
187
 
188
188
  ## Step 4 — Brain Write (standalone only)
189
189
 
190
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
190
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -26,7 +26,7 @@ This skill is invoked by `mastermind:profile` or directly via `/mastermind:profi
26
26
 
27
27
  ## Step 0 — Brain Load (standalone only)
28
28
 
29
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
29
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
30
30
 
31
31
  ---
32
32
 
@@ -184,4 +184,4 @@ user_id: <user_id or local-operator>
184
184
 
185
185
  ## Step 4 — Brain Write (standalone only)
186
186
 
187
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
187
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -40,7 +40,7 @@ This skill is invoked by `mastermind:project-detail` or directly via `/mastermin
40
40
 
41
41
  ## Step 0 — Brain Load (standalone only)
42
42
 
43
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
43
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
44
44
 
45
45
  ---
46
46
 
@@ -246,4 +246,4 @@ project_status: <status>
246
246
 
247
247
  ## Step 4 — Brain Write (standalone only)
248
248
 
249
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
249
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -55,7 +55,7 @@ This skill is invoked by `mastermind:project-workspace` or directly via `/master
55
55
 
56
56
  ## Step 0 — Brain Load (standalone only)
57
57
 
58
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
58
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
59
59
 
60
60
  ---
61
61
 
@@ -241,4 +241,4 @@ workspace_id: <workspace_id>
241
241
 
242
242
  ## Step 4 — Brain Write (standalone only)
243
243
 
244
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
244
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -26,7 +26,7 @@ This skill is invoked by `mastermind:projects` or directly via `/mastermind:proj
26
26
 
27
27
  ## Step 0 — Brain Load (standalone only)
28
28
 
29
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
29
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
30
30
 
31
31
  ---
32
32
 
@@ -164,4 +164,4 @@ projects_file: .monomind/orgs/<org_name>-projects.json
164
164
 
165
165
  ## Step 4 — Brain Write (standalone only)
166
166
 
167
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
167
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -12,7 +12,7 @@ This file is a reference loaded by mastermind domain skills and master. It is NE
12
12
 
13
13
  ## Agent Delegation Protocol
14
14
 
15
- **Every Task/Agent spawn in mastermind and monomind MUST include the AGENT DELEGATION CAPABILITY block from `_delegation.md`.**
15
+ **Every Task/Agent spawn in mastermind and monomind MUST include the AGENT DELEGATION CAPABILITY block from `mastermind-delegation/SKILL.md`.**
16
16
 
17
17
  This makes delegation recursive: every spawned agent can itself spawn sub-agents, which can spawn their own sub-agents. The capability block tells each agent which agent categories exist and how to delegate.
18
18
 
@@ -20,7 +20,7 @@ This makes delegation recursive: every spawned agent can itself spawn sub-agents
20
20
 
21
21
  **Why this matters:** Agents read their prompts cold. Without the delegation block, a spawned Security Engineer won't know it can delegate codebase exploration to a Code Reviewer, or that it can spawn a backend-dev to fix the issues it finds. With the block, every agent in the chain can self-organize and pull in the right specialist.
22
22
 
23
- **Reference:** Full block text is in `_delegation.md`. Copy it verbatim — do not paraphrase.
23
+ **Reference:** Full block text is in `mastermind-delegation/SKILL.md`. Copy it verbatim — do not paraphrase.
24
24
 
25
25
  ---
26
26
 
@@ -400,5 +400,5 @@ AGENT: [agent slug, e.g. backend-dev | frontend-dev]
400
400
  SWARM: [topology agent-count consensus, e.g. \"hierarchical 4 raft\"]
401
401
 
402
402
  DEPENDENCIES: [task IDs, or \"none\"]
403
- OUTPUT FORMAT: Unified output schema (see mastermind _protocol.md)"
403
+ OUTPUT FORMAT: Unified output schema (see mastermind mastermind-protocol/SKILL.md)"
404
404
  ```
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:releas
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the release goal (version target, scope, environment)
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `release`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `release`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `release`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `release`)
63
63
 
64
64
  ---
65
65
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: mastermind-repeat-postamble
2
+ name: mastermind-repeat
3
3
  description: REPEAT POSTAMBLE — executes inter-session repeat/tillend loop continuation after any mastermind or monomind command completes. Calls ScheduleWakeup when work remains.
4
4
  type: protocol-skill
5
5
  ---
@@ -142,7 +142,7 @@ cat > ".monomind/loops/${LOOP_ID}.json" << EOF
142
142
  "lastRunAt": ${NOW_MS},
143
143
  "nextRunAt": ${NEXT_AT},
144
144
  "status": "running",
145
- "source": "_repeat.md"
145
+ "source": "mastermind-repeat/SKILL.md"
146
146
  }
147
147
  EOF
148
148
  ```
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:resear
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the research question or intelligence goal
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `research`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `research`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `research`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `research`)
63
63
 
64
64
  ---
65
65
 
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:review
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: what to review and what to assess
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -54,9 +54,9 @@ Assess the prompt to determine execution mode:
54
54
 
55
55
  If this skill is invoked directly (not by master):
56
56
 
57
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `review`)
58
- 2. Run intake from _intake.md if prompt is vague
59
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
57
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `review`)
58
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
59
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
60
60
  ```bash
61
61
  project_name="${project_name:-$(basename "$PWD")}"
62
62
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -70,7 +70,7 @@ If this skill is invoked directly (not by master):
70
70
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
71
71
  ```
72
72
  4. Proceed with complexity assessment below
73
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `review`)
73
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `review`)
74
74
 
75
75
  ---
76
76
 
@@ -59,7 +59,7 @@ This skill is invoked by `mastermind:routine-detail` or directly via `/mastermin
59
59
 
60
60
  ## Step 0 — Brain Load (standalone only)
61
61
 
62
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
62
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
63
63
 
64
64
  ---
65
65
 
@@ -250,4 +250,4 @@ trigger_kind: <schedule|webhook>
250
250
 
251
251
  ## Step 4 — Brain Write (standalone only)
252
252
 
253
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
253
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -30,7 +30,7 @@ This skill is invoked by `mastermind:routines` or directly via `/mastermind:rout
30
30
 
31
31
  ## Step 0 — Brain Load (standalone only)
32
32
 
33
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
33
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
34
34
 
35
35
  ---
36
36
 
@@ -200,4 +200,4 @@ routines_file: .monomind/orgs/<org_name>-routines.json
200
200
 
201
201
  ## Step 4 — Brain Write (standalone only)
202
202
 
203
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
203
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -26,7 +26,7 @@ This skill is invoked by `mastermind:runorgv1` or directly via `/mastermind:runo
26
26
 
27
27
  ## Step 0 — Brain Load (standalone only)
28
28
 
29
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
29
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
30
30
 
31
31
  ---
32
32
 
@@ -702,7 +702,7 @@ run_id: "<runId>"
702
702
 
703
703
  ## Step 8 — Brain Write (standalone only)
704
704
 
705
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
705
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
706
706
 
707
707
  ---
708
708
 
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:sales`
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the sales goal for this run
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `sales`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `sales`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `sales`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `sales`)
63
63
 
64
64
  ---
65
65
 
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:search` or directly via `/mastermind:search
24
24
 
25
25
  ## Step 0 — Brain Load (standalone only)
26
26
 
27
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
27
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
28
28
 
29
29
  ---
30
30
 
@@ -183,4 +183,4 @@ total_hits: <N>
183
183
 
184
184
  ## Step 4 — Brain Write (standalone only)
185
185
 
186
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
186
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -25,7 +25,7 @@ This skill is invoked by `mastermind:secrets` or directly via `/mastermind:secre
25
25
 
26
26
  ## Step 0 — Brain Load (standalone only)
27
27
 
28
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
28
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
29
29
 
30
30
  ---
31
31
 
@@ -196,4 +196,4 @@ secrets_count: <N>
196
196
 
197
197
  ## Step 4 — Brain Write (standalone only)
198
198
 
199
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
199
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -66,14 +66,16 @@ API docs, syntax guides, tool documentation
66
66
  ## Directory Structure
67
67
 
68
68
  ```
69
- .claude/skills/mastermind/
70
- skill-name.md # Main skill (required)
69
+ .claude/skills/
70
+ mastermind-<name>/
71
+ SKILL.md # Main skill (required — a bare <name>.md does NOT register)
72
+ *-prompt.md # Optional supporting files (prompt templates, references)
71
73
 
72
74
  .claude/commands/mastermind/
73
- skill-name.md # Command entry point (required)
75
+ <name>.md # Command entry point (required)
74
76
  ```
75
77
 
76
- **Flat namespace** — all mastermind skills in one searchable namespace.
78
+ **One top-level directory per skill** — Claude Code only registers `.claude/skills/<dir>/SKILL.md`, under the directory's own name. Grouping folders inside `.claude/skills/` do NOT register their children, so never nest. The `mastermind-` prefix on every skill directory is what prevents collisions with other skills, so never omit it — `monomind init` ships every `mastermind-*` directory automatically. Command wrappers invoke `Skill("mastermind-<name>")`.
77
79
 
78
80
  ## Skill File Structure
79
81
 
@@ -120,21 +122,21 @@ name: mastermind-[name]
120
122
  description: [one-line description of when to use]
121
123
  ---
122
124
 
123
- **First — extract repeat flags:** Follow REPEAT PREAMBLE from `_repeat.md`.
125
+ **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
124
126
 
125
127
  Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
126
128
 
127
- Load brain context (follow `_protocol.md` Brain Load Procedure).
129
+ Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
128
130
 
129
131
  Default mode: **confirm** (or **auto** for low-risk/fast skills).
130
132
 
131
133
  ---
132
134
 
133
- Invoke `Skill("mastermind-skills:[name]")` passing: brain_context, params, mode.
135
+ Invoke `Skill("mastermind-[name]")` passing: brain_context, params, mode.
134
136
 
135
- After skill returns: follow `_protocol.md` Brain Write Procedure.
137
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
136
138
 
137
- Invoke `Skill("mastermind-skills:_repeat")` now. Required — do not skip.
139
+ Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
138
140
  ```
139
141
 
140
142
  ## Claude Search Optimization (CSO)
@@ -182,15 +184,15 @@ Use words Claude would search for:
182
184
 
183
185
  **Techniques:**
184
186
  - Reference other skills instead of repeating content
185
- - Use cross-references: `**REQUIRED BACKGROUND:** Use Skill("mastermind-skills:X")`
187
+ - Use cross-references: `**REQUIRED BACKGROUND:** Use Skill("mastermind-X")`
186
188
  - One excellent example beats many mediocre ones
187
189
 
188
190
  ### Cross-Referencing Other Skills
189
191
 
190
192
  ```markdown
191
193
  # GOOD: Explicit requirement marker
192
- **REQUIRED SUB-SKILL:** Use Skill("mastermind-skills:worktree")
193
- **REQUIRED BACKGROUND:** You MUST understand Skill("mastermind-skills:finish")
194
+ **REQUIRED SUB-SKILL:** Use Skill("mastermind-worktree")
195
+ **REQUIRED BACKGROUND:** You MUST understand Skill("mastermind-finish")
194
196
 
195
197
  # BAD: Unclear if required
196
198
  See mastermind/worktree.md
@@ -221,7 +223,7 @@ See mastermind/worktree.md
221
223
 
222
224
  ## File Organization
223
225
 
224
- Mastermind skills are single files in a flat namespace. Keep everything inline. If a skill genuinely needs heavy reference material (500+ lines of API docs), condense it to what agents actually retrieve — a skill nobody can afford to load teaches nothing. Reusable prompt templates (like taskdev's implementer/reviewer prompts) live as sibling `*-prompt.md` files in the skills directory.
226
+ Each mastermind skill is one directory holding a single `SKILL.md`. Keep everything inline in that file. If a skill genuinely needs heavy reference material (500+ lines of API docs), condense it to what agents actually retrieve — a skill nobody can afford to load teaches nothing. Reusable prompt templates (like taskdev's implementer/reviewer prompts) live as supporting `*-prompt.md` files inside the owning skill's directory, referenced as `./<name>-prompt.md`.
225
227
 
226
228
  ## The Iron Law (Same as TDD)
227
229
 
@@ -418,7 +420,7 @@ helper1, helper2, step3, pattern4
418
420
  - [ ] Re-test until bulletproof
419
421
 
420
422
  **Deployment:**
421
- - [ ] Skill file at `.claude/skills/mastermind/<name>.md`
423
+ - [ ] Skill file at `.claude/skills/mastermind-<name>/SKILL.md`
422
424
  - [ ] Command file at `.claude/commands/mastermind/<name>.md`
423
425
  - [ ] Commit both files to git
424
426
  - [ ] Mirror both files into `packages/@monomind/cli/.claude/` (the npm-shipped copy)
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:skills` or directly via `/mastermind:skills
24
24
 
25
25
  ## Step 0 — Brain Load (standalone only)
26
26
 
27
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
27
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
28
28
 
29
29
  ---
30
30
 
@@ -153,4 +153,4 @@ skills_found: <N>
153
153
 
154
154
  ## Step 4 — Brain Write (standalone only)
155
155
 
156
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
156
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.