@monoes/monomindcli 2.16.2 → 2.16.4

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 (894) hide show
  1. package/.claude/agents/architecture/system-design/arch-system-design.md +4 -1
  2. package/.claude/agents/consensus/quorum-manager.md +3 -0
  3. package/.claude/agents/consensus/security-manager.md +4 -1
  4. package/.claude/agents/core/coder.md +4 -1
  5. package/.claude/agents/core/coordinator.md +3 -0
  6. package/.claude/agents/core/planner.md +4 -1
  7. package/.claude/agents/core/researcher.md +4 -1
  8. package/.claude/agents/core/reviewer.md +4 -1
  9. package/.claude/agents/core/tester.md +4 -1
  10. package/.claude/agents/design/design-monodesign.md +4 -1
  11. package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +4 -1
  12. package/.claude/agents/engineering/engineering-ai-engineer.md +4 -1
  13. package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +3 -0
  14. package/.claude/agents/engineering/engineering-backend-architect.md +4 -1
  15. package/.claude/agents/engineering/engineering-code-reviewer.md +5 -0
  16. package/.claude/agents/engineering/engineering-data-engineer.md +4 -1
  17. package/.claude/agents/engineering/engineering-database-optimizer.md +4 -1
  18. package/.claude/agents/engineering/engineering-devops-automator.md +3 -0
  19. package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +3 -0
  20. package/.claude/agents/engineering/engineering-feishu-integration-developer.md +4 -1
  21. package/.claude/agents/engineering/engineering-frontend-developer.md +3 -0
  22. package/.claude/agents/engineering/engineering-git-workflow-master.md +4 -1
  23. package/.claude/agents/engineering/engineering-incident-response-commander.md +4 -1
  24. package/.claude/agents/engineering/engineering-mobile-app-builder.md +3 -0
  25. package/.claude/agents/engineering/engineering-rapid-prototyper.md +3 -0
  26. package/.claude/agents/engineering/engineering-security-engineer.md +4 -1
  27. package/.claude/agents/engineering/engineering-senior-developer.md +3 -0
  28. package/.claude/agents/engineering/engineering-software-architect.md +4 -1
  29. package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +4 -1
  30. package/.claude/agents/engineering/engineering-sre.md +3 -0
  31. package/.claude/agents/engineering/engineering-technical-writer.md +4 -1
  32. package/.claude/agents/engineering/engineering-threat-detection-engineer.md +4 -1
  33. package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +4 -1
  34. package/.claude/agents/github/github-modes.md +4 -2
  35. package/.claude/agents/github/issue-tracker.md +4 -2
  36. package/.claude/agents/github/monoswarm-code-review.md +4 -2
  37. package/.claude/agents/github/monoswarm-issue.md +5 -0
  38. package/.claude/agents/github/monoswarm-multi-repo.md +4 -1
  39. package/.claude/agents/github/monoswarm-pr.md +5 -0
  40. package/.claude/agents/github/pr-manager.md +4 -2
  41. package/.claude/agents/github/project-board-sync.md +4 -2
  42. package/.claude/agents/github/release-manager.md +4 -2
  43. package/.claude/agents/github/repo-architect.md +4 -2
  44. package/.claude/agents/github/sync-coordinator.md +4 -2
  45. package/.claude/agents/github/workflow-automation.md +4 -2
  46. package/.claude/agents/goal/goal-planner.md +16 -2
  47. package/.claude/agents/marketing/marketing-competitive-content.md +4 -1
  48. package/.claude/agents/marketing/marketing-cro-specialist.md +4 -1
  49. package/.claude/agents/marketing/marketing-email-specialist.md +4 -1
  50. package/.claude/agents/marketing/marketing-launch-strategist.md +4 -1
  51. package/.claude/agents/marketing/marketing-pricing-strategist.md +4 -1
  52. package/.claude/agents/monoswarm/collective-intelligence-coordinator.md +3 -0
  53. package/.claude/agents/monoswarm/mesh-coordinator.md +3 -0
  54. package/.claude/agents/monoswarm/monoswarm-memory-manager.md +4 -2
  55. package/.claude/agents/monoswarm/scout-explorer.md +4 -2
  56. package/.claude/agents/monoswarm/worker-specialist.md +3 -0
  57. package/.claude/agents/optimization/benchmark-suite.md +3 -0
  58. package/.claude/agents/optimization/load-balancer.md +3 -0
  59. package/.claude/agents/optimization/performance-monitor.md +3 -0
  60. package/.claude/agents/optimization/resource-allocator.md +3 -0
  61. package/.claude/agents/optimization/topology-optimizer.md +3 -0
  62. package/.claude/agents/specialists/integration-architect.md +4 -2
  63. package/.claude/agents/specialized/agentic-identity-trust.md +4 -1
  64. package/.claude/agents/specialized/agents-orchestrator.md +3 -0
  65. package/.claude/agents/specialized/automation-governance-architect.md +3 -0
  66. package/.claude/agents/specialized/blockchain-security-auditor.md +4 -1
  67. package/.claude/agents/specialized/compliance-auditor.md +4 -1
  68. package/.claude/agents/specialized/identity-graph-operator.md +4 -1
  69. package/.claude/agents/specialized/lsp-index-engineer.md +3 -0
  70. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +5 -0
  71. package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +3 -0
  72. package/.claude/agents/specialized/specialized-developer-advocate.md +4 -1
  73. package/.claude/agents/specialized/specialized-document-generator.md +4 -1
  74. package/.claude/agents/specialized/specialized-mcp-builder.md +3 -0
  75. package/.claude/agents/specialized/specialized-model-qa.md +4 -1
  76. package/.claude/agents/specialized/specialized-workflow-architect.md +4 -1
  77. package/.claude/agents/specialized/zk-steward.md +4 -1
  78. package/.claude/agents/templates/automation-smart-agent.md +4 -1
  79. package/.claude/agents/templates/coordinator-monoswarm-init.md +4 -1
  80. package/.claude/agents/testing/production-validator.md +3 -0
  81. package/.claude/agents/testing/tdd-london-monoswarm.md +3 -0
  82. package/.claude/agents/testing/testing-accessibility-auditor.md +4 -1
  83. package/.claude/agents/testing/testing-api-tester.md +4 -1
  84. package/.claude/agents/testing/testing-evidence-collector.md +3 -0
  85. package/.claude/agents/testing/testing-performance-benchmarker.md +4 -1
  86. package/.claude/agents/testing/testing-test-results-analyzer.md +4 -1
  87. package/.claude/agents/testing/testing-tool-evaluator.md +4 -1
  88. package/.claude/agents/testing/testing-workflow-optimizer.md +4 -1
  89. package/.claude/commands/agents/agent-types.md +7 -5
  90. package/.claude/commands/mastermind/code-review.md +5 -5
  91. package/.claude/commands/mastermind/content.md +8 -2
  92. package/.claude/commands/mastermind/createorg.md +2 -2
  93. package/.claude/commands/mastermind/createtask.md +2 -2
  94. package/.claude/commands/mastermind/do.md +18 -36
  95. package/.claude/commands/mastermind/finance.md +8 -2
  96. package/.claude/commands/mastermind/help.md +5 -11
  97. package/.claude/commands/mastermind/ideate.md +4 -4
  98. package/.claude/commands/mastermind/improve.md +3 -3
  99. package/.claude/commands/mastermind/marketing.md +8 -2
  100. package/.claude/commands/mastermind/master.md +64 -47
  101. package/.claude/commands/mastermind/monoswarm.md +7 -5
  102. package/.claude/commands/mastermind/ops.md +8 -2
  103. package/.claude/commands/mastermind/orgs.md +1 -1
  104. package/.claude/commands/mastermind/orgstatus.md +1 -1
  105. package/.claude/commands/mastermind/runorg.md +2 -2
  106. package/.claude/commands/mastermind/sales.md +8 -2
  107. package/.claude/commands/mastermind/stoporg.md +7 -11
  108. package/.claude/commands/mastermind.md +7 -7
  109. package/.claude/commands/monoswarm/analysis.md +1 -1
  110. package/.claude/commands/monoswarm/development.md +1 -1
  111. package/.claude/commands/monoswarm/maintenance.md +1 -1
  112. package/.claude/commands/monoswarm/optimization.md +2 -1
  113. package/.claude/commands/monoswarm/research.md +1 -1
  114. package/.claude/commands/monoswarm/testing.md +1 -1
  115. package/.claude/commands/pair/examples.md +3 -2
  116. package/.claude/commands/pair/modes.md +3 -3
  117. package/.claude/helpers/agent-registry.cjs +434 -0
  118. package/.claude/helpers/build-skill-registry.cjs +186 -26
  119. package/.claude/helpers/handlers/agent-start-handler.cjs +3 -0
  120. package/.claude/helpers/handlers/capture-handler.cjs +22 -14
  121. package/.claude/helpers/handlers/edit-handler.cjs +1 -1
  122. package/.claude/helpers/handlers/pick-core.cjs +463 -0
  123. package/.claude/helpers/handlers/route-handler.cjs +81 -180
  124. package/.claude/helpers/handlers/session-handler.cjs +44 -62
  125. package/.claude/helpers/handlers/session-restore-handler.cjs +8 -1
  126. package/.claude/helpers/handlers/task-handler.cjs +11 -6
  127. package/.claude/helpers/hook-handler.cjs +9 -2
  128. package/.claude/helpers/jev-catalog.cjs +229 -0
  129. package/.claude/helpers/jev-picker.cjs +38 -147
  130. package/.claude/helpers/org-skill-index.cjs +230 -0
  131. package/.claude/helpers/pick-rank.cjs +307 -0
  132. package/.claude/helpers/pick-stats.cjs +413 -0
  133. package/.claude/helpers/router.cjs +7 -379
  134. package/.claude/helpers/utils/monograph-resolve.cjs +12 -4
  135. package/.claude/settings.json +51 -41
  136. package/.claude/skills/hooks-automation/SKILL.md +4 -4
  137. package/.claude/skills/mastermind-access/SKILL.md +4 -3
  138. package/.claude/skills/mastermind-activity/SKILL.md +3 -2
  139. package/.claude/skills/mastermind-adapter-manager/SKILL.md +2 -1
  140. package/.claude/skills/mastermind-adapters/SKILL.md +2 -1
  141. package/.claude/skills/mastermind-agent-detail/SKILL.md +5 -4
  142. package/.claude/skills/mastermind-agent-select/SKILL.md +99 -100
  143. package/.claude/skills/mastermind-agents/SKILL.md +33 -39
  144. package/.claude/skills/mastermind-approval-detail/SKILL.md +2 -1
  145. package/.claude/skills/mastermind-backup/SKILL.md +2 -1
  146. package/.claude/skills/mastermind-bootstrap/SKILL.md +2 -2
  147. package/.claude/skills/mastermind-budgets/SKILL.md +4 -3
  148. package/.claude/skills/mastermind-createorg/SKILL.md +26 -8
  149. package/.claude/skills/mastermind-delegation/SKILL.md +11 -19
  150. package/.claude/skills/mastermind-diagnose/SKILL.md +3 -3
  151. package/.claude/skills/mastermind-env/SKILL.md +6 -19
  152. package/.claude/skills/mastermind-environments/SKILL.md +2 -1
  153. package/.claude/skills/mastermind-execute/SKILL.md +1 -1
  154. package/.claude/skills/mastermind-export/SKILL.md +2 -1
  155. package/.claude/skills/mastermind-goal-detail/SKILL.md +3 -2
  156. package/.claude/skills/mastermind-goals/SKILL.md +3 -2
  157. package/.claude/skills/mastermind-idea/SKILL.md +52 -92
  158. package/.claude/skills/mastermind-import/SKILL.md +2 -1
  159. package/.claude/skills/mastermind-inbox/SKILL.md +33 -53
  160. package/.claude/skills/mastermind-instance/SKILL.md +10 -7
  161. package/.claude/skills/mastermind-invite-landing/SKILL.md +3 -2
  162. package/.claude/skills/mastermind-invites/SKILL.md +3 -2
  163. package/.claude/skills/mastermind-issue-detail/SKILL.md +4 -3
  164. package/.claude/skills/mastermind-issues/SKILL.md +4 -3
  165. package/.claude/skills/mastermind-join-queue/SKILL.md +5 -4
  166. package/.claude/skills/mastermind-liveness/SKILL.md +5 -4
  167. package/.claude/skills/mastermind-monitor/SKILL.md +15 -15
  168. package/.claude/skills/mastermind-my-issues/SKILL.md +2 -1
  169. package/.claude/skills/mastermind-new-agent/SKILL.md +120 -137
  170. package/.claude/skills/mastermind-org-settings/SKILL.md +8 -8
  171. package/.claude/skills/mastermind-orgs/SKILL.md +27 -32
  172. package/.claude/skills/mastermind-orgstatus/SKILL.md +50 -140
  173. package/.claude/skills/mastermind-plan-to-tasks/SKILL.md +1 -1
  174. package/.claude/skills/mastermind-plugin-manager/SKILL.md +4 -3
  175. package/.claude/skills/mastermind-plugin-settings/SKILL.md +5 -4
  176. package/.claude/skills/mastermind-plugins/SKILL.md +3 -2
  177. package/.claude/skills/mastermind-profile/SKILL.md +2 -1
  178. package/.claude/skills/mastermind-protocol/SKILL.md +3 -3
  179. package/.claude/skills/mastermind-release/SKILL.md +13 -8
  180. package/.claude/skills/mastermind-research/SKILL.md +10 -8
  181. package/.claude/skills/mastermind-review/SKILL.md +16 -11
  182. package/.claude/skills/mastermind-routine-detail/SKILL.md +2 -1
  183. package/.claude/skills/mastermind-routines/SKILL.md +3 -2
  184. package/.claude/skills/mastermind-runorg/SKILL.md +13 -13
  185. package/.claude/skills/mastermind-search/SKILL.md +2 -1
  186. package/.claude/skills/mastermind-secrets/SKILL.md +3 -2
  187. package/.claude/skills/mastermind-skills/SKILL.md +2 -1
  188. package/.claude/skills/mastermind-stoporg/SKILL.md +8 -62
  189. package/.claude/skills/mastermind-tasks/SKILL.md +8 -9
  190. package/.claude/skills/mastermind-threads/SKILL.md +4 -3
  191. package/.claude/skills/mastermind-tree-control/SKILL.md +5 -4
  192. package/.claude/skills/mastermind-workspace-detail/SKILL.md +4 -3
  193. package/.claude/skills/mastermind-workspaces/SKILL.md +2 -1
  194. package/.claude/skills/monoswarm/SKILL.md +7 -5
  195. package/.claude/skills/specialagent/SKILL.md +32 -51
  196. package/README.md +28 -43
  197. package/dist/src/agents/registry-builder.d.ts +79 -22
  198. package/dist/src/agents/registry-builder.d.ts.map +1 -1
  199. package/dist/src/agents/registry-builder.js +49 -296
  200. package/dist/src/agents/registry-builder.js.map +1 -1
  201. package/dist/src/agents/registry-freshness.d.ts +21 -0
  202. package/dist/src/agents/registry-freshness.d.ts.map +1 -0
  203. package/dist/src/agents/registry-freshness.js +45 -0
  204. package/dist/src/agents/registry-freshness.js.map +1 -0
  205. package/dist/src/commands/agent-lifecycle.d.ts +11 -5
  206. package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
  207. package/dist/src/commands/agent-lifecycle.js +78 -42
  208. package/dist/src/commands/agent-lifecycle.js.map +1 -1
  209. package/dist/src/commands/doc.d.ts.map +1 -1
  210. package/dist/src/commands/doc.js +6 -15
  211. package/dist/src/commands/doc.js.map +1 -1
  212. package/dist/src/commands/doctor-env-checks.d.ts +18 -3
  213. package/dist/src/commands/doctor-env-checks.d.ts.map +1 -1
  214. package/dist/src/commands/doctor-env-checks.js +35 -16
  215. package/dist/src/commands/doctor-env-checks.js.map +1 -1
  216. package/dist/src/commands/doctor-fresh-install.d.ts +9 -0
  217. package/dist/src/commands/doctor-fresh-install.d.ts.map +1 -0
  218. package/dist/src/commands/doctor-fresh-install.js +43 -0
  219. package/dist/src/commands/doctor-fresh-install.js.map +1 -0
  220. package/dist/src/commands/doctor-hook-monograph-checks.d.ts +3 -1
  221. package/dist/src/commands/doctor-hook-monograph-checks.d.ts.map +1 -1
  222. package/dist/src/commands/doctor-hook-monograph-checks.js +13 -4
  223. package/dist/src/commands/doctor-hook-monograph-checks.js.map +1 -1
  224. package/dist/src/commands/doctor-hook-settings-checks.d.ts +5 -0
  225. package/dist/src/commands/doctor-hook-settings-checks.d.ts.map +1 -0
  226. package/dist/src/commands/doctor-hook-settings-checks.js +50 -0
  227. package/dist/src/commands/doctor-hook-settings-checks.js.map +1 -0
  228. package/dist/src/commands/doctor-json.d.ts +41 -0
  229. package/dist/src/commands/doctor-json.d.ts.map +1 -0
  230. package/dist/src/commands/doctor-json.js +60 -0
  231. package/dist/src/commands/doctor-json.js.map +1 -0
  232. package/dist/src/commands/doctor-mode.d.ts +28 -0
  233. package/dist/src/commands/doctor-mode.d.ts.map +1 -0
  234. package/dist/src/commands/doctor-mode.js +109 -0
  235. package/dist/src/commands/doctor-mode.js.map +1 -0
  236. package/dist/src/commands/doctor-monoes-checks.d.ts.map +1 -1
  237. package/dist/src/commands/doctor-monoes-checks.js +3 -1
  238. package/dist/src/commands/doctor-monoes-checks.js.map +1 -1
  239. package/dist/src/commands/doctor-pick-checks.d.ts +19 -0
  240. package/dist/src/commands/doctor-pick-checks.d.ts.map +1 -0
  241. package/dist/src/commands/doctor-pick-checks.js +132 -0
  242. package/dist/src/commands/doctor-pick-checks.js.map +1 -0
  243. package/dist/src/commands/doctor-project-checks.d.ts +3 -1
  244. package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
  245. package/dist/src/commands/doctor-project-checks.js +69 -20
  246. package/dist/src/commands/doctor-project-checks.js.map +1 -1
  247. package/dist/src/commands/doctor.d.ts.map +1 -1
  248. package/dist/src/commands/doctor.js +324 -335
  249. package/dist/src/commands/doctor.js.map +1 -1
  250. package/dist/src/commands/hooks-coverage-routing.js +1 -1
  251. package/dist/src/commands/hooks-coverage-routing.js.map +1 -1
  252. package/dist/src/commands/hooks-coverage-utils.js +1 -1
  253. package/dist/src/commands/hooks-coverage-utils.js.map +1 -1
  254. package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
  255. package/dist/src/commands/hooks-routing-commands.js +5 -4
  256. package/dist/src/commands/hooks-routing-commands.js.map +1 -1
  257. package/dist/src/commands/init-upgrade.d.ts.map +1 -1
  258. package/dist/src/commands/init-upgrade.js +8 -0
  259. package/dist/src/commands/init-upgrade.js.map +1 -1
  260. package/dist/src/commands/init-wizard.d.ts.map +1 -1
  261. package/dist/src/commands/init-wizard.js +7 -2
  262. package/dist/src/commands/init-wizard.js.map +1 -1
  263. package/dist/src/commands/init.d.ts.map +1 -1
  264. package/dist/src/commands/init.js +16 -27
  265. package/dist/src/commands/init.js.map +1 -1
  266. package/dist/src/commands/monograph.d.ts.map +1 -1
  267. package/dist/src/commands/monograph.js +16 -21
  268. package/dist/src/commands/monograph.js.map +1 -1
  269. package/dist/src/commands/monoswarm.d.ts.map +1 -1
  270. package/dist/src/commands/monoswarm.js +16 -10
  271. package/dist/src/commands/monoswarm.js.map +1 -1
  272. package/dist/src/commands/org.js +1 -1
  273. package/dist/src/commands/org.js.map +1 -1
  274. package/dist/src/commands/pick.d.ts.map +1 -1
  275. package/dist/src/commands/pick.js +66 -16
  276. package/dist/src/commands/pick.js.map +1 -1
  277. package/dist/src/commands/route.d.ts +2 -1
  278. package/dist/src/commands/route.d.ts.map +1 -1
  279. package/dist/src/commands/route.js +73 -117
  280. package/dist/src/commands/route.js.map +1 -1
  281. package/dist/src/decision/catalogs.d.ts +24 -3
  282. package/dist/src/decision/catalogs.d.ts.map +1 -1
  283. package/dist/src/decision/catalogs.js +100 -22
  284. package/dist/src/decision/catalogs.js.map +1 -1
  285. package/dist/src/decision/jev.d.ts +30 -6
  286. package/dist/src/decision/jev.d.ts.map +1 -1
  287. package/dist/src/decision/jev.js +15 -4
  288. package/dist/src/decision/jev.js.map +1 -1
  289. package/dist/src/decision/pick-eval.d.ts +67 -0
  290. package/dist/src/decision/pick-eval.d.ts.map +1 -0
  291. package/dist/src/decision/pick-eval.js +113 -0
  292. package/dist/src/decision/pick-eval.js.map +1 -0
  293. package/dist/src/decision/pick-real.d.ts +93 -0
  294. package/dist/src/decision/pick-real.d.ts.map +1 -0
  295. package/dist/src/decision/pick-real.js +253 -0
  296. package/dist/src/decision/pick-real.js.map +1 -0
  297. package/dist/src/decision/pick-stats.d.ts +49 -0
  298. package/dist/src/decision/pick-stats.d.ts.map +1 -0
  299. package/dist/src/decision/pick-stats.js +68 -0
  300. package/dist/src/decision/pick-stats.js.map +1 -0
  301. package/dist/src/decision/picks.d.ts +38 -6
  302. package/dist/src/decision/picks.d.ts.map +1 -1
  303. package/dist/src/decision/picks.js +68 -32
  304. package/dist/src/decision/picks.js.map +1 -1
  305. package/dist/src/index.d.ts +5 -0
  306. package/dist/src/index.d.ts.map +1 -1
  307. package/dist/src/index.js +43 -22
  308. package/dist/src/index.js.map +1 -1
  309. package/dist/src/init/agent-refresh.d.ts +8 -0
  310. package/dist/src/init/agent-refresh.d.ts.map +1 -0
  311. package/dist/src/init/agent-refresh.js +89 -0
  312. package/dist/src/init/agent-refresh.js.map +1 -0
  313. package/dist/src/init/claudemd-generator.d.ts.map +1 -1
  314. package/dist/src/init/claudemd-generator.js +27 -9
  315. package/dist/src/init/claudemd-generator.js.map +1 -1
  316. package/dist/src/init/embeddings-step.d.ts +23 -0
  317. package/dist/src/init/embeddings-step.d.ts.map +1 -0
  318. package/dist/src/init/embeddings-step.js +53 -0
  319. package/dist/src/init/embeddings-step.js.map +1 -0
  320. package/dist/src/init/executor.d.ts.map +1 -1
  321. package/dist/src/init/executor.js +9 -1
  322. package/dist/src/init/executor.js.map +1 -1
  323. package/dist/src/init/helpers-generator.d.ts +4 -1
  324. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  325. package/dist/src/init/helpers-generator.js +88 -55
  326. package/dist/src/init/helpers-generator.js.map +1 -1
  327. package/dist/src/init/hook-settings.d.ts +57 -0
  328. package/dist/src/init/hook-settings.d.ts.map +1 -0
  329. package/dist/src/init/hook-settings.js +133 -0
  330. package/dist/src/init/hook-settings.js.map +1 -0
  331. package/dist/src/init/project-indexes.d.ts +19 -0
  332. package/dist/src/init/project-indexes.d.ts.map +1 -0
  333. package/dist/src/init/project-indexes.js +44 -0
  334. package/dist/src/init/project-indexes.js.map +1 -0
  335. package/dist/src/init/settings-generator.d.ts.map +1 -1
  336. package/dist/src/init/settings-generator.js +44 -25
  337. package/dist/src/init/settings-generator.js.map +1 -1
  338. package/dist/src/init/shared.d.ts +14 -0
  339. package/dist/src/init/shared.d.ts.map +1 -1
  340. package/dist/src/init/shared.js +24 -1
  341. package/dist/src/init/shared.js.map +1 -1
  342. package/dist/src/init/types.d.ts +13 -2
  343. package/dist/src/init/types.d.ts.map +1 -1
  344. package/dist/src/init/types.js +11 -3
  345. package/dist/src/init/types.js.map +1 -1
  346. package/dist/src/init/upgrade.d.ts +7 -0
  347. package/dist/src/init/upgrade.d.ts.map +1 -1
  348. package/dist/src/init/upgrade.js +139 -130
  349. package/dist/src/init/upgrade.js.map +1 -1
  350. package/dist/src/init/write-antigravity.d.ts +1 -0
  351. package/dist/src/init/write-antigravity.d.ts.map +1 -1
  352. package/dist/src/init/write-antigravity.js +19 -1
  353. package/dist/src/init/write-antigravity.js.map +1 -1
  354. package/dist/src/init/write-capabilities.d.ts.map +1 -1
  355. package/dist/src/init/write-capabilities.js +10 -33
  356. package/dist/src/init/write-capabilities.js.map +1 -1
  357. package/dist/src/init/write-claude.d.ts.map +1 -1
  358. package/dist/src/init/write-claude.js +10 -4
  359. package/dist/src/init/write-claude.js.map +1 -1
  360. package/dist/src/mcp-client.d.ts.map +1 -1
  361. package/dist/src/mcp-client.js +4 -0
  362. package/dist/src/mcp-client.js.map +1 -1
  363. package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
  364. package/dist/src/mcp-tools/agent-tools.js +3 -0
  365. package/dist/src/mcp-tools/agent-tools.js.map +1 -1
  366. package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
  367. package/dist/src/mcp-tools/embeddings-tools.js +14 -5
  368. package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
  369. package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
  370. package/dist/src/mcp-tools/guidance-tools.js +19 -10
  371. package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
  372. package/dist/src/mcp-tools/hooks-embedding.d.ts +1 -32
  373. package/dist/src/mcp-tools/hooks-embedding.d.ts.map +1 -1
  374. package/dist/src/mcp-tools/hooks-embedding.js +22 -200
  375. package/dist/src/mcp-tools/hooks-embedding.js.map +1 -1
  376. package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
  377. package/dist/src/mcp-tools/hooks-routing.js +81 -195
  378. package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
  379. package/dist/src/mcp-tools/index.d.ts +1 -0
  380. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  381. package/dist/src/mcp-tools/index.js +1 -0
  382. package/dist/src/mcp-tools/index.js.map +1 -1
  383. package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -1
  384. package/dist/src/mcp-tools/monograph/build-tools.js +16 -9
  385. package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -1
  386. package/dist/src/mcp-tools/org-skill-tools.d.ts +4 -0
  387. package/dist/src/mcp-tools/org-skill-tools.d.ts.map +1 -0
  388. package/dist/src/mcp-tools/org-skill-tools.js +42 -0
  389. package/dist/src/mcp-tools/org-skill-tools.js.map +1 -0
  390. package/dist/src/mcp-tools/pick-tools.d.ts +4 -0
  391. package/dist/src/mcp-tools/pick-tools.d.ts.map +1 -0
  392. package/dist/src/mcp-tools/pick-tools.js +53 -0
  393. package/dist/src/mcp-tools/pick-tools.js.map +1 -0
  394. package/dist/src/memory/embedding-operations.d.ts +0 -4
  395. package/dist/src/memory/embedding-operations.d.ts.map +1 -1
  396. package/dist/src/memory/embedding-operations.js +11 -85
  397. package/dist/src/memory/embedding-operations.js.map +1 -1
  398. package/dist/src/memory/memory-bridge.d.ts +7 -0
  399. package/dist/src/memory/memory-bridge.d.ts.map +1 -1
  400. package/dist/src/memory/memory-bridge.js +15 -0
  401. package/dist/src/memory/memory-bridge.js.map +1 -1
  402. package/dist/src/monovector/coverage-router.d.ts +2 -1
  403. package/dist/src/monovector/coverage-router.d.ts.map +1 -1
  404. package/dist/src/monovector/coverage-router.js +6 -5
  405. package/dist/src/monovector/coverage-router.js.map +1 -1
  406. package/dist/src/monovector/coverage-tools.js +1 -1
  407. package/dist/src/monovector/coverage-tools.js.map +1 -1
  408. package/dist/src/monovector/index.d.ts +1 -1
  409. package/dist/src/monovector/index.d.ts.map +1 -1
  410. package/dist/src/monovector/index.js +11 -35
  411. package/dist/src/monovector/index.js.map +1 -1
  412. package/dist/src/monovector/route-outcomes.d.ts.map +1 -1
  413. package/dist/src/monovector/route-outcomes.js +89 -34
  414. package/dist/src/monovector/route-outcomes.js.map +1 -1
  415. package/dist/src/orgrt/bash-timeout.d.ts +17 -0
  416. package/dist/src/orgrt/bash-timeout.d.ts.map +1 -1
  417. package/dist/src/orgrt/bash-timeout.js +15 -0
  418. package/dist/src/orgrt/bash-timeout.js.map +1 -1
  419. package/dist/src/orgrt/daemon.d.ts +7 -13
  420. package/dist/src/orgrt/daemon.d.ts.map +1 -1
  421. package/dist/src/orgrt/daemon.js +12 -23
  422. package/dist/src/orgrt/daemon.js.map +1 -1
  423. package/dist/src/orgrt/decisions.d.ts +3 -8
  424. package/dist/src/orgrt/decisions.d.ts.map +1 -1
  425. package/dist/src/orgrt/decisions.js +36 -47
  426. package/dist/src/orgrt/decisions.js.map +1 -1
  427. package/dist/src/orgrt/dispatch-hold.d.ts +34 -0
  428. package/dist/src/orgrt/dispatch-hold.d.ts.map +1 -0
  429. package/dist/src/orgrt/dispatch-hold.js +75 -0
  430. package/dist/src/orgrt/dispatch-hold.js.map +1 -0
  431. package/dist/src/orgrt/runner-registry.d.ts +20 -0
  432. package/dist/src/orgrt/runner-registry.d.ts.map +1 -1
  433. package/dist/src/orgrt/runner-registry.js +39 -0
  434. package/dist/src/orgrt/runner-registry.js.map +1 -1
  435. package/dist/src/orgrt/sandbox-deny-write.d.ts +11 -1
  436. package/dist/src/orgrt/sandbox-deny-write.d.ts.map +1 -1
  437. package/dist/src/orgrt/sandbox-deny-write.js +23 -2
  438. package/dist/src/orgrt/sandbox-deny-write.js.map +1 -1
  439. package/dist/src/orgrt/sandbox-fault.d.ts +5 -1
  440. package/dist/src/orgrt/sandbox-fault.d.ts.map +1 -1
  441. package/dist/src/orgrt/sandbox-fault.js +14 -2
  442. package/dist/src/orgrt/sandbox-fault.js.map +1 -1
  443. package/dist/src/orgrt/session.d.ts +16 -7
  444. package/dist/src/orgrt/session.d.ts.map +1 -1
  445. package/dist/src/orgrt/session.js +44 -64
  446. package/dist/src/orgrt/session.js.map +1 -1
  447. package/dist/src/orgrt/skill-library.d.ts +4 -0
  448. package/dist/src/orgrt/skill-library.d.ts.map +1 -1
  449. package/dist/src/orgrt/skill-library.js +12 -0
  450. package/dist/src/orgrt/skill-library.js.map +1 -1
  451. package/dist/src/orgrt/skill-tools.d.ts +11 -0
  452. package/dist/src/orgrt/skill-tools.d.ts.map +1 -0
  453. package/dist/src/orgrt/skill-tools.js +40 -0
  454. package/dist/src/orgrt/skill-tools.js.map +1 -0
  455. package/dist/src/orgrt/task-cancel.d.ts +64 -0
  456. package/dist/src/orgrt/task-cancel.d.ts.map +1 -0
  457. package/dist/src/orgrt/task-cancel.js +134 -0
  458. package/dist/src/orgrt/task-cancel.js.map +1 -0
  459. package/dist/src/orgrt/task-dag.d.ts +10 -1
  460. package/dist/src/orgrt/task-dag.d.ts.map +1 -1
  461. package/dist/src/orgrt/task-dag.js.map +1 -1
  462. package/dist/src/orgrt/task-match.d.ts +123 -0
  463. package/dist/src/orgrt/task-match.d.ts.map +1 -0
  464. package/dist/src/orgrt/task-match.js +249 -0
  465. package/dist/src/orgrt/task-match.js.map +1 -0
  466. package/dist/src/orgrt/task-provenance.d.ts +26 -0
  467. package/dist/src/orgrt/task-provenance.d.ts.map +1 -0
  468. package/dist/src/orgrt/task-provenance.js +93 -0
  469. package/dist/src/orgrt/task-provenance.js.map +1 -0
  470. package/dist/src/orgrt/task-tools.d.ts +24 -0
  471. package/dist/src/orgrt/task-tools.d.ts.map +1 -0
  472. package/dist/src/orgrt/task-tools.js +75 -0
  473. package/dist/src/orgrt/task-tools.js.map +1 -0
  474. package/dist/src/output.d.ts +6 -0
  475. package/dist/src/output.d.ts.map +1 -1
  476. package/dist/src/output.js +13 -2
  477. package/dist/src/output.js.map +1 -1
  478. package/dist/src/protocol-capabilities.d.ts +8 -1
  479. package/dist/src/protocol-capabilities.d.ts.map +1 -1
  480. package/dist/src/protocol-capabilities.js +10 -0
  481. package/dist/src/protocol-capabilities.js.map +1 -1
  482. package/dist/src/routing/agent-pick.d.ts +44 -0
  483. package/dist/src/routing/agent-pick.d.ts.map +1 -0
  484. package/dist/src/routing/agent-pick.js +114 -0
  485. package/dist/src/routing/agent-pick.js.map +1 -0
  486. package/dist/src/routing/pick-step.d.ts +26 -0
  487. package/dist/src/routing/pick-step.d.ts.map +1 -0
  488. package/dist/src/routing/pick-step.js +40 -0
  489. package/dist/src/routing/pick-step.js.map +1 -0
  490. package/dist/src/routing/route-layer-factory.d.ts.map +1 -1
  491. package/dist/src/routing/route-layer-factory.js +19 -17
  492. package/dist/src/routing/route-layer-factory.js.map +1 -1
  493. package/dist/src/utils/resource-governor.d.ts.map +1 -1
  494. package/dist/src/utils/resource-governor.js +28 -8
  495. package/dist/src/utils/resource-governor.js.map +1 -1
  496. package/dist/tsconfig.tsbuildinfo +1 -1
  497. package/org-skills/SOURCES.md +6 -6
  498. package/org-skills/TAGS.md +146 -0
  499. package/org-skills/ab-testing/SKILL.md +2 -2
  500. package/org-skills/accessibility-compliance/SKILL.md +2 -2
  501. package/org-skills/account-strategist/SKILL.md +2 -2
  502. package/org-skills/accounts-payable/SKILL.md +2 -2
  503. package/org-skills/ad-creative/SKILL.md +2 -2
  504. package/org-skills/adaptive-coordinator/SKILL.md +2 -2
  505. package/org-skills/adaptive-coordinator2/SKILL.md +2 -2
  506. package/org-skills/advanced-evaluation/SKILL.md +2 -2
  507. package/org-skills/adversarial-reviewer/SKILL.md +2 -2
  508. package/org-skills/agent-evaluation/SKILL.md +2 -2
  509. package/org-skills/agent-memory-systems/SKILL.md +2 -2
  510. package/org-skills/agent-tool-design/SKILL.md +2 -2
  511. package/org-skills/agile-product-owner/SKILL.md +2 -2
  512. package/org-skills/ai-citation/SKILL.md +2 -2
  513. package/org-skills/ai-engineer/SKILL.md +2 -2
  514. package/org-skills/ai-seo/SKILL.md +2 -2
  515. package/org-skills/analytics-reporter/SKILL.md +2 -2
  516. package/org-skills/analytics-tracking/SKILL.md +2 -2
  517. package/org-skills/android-clean-architecture/SKILL.md +2 -2
  518. package/org-skills/angular-architect/SKILL.md +2 -2
  519. package/org-skills/api-design/SKILL.md +2 -2
  520. package/org-skills/api-designer/SKILL.md +2 -2
  521. package/org-skills/api-tester/SKILL.md +2 -2
  522. package/org-skills/app-store-optimization/SKILL.md +2 -2
  523. package/org-skills/architecture-decision-records/SKILL.md +2 -2
  524. package/org-skills/architecture-designer/SKILL.md +2 -2
  525. package/org-skills/architecture-patterns/SKILL.md +2 -2
  526. package/org-skills/article-writing/SKILL.md +2 -2
  527. package/org-skills/auth-implementation-patterns/SKILL.md +2 -2
  528. package/org-skills/automation-governance/SKILL.md +2 -2
  529. package/org-skills/avoid-ai-writing/SKILL.md +2 -2
  530. package/org-skills/backend-dev/SKILL.md +2 -2
  531. package/org-skills/backend-patterns/SKILL.md +2 -2
  532. package/org-skills/bash-defensive-patterns/SKILL.md +2 -2
  533. package/org-skills/before-you-build/SKILL.md +2 -2
  534. package/org-skills/benchmark-methodology/SKILL.md +2 -2
  535. package/org-skills/benchmarker/SKILL.md +2 -2
  536. package/org-skills/blockchain-auditor/SKILL.md +2 -2
  537. package/org-skills/board-deck-builder/SKILL.md +2 -2
  538. package/org-skills/business-investment-advisor/SKILL.md +2 -2
  539. package/org-skills/byzantine-coord/SKILL.md +2 -2
  540. package/org-skills/canvas-design/SKILL.md +2 -2
  541. package/org-skills/carrier-relationship-management/SKILL.md +2 -2
  542. package/org-skills/case-analyst/SKILL.md +2 -2
  543. package/org-skills/ceo-advisor/SKILL.md +2 -2
  544. package/org-skills/cfo-advisor/SKILL.md +2 -2
  545. package/org-skills/change-management/SKILL.md +2 -2
  546. package/org-skills/changelog-automation/SKILL.md +2 -2
  547. package/org-skills/chro-advisor/SKILL.md +2 -2
  548. package/org-skills/churn-prevention/SKILL.md +2 -2
  549. package/org-skills/cicd-engineer/SKILL.md +2 -2
  550. package/org-skills/ciso-advisor/SKILL.md +2 -2
  551. package/org-skills/click-path-audit/SKILL.md +2 -2
  552. package/org-skills/cloud-architect/SKILL.md +2 -2
  553. package/org-skills/cloud-architecture/SKILL.md +2 -2
  554. package/org-skills/cmo-advisor/SKILL.md +2 -2
  555. package/org-skills/co-marketing/SKILL.md +2 -2
  556. package/org-skills/code-documenter/SKILL.md +2 -2
  557. package/org-skills/code-review-swarm/SKILL.md +2 -2
  558. package/org-skills/code-reviewer/SKILL.md +2 -2
  559. package/org-skills/coder/SKILL.md +2 -2
  560. package/org-skills/coding-standards/SKILL.md +2 -2
  561. package/org-skills/cold-email/SKILL.md +2 -2
  562. package/org-skills/collective-coord/SKILL.md +2 -2
  563. package/org-skills/community-marketing/SKILL.md +2 -2
  564. package/org-skills/competitive-landscape/SKILL.md +2 -2
  565. package/org-skills/competitive-platform-analysis/SKILL.md +2 -2
  566. package/org-skills/competitive-report-structure/SKILL.md +2 -2
  567. package/org-skills/competitive-teardown/SKILL.md +2 -2
  568. package/org-skills/competitor-comparison-pages/SKILL.md +2 -2
  569. package/org-skills/compliance-auditor/SKILL.md +2 -2
  570. package/org-skills/consensus-coordinator/SKILL.md +2 -2
  571. package/org-skills/content-creator/SKILL.md +2 -2
  572. package/org-skills/content-engine/SKILL.md +2 -2
  573. package/org-skills/content-strategy/SKILL.md +2 -2
  574. package/org-skills/context-compression/SKILL.md +2 -2
  575. package/org-skills/context-degradation/SKILL.md +2 -2
  576. package/org-skills/context-fundamentals/SKILL.md +2 -2
  577. package/org-skills/context-optimization/SKILL.md +2 -2
  578. package/org-skills/contract-and-proposal-writer/SKILL.md +1 -1
  579. package/org-skills/contract-first/SKILL.md +2 -2
  580. package/org-skills/coo-advisor/SKILL.md +2 -2
  581. package/org-skills/copy-editing/SKILL.md +2 -2
  582. package/org-skills/copywriting/SKILL.md +2 -2
  583. package/org-skills/cost-aware-llm-pipeline/SKILL.md +2 -2
  584. package/org-skills/cost-optimization/SKILL.md +2 -2
  585. package/org-skills/cpp-coding-standards/SKILL.md +2 -2
  586. package/org-skills/cpp-pro/SKILL.md +2 -2
  587. package/org-skills/cro-advisor/SKILL.md +2 -2
  588. package/org-skills/cro-specialist/SKILL.md +2 -2
  589. package/org-skills/csharp-developer/SKILL.md +2 -2
  590. package/org-skills/cto-advisor/SKILL.md +2 -2
  591. package/org-skills/culture-architect/SKILL.md +2 -2
  592. package/org-skills/customer-research/SKILL.md +2 -2
  593. package/org-skills/customs-trade-compliance/SKILL.md +2 -2
  594. package/org-skills/dart-flutter-patterns/SKILL.md +2 -2
  595. package/org-skills/dashboard-builder/SKILL.md +2 -2
  596. package/org-skills/data-consolidator/SKILL.md +2 -2
  597. package/org-skills/data-engineer/SKILL.md +2 -2
  598. package/org-skills/data-quality-frameworks/SKILL.md +2 -2
  599. package/org-skills/data-storytelling/SKILL.md +2 -2
  600. package/org-skills/database-migrations/SKILL.md +2 -2
  601. package/org-skills/database-optimizer/SKILL.md +2 -2
  602. package/org-skills/dbt-transformation-patterns/SKILL.md +2 -2
  603. package/org-skills/deal-strategist/SKILL.md +2 -2
  604. package/org-skills/debugging-wizard/SKILL.md +2 -2
  605. package/org-skills/deep-research/SKILL.md +2 -2
  606. package/org-skills/defender/SKILL.md +2 -2
  607. package/org-skills/dependency-upgrade/SKILL.md +2 -2
  608. package/org-skills/deployment-patterns/SKILL.md +2 -2
  609. package/org-skills/deployment-pipeline-design/SKILL.md +2 -2
  610. package/org-skills/design-system/SKILL.md +2 -2
  611. package/org-skills/design-system-patterns/SKILL.md +2 -2
  612. package/org-skills/devops-automator/SKILL.md +2 -2
  613. package/org-skills/devops-engineer/SKILL.md +2 -2
  614. package/org-skills/discovery-coach/SKILL.md +2 -2
  615. package/org-skills/django-expert/SKILL.md +2 -2
  616. package/org-skills/django-patterns/SKILL.md +2 -2
  617. package/org-skills/docker-patterns/SKILL.md +2 -2
  618. package/org-skills/dotnet-patterns/SKILL.md +2 -2
  619. package/org-skills/e2e-testing/SKILL.md +2 -2
  620. package/org-skills/email-marketing/SKILL.md +2 -2
  621. package/org-skills/email-sequences/SKILL.md +2 -2
  622. package/org-skills/embedded-firmware/SKILL.md +2 -2
  623. package/org-skills/embedded-systems/SKILL.md +2 -2
  624. package/org-skills/employment-contract-templates/SKILL.md +2 -2
  625. package/org-skills/energy-procurement/SKILL.md +2 -2
  626. package/org-skills/error-handling/SKILL.md +2 -2
  627. package/org-skills/event-marketing/SKILL.md +2 -2
  628. package/org-skills/evidence-collector/SKILL.md +2 -2
  629. package/org-skills/experiment-designer/SKILL.md +2 -2
  630. package/org-skills/experiment-tracker/SKILL.md +2 -2
  631. package/org-skills/experimental-design/SKILL.md +2 -2
  632. package/org-skills/fastapi-expert/SKILL.md +2 -2
  633. package/org-skills/fastapi-patterns/SKILL.md +2 -2
  634. package/org-skills/feedback-synthesizer/SKILL.md +2 -2
  635. package/org-skills/finance-tracker/SKILL.md +2 -2
  636. package/org-skills/finishing-a-development-branch/SKILL.md +2 -2
  637. package/org-skills/flutter-expert/SKILL.md +2 -2
  638. package/org-skills/focused-fix/SKILL.md +2 -2
  639. package/org-skills/free-tool-strategy/SKILL.md +2 -2
  640. package/org-skills/frontend-design/SKILL.md +2 -2
  641. package/org-skills/frontend-design-direction/SKILL.md +2 -2
  642. package/org-skills/frontend-developer/SKILL.md +2 -2
  643. package/org-skills/frontend-patterns/SKILL.md +2 -2
  644. package/org-skills/game-audio-engineer/SKILL.md +2 -2
  645. package/org-skills/game-designer/SKILL.md +2 -2
  646. package/org-skills/gdpr-data-handling/SKILL.md +2 -2
  647. package/org-skills/general-counsel-advisor/SKILL.md +2 -2
  648. package/org-skills/git-advanced-workflows/SKILL.md +2 -2
  649. package/org-skills/git-workflow/SKILL.md +2 -2
  650. package/org-skills/golang-patterns/SKILL.md +2 -2
  651. package/org-skills/golang-pro/SKILL.md +2 -2
  652. package/org-skills/harness-engineering/SKILL.md +2 -2
  653. package/org-skills/healthcare-phi-compliance/SKILL.md +2 -2
  654. package/org-skills/hexagonal-architecture/SKILL.md +2 -2
  655. package/org-skills/hierarchical-coord/SKILL.md +2 -2
  656. package/org-skills/huggingface-transformers/SKILL.md +2 -2
  657. package/org-skills/hypothesis-generation/SKILL.md +2 -2
  658. package/org-skills/incident-command-playbook/SKILL.md +2 -2
  659. package/org-skills/incident-commander/SKILL.md +2 -2
  660. package/org-skills/incident-runbook-templates/SKILL.md +2 -2
  661. package/org-skills/influencer-marketing/SKILL.md +2 -2
  662. package/org-skills/infrastructure/SKILL.md +2 -2
  663. package/org-skills/input-validator/SKILL.md +2 -2
  664. package/org-skills/intent-driven-development/SKILL.md +2 -2
  665. package/org-skills/inventory-demand-planning/SKILL.md +2 -2
  666. package/org-skills/investor-materials/SKILL.md +2 -2
  667. package/org-skills/ios-developer/SKILL.md +2 -2
  668. package/org-skills/isms-audit-expert/SKILL.md +2 -2
  669. package/org-skills/issue-tracker/SKILL.md +2 -2
  670. package/org-skills/java-architect/SKILL.md +2 -2
  671. package/org-skills/java-coding-standards/SKILL.md +2 -2
  672. package/org-skills/judge/SKILL.md +2 -2
  673. package/org-skills/kotlin-patterns/SKILL.md +2 -2
  674. package/org-skills/kotlin-specialist/SKILL.md +2 -2
  675. package/org-skills/kpi-dashboard-design/SKILL.md +2 -2
  676. package/org-skills/kubernetes-patterns/SKILL.md +2 -2
  677. package/org-skills/kubernetes-specialist/SKILL.md +2 -2
  678. package/org-skills/laravel-patterns/SKILL.md +2 -2
  679. package/org-skills/launch-strategist/SKILL.md +2 -2
  680. package/org-skills/launch-strategy/SKILL.md +2 -2
  681. package/org-skills/lead-magnets/SKILL.md +2 -2
  682. package/org-skills/legacy-modernizer/SKILL.md +2 -2
  683. package/org-skills/legal-compliance/SKILL.md +2 -2
  684. package/org-skills/level-designer/SKILL.md +2 -2
  685. package/org-skills/llm-cost-optimizer/SKILL.md +2 -2
  686. package/org-skills/llm-evaluation/SKILL.md +2 -2
  687. package/org-skills/llm-project-development/SKILL.md +2 -2
  688. package/org-skills/load-balancer/SKILL.md +2 -2
  689. package/org-skills/logistics-exception-management/SKILL.md +2 -2
  690. package/org-skills/long-horizon-prompting/SKILL.md +2 -2
  691. package/org-skills/make-interfaces-feel-better/SKILL.md +2 -2
  692. package/org-skills/markdown-mermaid-writing/SKILL.md +2 -2
  693. package/org-skills/market-research/SKILL.md +2 -2
  694. package/org-skills/market-research-reports/SKILL.md +2 -2
  695. package/org-skills/market-sizing-analysis/SKILL.md +2 -2
  696. package/org-skills/marketing-attribution/SKILL.md +2 -2
  697. package/org-skills/marketing-campaign/SKILL.md +2 -2
  698. package/org-skills/marketing-council/SKILL.md +2 -2
  699. package/org-skills/marketing-demand-acquisition/SKILL.md +2 -2
  700. package/org-skills/marketing-loops/SKILL.md +2 -2
  701. package/org-skills/marketing-plan/SKILL.md +2 -2
  702. package/org-skills/marketing-psychology/SKILL.md +2 -2
  703. package/org-skills/marketing-strategy-pmm/SKILL.md +2 -2
  704. package/org-skills/markitdown-document-conversion/SKILL.md +2 -2
  705. package/org-skills/mcp-builder/SKILL.md +2 -2
  706. package/org-skills/mcp-server-builder/SKILL.md +2 -2
  707. package/org-skills/mcp-server-patterns/SKILL.md +2 -2
  708. package/org-skills/memory-coordinator/SKILL.md +2 -2
  709. package/org-skills/mesh-coordinator/SKILL.md +2 -2
  710. package/org-skills/ml-developer/SKILL.md +2 -2
  711. package/org-skills/ml-pipeline/SKILL.md +2 -2
  712. package/org-skills/mle-workflow/SKILL.md +2 -2
  713. package/org-skills/mobile-app-builder/SKILL.md +2 -2
  714. package/org-skills/mobile-dev/SKILL.md +2 -2
  715. package/org-skills/model-qa/SKILL.md +2 -2
  716. package/org-skills/monitoring-expert/SKILL.md +2 -2
  717. package/org-skills/monodesign-ui-quality/SKILL.md +2 -2
  718. package/org-skills/monograph-code-navigation/SKILL.md +2 -2
  719. package/org-skills/monolean-minimal-change/SKILL.md +2 -2
  720. package/org-skills/multi-agent-patterns/SKILL.md +2 -2
  721. package/org-skills/mysql-patterns/SKILL.md +2 -2
  722. package/org-skills/narrative-designer/SKILL.md +2 -2
  723. package/org-skills/nextjs-developer/SKILL.md +2 -2
  724. package/org-skills/offer-design/SKILL.md +2 -2
  725. package/org-skills/onboarding-cro/SKILL.md +2 -2
  726. package/org-skills/outbound-strategist/SKILL.md +2 -2
  727. package/org-skills/page-cro/SKILL.md +2 -2
  728. package/org-skills/paid-ads/SKILL.md +2 -2
  729. package/org-skills/pandas-pro/SKILL.md +2 -2
  730. package/org-skills/path-validator/SKILL.md +2 -2
  731. package/org-skills/payment-agent/SKILL.md +2 -2
  732. package/org-skills/pci-compliance/SKILL.md +2 -2
  733. package/org-skills/perf-analyzer/SKILL.md +2 -2
  734. package/org-skills/php-pro/SKILL.md +2 -2
  735. package/org-skills/pipeline-analyst/SKILL.md +2 -2
  736. package/org-skills/planner/SKILL.md +2 -2
  737. package/org-skills/playwright-expert/SKILL.md +2 -2
  738. package/org-skills/postgres-patterns/SKILL.md +2 -2
  739. package/org-skills/postgresql-table-design/SKILL.md +2 -2
  740. package/org-skills/postmortem-writing/SKILL.md +2 -2
  741. package/org-skills/pr-manager/SKILL.md +2 -2
  742. package/org-skills/pricing-strategist/SKILL.md +2 -2
  743. package/org-skills/pricing-strategy/SKILL.md +2 -2
  744. package/org-skills/prisma-patterns/SKILL.md +2 -2
  745. package/org-skills/product-capability/SKILL.md +2 -2
  746. package/org-skills/product-discovery/SKILL.md +2 -2
  747. package/org-skills/product-lens/SKILL.md +2 -2
  748. package/org-skills/product-manager/SKILL.md +2 -2
  749. package/org-skills/product-marketing-context/SKILL.md +2 -2
  750. package/org-skills/production-audit/SKILL.md +2 -2
  751. package/org-skills/production-scheduling/SKILL.md +2 -2
  752. package/org-skills/production-validator/SKILL.md +2 -2
  753. package/org-skills/programmatic-seo/SKILL.md +2 -2
  754. package/org-skills/project-shepherd/SKILL.md +2 -2
  755. package/org-skills/prompt-engineer/SKILL.md +2 -2
  756. package/org-skills/proposal-strategist/SKILL.md +2 -2
  757. package/org-skills/prosecutor/SKILL.md +2 -2
  758. package/org-skills/public-relations/SKILL.md +2 -2
  759. package/org-skills/pymc-bayesian-modeling/SKILL.md +2 -2
  760. package/org-skills/python-patterns/SKILL.md +2 -2
  761. package/org-skills/python-pro/SKILL.md +2 -2
  762. package/org-skills/python-testing/SKILL.md +2 -2
  763. package/org-skills/quality-nonconformance/SKILL.md +2 -2
  764. package/org-skills/queen-coordinator/SKILL.md +2 -2
  765. package/org-skills/quorum-manager/SKILL.md +2 -2
  766. package/org-skills/raft-manager/SKILL.md +2 -2
  767. package/org-skills/rag-architect/SKILL.md +2 -2
  768. package/org-skills/rails-patterns/SKILL.md +2 -2
  769. package/org-skills/react-expert/SKILL.md +2 -2
  770. package/org-skills/react-native-expert/SKILL.md +2 -2
  771. package/org-skills/react-native-patterns/SKILL.md +2 -2
  772. package/org-skills/react-patterns/SKILL.md +2 -2
  773. package/org-skills/react-performance/SKILL.md +2 -2
  774. package/org-skills/react-testing/SKILL.md +2 -2
  775. package/org-skills/reality-checker/SKILL.md +2 -2
  776. package/org-skills/receiving-code-review/SKILL.md +2 -2
  777. package/org-skills/recruitment/SKILL.md +2 -2
  778. package/org-skills/redis-patterns/SKILL.md +2 -2
  779. package/org-skills/referral-programs/SKILL.md +2 -2
  780. package/org-skills/release-manager/SKILL.md +2 -2
  781. package/org-skills/repo-architect/SKILL.md +2 -2
  782. package/org-skills/researcher/SKILL.md +2 -2
  783. package/org-skills/resource-allocator/SKILL.md +2 -2
  784. package/org-skills/responsive-design/SKILL.md +2 -2
  785. package/org-skills/returns-reverse-logistics/SKILL.md +2 -2
  786. package/org-skills/reviewer/SKILL.md +2 -2
  787. package/org-skills/revops/SKILL.md +2 -2
  788. package/org-skills/roadmap-communicator/SKILL.md +2 -2
  789. package/org-skills/rust-engineer/SKILL.md +2 -2
  790. package/org-skills/rust-patterns/SKILL.md +2 -2
  791. package/org-skills/safe-executor/SKILL.md +2 -2
  792. package/org-skills/sales-coach/SKILL.md +2 -2
  793. package/org-skills/sales-enablement/SKILL.md +2 -2
  794. package/org-skills/sales-engineer/SKILL.md +2 -2
  795. package/org-skills/sales-prospecting/SKILL.md +2 -2
  796. package/org-skills/schema-markup/SKILL.md +2 -2
  797. package/org-skills/scientific-brainstorming/SKILL.md +2 -2
  798. package/org-skills/scientific-critical-thinking/SKILL.md +2 -2
  799. package/org-skills/scientific-thinking-literature-review/SKILL.md +2 -2
  800. package/org-skills/scientific-thinking-scholar-evaluation/SKILL.md +2 -2
  801. package/org-skills/scientific-visualization/SKILL.md +2 -2
  802. package/org-skills/scientific-writing/SKILL.md +2 -2
  803. package/org-skills/scout-explorer/SKILL.md +2 -2
  804. package/org-skills/secrets-vault-manager/SKILL.md +2 -2
  805. package/org-skills/secure-code-guardian/SKILL.md +2 -2
  806. package/org-skills/security-architect/SKILL.md +2 -2
  807. package/org-skills/security-auditor/SKILL.md +2 -2
  808. package/org-skills/security-review/SKILL.md +2 -2
  809. package/org-skills/security-reviewer/SKILL.md +2 -2
  810. package/org-skills/senior-data-scientist/SKILL.md +2 -2
  811. package/org-skills/senior-developer/SKILL.md +2 -2
  812. package/org-skills/senior-pm/SKILL.md +2 -2
  813. package/org-skills/senior-pm-playbook/SKILL.md +2 -2
  814. package/org-skills/seo/SKILL.md +2 -2
  815. package/org-skills/seo-audit/SKILL.md +2 -2
  816. package/org-skills/seo-specialist/SKILL.md +2 -2
  817. package/org-skills/shap-model-explainability/SKILL.md +2 -2
  818. package/org-skills/signup-flow-cro/SKILL.md +2 -2
  819. package/org-skills/site-architecture/SKILL.md +2 -2
  820. package/org-skills/sms-marketing/SKILL.md +2 -2
  821. package/org-skills/soc2-compliance/SKILL.md +2 -2
  822. package/org-skills/social-content/SKILL.md +2 -2
  823. package/org-skills/social-media/SKILL.md +2 -2
  824. package/org-skills/social-media-manager/SKILL.md +2 -2
  825. package/org-skills/solidity-engineer/SKILL.md +2 -2
  826. package/org-skills/spark-engineer/SKILL.md +2 -2
  827. package/org-skills/spec-driven-workflow/SKILL.md +2 -2
  828. package/org-skills/springboot-patterns/SKILL.md +2 -2
  829. package/org-skills/sprint-prioritizer/SKILL.md +2 -2
  830. package/org-skills/sql-pro/SKILL.md +2 -2
  831. package/org-skills/sre/SKILL.md +2 -2
  832. package/org-skills/sre-engineer/SKILL.md +2 -2
  833. package/org-skills/startup-financial-modeling/SKILL.md +2 -2
  834. package/org-skills/startup-metrics-framework/SKILL.md +2 -2
  835. package/org-skills/statistical-analysis/SKILL.md +2 -2
  836. package/org-skills/statistical-power/SKILL.md +2 -2
  837. package/org-skills/stride-analysis-patterns/SKILL.md +2 -2
  838. package/org-skills/stripe-integration/SKILL.md +2 -2
  839. package/org-skills/studio-operations/SKILL.md +2 -2
  840. package/org-skills/studio-producer/SKILL.md +2 -2
  841. package/org-skills/support-responder/SKILL.md +2 -2
  842. package/org-skills/swift-expert/SKILL.md +2 -2
  843. package/org-skills/swiftui-patterns/SKILL.md +2 -2
  844. package/org-skills/system-architect/SKILL.md +2 -2
  845. package/org-skills/systematic-debugging/SKILL.md +2 -2
  846. package/org-skills/task-orchestrator/SKILL.md +2 -2
  847. package/org-skills/team-communications/SKILL.md +2 -2
  848. package/org-skills/team-composition-analysis/SKILL.md +2 -2
  849. package/org-skills/technical-artist/SKILL.md +2 -2
  850. package/org-skills/technical-writer/SKILL.md +2 -2
  851. package/org-skills/terraform-engineer/SKILL.md +2 -2
  852. package/org-skills/test-driven-development/SKILL.md +2 -2
  853. package/org-skills/test-master/SKILL.md +2 -2
  854. package/org-skills/tester/SKILL.md +2 -2
  855. package/org-skills/the-fool/SKILL.md +2 -2
  856. package/org-skills/theme-factory/SKILL.md +2 -2
  857. package/org-skills/threat-detection/SKILL.md +2 -2
  858. package/org-skills/threat-mitigation-mapping/SKILL.md +2 -2
  859. package/org-skills/trend-researcher/SKILL.md +2 -2
  860. package/org-skills/trial-director/SKILL.md +2 -2
  861. package/org-skills/typescript-pro/SKILL.md +2 -2
  862. package/org-skills/unity-architect/SKILL.md +2 -2
  863. package/org-skills/using-git-worktrees/SKILL.md +2 -2
  864. package/org-skills/ux-researcher-designer/SKILL.md +2 -2
  865. package/org-skills/verification-before-completion/SKILL.md +2 -2
  866. package/org-skills/visionos-engineer/SKILL.md +2 -2
  867. package/org-skills/visual-design-foundations/SKILL.md +2 -2
  868. package/org-skills/vue-expert/SKILL.md +2 -2
  869. package/org-skills/vue-patterns/SKILL.md +2 -2
  870. package/org-skills/worker-specialist/SKILL.md +2 -2
  871. package/org-skills/workflow-architect/SKILL.md +2 -2
  872. package/org-skills/workflow-automation/SKILL.md +2 -2
  873. package/org-skills/writing-plans/SKILL.md +2 -2
  874. package/org-skills/zk-steward/SKILL.md +2 -2
  875. package/package.json +7 -7
  876. package/.claude/helpers/skill-registry.json +0 -5997
  877. package/dist/src/routing/jev-step.d.ts +0 -17
  878. package/dist/src/routing/jev-step.d.ts.map +0 -1
  879. package/dist/src/routing/jev-step.js +0 -27
  880. package/dist/src/routing/jev-step.js.map +0 -1
  881. package/org-skills/accessibility/LICENSE.txt +0 -21
  882. package/org-skills/accessibility/SKILL.md +0 -149
  883. package/org-skills/database-migration/LICENSE.txt +0 -21
  884. package/org-skills/database-migration/SKILL.md +0 -337
  885. package/org-skills/database-migration/references/details.md +0 -76
  886. package/org-skills/error-handling-patterns/LICENSE.txt +0 -21
  887. package/org-skills/error-handling-patterns/SKILL.md +0 -126
  888. package/org-skills/error-handling-patterns/references/details.md +0 -516
  889. package/org-skills/internal-comms/LICENSE.txt +0 -202
  890. package/org-skills/internal-comms/SKILL.md +0 -36
  891. package/org-skills/internal-comms/examples/3p-updates.md +0 -47
  892. package/org-skills/internal-comms/examples/company-newsletter.md +0 -65
  893. package/org-skills/internal-comms/examples/faq-answers.md +0 -30
  894. package/org-skills/internal-comms/examples/general-comms.md +0 -16
