@rubytech/create-realagent-code 0.1.24 → 0.1.27

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 (577) hide show
  1. package/dist/index.js +81 -17
  2. package/package.json +1 -1
  3. package/payload/platform/plugins/.claude-plugin/marketplace.json +5 -90
  4. package/payload/platform/plugins/admin/PLUGIN.md +46 -23
  5. package/payload/platform/plugins/admin/skills/onboarding/SKILL.md +111 -126
  6. package/payload/platform/plugins/brochures/.claude-plugin/plugin.json +8 -0
  7. package/payload/platform/plugins/brochures/PLUGIN.md +36 -0
  8. package/payload/platform/plugins/brochures/commands/make-brochure.md +11 -0
  9. package/payload/platform/plugins/brochures/skills/a4-print-documents/SKILL.md +478 -0
  10. package/payload/platform/plugins/brochures/skills/brand-design/SKILL.md +192 -0
  11. package/payload/platform/plugins/brochures/skills/make-brochure/SKILL.md +354 -0
  12. package/payload/platform/plugins/brochures/skills/make-brochure/references/seller-brief-template.md +115 -0
  13. package/payload/platform/plugins/brochures/skills/property-brochure/SKILL.md +119 -0
  14. package/payload/platform/plugins/brochures/skills/property-brochure/references/build.md +270 -0
  15. package/payload/platform/plugins/brochures/skills/property-brochure/references/copy.md +211 -0
  16. package/payload/platform/plugins/brochures/skills/property-brochure/references/images.md +166 -0
  17. package/payload/platform/plugins/brochures/skills/property-brochure/references/index-landing.md +376 -0
  18. package/payload/platform/plugins/brochures/skills/property-brochure/references/index.html +1288 -0
  19. package/payload/platform/plugins/brochures/skills/property-brochure/references/placeholders.md +250 -0
  20. package/payload/platform/plugins/brochures/skills/property-brochure/references/registers.md +47 -0
  21. package/payload/platform/plugins/brochures/skills/property-brochure/references/seller-brief.md +56 -0
  22. package/payload/platform/plugins/brochures/skills/property-brochure/references/structure.md +249 -0
  23. package/payload/platform/plugins/brochures/skills/property-brochure/references/template.html +2370 -0
  24. package/payload/platform/plugins/brochures/skills/property-extract/SKILL.md +372 -0
  25. package/payload/platform/plugins/buyers/.claude-plugin/plugin.json +8 -0
  26. package/payload/platform/plugins/buyers/PLUGIN.md +35 -0
  27. package/payload/platform/plugins/buyers/skills/buyer-feedback/SKILL.md +109 -0
  28. package/payload/platform/plugins/buyers/skills/buyer-management/SKILL.md +42 -0
  29. package/payload/platform/plugins/buyers/skills/buyer-management/references/buyer-qualification-questions.md +16 -0
  30. package/payload/platform/plugins/buyers/skills/buyer-management/references/buyer-qualification.md +59 -0
  31. package/payload/platform/plugins/buyers/skills/buyer-management/references/buyer-scripts.md +63 -0
  32. package/payload/platform/plugins/buyers/skills/buyer-management/references/buyer-working-scripts.md +54 -0
  33. package/payload/platform/plugins/buyers/skills/buyer-management/references/feedback-collection.md +42 -0
  34. package/payload/platform/plugins/buyers/skills/buyer-management/references/offer-capture.md +38 -0
  35. package/payload/platform/plugins/buyers/skills/buyer-management/references/viewing-booking.md +32 -0
  36. package/payload/platform/plugins/buyers/skills/buyer-management/references/viewing-management.md +52 -0
  37. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/SKILL.md +407 -0
  38. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/care-fees-guide.md +68 -0
  39. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/divorce-sales-guide.md +61 -0
  40. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/downsizing-guide.md +45 -0
  41. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/first-time-buyers.md +92 -0
  42. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/first-time-sellers.md +78 -0
  43. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/probate-guide.md +53 -0
  44. package/payload/platform/plugins/buyers/skills/buyer-seller-guides/references/upsizing-guide.md +41 -0
  45. package/payload/platform/plugins/buyers/skills/property-enquiry/SKILL.md +126 -0
  46. package/payload/platform/plugins/buyers/skills/viewing-management/SKILL.md +111 -0
  47. package/payload/platform/plugins/cloudflare/references/dashboard-guide.md +37 -0
  48. package/payload/platform/plugins/cloudflare/references/manual-setup.md +81 -1
  49. package/payload/platform/plugins/cloudflare/scripts/__tests__/tunnel-ingress.test.ts +241 -0
  50. package/payload/platform/plugins/cloudflare/scripts/setup-tunnel.sh +267 -28
  51. package/payload/platform/plugins/cloudflare/scripts/tunnel-ingress.ts +291 -0
  52. package/payload/platform/plugins/cloudflare/skills/setup-tunnel/SKILL.md +42 -0
  53. package/payload/platform/plugins/contacts/PLUGIN.md +18 -9
  54. package/payload/platform/plugins/docs/references/platform.md +2 -0
  55. package/payload/platform/plugins/docs/references/troubleshooting.md +12 -0
  56. package/payload/platform/plugins/email/PLUGIN.md +18 -9
  57. package/payload/platform/plugins/email/mcp/dist/lib/claude-bridge.d.ts +17 -0
  58. package/payload/platform/plugins/email/mcp/dist/lib/claude-bridge.d.ts.map +1 -0
  59. package/payload/platform/plugins/email/mcp/dist/lib/claude-bridge.js +185 -0
  60. package/payload/platform/plugins/email/mcp/dist/lib/claude-bridge.js.map +1 -0
  61. package/payload/platform/plugins/email/mcp/dist/scripts/email-auto-respond.js +34 -111
  62. package/payload/platform/plugins/email/mcp/dist/scripts/email-auto-respond.js.map +1 -1
  63. package/payload/platform/plugins/estate-business/.claude-plugin/plugin.json +8 -0
  64. package/payload/platform/plugins/estate-business/PLUGIN.md +65 -0
  65. package/payload/platform/plugins/estate-business/skills/business-growth/SKILL.md +133 -0
  66. package/payload/platform/plugins/estate-business/skills/business-growth/references/buy-back-your-time.md +37 -0
  67. package/payload/platform/plugins/estate-business/skills/business-growth/references/firewave-gost-scorecards.md +14 -0
  68. package/payload/platform/plugins/estate-business/skills/business-growth/references/keller-org-model.md +17 -0
  69. package/payload/platform/plugins/estate-business/skills/business-growth/references/lencioni-team-models.md +22 -0
  70. package/payload/platform/plugins/estate-business/skills/business-growth/references/listing-management-system.md +11 -0
  71. package/payload/platform/plugins/estate-business/skills/business-growth/references/net-figure-form.md +11 -0
  72. package/payload/platform/plugins/estate-business/skills/business-growth/references/serhant-bizinbox-notes.md +13 -0
  73. package/payload/platform/plugins/estate-business/skills/business-growth/references/team-roles-commission.md +14 -0
  74. package/payload/platform/plugins/estate-business/skills/business-growth/references/va-2026-ops.md +43 -0
  75. package/payload/platform/plugins/estate-business/skills/business-growth/references/wingman-structure.md +13 -0
  76. package/payload/platform/plugins/estate-business/skills/business-operations/SKILL.md +32 -0
  77. package/payload/platform/plugins/estate-business/skills/business-operations/references/crm-systems.md +57 -0
  78. package/payload/platform/plugins/estate-business/skills/business-operations/references/hiring-guide.md +59 -0
  79. package/payload/platform/plugins/estate-business/skills/business-operations/references/impact-framework.md +47 -0
  80. package/payload/platform/plugins/estate-business/skills/business-operations/references/minutes-equal-money.md +55 -0
  81. package/payload/platform/plugins/estate-business/skills/business-operations/references/team-management.md +48 -0
  82. package/payload/platform/plugins/estate-business/skills/commission-calculator/SKILL.md +40 -0
  83. package/payload/platform/plugins/estate-business/skills/exp-partnership/SKILL.md +52 -0
  84. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/12-reasons.md +39 -0
  85. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/95-5-system.md +66 -0
  86. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/agent-attraction-scripts.md +90 -0
  87. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/business-partnership.md +92 -0
  88. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/exp-model-overview.md +66 -0
  89. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/model-comparison.md +66 -0
  90. package/payload/platform/plugins/estate-business/skills/exp-partnership/references/revenue-share-explained.md +57 -0
  91. package/payload/platform/plugins/estate-business/skills/month-end-close/SKILL.md +69 -0
  92. package/payload/platform/plugins/estate-business/skills/payment-batch-stager/SKILL.md +42 -0
  93. package/payload/platform/plugins/estate-business/skills/period-reconciler/SKILL.md +42 -0
  94. package/payload/platform/plugins/estate-business/skills/personal-branding/SKILL.md +117 -0
  95. package/payload/platform/plugins/estate-business/skills/personal-branding/references/attraction-agent-notes.md +31 -0
  96. package/payload/platform/plugins/estate-business/skills/personal-branding/references/attraction-agent.md +58 -0
  97. package/payload/platform/plugins/estate-business/skills/personal-branding/references/authenticity-boundaries.md +28 -0
  98. package/payload/platform/plugins/estate-business/skills/personal-branding/references/become-a-brand-leader-notes.md +19 -0
  99. package/payload/platform/plugins/estate-business/skills/personal-branding/references/blast-formula.md +42 -0
  100. package/payload/platform/plugins/estate-business/skills/personal-branding/references/brand-leader.md +48 -0
  101. package/payload/platform/plugins/estate-business/skills/personal-branding/references/brand-strategy-system.md +59 -0
  102. package/payload/platform/plugins/estate-business/skills/personal-branding/references/content-engine.md +49 -0
  103. package/payload/platform/plugins/estate-business/skills/personal-branding/references/firewave-blast-and-blogging.md +23 -0
  104. package/payload/platform/plugins/estate-business/skills/personal-branding/references/gary-v-content.md +52 -0
  105. package/payload/platform/plugins/estate-business/skills/personal-branding/references/gary-v-principles.md +20 -0
  106. package/payload/platform/plugins/estate-business/skills/personal-branding/references/oversubscribed-positioning.md +18 -0
  107. package/payload/platform/plugins/estate-business/skills/personal-branding/references/platforms.md +41 -0
  108. package/payload/platform/plugins/estate-business/skills/personal-branding/references/priestley-oversubscribed.md +54 -0
  109. package/payload/platform/plugins/estate-business/skills/personal-branding/references/storeys-style-examples.md +25 -0
  110. package/payload/platform/plugins/estate-business/skills/personal-branding/references/visual-identity.md +27 -0
  111. package/payload/platform/plugins/estate-coaching/.claude-plugin/plugin.json +8 -0
  112. package/payload/platform/plugins/estate-coaching/PLUGIN.md +55 -0
  113. package/payload/platform/plugins/estate-coaching/skills/agent-performance/SKILL.md +371 -0
  114. package/payload/platform/plugins/estate-coaching/skills/agent-performance/references/atomic-habits.md +52 -0
  115. package/payload/platform/plugins/estate-coaching/skills/agent-performance/references/daily-routine-scorecard.md +104 -0
  116. package/payload/platform/plugins/estate-coaching/skills/agent-performance/references/hp6-model.md +63 -0
  117. package/payload/platform/plugins/estate-coaching/skills/agent-performance/references/twelve-week-year.md +71 -0
  118. package/payload/platform/plugins/estate-coaching/skills/bespoke-coaching/SKILL.md +36 -0
  119. package/payload/platform/plugins/estate-coaching/skills/bespoke-coaching/references/coaching-boundaries.md +56 -0
  120. package/payload/platform/plugins/estate-coaching/skills/bespoke-coaching/references/feedback-framework.md +61 -0
  121. package/payload/platform/plugins/estate-coaching/skills/bespoke-coaching/references/performance-framework.md +109 -0
  122. package/payload/platform/plugins/estate-coaching/skills/coaching-toolkit/SKILL.md +421 -0
  123. package/payload/platform/plugins/estate-coaching/skills/coaching-toolkit/references/coaching-exercises.md +86 -0
  124. package/payload/platform/plugins/estate-coaching/skills/coaching-toolkit/references/goal-setting.md +78 -0
  125. package/payload/platform/plugins/estate-coaching/skills/coaching-toolkit/references/one-to-one-framework.md +92 -0
  126. package/payload/platform/plugins/estate-coaching/skills/coaching-toolkit/references/soi-workbook.md +103 -0
  127. package/payload/platform/plugins/estate-coaching/skills/serhant-training/SKILL.md +410 -0
  128. package/payload/platform/plugins/estate-coaching/skills/serhant-training/references/agent-training-guide.md +70 -0
  129. package/payload/platform/plugins/estate-coaching/skills/serhant-training/references/business-in-a-box.md +72 -0
  130. package/payload/platform/plugins/estate-coaching/skills/serhant-training/references/buyers-guide.md +53 -0
  131. package/payload/platform/plugins/estate-coaching/skills/serhant-training/references/codo-method.md +72 -0
  132. package/payload/platform/plugins/estate-coaching/skills/serhant-training/references/website-planning-guide.md +79 -0
  133. package/payload/platform/plugins/estate-onboarding/.claude-plugin/plugin.json +8 -0
  134. package/payload/platform/plugins/estate-onboarding/PLUGIN.md +31 -0
  135. package/payload/platform/plugins/estate-onboarding/skills/bootstrap/SKILL.md +26 -0
  136. package/payload/platform/plugins/estate-onboarding/skills/bootstrap/references/onboarding-flow.md +63 -0
  137. package/payload/platform/plugins/estate-sales/.claude-plugin/plugin.json +8 -0
  138. package/payload/platform/plugins/estate-sales/PLUGIN.md +53 -0
  139. package/payload/platform/plugins/estate-sales/skills/chase-progression/SKILL.md +107 -0
  140. package/payload/platform/plugins/estate-sales/skills/negotiation/SKILL.md +35 -0
  141. package/payload/platform/plugins/estate-sales/skills/negotiation/references/deal-saving.md +47 -0
  142. package/payload/platform/plugins/estate-sales/skills/negotiation/references/negotiation-deep-guide.md +64 -0
  143. package/payload/platform/plugins/estate-sales/skills/negotiation/references/negotiation-prep-principles.md +29 -0
  144. package/payload/platform/plugins/estate-sales/skills/negotiation/references/negotiation-techniques.md +42 -0
  145. package/payload/platform/plugins/estate-sales/skills/negotiation/references/offer-presentation.md +43 -0
  146. package/payload/platform/plugins/estate-sales/skills/risk-scorer/SKILL.md +42 -0
  147. package/payload/platform/plugins/estate-sales/skills/sales-closer/SKILL.md +24 -0
  148. package/payload/platform/plugins/estate-sales/skills/sales-closer/references/serhant-emotion-stages.md +36 -0
  149. package/payload/platform/plugins/estate-sales/skills/sales-discovery/SKILL.md +30 -0
  150. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/chris-voss-discovery.md +88 -0
  151. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/firewave-gost-journey.md +68 -0
  152. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/phil-jones-openers.md +78 -0
  153. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/pre-listing-checklist.md +77 -0
  154. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/serhant-improv.md +22 -0
  155. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/tom-ferry-discovery.md +103 -0
  156. package/payload/platform/plugins/estate-sales/skills/sales-discovery/references/vendor-motivation-competitor.md +52 -0
  157. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/SKILL.md +29 -0
  158. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/references/chris-voss-negotiation.md +70 -0
  159. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/references/phil-jones-price-words.md +40 -0
  160. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/references/serhant-negotiation-plus.md +55 -0
  161. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/references/tom-panos-commission-pricing.md +57 -0
  162. package/payload/platform/plugins/estate-sales/skills/sales-negotiation/references/tony-morris-questioning.md +54 -0
  163. package/payload/platform/plugins/estate-sales/skills/sales-progression/SKILL.md +27 -0
  164. package/payload/platform/plugins/estate-sales/skills/sales-progression/references/conveyancing-guide.md +54 -0
  165. package/payload/platform/plugins/estate-sales/skills/sales-progression/references/transaction-tracking.md +66 -0
  166. package/payload/platform/plugins/estate-teaching/.claude-plugin/plugin.json +8 -0
  167. package/payload/platform/plugins/estate-teaching/PLUGIN.md +31 -0
  168. package/payload/platform/plugins/estate-teaching/skills/content-directory/SKILL.md +39 -0
  169. package/payload/platform/plugins/estate-teaching/skills/content-directory/references/module-delivery.md +65 -0
  170. package/payload/platform/plugins/estate-teaching/skills/content-directory/references/progress-tracking.md +47 -0
  171. package/payload/platform/plugins/leads/.claude-plugin/plugin.json +8 -0
  172. package/payload/platform/plugins/leads/PLUGIN.md +62 -0
  173. package/payload/platform/plugins/leads/skills/chain-progression-tracker/SKILL.md +51 -0
  174. package/payload/platform/plugins/leads/skills/diary-builder/SKILL.md +38 -0
  175. package/payload/platform/plugins/leads/skills/enquiry-triage/SKILL.md +36 -0
  176. package/payload/platform/plugins/leads/skills/lead-nurturing/SKILL.md +137 -0
  177. package/payload/platform/plugins/leads/skills/lead-nurturing/references/buyer-search-letter.md +28 -0
  178. package/payload/platform/plugins/leads/skills/lead-nurturing/references/buyer-search-letters.md +37 -0
  179. package/payload/platform/plugins/leads/skills/lead-nurturing/references/database-reactivation.md +30 -0
  180. package/payload/platform/plugins/leads/skills/lead-nurturing/references/email-nurture-sequences.md +45 -0
  181. package/payload/platform/plugins/leads/skills/lead-nurturing/references/facebook-referrals.md +30 -0
  182. package/payload/platform/plugins/leads/skills/lead-nurturing/references/firewave-email-nurture-sequences.md +41 -0
  183. package/payload/platform/plugins/leads/skills/lead-nurturing/references/keller-33-touch.md +34 -0
  184. package/payload/platform/plugins/leads/skills/lead-nurturing/references/neighbour-letters.md +31 -0
  185. package/payload/platform/plugins/leads/skills/lead-nurturing/references/neighbour-notification-letter.md +20 -0
  186. package/payload/platform/plugins/leads/skills/lead-nurturing/references/ofi-follow-up-dialogue.md +22 -0
  187. package/payload/platform/plugins/leads/skills/lead-nurturing/references/ofi-follow-up.md +26 -0
  188. package/payload/platform/plugins/leads/skills/lead-nurturing/references/serhant-three-fs-plus.md +21 -0
  189. package/payload/platform/plugins/leads/skills/lead-nurturing/references/sharran-10x10x10.md +18 -0
  190. package/payload/platform/plugins/leads/skills/lead-nurturing/references/sms-templates.md +40 -0
  191. package/payload/platform/plugins/leads/skills/lead-nurturing/references/sphere-of-influence-notes.md +34 -0
  192. package/payload/platform/plugins/leads/skills/lead-nurturing/references/sphere-of-influence.md +60 -0
  193. package/payload/platform/plugins/leads/skills/lead-nurturing/references/tom-panos-sms-templates.md +59 -0
  194. package/payload/platform/plugins/leads/skills/morning-round/SKILL.md +72 -0
  195. package/payload/platform/plugins/leads/skills/prospecting/SKILL.md +33 -0
  196. package/payload/platform/plugins/leads/skills/prospecting/references/database-matching.md +30 -0
  197. package/payload/platform/plugins/leads/skills/prospecting/references/database-value.md +53 -0
  198. package/payload/platform/plugins/leads/skills/prospecting/references/prospecting-dialogues.md +24 -0
  199. package/payload/platform/plugins/leads/skills/prospecting/references/reactivation.md +34 -0
  200. package/payload/platform/plugins/listings/.claude-plugin/plugin.json +8 -0
  201. package/payload/platform/plugins/listings/PLUGIN.md +103 -0
  202. package/payload/platform/plugins/listings/skills/comparable-finder/SKILL.md +52 -0
  203. package/payload/platform/plugins/listings/skills/epc-checker/SKILL.md +38 -0
  204. package/payload/platform/plugins/listings/skills/home-preparation/SKILL.md +28 -0
  205. package/payload/platform/plugins/listings/skills/home-preparation/references/kerb-appeal.md +38 -0
  206. package/payload/platform/plugins/listings/skills/home-preparation/references/photo-day.md +59 -0
  207. package/payload/platform/plugins/listings/skills/home-preparation/references/situational-tips.md +50 -0
  208. package/payload/platform/plugins/listings/skills/home-preparation/references/staging-guide.md +52 -0
  209. package/payload/platform/plugins/listings/skills/listing-copy-writer/SKILL.md +55 -0
  210. package/payload/platform/plugins/listings/skills/listing-presentation/SKILL.md +286 -0
  211. package/payload/platform/plugins/listings/skills/listing-presentation/references/booking-script.md +51 -0
  212. package/payload/platform/plugins/listings/skills/listing-presentation/references/objection-scripts.md +193 -0
  213. package/payload/platform/plugins/listings/skills/listing-presentation/references/penhaul-presentation.md +123 -0
  214. package/payload/platform/plugins/listings/skills/listing-presentation/references/pre-listing-kit.md +139 -0
  215. package/payload/platform/plugins/listings/skills/listing-presentation/references/set-to-sell.md +55 -0
  216. package/payload/platform/plugins/listings/skills/listing-presentation/references/sharran-frameworks.md +107 -0
  217. package/payload/platform/plugins/listings/skills/local-market-stats/SKILL.md +33 -0
  218. package/payload/platform/plugins/listings/skills/new-instruction/SKILL.md +78 -0
  219. package/payload/platform/plugins/listings/skills/particulars-builder/SKILL.md +48 -0
  220. package/payload/platform/plugins/listings/skills/portal-launch-scheduler/SKILL.md +49 -0
  221. package/payload/platform/plugins/listings/skills/pricing-scenario-builder/SKILL.md +35 -0
  222. package/payload/platform/plugins/listings/skills/property-marketing/SKILL.md +337 -0
  223. package/payload/platform/plugins/listings/skills/property-marketing/references/auction-report-template.md +41 -0
  224. package/payload/platform/plugins/listings/skills/property-marketing/references/coming-soon-campaign.md +43 -0
  225. package/payload/platform/plugins/listings/skills/property-marketing/references/direct-mail-templates.md +121 -0
  226. package/payload/platform/plugins/listings/skills/property-marketing/references/eoi-form-template.md +62 -0
  227. package/payload/platform/plugins/listings/skills/property-marketing/references/monthly-scorecard.md +63 -0
  228. package/payload/platform/plugins/listings/skills/supplier-booker/SKILL.md +39 -0
  229. package/payload/platform/plugins/listings/skills/talk-track-composer/SKILL.md +36 -0
  230. package/payload/platform/plugins/listings/skills/terms-of-business-drafter/SKILL.md +54 -0
  231. package/payload/platform/plugins/listings/skills/valuation-prep/SKILL.md +69 -0
  232. package/payload/platform/plugins/loop/.claude-plugin/plugin.json +17 -0
  233. package/payload/platform/plugins/loop/PLUGIN.md +108 -0
  234. package/payload/platform/plugins/loop/mcp/dist/index.d.ts +2 -0
  235. package/payload/platform/plugins/loop/mcp/dist/index.d.ts.map +1 -0
  236. package/payload/platform/plugins/loop/mcp/dist/index.js +293 -0
  237. package/payload/platform/plugins/loop/mcp/dist/index.js.map +1 -0
  238. package/payload/platform/plugins/loop/mcp/dist/lib/crypto.d.ts +10 -0
  239. package/payload/platform/plugins/loop/mcp/dist/lib/crypto.d.ts.map +1 -0
  240. package/payload/platform/plugins/loop/mcp/dist/lib/crypto.js +88 -0
  241. package/payload/platform/plugins/loop/mcp/dist/lib/crypto.js.map +1 -0
  242. package/payload/platform/plugins/loop/mcp/dist/lib/loop-api.d.ts +82 -0
  243. package/payload/platform/plugins/loop/mcp/dist/lib/loop-api.d.ts.map +1 -0
  244. package/payload/platform/plugins/loop/mcp/dist/lib/loop-api.js +427 -0
  245. package/payload/platform/plugins/loop/mcp/dist/lib/loop-api.js.map +1 -0
  246. package/payload/platform/plugins/loop/mcp/dist/lib/neo4j.d.ts +5 -0
  247. package/payload/platform/plugins/loop/mcp/dist/lib/neo4j.d.ts.map +1 -0
  248. package/payload/platform/plugins/loop/mcp/dist/lib/neo4j.js +40 -0
  249. package/payload/platform/plugins/loop/mcp/dist/lib/neo4j.js.map +1 -0
  250. package/payload/platform/plugins/loop/mcp/dist/tools/customer-preferences.d.ts +10 -0
  251. package/payload/platform/plugins/loop/mcp/dist/tools/customer-preferences.d.ts.map +1 -0
  252. package/payload/platform/plugins/loop/mcp/dist/tools/customer-preferences.js +24 -0
  253. package/payload/platform/plugins/loop/mcp/dist/tools/customer-preferences.js.map +1 -0
  254. package/payload/platform/plugins/loop/mcp/dist/tools/feedback.d.ts +16 -0
  255. package/payload/platform/plugins/loop/mcp/dist/tools/feedback.d.ts.map +1 -0
  256. package/payload/platform/plugins/loop/mcp/dist/tools/feedback.js +35 -0
  257. package/payload/platform/plugins/loop/mcp/dist/tools/feedback.js.map +1 -0
  258. package/payload/platform/plugins/loop/mcp/dist/tools/key-deregister.d.ts +5 -0
  259. package/payload/platform/plugins/loop/mcp/dist/tools/key-deregister.d.ts.map +1 -0
  260. package/payload/platform/plugins/loop/mcp/dist/tools/key-deregister.js +19 -0
  261. package/payload/platform/plugins/loop/mcp/dist/tools/key-deregister.js.map +1 -0
  262. package/payload/platform/plugins/loop/mcp/dist/tools/key-list.d.ts +4 -0
  263. package/payload/platform/plugins/loop/mcp/dist/tools/key-list.d.ts.map +1 -0
  264. package/payload/platform/plugins/loop/mcp/dist/tools/key-list.js +14 -0
  265. package/payload/platform/plugins/loop/mcp/dist/tools/key-list.js.map +1 -0
  266. package/payload/platform/plugins/loop/mcp/dist/tools/key-register.d.ts +9 -0
  267. package/payload/platform/plugins/loop/mcp/dist/tools/key-register.d.ts.map +1 -0
  268. package/payload/platform/plugins/loop/mcp/dist/tools/key-register.js +60 -0
  269. package/payload/platform/plugins/loop/mcp/dist/tools/key-register.js.map +1 -0
  270. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-enquiry.d.ts +13 -0
  271. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-enquiry.d.ts.map +1 -0
  272. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-enquiry.js +41 -0
  273. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-enquiry.js.map +1 -0
  274. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-batch.d.ts +9 -0
  275. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-batch.d.ts.map +1 -0
  276. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-batch.js +16 -0
  277. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-batch.js.map +1 -0
  278. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-request.d.ts +15 -0
  279. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-request.d.ts.map +1 -0
  280. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-request.js +11 -0
  281. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match-request.js.map +1 -0
  282. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match.d.ts +10 -0
  283. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match.d.ts.map +1 -0
  284. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match.js +39 -0
  285. package/payload/platform/plugins/loop/mcp/dist/tools/marketing-match.js.map +1 -0
  286. package/payload/platform/plugins/loop/mcp/dist/tools/people-detail.d.ts +9 -0
  287. package/payload/platform/plugins/loop/mcp/dist/tools/people-detail.d.ts.map +1 -0
  288. package/payload/platform/plugins/loop/mcp/dist/tools/people-detail.js +125 -0
  289. package/payload/platform/plugins/loop/mcp/dist/tools/people-detail.js.map +1 -0
  290. package/payload/platform/plugins/loop/mcp/dist/tools/people-search.d.ts +18 -0
  291. package/payload/platform/plugins/loop/mcp/dist/tools/people-search.d.ts.map +1 -0
  292. package/payload/platform/plugins/loop/mcp/dist/tools/people-search.js +87 -0
  293. package/payload/platform/plugins/loop/mcp/dist/tools/people-search.js.map +1 -0
  294. package/payload/platform/plugins/loop/mcp/dist/tools/property-detail.d.ts +10 -0
  295. package/payload/platform/plugins/loop/mcp/dist/tools/property-detail.d.ts.map +1 -0
  296. package/payload/platform/plugins/loop/mcp/dist/tools/property-detail.js +82 -0
  297. package/payload/platform/plugins/loop/mcp/dist/tools/property-detail.js.map +1 -0
  298. package/payload/platform/plugins/loop/mcp/dist/tools/property-listed.d.ts +12 -0
  299. package/payload/platform/plugins/loop/mcp/dist/tools/property-listed.d.ts.map +1 -0
  300. package/payload/platform/plugins/loop/mcp/dist/tools/property-listed.js +32 -0
  301. package/payload/platform/plugins/loop/mcp/dist/tools/property-listed.js.map +1 -0
  302. package/payload/platform/plugins/loop/mcp/dist/tools/property-request.d.ts +15 -0
  303. package/payload/platform/plugins/loop/mcp/dist/tools/property-request.d.ts.map +1 -0
  304. package/payload/platform/plugins/loop/mcp/dist/tools/property-request.js +11 -0
  305. package/payload/platform/plugins/loop/mcp/dist/tools/property-request.js.map +1 -0
  306. package/payload/platform/plugins/loop/mcp/dist/tools/property-search.d.ts +16 -0
  307. package/payload/platform/plugins/loop/mcp/dist/tools/property-search.d.ts.map +1 -0
  308. package/payload/platform/plugins/loop/mcp/dist/tools/property-search.js +41 -0
  309. package/payload/platform/plugins/loop/mcp/dist/tools/property-search.js.map +1 -0
  310. package/payload/platform/plugins/loop/mcp/dist/tools/supplier.d.ts +13 -0
  311. package/payload/platform/plugins/loop/mcp/dist/tools/supplier.d.ts.map +1 -0
  312. package/payload/platform/plugins/loop/mcp/dist/tools/supplier.js +49 -0
  313. package/payload/platform/plugins/loop/mcp/dist/tools/supplier.js.map +1 -0
  314. package/payload/platform/plugins/loop/mcp/dist/tools/team-availability.d.ts +7 -0
  315. package/payload/platform/plugins/loop/mcp/dist/tools/team-availability.d.ts.map +1 -0
  316. package/payload/platform/plugins/loop/mcp/dist/tools/team-availability.js +19 -0
  317. package/payload/platform/plugins/loop/mcp/dist/tools/team-availability.js.map +1 -0
  318. package/payload/platform/plugins/loop/mcp/dist/tools/team-info.d.ts +5 -0
  319. package/payload/platform/plugins/loop/mcp/dist/tools/team-info.d.ts.map +1 -0
  320. package/payload/platform/plugins/loop/mcp/dist/tools/team-info.js +32 -0
  321. package/payload/platform/plugins/loop/mcp/dist/tools/team-info.js.map +1 -0
  322. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-create.d.ts +14 -0
  323. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-create.d.ts.map +1 -0
  324. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-create.js +11 -0
  325. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-create.js.map +1 -0
  326. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-detail.d.ts +9 -0
  327. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-detail.d.ts.map +1 -0
  328. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-detail.js +85 -0
  329. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-detail.js.map +1 -0
  330. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-search.d.ts +13 -0
  331. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-search.d.ts.map +1 -0
  332. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-search.js +44 -0
  333. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-search.js.map +1 -0
  334. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-update.d.ts +14 -0
  335. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-update.d.ts.map +1 -0
  336. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-update.js +18 -0
  337. package/payload/platform/plugins/loop/mcp/dist/tools/viewing-update.js.map +1 -0
  338. package/payload/platform/plugins/loop/mcp/package-lock.json +2549 -0
  339. package/payload/platform/plugins/loop/mcp/package.json +21 -0
  340. package/payload/platform/plugins/loop/mcp/src/__tests__/loop-swagger.snapshot.json +26467 -0
  341. package/payload/platform/plugins/loop/mcp/src/__tests__/swagger-write-coverage.test.ts +153 -0
  342. package/payload/platform/plugins/loop/mcp/src/index.ts +444 -0
  343. package/payload/platform/plugins/loop/mcp/src/lib/crypto.ts +105 -0
  344. package/payload/platform/plugins/loop/mcp/src/lib/loop-api.ts +604 -0
  345. package/payload/platform/plugins/loop/mcp/src/lib/neo4j.ts +51 -0
  346. package/payload/platform/plugins/loop/mcp/src/tools/customer-preferences.ts +66 -0
  347. package/payload/platform/plugins/loop/mcp/src/tools/feedback.ts +86 -0
  348. package/payload/platform/plugins/loop/mcp/src/tools/key-deregister.ts +27 -0
  349. package/payload/platform/plugins/loop/mcp/src/tools/key-list.ts +19 -0
  350. package/payload/platform/plugins/loop/mcp/src/tools/key-register.ts +95 -0
  351. package/payload/platform/plugins/loop/mcp/src/tools/marketing-enquiry.ts +113 -0
  352. package/payload/platform/plugins/loop/mcp/src/tools/marketing-match-batch.ts +53 -0
  353. package/payload/platform/plugins/loop/mcp/src/tools/marketing-match-request.ts +42 -0
  354. package/payload/platform/plugins/loop/mcp/src/tools/marketing-match.ts +84 -0
  355. package/payload/platform/plugins/loop/mcp/src/tools/people-detail.ts +245 -0
  356. package/payload/platform/plugins/loop/mcp/src/tools/people-search.ts +180 -0
  357. package/payload/platform/plugins/loop/mcp/src/tools/property-detail.ts +145 -0
  358. package/payload/platform/plugins/loop/mcp/src/tools/property-listed.ts +88 -0
  359. package/payload/platform/plugins/loop/mcp/src/tools/property-request.ts +42 -0
  360. package/payload/platform/plugins/loop/mcp/src/tools/property-search.ts +92 -0
  361. package/payload/platform/plugins/loop/mcp/src/tools/supplier.ts +129 -0
  362. package/payload/platform/plugins/loop/mcp/src/tools/team-availability.ts +52 -0
  363. package/payload/platform/plugins/loop/mcp/src/tools/team-info.ts +95 -0
  364. package/payload/platform/plugins/loop/mcp/src/tools/viewing-create.ts +41 -0
  365. package/payload/platform/plugins/loop/mcp/src/tools/viewing-detail.ts +171 -0
  366. package/payload/platform/plugins/loop/mcp/src/tools/viewing-search.ts +92 -0
  367. package/payload/platform/plugins/loop/mcp/src/tools/viewing-update.ts +53 -0
  368. package/payload/platform/plugins/loop/mcp/tsconfig.json +20 -0
  369. package/payload/platform/plugins/loop/mcp/vitest.config.ts +9 -0
  370. package/payload/platform/plugins/loop/skills/compliance-flag-checker/SKILL.md +53 -0
  371. package/payload/platform/plugins/loop/skills/priority-ranker/SKILL.md +40 -0
  372. package/payload/platform/plugins/loop/skills/tone-matched-drafter/SKILL.md +53 -0
  373. package/payload/platform/plugins/loop/skills/variance-narrator/SKILL.md +50 -0
  374. package/payload/platform/plugins/loop/skills/vendor-research/SKILL.md +54 -0
  375. package/payload/platform/plugins/memory/PLUGIN.md +58 -29
  376. package/payload/platform/plugins/memory/mcp/dist/tools/profile-read.d.ts +3 -1
  377. package/payload/platform/plugins/memory/mcp/dist/tools/profile-read.d.ts.map +1 -1
  378. package/payload/platform/plugins/memory/mcp/dist/tools/profile-read.js +105 -4
  379. package/payload/platform/plugins/memory/mcp/dist/tools/profile-read.js.map +1 -1
  380. package/payload/platform/plugins/memory/mcp/dist/tools/profile-update.d.ts.map +1 -1
  381. package/payload/platform/plugins/memory/mcp/dist/tools/profile-update.js +16 -3
  382. package/payload/platform/plugins/memory/mcp/dist/tools/profile-update.js.map +1 -1
  383. package/payload/platform/plugins/outlook/PLUGIN.md +14 -7
  384. package/payload/platform/plugins/replicate/PLUGIN.md +6 -3
  385. package/payload/platform/plugins/scheduling/PLUGIN.md +16 -8
  386. package/payload/platform/plugins/tasks/PLUGIN.md +28 -14
  387. package/payload/platform/plugins/teaching/.claude-plugin/plugin.json +8 -0
  388. package/payload/platform/plugins/teaching/PLUGIN.md +57 -0
  389. package/payload/platform/plugins/teaching/skills/interactive-tutor/SKILL.md +59 -0
  390. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/assessment.md +70 -0
  391. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/classroom-conduct.md +43 -0
  392. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/teaching-modes.md +83 -0
  393. package/payload/platform/plugins/teaching/skills/lesson-planner/SKILL.md +48 -0
  394. package/payload/platform/plugins/teaching/skills/lesson-planner/references/context-gathering.md +41 -0
  395. package/payload/platform/plugins/teaching/skills/lesson-planner/references/plan-structure.md +94 -0
  396. package/payload/platform/plugins/teaching/skills/study-pack-builder/SKILL.md +52 -0
  397. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/disaggregation.md +49 -0
  398. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/materials.md +116 -0
  399. package/payload/platform/plugins/vendors/.claude-plugin/plugin.json +8 -0
  400. package/payload/platform/plugins/vendors/PLUGIN.md +34 -0
  401. package/payload/platform/plugins/vendors/skills/vendor-communication/SKILL.md +42 -0
  402. package/payload/platform/plugins/vendors/skills/vendor-communication/references/fee-protection-and-agenda.md +28 -0
  403. package/payload/platform/plugins/vendors/skills/vendor-communication/references/listing-scripts.md +44 -0
  404. package/payload/platform/plugins/vendors/skills/vendor-communication/references/negotiation-deep-guide.md +70 -0
  405. package/payload/platform/plugins/vendors/skills/vendor-communication/references/price-alignment-scripts.md +33 -0
  406. package/payload/platform/plugins/vendors/skills/vendor-communication/references/price-alignment.md +34 -0
  407. package/payload/platform/plugins/vendors/skills/vendor-communication/references/scenario-scripts.md +38 -0
  408. package/payload/platform/plugins/vendors/skills/vendor-communication/references/seller-engagement.md +51 -0
  409. package/payload/platform/plugins/vendors/skills/vendor-communication/references/valuation-booking.md +76 -0
  410. package/payload/platform/plugins/vendors/skills/vendor-communication/references/vendor-scripts.md +63 -0
  411. package/payload/platform/plugins/vendors/skills/vendor-communication/references/vendor-updates.md +41 -0
  412. package/payload/platform/plugins/vendors/skills/vendor-updates/SKILL.md +153 -0
  413. package/payload/platform/plugins/waitlist/PLUGIN.md +12 -6
  414. package/payload/platform/plugins/whatsapp/PLUGIN.md +25 -13
  415. package/payload/platform/plugins/workflows/PLUGIN.md +16 -8
  416. package/payload/platform/plugins/writer-craft/.claude-plugin/plugin.json +8 -0
  417. package/payload/platform/plugins/writer-craft/PLUGIN.md +87 -0
  418. package/payload/platform/plugins/writer-craft/agents/writer-craft--manuscript-reviewer.md +92 -0
  419. package/payload/platform/plugins/writer-craft/skills/citation-style/SKILL.md +94 -0
  420. package/payload/platform/plugins/writer-craft/skills/citation-style/references/book-and-chapter-models.md +77 -0
  421. package/payload/platform/plugins/writer-craft/skills/citation-style/references/citation-rules.md +103 -0
  422. package/payload/platform/plugins/writer-craft/skills/citation-style/references/journal-article-models.md +74 -0
  423. package/payload/platform/plugins/writer-craft/skills/citation-style/references/other-source-models.md +146 -0
  424. package/payload/platform/plugins/writer-craft/skills/citation-style/references/reference-list-rules.md +70 -0
  425. package/payload/platform/plugins/writer-craft/skills/editorial-practice/SKILL.md +108 -0
  426. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/copyediting.md +73 -0
  427. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/developmental-editing.md +85 -0
  428. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/genre-specific-editing.md +78 -0
  429. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/line-editing.md +55 -0
  430. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/self-editing.md +89 -0
  431. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/SKILL.md +114 -0
  432. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/audience-analysis.md +73 -0
  433. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/crafting-persuasive-story.md +76 -0
  434. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/persuasion-case-studies.md +67 -0
  435. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/transformation-framework.md +86 -0
  436. package/payload/platform/plugins/writer-craft/skills/point-of-view/SKILL.md +97 -0
  437. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/indirect-narration.md +72 -0
  438. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/pov-types-and-voice.md +91 -0
  439. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/protagonist-filter.md +71 -0
  440. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/tense-and-person.md +85 -0
  441. package/payload/platform/plugins/writer-craft/skills/prose-craft/SKILL.md +100 -0
  442. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/punctuation-and-grammar.md +72 -0
  443. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/repetition.md +71 -0
  444. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/sound-and-rhythm.md +64 -0
  445. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/word-economy.md +93 -0
  446. package/payload/platform/plugins/writer-craft/skills/reader-engagement/SKILL.md +100 -0
  447. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/cause-effect-setup-payoff.md +79 -0
  448. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/conflict-escalation.md +81 -0
  449. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/hooking-readers.md +67 -0
  450. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/neurochemistry-of-engagement.md +94 -0
  451. package/payload/platform/plugins/writer-craft/skills/review-manuscript/SKILL.md +111 -0
  452. package/payload/platform/plugins/writer-craft/skills/review-manuscript/references/review-manuscript-checklist.md +119 -0
  453. package/payload/platform/plugins/writer-craft/skills/review-prose/SKILL.md +99 -0
  454. package/payload/platform/plugins/writer-craft/skills/review-prose/references/prose-review-checklist.md +112 -0
  455. package/payload/platform/plugins/writer-craft/skills/review-scene/SKILL.md +99 -0
  456. package/payload/platform/plugins/writer-craft/skills/review-scene/references/scene-analysis-framework.md +95 -0
  457. package/payload/platform/plugins/writer-craft/skills/story-architecture/SKILL.md +106 -0
  458. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/blueprinting-and-scene-cards.md +118 -0
  459. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/inner-issue-and-protagonist-goal.md +66 -0
  460. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/misbelief-desire-worldview.md +87 -0
  461. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/origin-scenes-and-escalation.md +82 -0
  462. package/payload/platform/plugins/writer-craft/skills/story-blueprint/SKILL.md +133 -0
  463. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-exercises.md +118 -0
  464. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-process.md +128 -0
  465. package/payload/platform/scripts/conversation-id-allowlist.txt +0 -1
  466. package/payload/platform/services/claude-session-manager/dist/config.d.ts +6 -0
  467. package/payload/platform/services/claude-session-manager/dist/config.d.ts.map +1 -1
  468. package/payload/platform/services/claude-session-manager/dist/config.js +60 -1
  469. package/payload/platform/services/claude-session-manager/dist/config.js.map +1 -1
  470. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts +9 -0
  471. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
  472. package/payload/platform/services/claude-session-manager/dist/http-server.js +48 -2
  473. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  474. package/payload/platform/services/claude-session-manager/dist/index.js +39 -0
  475. package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
  476. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +22 -0
  477. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
  478. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +32 -1
  479. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
  480. package/payload/platform/services/claude-session-manager/dist/public-tool-audit.d.ts +33 -0
  481. package/payload/platform/services/claude-session-manager/dist/public-tool-audit.d.ts.map +1 -0
  482. package/payload/platform/services/claude-session-manager/dist/public-tool-audit.js +149 -0
  483. package/payload/platform/services/claude-session-manager/dist/public-tool-audit.js.map +1 -0
  484. package/payload/platform/services/claude-session-manager/dist/spawn-rate-limiter.d.ts +28 -0
  485. package/payload/platform/services/claude-session-manager/dist/spawn-rate-limiter.d.ts.map +1 -0
  486. package/payload/platform/services/claude-session-manager/dist/spawn-rate-limiter.js +77 -0
  487. package/payload/platform/services/claude-session-manager/dist/spawn-rate-limiter.js.map +1 -0
  488. package/payload/platform/services/claude-session-manager/dist/tool-surface.d.ts +25 -0
  489. package/payload/platform/services/claude-session-manager/dist/tool-surface.d.ts.map +1 -0
  490. package/payload/platform/services/claude-session-manager/dist/tool-surface.js +149 -0
  491. package/payload/platform/services/claude-session-manager/dist/tool-surface.js.map +1 -0
  492. package/payload/premium-plugins/real-agency/plugins/estate-business/PLUGIN.md +15 -0
  493. package/payload/premium-plugins/real-agency/plugins/estate-sales/PLUGIN.md +5 -0
  494. package/payload/premium-plugins/real-agency/plugins/leads/PLUGIN.md +16 -0
  495. package/payload/premium-plugins/real-agency/plugins/listings/PLUGIN.md +39 -0
  496. package/payload/premium-plugins/real-agency/plugins/loop/PLUGIN.md +15 -0
  497. package/payload/server/{chunk-2ZNKHCQB.js → chunk-2MRZBQMH.js} +1 -1
  498. package/payload/server/{chunk-GPUCA2RQ.js → chunk-NL7QLVAD.js} +0 -192
  499. package/payload/server/{chunk-IDKWGLM5.js → chunk-YPZFYTYP.js} +1 -247
  500. package/payload/server/{cloudflare-task-tracker-LYI5BTYI.js → cloudflare-task-tracker-QVOGHKWV.js} +2 -2
  501. package/payload/server/maxy-edge.js +2 -2
  502. package/payload/server/package.json +0 -2
  503. package/payload/server/public/assets/{Checkbox-D1OQD43b.js → Checkbox-YIF0payo.js} +1 -1
  504. package/payload/server/public/assets/{admin-czNBxWor.js → admin-DW8IJcLc.js} +1 -1
  505. package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-BcwgT80u.js → architectureDiagram-Q4EWVU46-Bz8mlxZZ.js} +1 -1
  506. package/payload/server/public/assets/{blockDiagram-DXYQGD6D-BMSyZUQA.js → blockDiagram-DXYQGD6D-DwV8Z8-i.js} +1 -1
  507. package/payload/server/public/assets/{brand-2cku8WFs.css → brand-DqiRNMlu.css} +1 -1
  508. package/payload/server/public/assets/{c4Diagram-AHTNJAMY-DPRGY1jJ.js → c4Diagram-AHTNJAMY-DiUTejMp.js} +1 -1
  509. package/payload/server/public/assets/channel-PtVtoBEL.js +1 -0
  510. package/payload/server/public/assets/{chunk-336JU56O-B7oQ3g1c.js → chunk-336JU56O-4mHZpBXe.js} +2 -2
  511. package/payload/server/public/assets/{chunk-426QAEUC-C1P0yFXw.js → chunk-426QAEUC-Cbv0vrN9.js} +1 -1
  512. package/payload/server/public/assets/{chunk-4TB4RGXK-LI7kOJd0.js → chunk-4TB4RGXK-BvLhId_2.js} +1 -1
  513. package/payload/server/public/assets/{chunk-5FUZZQ4R-CXQRGTQE.js → chunk-5FUZZQ4R-bBafOTkw.js} +1 -1
  514. package/payload/server/public/assets/{chunk-5PVQY5BW-NSyzpXRy.js → chunk-5PVQY5BW-B0NqBKVy.js} +1 -1
  515. package/payload/server/public/assets/{chunk-EDXVE4YY-voNwxbDs.js → chunk-EDXVE4YY-CFd4SqI6.js} +1 -1
  516. package/payload/server/public/assets/{chunk-ENJZ2VHE-CMEMPzYY.js → chunk-ENJZ2VHE-ajf2sb6c.js} +1 -1
  517. package/payload/server/public/assets/{chunk-ICPOFSXX-hEbwu-pe.js → chunk-ICPOFSXX-pWg6bug7.js} +1 -1
  518. package/payload/server/public/assets/{chunk-OYMX7WX6-DxskDrLs.js → chunk-OYMX7WX6-OjEd-17c.js} +1 -1
  519. package/payload/server/public/assets/{chunk-U2HBQHQK-D7TKgUo0.js → chunk-U2HBQHQK-DbEFSPoh.js} +1 -1
  520. package/payload/server/public/assets/{chunk-X2U36JSP-BvPUQEPm.js → chunk-X2U36JSP-COdNwrBb.js} +1 -1
  521. package/payload/server/public/assets/{chunk-YZCP3GAM-BY-RWQUW.js → chunk-YZCP3GAM-CHMWuY9B.js} +1 -1
  522. package/payload/server/public/assets/{chunk-ZZ45TVLE-DZvOYDY6.js → chunk-ZZ45TVLE-B-uDLQOB.js} +1 -1
  523. package/payload/server/public/assets/classDiagram-6PBFFD2Q-RVH_SEhY.js +1 -0
  524. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-Cm3rAb93.js +1 -0
  525. package/payload/server/public/assets/clone-BjY0Wzht.js +1 -0
  526. package/payload/server/public/assets/{dagre-KV5264BT-Cnj0mUZl.js → dagre-KV5264BT-CMEzmhIL.js} +1 -1
  527. package/payload/server/public/assets/{dagre-Bt-fpckL.js → dagre-bhIG_KnW.js} +1 -1
  528. package/payload/server/public/assets/data-K_kS__sL.js +1 -0
  529. package/payload/server/public/assets/{device-url-actions-Bjz3Xzbm.js → device-url-actions-AcOyLSeF.js} +1 -1
  530. package/payload/server/public/assets/{diagram-5BDNPKRD-DjLzvOlx.js → diagram-5BDNPKRD-6RIoQhIL.js} +1 -1
  531. package/payload/server/public/assets/{diagram-G4DWMVQ6-DTfuRd-T.js → diagram-G4DWMVQ6-BSp36TVv.js} +1 -1
  532. package/payload/server/public/assets/{diagram-MMDJMWI5-BaL2mCnx.js → diagram-MMDJMWI5-D54fo52D.js} +1 -1
  533. package/payload/server/public/assets/{diagram-TYMM5635-C5InWY5R.js → diagram-TYMM5635-CWL8z-Pq.js} +1 -1
  534. package/payload/server/public/assets/{erDiagram-SMLLAGMA-DO7BXTpn.js → erDiagram-SMLLAGMA-AnnHBo3z.js} +1 -1
  535. package/payload/server/public/assets/{flowDiagram-DWJPFMVM-DDdAKfLf.js → flowDiagram-DWJPFMVM-laWmBl5o.js} +1 -1
  536. package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-arJD8Utm.js → ganttDiagram-T4ZO3ILL-B94ko8ie.js} +1 -1
  537. package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-C55GH-OS.js → gitGraphDiagram-UUTBAWPF-DxzL1fxZ.js} +1 -1
  538. package/payload/server/public/assets/graph-DeEigyO_.js +1 -0
  539. package/payload/server/public/assets/graph-labels-C7I5QvNv.js +1 -0
  540. package/payload/server/public/assets/{graphlib-DL9PM7Ex.js → graphlib-CY-zIElM.js} +1 -1
  541. package/payload/server/public/assets/{infoDiagram-42DDH7IO-BMSGqUbG.js → infoDiagram-42DDH7IO-BMTajIIr.js} +1 -1
  542. package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-Dw6BZ6BG.js → ishikawaDiagram-UXIWVN3A-B_QauE5O.js} +1 -1
  543. package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-DrywUGXw.js → journeyDiagram-VCZTEJTY-DmlqSIih.js} +1 -1
  544. package/payload/server/public/assets/{kanban-definition-6JOO6SKY-DuwtVBBc.js → kanban-definition-6JOO6SKY-ZGDQT7xB.js} +1 -1
  545. package/payload/server/public/assets/{line-JAksyKHj.js → line-D13opgep.js} +1 -1
  546. package/payload/server/public/assets/{mermaid-parser.core-BMq-ApBW.js → mermaid-parser.core-C650Sual.js} +1 -1
  547. package/payload/server/public/assets/{mermaid.core-tH4oX0Kh.js → mermaid.core-BqnQoXTp.js} +3 -3
  548. package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-D1OiiJga.js → mindmap-definition-QFDTVHPH-BS_8y-tY.js} +1 -1
  549. package/payload/server/public/assets/{page-BZpoS7iR.js → page-B_rpjIRr.js} +1 -1
  550. package/payload/server/public/assets/{page-CkvBvezS.js → page-qSH972X0.js} +1 -1
  551. package/payload/server/public/assets/{pieDiagram-DEJITSTG-Ckwm69PW.js → pieDiagram-DEJITSTG-B5OmNvBO.js} +1 -1
  552. package/payload/server/public/assets/{public-C-dTMgXu.js → public-DDsYgotk.js} +3 -3
  553. package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-COw3yZ1j.js → quadrantDiagram-34T5L4WZ-DTYITdNo.js} +1 -1
  554. package/payload/server/public/assets/{requirementDiagram-MS252O5E-DqGzM4K-.js → requirementDiagram-MS252O5E-CRZWxH06.js} +1 -1
  555. package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-D-l1c_Pl.js → sankeyDiagram-XADWPNL6-DazRENhe.js} +1 -1
  556. package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-BeIi0DtJ.js → sequenceDiagram-FGHM5R23-BcHTxmPy.js} +1 -1
  557. package/payload/server/public/assets/{stateDiagram-FHFEXIEX-C-jgegLk.js → stateDiagram-FHFEXIEX-DYU7nbqg.js} +1 -1
  558. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-BgljVtlp.js +1 -0
  559. package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-BGFKkYmi.js → timeline-definition-GMOUNBTQ-BKGmqkST.js} +1 -1
  560. package/payload/server/public/assets/{vennDiagram-DHZGUBPP-5NuIhJLS.js → vennDiagram-DHZGUBPP-BXvLPmX7.js} +1 -1
  561. package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-Be9ytVut.js → wardleyDiagram-NUSXRM2D-BCclUa3Z.js} +1 -1
  562. package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-DCyHg41R.js → xychartDiagram-5P7HB3ND-C-Xp-Eoc.js} +1 -1
  563. package/payload/server/public/data.html +5 -5
  564. package/payload/server/public/graph.html +6 -6
  565. package/payload/server/public/index.html +8 -8
  566. package/payload/server/public/public.html +5 -5
  567. package/payload/server/server.js +1024 -2347
  568. package/payload/platform/scripts/check-sdk-oauth.mjs +0 -185
  569. package/payload/server/public/assets/channel-fxEghWew.js +0 -1
  570. package/payload/server/public/assets/classDiagram-6PBFFD2Q-BsWzGW0N.js +0 -1
  571. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BGVa3h90.js +0 -1
  572. package/payload/server/public/assets/clone-Khvocke2.js +0 -1
  573. package/payload/server/public/assets/data-DBd-Buhp.js +0 -1
  574. package/payload/server/public/assets/graph-DUtVdnZ6.js +0 -1
  575. package/payload/server/public/assets/graph-labels-Dxfue-fP.js +0 -1
  576. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-BaMs8Znv.js +0 -1
  577. /package/payload/server/public/assets/{brand-CSQuxS9w.js → brand-Bm671owU.js} +0 -0