@@ -6,7 +6,19 @@ type: helper
6
6
 
7
7
  # Agent Selection from Registry
8
8
 
9
- Use this pattern whenever a mastermind skill needs to select specialist agents. The registry lives at `.monomind/registry.json` and contains all 257+ available agent types with their category labels.
9
+ Use this pattern whenever a mastermind skill or command needs to select specialist agents. Never hardcode a roster: the agent set differs per install, and a `subagent_type` that is not installed fails at spawn time.
10
+
11
+ ## The pick order (always in this order)
12
+
13
+ 1. **`[PICK]` line.** When the user prompt carries a hook-injected line `[PICK] agent: <name> · skill: <invoke>`, use that agent/skill unless it is clearly wrong for the task.
14
+ 2. **MCP tool `mcp__monomind__pick`** (when the monomind MCP server is connected):
15
+ `mcp__monomind__pick({ task: "<task>", kind: "agents", categories: ["engineering"], top: 3 })`
16
+ → same JSON as `monomind pick --json`; each `agents.ranked[].name` is a spawnable `subagent_type`, and `summary` is a one-line recap. Use `kind: "skills"` or `"both"` for skills.
17
+ 3. **Local CLI `monomind pick`** — the Standard Selection Block below (local binary only, never npx).
18
+ 4. **Registry keyword scorer** — the fallback inside the same block, when no usable CLI is installed.
19
+ 5. **Fixed fallback defaults** (bottom of this file) — real agent names only.
20
+
21
+ The shared index behind 2 and 3 ranks the agent registry (`.monomind/registry.json`, built from `.claude/agents/`) and every skill — Claude skills plus the Org skill library — in one call.
10
22
 
11
23
  ---
12
24
 
@@ -17,69 +29,57 @@ Use this pattern whenever a mastermind skill needs to select specialist agents.
17
29
  # Set these before the block:
18
30
  # REGISTRY=".monomind/registry.json"
19
31
  # PROMPT="<the user's prompt or idea description>"
20
- # CATEGORIES="marketing strategy product" # space-separated; adjust per domain
32
+ # CATEGORIES="marketing specialized" # space-separated; see Category Map
21
33
  # TOP_N=6 # how many agents to return
22
34
 
23
35
  REGISTRY="${REGISTRY:-.monomind/registry.json}"
24
36
 
25
- # 0. Decision model first. `monomind pick` asks Jev/OpenJev when configured
26
- # (MONOMIND_JEV_URL, or TYPESAFE_API_KEY + MONOMIND_JEV_HOSTED=1) and
27
- # otherwise ranks by keywords.
28
- # Local only — never npx (no registry egress). A globally installed monomind may
29
- # predate `pick`, so each candidate must prove it supports the command.
30
- mm() { for c in monomind ./node_modules/.bin/monomind; do
31
- command -v "$c" >/dev/null 2>&1 || [ -x "$c" ] || continue
32
- "$c" pick --help >/dev/null 2>&1 && { "$c" "$@"; return $?; }
33
- done; return 127; }
34
- selected_agents=$(mm pick -t "$PROMPT" --agents --categories "$CATEGORIES" \
35
- --top "$TOP_N" --json 2>/dev/null \
37
+ # Local only — never npx (no registry egress). A candidate binary is accepted
38
+ # only when its output is the unified index: every skill entry carries a
39
+ # `source` field. Installs without `pick`, and pick builds that predate the
40
+ # unified index, never emit it — so the call deliberately ranks skills too
41
+ # (no --agents), and that output doubles as the version check.
42
+ mmpick() { for c in monomind ./node_modules/.bin/monomind; do
43
+ command -v "$c" >/dev/null 2>&1 || continue
44
+ out=$("$c" pick "$@" --json 2>/dev/null) || continue
45
+ printf '%s' "$out" | jq -e '[.skills.ranked[]? | has("source")] | (length > 0 and all)' \
46
+ >/dev/null 2>&1 && { printf '%s\n' "$out"; return 0; }
47
+ done; return 127; }
48
+
49
+ selected_agents=$(mmpick -t "$PROMPT" --categories "$CATEGORIES" --top "$TOP_N" \
36
50
  | jq -c '[.agents.ranked[] | {name: (.name // .id), slug: .id, category}]' 2>/dev/null)
37
51
 
38
- # Fallback when the CLI is unavailable: the registry keyword scorer below.
39
- if [ -z "$selected_agents" ] || [ "$selected_agents" = "[]" ]; then
40
-
41
- # 1. Extract candidates from the registry filtered by category
42
- candidates=$(jq -r \
43
- --arg cats "$CATEGORIES" \
44
- '[ (.agents // [])[]
45
- | select(.deprecated != true)
46
- | select(
47
- .category as $c |
48
- ($cats | split(" ") | any(. == $c))
49
- )
50
- | {name: .name, slug: .slug, category: .category}
51
- ] | unique_by(.slug) | .[]' \
52
- "$REGISTRY")
53
-
54
- # 2. Score each candidate by keyword overlap with the prompt
55
- # Extract keywords from prompt (words ≥5 chars, lowercase)
56
- keywords=$(echo "$PROMPT" | tr '[:upper:]' '[:lower:]' | grep -oE '[a-z]{5,}' | sort -u | tr '\n' ' ')
57
-
58
- selected_agents=$(echo "$candidates" | jq -Rs \
59
- --arg kw "$keywords" \
60
- --argjson n "$TOP_N" \
61
- '
62
- [ split("\n")[] | select(length > 0) | fromjson ] |
63
- map(
64
- . as $agent |
65
- ($kw | split(" ")) as $keywords |
66
- ($agent.name | ascii_downcase) as $name |
67
- ($agent.category | ascii_downcase) as $cat |
68
- {
69
- agent: $agent,
70
- score: ([$keywords[] | if (($name | contains(.)) or ($cat | contains(.))) then 1 else 0 end] | add // 0)
71
- }
72
- ) |
73
- sort_by(-.score) |
74
- .[0:$n] |
75
- map(.agent)
76
- ')
52
+ # Fallback when no usable CLI: score the registry against name + description +
53
+ # capabilities + tags + whenToUse (keywords of 4+ letters from the prompt).
54
+ if { [ -z "$selected_agents" ] || [ "$selected_agents" = "[]" ]; } && [ -f "$REGISTRY" ]; then
55
+ keywords=$(echo "$PROMPT" | tr '[:upper:]' '[:lower:]' | grep -oE '[a-z]{4,}' | sort -u | tr '\n' ' ')
56
+ selected_agents=$(jq -c \
57
+ --arg cats "$CATEGORIES" \
58
+ --arg kw "$keywords" \
59
+ --argjson n "$TOP_N" \
60
+ '($kw | split(" ") | map(select(length > 0))) as $keywords
61
+ | [ (.agents // [])[]
62
+ | select(.deprecated != true)
63
+ | select(($cats | length) == 0 or (.category as $c | $cats | split(" ") | any(. == $c)))
64
+ | . as $a
65
+ | ([ $a.name, $a.description, ($a.capabilities // [] | join(" ")),
66
+ ($a.tags // [] | join(" ")), ($a.whenToUse // "") ]
67
+ | map(. // "") | join(" ") | ascii_downcase) as $text
68
+ | {name: $a.name, slug: $a.slug, category: $a.category,
69
+ score: ([ $keywords[] | select(. as $k | $text | contains($k)) ] | length)}
70
+ ]
71
+ | unique_by(.slug)
72
+ | map(select(.score > 0))
73
+ | sort_by(-.score)
74
+ | .[0:$n]
75
+ | map({name, slug, category})' \
76
+ "$REGISTRY" 2>/dev/null)
77
77
  fi
78
78
 
79
- echo "$selected_agents"
79
+ echo "${selected_agents:-[]}"
80
80
  ```
81
81
 
82
- The output is a JSON array of `{name, slug, category}` objects. Use `.name` as the `subagent_type` in Task calls, `.slug` for display.
82
+ The output is a JSON array of `{name, slug, category}` objects. Use `.name` as the `subagent_type` in Task calls and `.slug` for display. An empty array means: use the fixed fallback defaults below.
83
83
 
84
84
  ---
85
85
 
@@ -87,74 +87,73 @@ The output is a JSON array of `{name, slug, category}` objects. Use `.name` as t
87
87
 
88
88
  | Domain / purpose | Categories to include |
89
89
  |---|---|
90
- | **Idea — user/market angles** | `marketing strategy product academic` |
91
- | **Idea — technical angles** | `engineering development architecture` |
92
- | **Idea — ops/business angles** | `sales strategy product project-management` |
93
- | **Build** | `engineering development architecture devops testing` |
94
- | **Marketing** | `marketing paid-media strategy` |
95
- | **Sales** | `sales strategy product` |
96
- | **Research** | `academic specialized strategy` |
97
- | **Content** | `marketing specialized` |
98
- | **Ops** | `project-management strategy support` |
99
- | **Release** | `devops github engineering` |
100
- | **Review** | `engineering testing analysis` |
101
- | **Finance** | `strategy specialized` |
90
+ | **Idea — user/market angles** | `marketing specialized design testing` |
91
+ | **Idea — technical angles** | `engineering architecture core specialized` |
92
+ | **Build** | `core engineering architecture design specialized testing` |
93
+ | **Marketing / Content / Sales** | `marketing specialized` |
94
+ | **Research** | `core specialized specialists` |
95
+ | **Release** | `github engineering` |
96
+ | **Review** | `engineering testing core design specialized` |
97
+ | **Ops / Finance** | `specialized engineering core` |
98
+ | **Coordination** | `core monoswarm consensus` |
99
+
100
+ Registry categories are the `.claude/agents/` folder names: `architecture consensus core design engineering github goal marketing monoswarm optimization specialists specialized templates testing`. Pass an empty `CATEGORIES` to rank every agent.
102
101
 
103
102
  ---
104
103
 
105
104
  ## Quick Pattern: pick ONE best agent for a specific task
106
105
 
106
+ Prefer `mcp__monomind__pick({ task: "<task>", kind: "agents", top: 1 })` and use `agents.ranked[0].name`. Without MCP:
107
+
107
108
  ```bash
108
- # Pick the single best agent for a task description
109
109
  TASK_DESC="<one-line description of what this agent must do>"
110
- CATS="engineering development"
111
-
112
- # Local only — never npx (no registry egress). A globally installed monomind may
113
- # predate `pick`, so each candidate must prove it supports the command.
114
- mm() { for c in monomind ./node_modules/.bin/monomind; do
115
- command -v "$c" >/dev/null 2>&1 || [ -x "$c" ] || continue
116
- "$c" pick --help >/dev/null 2>&1 && { "$c" "$@"; return $?; }
117
- done; return 127; }
118
- best_agent=$(mm pick -t "$TASK_DESC" --agents --categories "$CATS" --top 1 --json 2>/dev/null \
110
+ CATS="engineering core"
111
+ # mmpick() as defined in the Standard Selection Block
112
+ best_agent=$(mmpick -t "$TASK_DESC" --categories "$CATS" --top 1 \
119
113
  | jq -r '.agents.ranked[0].name // .agents.ranked[0].id // empty' 2>/dev/null)
120
-
121
- if [ -z "$best_agent" ]; then
122
- best_agent=$(jq -r \
123
- --arg cats "$CATS" \
124
- --arg task "$(echo "$TASK_DESC" | tr '[:upper:]' '[:lower:]')" \
125
- '[ (.agents // [])[]
126
- | select(.deprecated != true)
127
- | select(.category as $c | ($cats | split(" ") | any(. == $c)))
128
- | {name: .name, slug: .slug,
129
- score: (.name | ascii_downcase | if contains($task) then 2 else 0 end)}
130
- ]
131
- | sort_by(-.score)
132
- | .[0].name // "coder"' \
133
- "$REGISTRY")
134
- fi
114
+ best_agent="${best_agent:-coder}" # fixed fallback: a real core agent
135
115
  ```
136
116
 
137
117
  ---
138
118
 
139
119
  ## Fallback
140
120
 
141
- If the registry is missing or empty, fall back to these safe defaults per domain:
121
+ If the pick tool, the CLI and the registry all come up empty, use these safe defaults per domain (all real agent names):
142
122
 
143
123
  | Domain | Fallback agents |
144
124
  |---|---|
145
- | idea specialists | `researcher`, `Trend Researcher`, `Growth Hacker` |
125
+ | idea specialists | `researcher`, `Launch Strategist`, `CRO Specialist` |
146
126
  | dev decomp | `Software Architect` |
147
- | ops decomp | `Product Manager` |
127
+ | ops decomp | `Launch Strategist` |
148
128
  | build | `coder`, `tester`, `reviewer` |
149
- | marketing | `Content Creator`, `SEO Specialist` |
150
- | sales | `Outbound Strategist`, `Deal Strategist` |
129
+ | marketing / content / sales | `Competitive Content Strategist`, `Email Marketing Specialist`, `Launch Strategist` |
130
+ | review | `reviewer`, `Security Engineer` |
131
+ | research | `researcher` |
132
+ | release | `release-manager` |
133
+ | anything else | `general-purpose` |
134
+ ---
135
+
136
+ ## Skills from the same index
137
+
138
+ Prefer `mcp__monomind__pick({ task: "<task>", kind: "skills", top: 3 })`. Without MCP:
139
+
140
+ ```bash
141
+ # Best skills for a task: Claude skills (source "platform") and Org-library
142
+ # skills (source "org") ranked together. `invoke` says how to load each one.
143
+ mmpick -t "$PROMPT" --skills --top 3 | jq -c '[.skills.ranked[] | {id, source, invoke}]'
144
+ ```
145
+
146
+ A `platform` skill loads with its `invoke` through the Skill tool (a `Skill(...)` call or a
147
+ `/command`). An `org` skill's `invoke` is `mcp__monomind__org_skill_show {"name":"<name>"}`: call
148
+ that MCP tool with that input to read it, or run `npx -y monomind org skills show <name>` when the
149
+ tool is unavailable. An org skill can also be named in an org role's `skills` / `skill_pool`.
151
150
 
152
151
  ---
153
152
 
154
153
  ## Usage in a domain skill
155
154
 
156
- 1. Set `REGISTRY`, `PROMPT`, `CATEGORIES`, `TOP_N`
157
- 2. Run the Standard Selection Block
158
- 3. Parse `selected_agents` JSON array
155
+ 1. If the prompt has a `[PICK]` line, start from it
156
+ 2. Else call `mcp__monomind__pick` with the task and the domain's categories
157
+ 3. Else set `REGISTRY`, `PROMPT`, `CATEGORIES`, `TOP_N` and run the Standard Selection Block
159
158
  4. Spawn Task agents using `.name` as `subagent_type`, one per entry
160
- 5. If `selected_agents` is empty or registry missing: use the fallback list above
159
+ 5. If every step came back empty: use the fallback list above
@@ -1,13 +1,14 @@
1
1
  ---
2
2
  name: mastermind-agents
3
- description: Mastermind agents — list, inspect, hire, pause, and remove agents in a running org. Shows status, last heartbeat, adapter config, and burn rate per agent.
3
+ description: Mastermind agents — list, inspect, hire, and remove agents in an org, and pause or resume the org. Shows each role, its adapter config, and the org's live runtime status.
4
4
  type: domain-skill
5
5
  default_mode: confirm
6
+ pick: low
6
7
  ---
7
8
 
8
9
  # Mastermind Agents
9
10
 
10
- This skill is invoked by `mastermind:agents` or directly via `/mastermind:agents`.
11
+ This skill is invoked by `mastermind:agents` or directly via `/mastermind-agents`.
11
12
 
12
13
  ---
13
14
 
@@ -43,23 +44,18 @@ If no orgs exist, print: "No orgs found. Run /mastermind:createorg to define one
43
44
 
44
45
  ### list (default)
45
46
 
46
- Display all agents in the org with status from state file:
47
+ Display all agents in the org, then the org's live runtime status:
47
48
 
48
49
  ```bash
49
50
  orgFile=".monomind/orgs/${org_name}.json"
50
- stateFile=".monomind/orgs/${org_name}-state.json"
51
-
52
- jq -r '(.roles // [])[] | "• [\(.id)] \(.title) agent=\(.agent_type) reports_to=\(.reports_to // "none")"' "$orgFile"
53
-
54
- # LEGACY-ORG-V1: the state file's per-agent heartbeat tracking is a v1 concept —
55
- # v2 orgs report live status via `monomind org status`/`org report` instead.
56
- # Overlay runtime status from state file if present
57
- if [ -f "$stateFile" ]; then
58
- echo ""
59
- echo "RUNTIME STATUS:"
60
- jq -r '.agents // {} | to_entries[] | " \(.key): \(.value.status // "unknown") last_beat=\(.value.last_heartbeat // "never")"' "$stateFile" 2>/dev/null || true
61
- fi
62
- # end LEGACY-ORG-V1
51
+
52
+ jq -r '(.roles // [])[] | "• [\(.id)] \(.title) type=\(.type // "specialist") reports_to=\(.reports_to // "none")"' "$orgFile"
53
+
54
+ # Live runtime status (running/stopped/crashed, current run) — per-role
55
+ # activity for a run is in `monomind org report <org>`.
56
+ echo ""
57
+ echo "RUNTIME STATUS:"
58
+ npx -y monomind@latest org status "$org_name" 2>/dev/null || echo " (not available — is monomind installed?)"
63
59
  ```
64
60
 
65
61
  Render as table:
@@ -67,26 +63,28 @@ Render as table:
67
63
  ```
68
64
  AGENTS — org: <org_name>
69
65
  ──────────────────────────────────────────────────────
70
- ID TITLE AGENT TYPE STATUS LAST HEARTBEAT
71
- boss CEO / Boss coordinator running 2 min ago
72
- content-writer Content Writer Content Creator idle 8 min ago
73
- reviewer Content Reviewer reviewer waiting 8 min ago
66
+ ID TITLE TYPE REPORTS TO
67
+ boss CEO / Boss boss none
68
+ content-writer Content Writer specialist boss
69
+ reviewer Content Reviewer reviewer boss
74
70
  ...
75
71
  ```
76
72
 
77
73
  ### inspect
78
74
 
79
- Show full config + responsibilities + communication edges for a single agent:
75
+ Show the full role config (responsibilities, adapter config) and who it reports to / who reports to it:
80
76
 
81
77
  ```bash
82
78
  jq --arg id "$agent_id" '(.roles // [])[] | select(.id == $id)' "$orgFile"
83
- jq --arg id "$agent_id" '(.communication // [])[] | select(.from == $id or .to == $id)' "$orgFile"
79
+ jq -r --arg id "$agent_id" '(.roles // [])[] | select(.reports_to == $id) | " direct report: \(.id)"' "$orgFile"
84
80
  ```
85
81
 
86
82
  ### hire
87
83
 
88
84
  Add a new role to the org. Prompt the user for:
89
- - `id` (slug, e.g. `seo-lead`), `title` (display name), `agent_type` (from mapping table in createorg.md), `responsibilities` (comma-separated), `reports_to` (role id or null)
85
+ - `id` (slug, e.g. `seo-lead`), `title` (display name), `role_type` → the role's `type` (`specialist`, or a domain synonym such as `reviewer` / `researcher` — free text; only `boss` is special, and an org has exactly one root), `responsibilities` (comma-separated), `reports_to` (an existing role id — a hired role is never the root)
86
+
87
+ Write the Org Runtime role shape (`RoleSchema` in `packages/@monomind/cli/src/orgrt/types.ts`): `type`, never the legacy `agent_type` key — a role carrying `agent_type` makes the whole config read as the retired v1 format.
90
88
 
91
89
  **Adapter/model selection** — present this picker:
92
90
 
@@ -113,33 +111,29 @@ adapter_model="${selected_model:-claude-sonnet-5}"
113
111
  tmp="${orgFile}.tmp"
114
112
  jq --arg id "$agent_id" \
115
113
  --arg title "$title" \
116
- --arg agent_type "$agent_type" \
117
- --arg reports_to "${reports_to:-}" \
114
+ --arg type "${role_type:-specialist}" \
115
+ --arg reports_to "$reports_to" \
118
116
  --arg model "$adapter_model" \
119
117
  --argjson resp "$(echo "$responsibilities" | jq -R 'split(",") | map(ltrimstr(" "))')" \
120
- '.roles += [{"id":$id,"title":$title,"agent_type":$agent_type,
118
+ '.roles += [{"id":$id,"title":$title,"type":$type,
121
119
  "responsibilities":$resp,
122
- "reports_to":($reports_to|if .=="" then null else . end),
120
+ "reports_to":$reports_to,
123
121
  "adapter_config":{"model":$model,"max_tokens":8192}}]' \
124
122
  "$orgFile" > "$tmp" && mv "$tmp" "$orgFile"
125
- echo "Hired: $title ($agent_type) → adapter: $adapter_model"
123
+ echo "Hired: $title (${role_type:-specialist}) → adapter: $adapter_model"
124
+ npx -y monomind@latest org validate "$org_name"
126
125
  ```
127
126
 
128
127
  ### pause / resume
129
128
 
130
- <!-- LEGACY-ORG-V1: the agent state/heartbeat file this pauses is a v1 concept. -->
131
- Update state file:
129
+ The Org Runtime pauses and resumes a whole org, not a single role — message
130
+ delivery is suspended while it is paused:
132
131
 
133
132
  ```bash
134
- stateFile=".monomind/orgs/${org_name}-state.json"
135
- [ ! -f "$stateFile" ] && echo '{"agents":{}}' > "$stateFile"
136
- tmp="${stateFile}.tmp"
137
- jq --arg id "$agent_id" --arg status "paused" \
138
- '.agents[$id].status = $status | .agents[$id].updated_at = (now|todate)' \
139
- "$stateFile" > "$tmp" && mv "$tmp" "$stateFile"
133
+ npx -y monomind@latest org pause "$org_name" # or: org resume "$org_name"
140
134
  ```
141
135
 
142
- Emit `org:agent:paused` / `org:agent:resumed` event.
136
+ To take one role out of the org, use `remove`.
143
137
 
144
138
  ### remove
145
139
 
@@ -147,7 +141,7 @@ Confirm with user, then remove role from org config:
147
141
 
148
142
  ```bash
149
143
  tmp="${orgFile}.tmp"
150
- jq --arg id "$agent_id" '.roles = [(.roles // [])[] | select(.id != $id)] | .communication = [(.communication // [])[] | select(.from != $id and .to != $id)]' \
144
+ jq --arg id "$agent_id" '.roles = [(.roles // [])[] | select(.id != $id)]' \
151
145
  "$orgFile" > "$tmp" && mv "$tmp" "$orgFile"
152
146
  ```
153
147
 
@@ -163,7 +157,7 @@ org: <org_name>
163
157
  agents_count: <N>
164
158
  ```
165
159
 
166
- Print summary and any suggested next actions (e.g. "Run /mastermind:heartbeatv1 to trigger a manual heartbeat for this agent").
160
+ Print summary and any suggested next actions (e.g. "Check live status with `monomind org status <org_name>`").
167
161
 
168
162
  ---
169
163
 
@@ -3,11 +3,12 @@ name: mastermind-approval-detail
3
3
  description: Mastermind approval-detail — deep inspection and action on a single approval request. View approval metadata, payload, comments, linked issues, and perform approve/reject/revision/resubmit actions. Mirrors ApprovalDetail.tsx.
4
4
  type: domain-skill
5
5
  default_mode: confirm
6
+ pick: low
6
7
  ---
7
8
 
8
9
  # Mastermind Approval Detail
9
10
 
10
- This skill is invoked by `mastermind:approval-detail` or directly via `/mastermind:approval-detail`.
11
+ This skill is invoked by `mastermind:approval-detail` or directly via `/mastermind-approval-detail`.
11
12
 
12
13
  ---
13
14
 
@@ -3,11 +3,12 @@ name: mastermind-backup
3
3
  description: Mastermind backup — create, list, and restore compressed org backups. Archives all org data files (config, goals, routines, approvals, projects, members, issues, workspaces, worktrees, environments, plugins, adapters, threads, budgets, bootstrap, and activity log) into a timestamped tarball.
4
4
  type: domain-skill
5
5
  default_mode: confirm
6
+ pick: low
6
7
  ---
7
8
 
8
9
  # Mastermind Backup
9
10
 
10
- This skill is invoked by `mastermind:backup` or directly via `/mastermind:backup`.
11
+ This skill is invoked by `mastermind:backup` or directly via `/mastermind-backup`.
11
12
 
12
13
  ---
13
14
 
@@ -7,7 +7,7 @@ default_mode: confirm
7
7
 
8
8
  # Mastermind Bootstrap
9
9
 
10
- This skill is invoked by `mastermind:bootstrap` or directly via `/mastermind:bootstrap`.
10
+ This skill is invoked by `mastermind:bootstrap` or directly via `/mastermind-bootstrap`.
11
11
 
12
12
  ---
13
13
 
@@ -54,7 +54,7 @@ if [ -f "$bootstrapFile" ]; then
54
54
  " Token used: \(.token_used // false)"
55
55
  ' "$bootstrapFile"
56
56
  else
57
- echo "Not bootstrapped. Run /mastermind:bootstrap --org ${org_name} --action init"
57
+ echo "Not bootstrapped. Run /mastermind-bootstrap --org ${org_name} --action init"
58
58
  fi
59
59
  ```
60
60
 
@@ -3,11 +3,12 @@ name: mastermind-budgets
3
3
  description: Mastermind budgets — view, set, and track token/cost budgets for agents and the entire org. Shows current spend vs. limits, alerts on overages, and lets board members adjust per-agent or org-wide budgets. Reads from -budgets.json org state files.
4
4
  type: domain-skill
5
5
  default_mode: auto
6
+ pick: low
6
7
  ---
7
8
 
8
9
  # Mastermind Budgets
9
10
 
10
- This skill is invoked by `mastermind:budgets` or directly via `/mastermind:budgets`.
11
+ This skill is invoked by `mastermind:budgets` or directly via `/mastermind-budgets`.
11
12
 
12
13
  ---
13
14
 
@@ -131,8 +132,8 @@ if not roles:
131
132
  PYEOF
132
133
 
133
134
  echo ""
134
- echo " Set limit: /mastermind:budgets --org $org_name --action set --agent-id <id> --limit-usd 5.00"
135
- echo " Reset: /mastermind:budgets --org $org_name --action reset"
135
+ echo " Set limit: /mastermind-budgets --org $org_name --action set --agent-id <id> --limit-usd 5.00"
136
+ echo " Reset: /mastermind-budgets --org $org_name --action reset"
136
137
  ```
137
138
 
138
139
  ### set
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: mastermind-createorg
3
- description: Mastermind createorg — design and persist an autonomous agent organization (Org Runtime v2) as a `.monomind/orgs/<name>.json` config that `monomind org run/serve` loads directly. Supports optional --schedule flag for daemon-scheduled orgs.
3
+ description: Mastermind createorg — design and persist an autonomous agent organization (Org Runtime) as a `.monomind/orgs/<name>.json` config that `monomind org run/serve` loads directly. Supports optional --schedule flag for daemon-scheduled orgs.
4
4
  type: domain-skill
5
5
  default_mode: confirm
6
6
  ---
@@ -9,7 +9,7 @@ default_mode: confirm
9
9
 
10
10
  This skill is invoked by `mastermind:createorg` or directly via `/mastermind:createorg`.
11
11
 
12
- Org Runtime v2 (`packages/@monomind/cli/src/orgrt/`) is a Node daemon, not a Task-tool-spawned boss agent. Every role in the config becomes a live SDK agent session (`@anthropic-ai/claude-agent-sdk` `query()`) the moment the org starts — there is no task board, no per-role generated `.claude/agents/*.md` file, and no communication-topology array. Roles address each other directly with the `org_send` tool using their `id` (or `<org>:<id>` cross-org). This skill's only job is to produce a config that validates against `OrgDefSchema` (`packages/@monomind/cli/src/orgrt/types.ts`).
12
+ The Org Runtime (`packages/@monomind/cli/src/orgrt/`) is a Node daemon, not a Task-tool-spawned boss agent. Every role in the config becomes a live SDK agent session (`@anthropic-ai/claude-agent-sdk` `query()`) the moment the org starts — there is no task board, no per-role generated `.claude/agents/*.md` file, and no communication-topology array. Roles address each other directly with the `org_send` tool using their `id` (or `<org>:<id>` cross-org). This skill's only job is to produce a config that validates against `OrgDefSchema` (`packages/@monomind/cli/src/orgrt/types.ts`).
13
13
 
14
14
  ---
15
15
 
@@ -71,16 +71,32 @@ Exactly one role must have `reports_to: null`. If the user's role list has none,
71
71
 
72
72
  A role is **persona-based** if its title is a named real person, a well-known fictional character, or a celebrity/historical figure referred to by name. An org is persona-based if ≥50% of its roles are character names, or the goal/prompt contains `panel`, `debate`, `simulation`, `roleplay`, `celebrity`, `character`, `virtual [name]`, `impersonate`, `as [name]`.
73
73
 
74
- Persona roles work the same as any other role in v2 — there is no separate `agent_type`/subagent registry to resolve against. Put the character depth directly into `responsibilities` (fed into the agent's role briefing by `buildRolePrompt` in `orgrt/session.ts`, alongside the role's `skills` and `instructions_file`, if set — see Step 2.3): write 3-6 specific, voice-defining responsibilities drawn from the character's known career, positions, and communication style, not generic duties. For a living public figure, base it on documented public behavior — do not invent positions they haven't taken.
74
+ Persona roles work the same as any other role — there is no separate `agent_type`/subagent registry to resolve against. Put the character depth directly into `responsibilities` (fed into the agent's role briefing by `buildRolePrompt` in `orgrt/session.ts`, alongside the role's `skills` and `instructions_file`, if set — see Step 2.3): write 3-6 specific, voice-defining responsibilities drawn from the character's known career, positions, and communication style, not generic duties. For a living public figure, base it on documented public behavior — do not invent positions they haven't taken.
75
+
76
+ **Step 2.2b — Seed each non-persona role from the agent registry.**
77
+
78
+ The project's agent registry (`.monomind/registry.json`, the `.claude/agents/**` personas) often already describes the job. For every role that is not persona-based, ask for the best-fitting registry agent with the role's title and a one-line summary of its job:
79
+
80
+ ```bash
81
+ npx monomind pick -t "<role title>: <one-line summary of what it does>" --agents --top 1 --json \
82
+ | jq -r '.agents.ranked[0] // empty | "\(.id)\t\(.description)"'
83
+ # Read that persona's body for concrete duties and practices:
84
+ jq -r --arg s "<id from above>" '.agents[] | select(.slug == $s) | .filePath' .monomind/registry.json
85
+ ```
86
+
87
+ (If the monomind MCP server in this session exposes an `mcp__monomind__pick` tool, it answers the same question; the CLI works everywhere.) When a hit genuinely fits, read its file and use it to write sharper `responsibilities` for the role — adapted to this org's goal, in your own words, never pasted wholesale; the org config has no field that links to the persona. When nothing is returned or the hit is a poor fit, write the responsibilities from the goal alone.
88
+
89
+ Write `responsibilities` that tell roles apart: `org_task` with `assignee: "auto"` routes each task to the role whose title and responsibilities match it best (words every role shares count for nothing), so a role whose duties are only boilerplate never gets auto-assigned work.
75
90
 
76
91
  ---
77
92
 
78
93
  ## Step 2.3 — Skills (pick per role from the skill library)
79
94
 
80
- Every role can draw on the **org skill library**: ~380 curated skills (engineering practice, languages and frameworks, design, product, marketing, sales, finance, legal, ops, research) from monomind and MIT/Apache-2.0 open-source repos. Find candidates for each role by searching with its title and responsibilities:
95
+ Every role can draw on the **org skill library**: ~380 curated skills (engineering practice, languages and frameworks, design, product, marketing, sales, finance, legal, ops, research) from monomind and MIT/Apache-2.0 open-source repos. For **each** role, search with its title plus its responsibilities (the ones written in Step 2.2b) and choose only from the hits — never invent a skill name, and never use slash-command names such as `mastermind:tasks`, which are not org skills:
81
96
 
82
97
  ```bash
83
- npx monomind org skills search "backend engineer API design postgres" --limit 8
98
+ npx monomind org skills search "<role title> <responsibilities>" --limit 8 --format json \
99
+ | jq -r '.skills[] | "\(.name)\t\(.description)"'
84
100
  npx monomind org skills search "landing page conversion copy" --tag marketing
85
101
  npx monomind org skills show <name> # read one before choosing it
86
102
  ```
@@ -92,7 +108,9 @@ Give each role two fields:
92
108
 
93
109
  Match skills to the work, not to a vague fit: a copywriter gets marketing/writing skills, never code skills. **Tools follow skills automatically** — a skill that declares monomind tools (`monograph_*` for code roles, `monodesign_*` for UI roles) gives its role exactly those tools, so only roles that work on software get the code graph and only UI roles get design tooling. For roles that write or review code, include `monograph-code-navigation` (and `monolean-minimal-change` for implementers); for roles that build or review web UI, include `monodesign-ui-quality`.
94
110
 
95
- `ui.icon` is only the role's picture on the canvas — it has no effect on the prompt. Leave `skills` off when nothing in the library fits cleanly; `responsibilities` alone is a complete role. `org validate` fails on an unknown skill name.
111
+ At run time each task dispatch names the `skill_pool` skills that fit that task, and a role can look beyond its pool with `org_skill_search` (loading stays limited to its own `skills`/`skill_pool`), so a well-chosen pool matters more than a long pinned list.
112
+
113
+ `ui.icon` is only the role's picture on the canvas — it has no effect on the prompt. Leave `skills` off when nothing in the library fits cleanly; `responsibilities` alone is a complete role. `org validate` fails on an unknown skill name, so the Step 5 validation is what proves every chosen name is real — fix and re-save until it passes.
96
114
 
97
115
  ---
98
116
 
@@ -304,7 +322,7 @@ next_actions:
304
322
  - "After hand-editing the config, re-check it with `monomind org validate <org_name>`"
305
323
  - "While running: `monomind org logs <org_name> --follow`; afterwards: `monomind org report <org_name>` for outcome, per-role activity, and token usage"
306
324
  - "Or `monomind org serve` to host it (and any other scheduled orgs) as a background daemon"
307
- - "Edit .monomind/orgs/<org_name>.json directly, or use /mastermind:org-settings, to change goal/budget/roles"
325
+ - "Edit .monomind/orgs/<org_name>.json directly, or use /mastermind-org-settings, to change goal/budget/roles"
308
326
  - "`monomind org status <org_name>` to check runtime state; `monomind org stop <org_name>` to stop a running org"
309
327
  ```
310
328
 
@@ -325,7 +343,7 @@ In **auto** mode (where Step 4's plan/model confirmation was skipped), always al
325
343
  boss claude-sonnet-5
326
344
  content-writer claude-sonnet-5
327
345
  content-reviewer claude-sonnet-5
328
- Adjust with: /mastermind:org-settings, or edit .monomind/orgs/<org_name>.json directly
346
+ Adjust with: /mastermind-org-settings, or edit .monomind/orgs/<org_name>.json directly
329
347
  ```
330
348
  In **confirm** mode this table was already shown and accepted in Step 4 — do not repeat it here.
331
349
 
@@ -26,24 +26,16 @@ You have full access to the Agent tool (Claude Code: Task tool) to spawn
26
26
  sub-agents for any specialized subtask. This capability is recursive —
27
27
  sub-agents you spawn also receive it.
28
28
 
29
- Available agent categories (use the exact slug or name — all of these exist on disk):
30
-
31
- CORE coder · reviewer · tester · planner · researcher
32
- BACKEND Backend Architect · Database Optimizer · API Tester
33
- FRONTEND Frontend Developer · mobile-dev · Mobile App Builder
34
- ARCH Software Architect · system-architect · Backend Architect
35
- SECURITY Security Engineer · Compliance Auditor · Blockchain Security Auditor · Threat Detection Engineer
36
- AI/ML AI Engineer · Data Engineer · AI Data Remediation Engineer · Model QA Specialist
37
- DEVOPS DevOps Automator · SRE (Site Reliability Engineer) · Git Workflow Master · Incident Response Commander
38
- DOCS Technical Writer
39
- MARKETING Competitive Content Strategist · CRO Specialist · Email Marketing Specialist · Launch Strategist · Pricing Strategist
40
- SPECIALIZED MCP Builder · Document Generator · LSP/Index Engineer · Embedded Firmware Engineer · Solidity Smart Contract Engineer
41
- GITHUB pr-manager · issue-tracker · code-review-swarm · release-manager
42
- DESIGN Monodesign (UI/UX · brand · CSS · animation · design systems)
43
- SWARM mesh-coordinator · coordinator · Agents Orchestrator
44
-
45
- The authoritative list is the filesystem — run `ls .claude/agents/` for the full
46
- ~98-agent set. Do NOT invent agent names; only delegate to agents that exist.
29
+ To choose the subagent_type for a subtask, in this order:
30
+ 1. The prompt's [PICK] line (`[PICK] agent: <name> · skill: <invoke>`),
31
+ unless it is clearly wrong for the subtask.
32
+ 2. mcp__monomind__pick({ task: "<subtask>", kind: "agents", top: 3 })
33
+ -> use an agents.ranked[].name.
34
+ 3. No MCP: monomind pick -t "<subtask>" --top 3 --json | jq -r '.agents.ranked[].name'
35
+ (local binary only, never npx).
36
+ 4. Nothing returned: coder (implementation) · tester · reviewer ·
37
+ researcher · planner · general-purpose.
38
+ Picked names always exist on disk. Do NOT invent agent names.
47
39
 
48
40
  WHEN to delegate:
49
41
  - A subtask needs deeper expertise than your primary role
@@ -52,7 +44,7 @@ WHEN to delegate:
52
44
 
53
45
  HOW to delegate:
54
46
  Agent({
55
- subagent_type: "agent-slug",
47
+ subagent_type: "Agent Name", // a name returned by the pick
56
48
  description: "Short task label",
57
49
  prompt: `Full self-contained briefing — treat every sub-agent as cold-start.
58
50
  Include: context, scope, success criteria, and this AGENT DELEGATION