@@ -0,0 +1,93 @@
1
+ # Word Economy: Adjectives, Adverbs, Crowding, and Leaping — Steering the Craft
2
+
3
+ ## Adjectives and Adverbs
4
+
5
+ Adjectives and adverbs are rich, good, and nourishing. They add colour, life, immediacy. They cause obesity in prose only when used lazily or overused.
6
+
7
+ ### The Core Principle
8
+ When the quality an adverb indicates can be put directly in the verb, or when the quality an adjective indicates can be put in the noun itself, the prose will be cleaner, more intense, more vivid.
9
+
10
+ | Weak | Strong |
11
+ |------|--------|
12
+ | They ran quickly | They raced / They sprinted |
13
+ | A growling voice | A growl |
14
+ | She said loudly | She shouted / She bellowed |
15
+ | He walked slowly | He shuffled / He crept |
16
+ | A big house | A mansion / A sprawl |
17
+
18
+ ### Bloodsuckers: Qualifiers
19
+ These words weaken almost every sentence they appear in:
20
+ - rather
21
+ - a little
22
+ - just
23
+ - very
24
+ - kind of / sort of
25
+ - somewhat
26
+ - quite
27
+ - really
28
+ - perhaps (when hedging, not when genuinely uncertain)
29
+
30
+ They are ticks in written prose. In conversation, they serve as social lubricant. In prose, they drain authority and precision.
31
+
32
+ ### Empty Intensifiers
33
+ Words that have lost their meaning through overuse:
34
+ - great
35
+ - suddenly
36
+ - somehow
37
+ - absolutely
38
+ - totally
39
+ - literally (when used as emphasis)
40
+ - amazing / incredible / unbelievable
41
+
42
+ ### The Muscle-to-Fat Ratio
43
+ Narrative prose, especially long narrative, needs more muscle than fat. The English language is rich beyond belief — but richness must be earned by precision, not accumulated through decoration.
44
+
45
+ ## Crowding
46
+
47
+ **Crowding** means loading every rift with ore. Avoiding flabby language and clichés. Always seeking the vivid phrase. Keeping the story full of what's happening in it, keeping it moving, keeping it interconnected.
48
+
49
+ ### Qualities of Crowded Prose
50
+ - **Vivid** — the reader can see, hear, feel what's happening
51
+ - **Exact** — the right word, not its approximate cousin
52
+ - **Concrete** — specific objects, actions, sensations — not abstractions
53
+ - **Accurate** — true to the physical and emotional reality being described
54
+ - **Dense** — every sentence carrying weight
55
+ - **Rich** — multiple layers of meaning working simultaneously
56
+
57
+ ### How to Crowd
58
+ - Seek the specific over the general
59
+ - Choose the vivid verb over the weak verb + adverb
60
+ - Choose the precise noun over the generic noun + adjective
61
+ - Make every detail do double or triple duty (reveal character AND advance plot AND illuminate theme)
62
+ - Eliminate any word that isn't pulling its weight
63
+
64
+ ## Leaping
65
+
66
+ **Leaping** means what you leave out. What you leave out is infinitely more than what you leave in. There must be white space around the word, silence around the voice.
67
+
68
+ ### What to Leave Out
69
+ - Information the reader can infer
70
+ - Steps in a sequence that are obvious
71
+ - Descriptions of what the reader already knows or can imagine
72
+ - Transitions that don't need to be spelled out
73
+ - Emotional states that are already clear from action and dialogue
74
+
75
+ ### Listing Is Not Describing
76
+ A catalogue of objects or actions does not create a vivid scene. Only the details that matter — that carry meaning — belong. The rest is noise.
77
+
78
+ ### The Danger of Overcrowding
79
+ Even good writers can overdo crowding. Borges's fictional character Funes the Memorious perceived and remembered every detail of everything — and was utterly paralysed by it. Flaubert's Salammbô is a real-world cautionary tale: a novel choked by its own mots justes.
80
+
81
+ ### The Danger of Insufficient Leaping
82
+ Action writing that tries to give blow-by-blow accounts creates confusion and boredom. The reader doesn't need to see every swing of the sword. They need to see the moments that change the stakes.
83
+
84
+ ## The Revision Method
85
+
86
+ Crowd in the first draft — be generous, overwrite, include too much. Then cut.
87
+
88
+ **Decide what counts, what tells, and cut and recombine until what's left is what counts.**
89
+
90
+ Chekhov's advice: "First, throw out the first three pages." Most first drafts circle and explain before they find their way. In revision, if the beginning can be cut, cut it.
91
+
92
+ ### The Halving Exercise
93
+ Take a piece of 400+ words and cut it to half — not trimming but counting words and actually reducing to half while keeping the narrative clear and the sensory impact vivid. This forces you to discover which words are Styrofoam and which are heavy gold.
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: reader-engagement
3
+ description: "Analyzes and teaches reader engagement: hooking from page one, urgency, cause-and-effect chains, setup-payoff patterns, conflict escalation, emotional resonance, and pacing. Use this skill whenever the user asks about hooking readers, page one, opening scenes, reader engagement, urgency, cause and effect, setup and payoff, conflict escalation, raising stakes, pacing, 'why readers stop reading', 'my story is boring', 'the middle sags', or any question about why a story fails to hold attention. Also use when diagnosing why a manuscript loses momentum or when a writer needs to understand the neuroscience of why readers keep turning pages."
4
+ ---
5
+
6
+ # Reader Engagement
7
+
8
+ The brain is bombarded with 11 million bits of sensory information per second. It consciously processes approximately forty. The cognitive unconscious acts as a ruthless filter — keeping only what matters, discarding the rest. Story is the brain's native language for what matters. When a story meets the brain's hardwired criteria, the reader surrenders. When it doesn't, they put the book down.
9
+
10
+ Reader engagement is not a vague aesthetic preference. It is a biological response driven by specific neurochemical mechanisms:
11
+
12
+ | Trigger | Neurochemical | Reader Experience |
13
+ |---------|--------------|-------------------|
14
+ | **Curiosity** (broken pattern, unanswered question) | Dopamine | "What happens next?" |
15
+ | **Conflict** (hard choice, consequences) | Cortisol | "Will they get through this?" |
16
+ | **Vulnerability** (empathy with protagonist) | Oxytocin | "I'm on their side" |
17
+
18
+ A story that triggers all three is virtually impossible to put down.
19
+
20
+ ## Hooking the Reader: Page One
21
+
22
+ Three things readers hunt for from the first sentence:
23
+
24
+ 1. **Whose story is it?** The protagonist must appear immediately. Readers need a surrogate.
25
+ 2. **What's happening here?** Something must already be in motion. Not the preamble — the thing itself.
26
+ 3. **What's at stake?** Conflict specific to the protagonist must be visible.
27
+
28
+ The first sentence must suggest that something is already wrong and about to get worse. This fires the dopamine circuit — the anticipation response. Beautiful language alone does not do this. Storytelling always trumps beautiful writing.
29
+
30
+ ## Cause and Effect: The Causal Spine
31
+
32
+ The brain is a causal-inference engine. It demands to understand how each event caused the next. Not "and then... and then... and then" but "therefore... because... so..."
33
+
34
+ Every scene must be triggered by the scene before it and must trigger the scene after it. If you can remove a scene without disrupting the chain, it has no business being there.
35
+
36
+ Cause and effect operates on two levels:
37
+ 1. **External (plot)**: physical events cause physical consequences
38
+ 2. **Internal (character arc)**: each event triggers an emotional reaction → a decision → a new action
39
+
40
+ The internal level is primary. The reader tracks this pattern whether they know it or not: **action → reaction → decision → new action**. When it breaks, the story loses them.
41
+
42
+ ### The "And So?" Test
43
+ For every scene, every detail — ask "And so?" What does this lead to? What consequence does it produce? If you can't answer, the element is probably a darling that the story doesn't need.
44
+
45
+ ## Setup and Payoff
46
+
47
+ The brain instinctively scans for patterns. In a story, readers are continuously looking for setups — hints, details, actions that signal future significance. When a payoff arrives, the brain experiences the reward of a pattern completed.
48
+
49
+ Rules:
50
+ - Every payoff requires a clear setup
51
+ - Every setup requires a clear payoff
52
+ - The road between them must build — each step increasing in significance
53
+ - Setups and payoffs must be separated enough to create anticipation
54
+ - **Audit for inadvertent setups** — details described at length that then vanish. Readers catalogue everything. Absence in the payoff register reads as error or cheat.
55
+
56
+ ## Conflict Escalation
57
+
58
+ The brain uses story to simulate navigating difficult situations. A story that is too easy provides no simulation worth running. Everything that can go wrong must go wrong, and the wrongness must escalate.
59
+
60
+ Principles:
61
+ - Each complication raises stakes beyond where they were
62
+ - Each apparent solution creates a larger problem
63
+ - The protagonist must be forced to find resources they didn't know they had
64
+ - The antagonist (person, force, or circumstance) must be specific, present, and active
65
+ - There are no free victories — every gain costs something, every loss has consequences
66
+ - The worst thing you can do as a writer is be kind to your protagonist
67
+
68
+ ## Emotional Resonance
69
+
70
+ Emotion is not the enemy of reason — it is the system within which reason operates. Every decision is ultimately made emotionally. For readers: if they do not feel what the protagonist feels, they are not processing the story.
71
+
72
+ The mechanism: mirror neurons. When we observe someone in pain or joy, the same neural circuits fire as when we experience it ourselves. The brain does not fully distinguish between observed and directly experienced emotion.
73
+
74
+ Requirements:
75
+ - The protagonist must react emotionally to everything — if they witness something terrible and don't react, meaning collapses
76
+ - Body language is subtext — physical response communicates what the character might never say
77
+ - Every event must register through the protagonist's subjective emotional filter
78
+ - Never editorialise (tell the reader what to feel) — show the protagonist's specific, embodied reaction
79
+
80
+ ## Engagement Diagnostic Checklist
81
+
82
+ - [ ] Does the opening sentence trigger curiosity about what happens next?
83
+ - [ ] Is the protagonist present and affected from page one?
84
+ - [ ] Are stakes visible immediately?
85
+ - [ ] Does every scene follow from the previous one through cause and effect?
86
+ - [ ] Can you trace the internal pattern (action → reaction → decision → action) in every scene?
87
+ - [ ] Does the "And so?" test pass for every major element?
88
+ - [ ] Is every setup paid off? Is every payoff set up?
89
+ - [ ] Are there inadvertent setups — details that promise significance but deliver nothing?
90
+ - [ ] Does conflict escalate with each complication?
91
+ - [ ] Is the opposition specific, present, and active?
92
+ - [ ] Does the protagonist react emotionally to events in ways the reader can mirror?
93
+ - [ ] Is the protagonist earning every gain and paying for every loss?
94
+
95
+ ## When to Read Reference Files
96
+
97
+ - **For hooking readers and page-one requirements** — read `references/hooking-readers.md`
98
+ - **For cause-and-effect and setup-payoff in detail** — read `references/cause-effect-setup-payoff.md`
99
+ - **For conflict escalation and stakes** — read `references/conflict-escalation.md`
100
+ - **For the neurochemistry of engagement and emotion** — read `references/neurochemistry-of-engagement.md`
@@ -0,0 +1,79 @@
1
+ # Cause-and-Effect and Setup-Payoff Patterns
2
+
3
+ ## The Causal Spine
4
+
5
+ The brain is a pattern-matching, causal-inference engine. It is not content to observe events — it demands to understand how each event caused the next. This is biology, not preference.
6
+
7
+ ### The Fundamental Test
8
+ Not "and then... and then... and then" but "therefore... because... so..."
9
+
10
+ If you can remove a scene without disrupting the causal chain, the scene has no business being there.
11
+
12
+ ### Two Levels of Cause and Effect
13
+
14
+ **External (plot):** Physical events cause physical consequences.
15
+ - She drops the letter → He finds it → He discovers the secret
16
+
17
+ **Internal (character arc):** Each external event triggers an emotional reaction, which leads to a decision, which drives the next action.
18
+ - She drops the letter → He finds it → He feels betrayed (reaction) → He decides to confront her (decision) → He drives to her house (action)
19
+
20
+ The internal level is primary. The reader tracks this rhythm whether they know it or not.
21
+
22
+ ### The Internal Pattern
23
+ **Action → Reaction → Decision → New Action**
24
+
25
+ This four-beat pattern is the engine of narrative momentum. When it runs, the reader is engaged. When it breaks — when a character acts without reacting to what just happened, or reacts without making a visible decision — the reader disconnects.
26
+
27
+ ### Making Decisions Visible
28
+ A common failure: the protagonist makes a decision whose reasoning is invisible to the reader. The writer knows why — but it's not on the page.
29
+
30
+ Every decision must be traceable through the text. When a character changes their mind, the reader must see exactly what changed and why.
31
+
32
+ ### The "And So?" Test
33
+ For every scene, every piece of information, every detail — ask "And so?" What does this lead to? What consequence does it produce? If you can't answer, the element is probably a darling — writing the author loves that the story doesn't need.
34
+
35
+ ## Setup and Payoff
36
+
37
+ ### The Brain Scans for Patterns
38
+ The brain instinctively imposes pattern on everything it encounters. In a story, readers continuously scan for setups — hints, details, actions that signal future significance. When a payoff arrives, the reader experiences the satisfaction of a pattern completed, triggering a genuine neurological reward.
39
+
40
+ ### Setup-Payoff Rules
41
+
42
+ 1. **Every payoff requires a clear setup.** A payoff that arrives without a setup feels arbitrary, convenient, or cheap. The reader's response is "give me a break!" rather than "of course!"
43
+
44
+ 2. **Every setup requires a clear payoff.** A setup that is never paid off misleads the reader and destroys trust. The reader catalogued it; its absence from the payoff register reads as error or cheat.
45
+
46
+ 3. **The road between them must build.** Each step between setup and payoff should increase in significance. The dots must add up to a pattern.
47
+
48
+ 4. **Separate setup from payoff.** The payoff must not arrive too quickly after the setup, or too directly from it. The pleasure of anticipation requires distance. The reader should sense a pattern emerging but not see the destination.
49
+
50
+ 5. **Payoffs must be logistically possible.** Given what has been established, the payoff must make physical and psychological sense. No deus ex machina.
51
+
52
+ ### The Danger of Piggybacking
53
+ When setup and payoff are too close together, the reader gets no pleasure of anticipation. The pattern completes before it registers as a pattern.
54
+
55
+ ### Inadvertent Setups
56
+ Writers must audit for elements that inadvertently signal significance:
57
+ - A detail described at length that then disappears from the story
58
+ - A character trait mentioned in passing that is never relevant again
59
+ - An object given narrative weight that plays no role in the plot
60
+ - A scene that appears to establish something important but leads nowhere
61
+
62
+ Readers will have catalogued all of these. Each unfulfilled promise erodes trust.
63
+
64
+ ### Auditing Setup-Payoff
65
+
66
+ Create a two-column list:
67
+ - **Left column:** Every setup you can identify (details, character traits, objects, scenes that promise future significance)
68
+ - **Right column:** The payoff for each setup
69
+
70
+ Any setup without a payoff needs either a payoff added or the setup removed.
71
+ Any payoff without a setup needs a setup planted earlier.
72
+
73
+ ### Foreshadowing as Contract
74
+ Foreshadowing is a specific form of setup — a promise that something is coming. When a character does something "out of character," it must have been foreshadowed. The goal is always the "aha!" reaction, not the "give me a break!" reaction.
75
+
76
+ Foreshadowing works when:
77
+ - The reader registers it subconsciously but doesn't see the destination
78
+ - In retrospect, the outcome was inevitable given what was planted
79
+ - The reader's second read reveals a rich network of planted clues
@@ -0,0 +1,81 @@
1
+ # Conflict and Escalation
2
+
3
+ ## Why Conflict Is Non-Negotiable
4
+
5
+ The brain's default setting is homeostasis — it goes to enormous lengths to maintain its existing models. Even beneficial change triggers resistance, because change means the existing model was wrong.
6
+
7
+ This is why conflict is not dramatic embellishment. It is the mechanism of story. Without conflict strong enough to force genuine change, nothing of narrative consequence can happen. The protagonist will simply maintain their misbelief indefinitely — which is what they would do in real life if the story weren't intervening.
8
+
9
+ ## The "Versus"
10
+
11
+ Every story requires a specific "versus" — the rock and the hard place.
12
+
13
+ - On one side: what the protagonist wants and believes
14
+ - On the other: the reality that will ultimately challenge that want and that belief
15
+
16
+ The conflict must be:
17
+ - **Personalised** — aimed at this specific protagonist's vulnerabilities
18
+ - **Specific** — not vague menace, but a concrete threat or dilemma
19
+ - **Unavoidable** — the protagonist cannot simply walk away
20
+
21
+ ### Conflict Must Arise From Character
22
+ The best conflict is not external difficulty arbitrarily imposed. It flows from who the protagonist is. The most painful conflicts are those in which the protagonist's own fears, misbeliefs, and desires create the trap they're caught in. This makes their struggle feel inevitable rather than contrived.
23
+
24
+ ## The Escalation Principle
25
+
26
+ Everything that can go wrong must go wrong — and the wrongness must escalate.
27
+
28
+ ### Rules of Escalation
29
+
30
+ 1. **Each complication raises the stakes** beyond where they were before
31
+ 2. **Each apparent solution creates a larger problem** — the fix makes things worse
32
+ 3. **The protagonist must be forced to find resources** they didn't know they had
33
+ 4. **Each failure costs more** — the price of losing increases with each setback
34
+ 5. **The protagonist is simultaneously forced to confront** the inner issue they've been avoiding
35
+
36
+ ### The Worst Thing You Can Do
37
+ The worst thing you can do as a writer is be kind to your protagonist. Readers do not want to watch someone navigate manageable difficulties. They want to see someone survive — or fail to survive — the unsurvivable. The brain uses story to simulate navigating difficult situations. A story that is too easy provides no simulation worth running.
38
+
39
+ ### No Free Victories
40
+ There are no free victories in a well-told story.
41
+ - Every gain costs something
42
+ - Every loss has a consequence
43
+ - The universe of the story is governed by cause and effect applied mercilessly
44
+ - If the protagonist gets things for free, the reader stops believing the story is real
45
+
46
+ ## Force of Opposition
47
+
48
+ The antagonist — whether a person, a force, or a circumstance — must be:
49
+
50
+ - **Specific** — not generalised evil or vague threat
51
+ - **Present** — actively in the story, not lurking offscreen
52
+ - **Active** — taking actions, not just existing as a backdrop
53
+ - **Targeted** — aimed specifically at the protagonist's most vulnerable points
54
+ - **Credible** — capable of actually winning
55
+
56
+ ### The Best Antagonists
57
+ The most compelling antagonists aren't simply evil. They are:
58
+ - Pursuing their own goals that genuinely conflict with the protagonist's
59
+ - Operating from their own misbelief, which makes their actions feel internally logical
60
+ - Capable of making the protagonist question whether they are in the right
61
+ - Forcing the protagonist to confront aspects of themselves they'd rather not face
62
+
63
+ ## Withholding and the Big Reveal
64
+
65
+ Strategic withholding of information creates tension. The rules:
66
+
67
+ 1. Whatever you withhold must still produce a story that makes complete logical sense
68
+ 2. When the reveal comes, the story must make even more sense
69
+ 3. The reader should experience not confusion but retroactive recognition — "of course"
70
+ 4. Withholding must serve the story's needs, not the author's desire to be clever
71
+
72
+ ## Conflict Diagnostic
73
+
74
+ - [ ] Is there a clear "versus" — a specific rock and hard place?
75
+ - [ ] Does the conflict arise from the protagonist's own character?
76
+ - [ ] Does each complication escalate — raising stakes higher than before?
77
+ - [ ] Does each apparent solution create a bigger problem?
78
+ - [ ] Is the protagonist earning every gain and paying for every loss?
79
+ - [ ] Is the force of opposition specific, present, active, and credible?
80
+ - [ ] Are the protagonist's deepest secrets and guarded flaws being exposed?
81
+ - [ ] Has everything that can go wrong gone wrong?
@@ -0,0 +1,67 @@
1
+ # Hooking Readers from Page One
2
+
3
+ ## The Brain's Survival Filter
4
+
5
+ The brain is bombarded with 11 million bits of sensory data per second. It consciously processes approximately forty. The cognitive unconscious ruthlessly filters out everything that doesn't matter for survival. Story bypasses this filter because it speaks the brain's native language for evaluating threats, opportunities, and social dynamics.
6
+
7
+ ## What Readers Hunt for on Page One
8
+
9
+ ### 1. Whose Story Is It?
10
+ The protagonist must appear immediately. Readers need a surrogate — someone through whose eyes they will experience everything. Without this anchor, the reader has no reason to care about anything that happens.
11
+
12
+ ### 2. What's Happening Here?
13
+ Something must already be in motion. Not the preamble to the ball — the ball itself. Not the character waking up and having breakfast before something interesting happens. The interesting thing is already happening when we arrive.
14
+
15
+ ### 3. What's at Stake?
16
+ Conflict specific to the protagonist's quest must be visible from the opening. The reader must sense that something matters — that something can be gained or lost.
17
+
18
+ ## Dopamine and the Forward Pull
19
+
20
+ When the brain senses that significant information is incoming, it releases dopamine — the anticipation neurochemical. This is what makes readers compelled to turn pages. The first sentence must trigger this response.
21
+
22
+ The tool is not beautiful language. It is the suggestion that something is already wrong and about to get worse.
23
+
24
+ ### The Elizabeth George Example
25
+ "Joel Campbell, eleven years old at the time, began his descent into murder with a bus ride."
26
+
27
+ In a single sentence:
28
+ - Protagonist identified (Joel Campbell)
29
+ - Something happening (a bus ride)
30
+ - Stakes visible (descent into murder)
31
+ - Yardstick for the entire novel established
32
+ - Dopamine circuit fired (how does a bus ride lead to murder?)
33
+
34
+ ## The Beautiful Writing Myth
35
+
36
+ Storytelling always trumps beautiful writing. Dan Brown's prose is widely mocked, but The Da Vinci Code works because from page one the reader desperately wants to know what happens next. Beautiful writing is gravy. Story is the meal.
37
+
38
+ This does not mean prose doesn't matter — it matters enormously. But prose in service of story creates engagement. Beautiful prose without story creates admiration that quickly fades.
39
+
40
+ ## The Story Yardstick
41
+
42
+ Page one should establish a "yardstick" — a framework that helps the reader evaluate everything that follows. The reader should begin to understand:
43
+ - What kind of story this is
44
+ - What question will drive the narrative
45
+ - Roughly what the stakes are
46
+ - What world they're entering
47
+
48
+ This doesn't mean spelling everything out. It means planting enough for the reader's pattern-recognition engine to start building expectations.
49
+
50
+ ## Page One Diagnostic Checklist
51
+
52
+ - [ ] Is there a protagonist present from the first page?
53
+ - [ ] Is something already happening that affects the protagonist?
54
+ - [ ] Is there conflict with a direct impact on the protagonist's quest?
55
+ - [ ] Is something at stake — something that can be gained or lost?
56
+ - [ ] Can the reader glimpse the "big picture" — the yardstick?
57
+ - [ ] Does the first sentence suggest something is wrong or about to go wrong?
58
+ - [ ] Would a reader who knows nothing about this book want to read page two?
59
+
60
+ ## Common Opening Failures
61
+
62
+ 1. **The weather opening** — beginning with atmospheric description before introducing a character or conflict
63
+ 2. **The alarm clock opening** — the character wakes up and goes through their morning routine
64
+ 3. **The information dump** — pages of world-building or backstory before the story begins
65
+ 4. **The action without context** — explosions and car chases with no character to care about
66
+ 5. **The philosophical meditation** — the author musing about life before getting to the point
67
+ 6. **Starting too early** — the story begins before the interesting thing, not at the moment it arrives
@@ -0,0 +1,94 @@
1
+ # The Neurochemistry of Story Engagement
2
+
3
+ ## Three Neurochemicals of Story
4
+
5
+ Story activates three interlocking neurochemical responses. Understanding them helps writers diagnose why a passage works or fails.
6
+
7
+ ### Dopamine — The Curiosity Chemical
8
+ **Triggered by:** Broken patterns, unanswered questions, the suggestion that significant information is incoming
9
+ **Reader experience:** "What happens next?" — the forward pull, the inability to stop reading
10
+ **Story mechanism:** Surprise, mystery, unresolved tension, the gap between what the reader knows and what they want to know
11
+
12
+ **How writers trigger dopamine:**
13
+ - Plant questions the reader needs answered
14
+ - Break expected patterns — the thing that should happen doesn't
15
+ - Create information gaps — the reader knows something is significant but doesn't know what
16
+ - End scenes with unresolved tension
17
+ - Introduce surprising details that reframe what the reader thought they understood
18
+
19
+ **How writers kill dopamine:**
20
+ - Answer every question as soon as it's raised
21
+ - Maintain predictable patterns without variation
22
+ - Tell the reader everything up front — no gaps, no mystery
23
+ - Resolve tension prematurely
24
+
25
+ ### Cortisol — The Tension Chemical
26
+ **Triggered by:** Conflict, hard choices, consequences, the sense that something bad might happen
27
+ **Reader experience:** "Will they get through this?" — anxiety on the protagonist's behalf
28
+ **Story mechanism:** Stakes, danger, dilemmas, ticking clocks, the escalation of obstacles
29
+
30
+ **How writers trigger cortisol:**
31
+ - Put the protagonist in genuine danger (physical, emotional, social)
32
+ - Create dilemmas where all options have costs
33
+ - Establish ticking clocks with real consequences
34
+ - Escalate complications — each setback raising stakes higher
35
+ - Force the protagonist to risk what they value most
36
+
37
+ **How writers kill cortisol:**
38
+ - Remove real consequences — the protagonist can fail without cost
39
+ - Provide easy escape routes — the danger isn't genuinely threatening
40
+ - Make the antagonist incompetent or absent
41
+ - Let the protagonist succeed without sacrifice
42
+
43
+ ### Oxytocin — The Empathy Chemical
44
+ **Triggered by:** Vulnerability, connection, the sense of shared humanity with the protagonist
45
+ **Reader experience:** "I'm on their side" — emotional investment, caring what happens
46
+ **Story mechanism:** The protagonist's internal life made visible; moments of honesty, weakness, courage, and connection
47
+
48
+ **How writers trigger oxytocin:**
49
+ - Show the protagonist's vulnerability — their fears, doubts, and longings
50
+ - Give the protagonist moments of genuine human connection
51
+ - Let the protagonist make mistakes and admit them
52
+ - Show the protagonist caring about something deeply
53
+ - Reveal the protagonist's inner world — not just what they do, but what it means to them
54
+
55
+ **How writers kill oxytocin:**
56
+ - Keep the protagonist emotionally opaque — no internal life visible
57
+ - Make the protagonist invulnerable — no weaknesses, no fears
58
+ - Have the protagonist respond to everything with competence and cool
59
+ - Skip the protagonist's emotional reactions to events
60
+
61
+ ## The Interplay
62
+
63
+ The three neurochemicals work together:
64
+ - **Dopamine** (curiosity) gets the reader to start
65
+ - **Oxytocin** (empathy) makes the reader care
66
+ - **Cortisol** (tension) makes the reader unable to stop
67
+
68
+ A story that triggers only one is flat:
69
+ - Dopamine alone = a puzzle with no heart
70
+ - Cortisol alone = stress without investment
71
+ - Oxytocin alone = sentimentality without stakes
72
+
73
+ A story that triggers all three simultaneously is virtually impossible to put down.
74
+
75
+ ## Emotion as the Engine of Reason
76
+
77
+ ### The Platonic Error
78
+ Western thought since Plato has treated emotion as the enemy of reason. Neuroscience has established the opposite: emotion is the prerequisite for rational decision-making.
79
+
80
+ ### The Case of Elliot
81
+ Neurologist Antonio Damasio's patient Elliot had a brain tumour removed, along with some frontal lobe tissue. His IQ tested at the 97th percentile. He could enumerate every possible solution to any problem. But he couldn't choose between them. Without the ability to feel which option mattered more, he couldn't decide anything — not even what to have for lunch. He lost his job, family, and savings.
82
+
83
+ **Without emotion, reason is paralysed.** Emotion doesn't cloud judgment; it provides the experiential data that judgment requires.
84
+
85
+ ### For Writers
86
+ Every decision in a story must be emotionally motivated. Not because emotion is decoration, but because emotion is how decisions are actually made — in fiction and in life. If the reader can't feel why a character makes a choice, the choice is inert.
87
+
88
+ ## Mirror Neurons
89
+
90
+ When we observe someone in pain or joy, the same neural circuits fire as when we experience it ourselves. The brain does not fully distinguish between observed and directly experienced emotion.
91
+
92
+ This is why fiction works: the reader literally simulates the protagonist's experience. The same brain regions that would activate if the reader were living through the events activate while reading about them.
93
+
94
+ This is also why the protagonist must react to everything: if the protagonist doesn't react emotionally, the reader's mirror neurons have nothing to mirror. The emotional simulation stops. The reader is cast out of the story.
@@ -0,0 +1,111 @@
1
+ ---
2
+ name: review-manuscript
3
+ description: "Performs a comprehensive multi-level review of a manuscript, chapter, or long passage — covering story architecture, reader engagement, prose craft, and editorial quality. Use this skill whenever the user asks to review a manuscript, critique a chapter, give feedback on their writing, assess whether their story is working, provide a manuscript assessment, do a full editorial review, or says 'what's wrong with this'. Also use when a writer submits a substantial piece of text and asks for comprehensive feedback rather than feedback on a specific aspect."
4
+ ---
5
+
6
+ # Review Manuscript
7
+
8
+ This skill performs a comprehensive, multi-level manuscript review. It examines the text through four lenses — story architecture, reader engagement, prose craft, and editorial quality — producing both inline observations and a structured summary report.
9
+
10
+ ## Review Process
11
+
12
+ ### Step 1: Read the Full Text
13
+ Read the entire submitted text before making any observations. First impressions are valuable — note where you are engaged, confused, bored, or delighted. These instinctive responses are data.
14
+
15
+ ### Step 2: Identify the Story's Core
16
+
17
+ Before critiquing anything, establish what is there:
18
+ - What is the story about (not the plot — the internal journey)?
19
+ - Who is the protagonist and what do they want?
20
+ - What is the misbelief or inner issue?
21
+ - What is the story question the reader is tracking?
22
+
23
+ If these cannot be identified, that itself is the primary finding.
24
+
25
+ ### Step 3: Apply the Four Lenses
26
+
27
+ Work through each lens in order. The order matters — structural problems should be addressed before prose problems, because structural surgery changes the prose landscape.
28
+
29
+ #### Lens 1: Story Architecture
30
+ - Is the misbelief specific, earned, and active?
31
+ - Is the desire in conflict with the misbelief?
32
+ - Does every scene touch the third rail (internal struggle)?
33
+ - Is there a clear cause-and-effect chain through the internal story?
34
+ - Does the opening begin at the last possible moment?
35
+ - For the portion reviewed: is the trajectory toward the Aha moment visible?
36
+
37
+ For the full story architecture framework, read `references/review-manuscript-checklist.md`.
38
+
39
+ #### Lens 2: Reader Engagement
40
+ - Does the opening hook? Are protagonist, stakes, and situation present from the first page?
41
+ - Is urgency sustained? Where does momentum flag?
42
+ - Does the cause-and-effect chain hold scene to scene?
43
+ - Are setups paid off? Are there inadvertent setups?
44
+ - Does conflict escalate? Is the opposition specific and active?
45
+ - Does the protagonist react emotionally to events?
46
+
47
+ #### Lens 3: Prose Craft
48
+ - Does the prose sound right when read with the mind's ear?
49
+ - Is there sentence variety?
50
+ - Are adjectives and adverbs earning their place, or fattening the prose?
51
+ - Is repetition deliberate or accidental?
52
+ - Is the POV consistent? Are there unintended shifts?
53
+ - Is exposition integrated or lumped?
54
+ - Is crowding and leaping balanced — enough density, enough white space?
55
+
56
+ #### Lens 4: Editorial Quality
57
+ - Are there structural issues (pacing, missing sections, unnecessary sections)?
58
+ - Line-level clarity and flow?
59
+ - Internal consistency (names, timeline, details)?
60
+ - Are there passages where the reader would disengage?
61
+
62
+ ### Step 4: Produce the Report
63
+
64
+ Structure the output in two parts:
65
+
66
+ #### Part A: Inline Observations
67
+ Walk through the text noting specific observations at the point where they occur. For each observation:
68
+ - Quote or reference the specific passage
69
+ - Name the issue precisely
70
+ - Explain why it matters to the reader's experience
71
+ - Where possible, suggest a direction for revision
72
+
73
+ #### Part B: Summary Report
74
+
75
+ Use this structure:
76
+
77
+ ```
78
+ ## Manuscript Review: [Title or Description]
79
+
80
+ ### What Works
81
+ [Specific, genuine praise — what the writer is doing well and should keep doing]
82
+
83
+ ### Story Architecture
84
+ [Findings from Lens 1 — the internal story, misbelief, desire, third rail]
85
+
86
+ ### Reader Engagement
87
+ [Findings from Lens 2 — hooks, urgency, cause-and-effect, stakes]
88
+
89
+ ### Prose Craft
90
+ [Findings from Lens 3 — sound, rhythm, POV, word economy]
91
+
92
+ ### Editorial Notes
93
+ [Findings from Lens 4 — structure, pacing, consistency]
94
+
95
+ ### Priority Recommendations
96
+ [The 3-5 most important things to address, in order of impact]
97
+ ```
98
+
99
+ ## Review Principles
100
+
101
+ - **Start with what works.** Every manuscript has strengths. Name them specifically.
102
+ - **Address the biggest issues first.** If the story architecture is broken, don't spend pages on comma placement.
103
+ - **Be specific.** "The pacing feels off in the middle" is useless. "Chapters 4-6 lose momentum because the protagonist has no active goal — she's reacting to events without pursuing anything" is actionable.
104
+ - **Explain why.** Don't just flag problems — explain what they do to the reader's experience.
105
+ - **Preserve the author's voice.** Never suggest changes that would make the writing sound like you instead of them.
106
+ - **Frame as possibilities.** "What if..." and "Consider..." rather than "You must..."
107
+ - **The book belongs to the author.** Your job is to help them write the best version of *their* book.
108
+
109
+ ## When to Read Reference Files
110
+
111
+ - **For the full review checklist with detailed criteria** — read `references/review-manuscript-checklist.md`