@geminilight/mindos 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/.env.local.example +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +423 -0
  4. package/README_zh.md +423 -0
  5. package/app/README.md +152 -0
  6. package/app/app/api/ask/route.ts +170 -0
  7. package/app/app/api/ask-sessions/route.ts +90 -0
  8. package/app/app/api/auth/route.ts +37 -0
  9. package/app/app/api/backlinks/route.ts +22 -0
  10. package/app/app/api/bootstrap/route.ts +37 -0
  11. package/app/app/api/extract-pdf/route.ts +82 -0
  12. package/app/app/api/file/route.ts +138 -0
  13. package/app/app/api/files/route.ts +12 -0
  14. package/app/app/api/git/route.ts +42 -0
  15. package/app/app/api/graph/route.ts +113 -0
  16. package/app/app/api/recent-files/route.ts +10 -0
  17. package/app/app/api/search/route.ts +17 -0
  18. package/app/app/api/settings/reset-token/route.ts +21 -0
  19. package/app/app/api/settings/route.ts +123 -0
  20. package/app/app/error.tsx +33 -0
  21. package/app/app/globals.css +368 -0
  22. package/app/app/icon.svg +35 -0
  23. package/app/app/layout.tsx +103 -0
  24. package/app/app/login/page.tsx +120 -0
  25. package/app/app/page.tsx +12 -0
  26. package/app/app/view/[...path]/ViewPageClient.tsx +343 -0
  27. package/app/app/view/[...path]/error.tsx +33 -0
  28. package/app/app/view/[...path]/loading.tsx +15 -0
  29. package/app/app/view/[...path]/page.tsx +93 -0
  30. package/app/components/AskFab.tsx +59 -0
  31. package/app/components/AskModal.tsx +398 -0
  32. package/app/components/Backlinks.tsx +75 -0
  33. package/app/components/Breadcrumb.tsx +31 -0
  34. package/app/components/CsvView.tsx +325 -0
  35. package/app/components/DirView.tsx +138 -0
  36. package/app/components/Editor.tsx +124 -0
  37. package/app/components/EditorWrapper.tsx +17 -0
  38. package/app/components/ErrorBoundary.tsx +53 -0
  39. package/app/components/FileTree.tsx +369 -0
  40. package/app/components/HomeContent.tsx +262 -0
  41. package/app/components/JsonView.tsx +27 -0
  42. package/app/components/MarkdownEditor.tsx +95 -0
  43. package/app/components/MarkdownView.tsx +118 -0
  44. package/app/components/SearchModal.tsx +193 -0
  45. package/app/components/SettingsModal.tsx +237 -0
  46. package/app/components/Sidebar.tsx +136 -0
  47. package/app/components/SidebarLayout.tsx +36 -0
  48. package/app/components/TableOfContents.tsx +150 -0
  49. package/app/components/ThemeToggle.tsx +34 -0
  50. package/app/components/WysiwygEditor.tsx +75 -0
  51. package/app/components/ask/FileChip.tsx +30 -0
  52. package/app/components/ask/MentionPopover.tsx +52 -0
  53. package/app/components/ask/MessageList.tsx +126 -0
  54. package/app/components/ask/SessionHistory.tsx +49 -0
  55. package/app/components/renderers/AgentInspectorRenderer.tsx +277 -0
  56. package/app/components/renderers/BacklinksRenderer.tsx +147 -0
  57. package/app/components/renderers/ConfigRenderer.tsx +236 -0
  58. package/app/components/renderers/CsvRenderer.tsx +77 -0
  59. package/app/components/renderers/DiffRenderer.tsx +310 -0
  60. package/app/components/renderers/GraphRenderer.tsx +428 -0
  61. package/app/components/renderers/SummaryRenderer.tsx +251 -0
  62. package/app/components/renderers/TimelineRenderer.tsx +213 -0
  63. package/app/components/renderers/TodoRenderer.tsx +474 -0
  64. package/app/components/renderers/WorkflowRenderer.tsx +404 -0
  65. package/app/components/renderers/csv/BoardView.tsx +146 -0
  66. package/app/components/renderers/csv/ConfigPanel.tsx +117 -0
  67. package/app/components/renderers/csv/EditableCell.tsx +43 -0
  68. package/app/components/renderers/csv/GalleryView.tsx +40 -0
  69. package/app/components/renderers/csv/TableView.tsx +164 -0
  70. package/app/components/renderers/csv/types.ts +87 -0
  71. package/app/components/settings/AiTab.tsx +111 -0
  72. package/app/components/settings/AppearanceTab.tsx +101 -0
  73. package/app/components/settings/KnowledgeTab.tsx +157 -0
  74. package/app/components/settings/PluginsTab.tsx +82 -0
  75. package/app/components/settings/Primitives.tsx +60 -0
  76. package/app/components/settings/ShortcutsTab.tsx +22 -0
  77. package/app/components/settings/types.ts +41 -0
  78. package/app/components/ui/button.tsx +60 -0
  79. package/app/components/ui/dialog.tsx +157 -0
  80. package/app/components/ui/input.tsx +20 -0
  81. package/app/components/ui/scroll-area.tsx +55 -0
  82. package/app/components/ui/toggle.tsx +44 -0
  83. package/app/components/ui/tooltip.tsx +66 -0
  84. package/app/components.json +25 -0
  85. package/app/data/pages/home-dark.png +0 -0
  86. package/app/data/pages/home-mobile-crop.png +0 -0
  87. package/app/data/pages/home-mobile.png +0 -0
  88. package/app/data/pages/home.png +0 -0
  89. package/app/data/pages/view-dir.png +0 -0
  90. package/app/data/pages/view-file-bot.png +0 -0
  91. package/app/data/pages/view-file-dark-crop.png +0 -0
  92. package/app/data/pages/view-file-dark.png +0 -0
  93. package/app/data/pages/view-file-mobile.png +0 -0
  94. package/app/data/pages/view-file-sm.png +0 -0
  95. package/app/data/pages/view-file-top.png +0 -0
  96. package/app/data/pages/view-file.png +0 -0
  97. package/app/eslint.config.mjs +18 -0
  98. package/app/hooks/useAskSession.ts +181 -0
  99. package/app/hooks/useFileUpload.ts +126 -0
  100. package/app/hooks/useMention.ts +65 -0
  101. package/app/lib/LocaleContext.tsx +40 -0
  102. package/app/lib/actions.ts +40 -0
  103. package/app/lib/agent/index.ts +3 -0
  104. package/app/lib/agent/model.ts +18 -0
  105. package/app/lib/agent/prompt.ts +32 -0
  106. package/app/lib/agent/tools.ts +151 -0
  107. package/app/lib/api.ts +55 -0
  108. package/app/lib/core/backlinks.ts +40 -0
  109. package/app/lib/core/csv.ts +28 -0
  110. package/app/lib/core/fs-ops.ts +118 -0
  111. package/app/lib/core/git.ts +50 -0
  112. package/app/lib/core/index.ts +58 -0
  113. package/app/lib/core/lines.ts +89 -0
  114. package/app/lib/core/search.ts +79 -0
  115. package/app/lib/core/security.ts +43 -0
  116. package/app/lib/core/tree.ts +113 -0
  117. package/app/lib/core/types.ts +40 -0
  118. package/app/lib/fs.ts +467 -0
  119. package/app/lib/i18n.ts +300 -0
  120. package/app/lib/jwt.ts +58 -0
  121. package/app/lib/renderers/index.ts +79 -0
  122. package/app/lib/renderers/registry.ts +70 -0
  123. package/app/lib/settings.ts +150 -0
  124. package/app/lib/types.ts +32 -0
  125. package/app/lib/utils.ts +34 -0
  126. package/app/next-env.d.ts +6 -0
  127. package/app/next.config.ts +10 -0
  128. package/app/package-lock.json +15306 -0
  129. package/app/package.json +71 -0
  130. package/app/postcss.config.mjs +7 -0
  131. package/app/proxy.ts +64 -0
  132. package/app/public/file.svg +1 -0
  133. package/app/public/globe.svg +1 -0
  134. package/app/public/landing/index.html +353 -0
  135. package/app/public/landing/style.css +216 -0
  136. package/app/public/logo-square.svg +37 -0
  137. package/app/public/logo.svg +37 -0
  138. package/app/public/next.svg +1 -0
  139. package/app/public/vercel.svg +1 -0
  140. package/app/public/window.svg +1 -0
  141. package/app/scripts/extract-pdf.cjs +56 -0
  142. package/app/tsconfig.json +34 -0
  143. package/app/vitest.config.ts +14 -0
  144. package/assets/demo-flow-zh.html +622 -0
  145. package/assets/images/demo-flow-dark.png +0 -0
  146. package/assets/images/demo-flow-light.png +0 -0
  147. package/assets/images/demo-flow-zh-dark.png +0 -0
  148. package/assets/images/demo-flow-zh-light.png +0 -0
  149. package/assets/images/gui-sync-cv.png +0 -0
  150. package/assets/logo-square.svg +37 -0
  151. package/bin/cli.js +894 -0
  152. package/mcp/README.md +113 -0
  153. package/mcp/package-lock.json +1717 -0
  154. package/mcp/package.json +18 -0
  155. package/mcp/src/index.ts +494 -0
  156. package/mcp/tsconfig.json +13 -0
  157. package/package.json +49 -0
  158. package/scripts/setup.js +675 -0
  159. package/scripts/upgrade-prompt.md +147 -0
  160. package/skills/mindos/SKILL.md +319 -0
  161. package/skills/mindos-zh/SKILL.md +318 -0
  162. package/templates/README.md +31 -0
  163. package/templates/empty/CHANGELOG.md +9 -0
  164. package/templates/empty/CONFIG.json +197 -0
  165. package/templates/empty/CONFIG.md +73 -0
  166. package/templates/empty/INSTRUCTION.md +177 -0
  167. package/templates/empty/README.md +27 -0
  168. package/templates/en/CHANGELOG.md +9 -0
  169. package/templates/en/CONFIG.json +197 -0
  170. package/templates/en/CONFIG.md +73 -0
  171. package/templates/en/INSTRUCTION.md +177 -0
  172. package/templates/en/README.md +27 -0
  173. package/templates/en/TODO.md +13 -0
  174. package/templates/en//360/237/221/244 Profile/INSTRUCTION.md" +21 -0
  175. package/templates/en//360/237/221/244 Profile/README.md" +15 -0
  176. package/templates/en//360/237/221/244 Profile//342/232/231/357/270/217 Preferences.md" +21 -0
  177. package/templates/en//360/237/221/244 Profile//360/237/216/257 Focus.md" +31 -0
  178. package/templates/en//360/237/221/244 Profile//360/237/221/244 Identity.md" +22 -0
  179. package/templates/en//360/237/223/232 Resources/INSTRUCTION.md" +29 -0
  180. package/templates/en//360/237/223/232 Resources/README.md" +21 -0
  181. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Influencers.csv" +1 -0
  182. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Products.csv" +1 -0
  183. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Scholars.csv" +1 -0
  184. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Tools.csv" +1 -0
  185. package/templates/en//360/237/223/235 Notes/INSTRUCTION.md" +31 -0
  186. package/templates/en//360/237/223/235 Notes/Ideas/README.md" +8 -0
  187. package/templates/en//360/237/223/235 Notes/Ideas//360/237/247/252_example_product_idea.md" +16 -0
  188. package/templates/en//360/237/223/235 Notes/Inbox/README.md" +8 -0
  189. package/templates/en//360/237/223/235 Notes/Inbox//360/237/247/252_example_quick_capture.md" +14 -0
  190. package/templates/en//360/237/223/235 Notes/Meetings/README.md" +8 -0
  191. package/templates/en//360/237/223/235 Notes/Meetings//360/237/247/252_example_meeting_note.md" +17 -0
  192. package/templates/en//360/237/223/235 Notes/README.md" +24 -0
  193. package/templates/en//360/237/223/235 Notes/Waiting/README.md" +8 -0
  194. package/templates/en//360/237/223/235 Notes/Waiting//360/237/247/252_example_blocked_item.md" +16 -0
  195. package/templates/en//360/237/224/204 Workflows/Configurations/README.md" +3 -0
  196. package/templates/en//360/237/224/204 Workflows/Configurations//360/237/247/252_example_config_update_sop.md" +14 -0
  197. package/templates/en//360/237/224/204 Workflows/INSTRUCTION.md" +21 -0
  198. package/templates/en//360/237/224/204 Workflows/Information/README.md" +16 -0
  199. package/templates/en//360/237/224/204 Workflows/Information//360/237/247/252_example_info_capture_sop.md" +13 -0
  200. package/templates/en//360/237/224/204 Workflows/Media/README.md" +16 -0
  201. package/templates/en//360/237/224/204 Workflows/Media//360/237/247/252_example_content_publish_sop.md" +13 -0
  202. package/templates/en//360/237/224/204 Workflows/README.md" +22 -0
  203. package/templates/en//360/237/224/204 Workflows/Research/README.md" +16 -0
  204. package/templates/en//360/237/224/204 Workflows/Research//360/237/247/252_example_lit_review_sop.md" +16 -0
  205. package/templates/en//360/237/224/204 Workflows/Startup/README.md" +3 -0
  206. package/templates/en//360/237/224/204 Workflows/Startup//360/237/247/252_example_weekly_founder_ops.md" +22 -0
  207. package/templates/en//360/237/224/227 Connections/Classmates/README.md" +11 -0
  208. package/templates/en//360/237/224/227 Connections/Classmates//360/237/247/252_example_leo_chen.md" +16 -0
  209. package/templates/en//360/237/224/227 Connections/Colleagues/README.md" +11 -0
  210. package/templates/en//360/237/224/227 Connections/Colleagues//360/237/247/252_example_ethan_zhao.md" +16 -0
  211. package/templates/en//360/237/224/227 Connections/Connections Overview.csv" +5 -0
  212. package/templates/en//360/237/224/227 Connections/Family/README.md" +11 -0
  213. package/templates/en//360/237/224/227 Connections/Family//360/237/247/252_example_james_wang.md" +16 -0
  214. package/templates/en//360/237/224/227 Connections/Friends/README.md" +11 -0
  215. package/templates/en//360/237/224/227 Connections/Friends//360/237/247/252_example_lily_lin.md" +16 -0
  216. package/templates/en//360/237/224/227 Connections/INSTRUCTION.md" +56 -0
  217. package/templates/en//360/237/224/227 Connections/README.md" +20 -0
  218. package/templates/en//360/237/232/200 Projects/Archived/README.md" +9 -0
  219. package/templates/en//360/237/232/200 Projects/Archived//360/237/247/252_example_archived_project_note.md" +14 -0
  220. package/templates/en//360/237/232/200 Projects/INSTRUCTION.md" +29 -0
  221. package/templates/en//360/237/232/200 Projects/Products/README.md" +16 -0
  222. package/templates/en//360/237/232/200 Projects/Products//360/237/247/252_example_product_project_brief.md" +20 -0
  223. package/templates/en//360/237/232/200 Projects/README.md" +21 -0
  224. package/templates/en//360/237/232/200 Projects/Research/README.md" +16 -0
  225. package/templates/en//360/237/232/200 Projects/Research//360/237/247/252_example_research_project_brief.md" +16 -0
  226. package/templates/template-generation-skill.md +79 -0
  227. package/templates/zh/CHANGELOG.md +9 -0
  228. package/templates/zh/CONFIG.json +197 -0
  229. package/templates/zh/CONFIG.md +66 -0
  230. package/templates/zh/INSTRUCTION.md +177 -0
  231. package/templates/zh/README.md +27 -0
  232. package/templates/zh/TODO.md +13 -0
  233. package/templates/zh//360/237/221/244 /347/224/273/345/203/217/INSTRUCTION.md" +28 -0
  234. package/templates/zh//360/237/221/244 /347/224/273/345/203/217/README.md" +20 -0
  235. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//342/232/231/357/270/217 Preferences.md" +21 -0
  236. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/216/257 Focus.md" +31 -0
  237. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/221/244 Identity.md" +22 -0
  238. package/templates/zh//360/237/223/232 /350/265/204/346/272/220/INSTRUCTION.md" +29 -0
  239. package/templates/zh//360/237/223/232 /350/265/204/346/272/220/README.md" +21 -0
  240. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI Inferencers.csv" +1 -0
  241. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /344/272/247/345/223/201.csv" +1 -0
  242. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/255/246/350/200/205/346/270/205/345/215/225.csv" +1 -0
  243. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/267/245/345/205/267/346/270/205/345/215/225.csv" +1 -0
  244. package/templates/zh//360/237/223/235 /347/254/224/350/256/260/INSTRUCTION.md" +31 -0
  245. package/templates/zh//360/237/223/235 /347/254/224/350/256/260/README.md" +24 -0
  246. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//344/274/232/350/256/256/README.md" +8 -0
  247. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//344/274/232/350/256/256//360/237/247/252_example_/344/274/232/350/256/256/347/272/252/350/246/201.md" +17 -0
  248. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//345/276/205/345/217/215/351/246/210/README.md" +8 -0
  249. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//345/276/205/345/217/215/351/246/210//360/237/247/252_example_/345/276/205/345/217/215/351/246/210/344/272/213/351/241/271.md" +16 -0
  250. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/203/263/346/263/225/README.md" +8 -0
  251. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/203/263/346/263/225//360/237/247/252_example_/344/272/247/345/223/201/346/203/263/346/263/225.md" +16 -0
  252. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/224/266/344/273/266/347/256/261/README.md" +8 -0
  253. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/224/266/344/273/266/347/256/261//360/237/247/252_example_/344/270/264/346/227/266/351/200/237/350/256/260.md" +13 -0
  254. package/templates/zh//360/237/224/204 /346/265/201/347/250/213/INSTRUCTION.md" +29 -0
  255. package/templates/zh//360/237/224/204 /346/265/201/347/250/213/README.md" +21 -0
  256. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//344/277/241/346/201/257/README.md" +16 -0
  257. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//344/277/241/346/201/257//360/237/247/252_example_/344/277/241/346/201/257/351/207/207/351/233/206/346/265/201/347/250/213.md" +13 -0
  258. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/252/222/344/275/223/README.md" +16 -0
  259. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/252/222/344/275/223//360/237/247/252_example_/345/206/205/345/256/271/345/217/221/345/270/203/346/265/201/347/250/213.md" +13 -0
  260. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//347/247/221/347/240/224/README.md" +16 -0
  261. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//347/247/221/347/240/224//360/237/247/252_example_/346/226/207/347/214/256/347/273/274/350/277/260/346/265/201/347/250/213.md" +16 -0
  262. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//351/205/215/347/275/256/README.md" +3 -0
  263. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//351/205/215/347/275/256//360/237/247/252_example_/351/205/215/347/275/256/346/233/264/346/226/260/346/265/201/347/250/213.md" +26 -0
  264. package/templates/zh//360/237/224/227 /345/205/263/347/263/273/INSTRUCTION.md" +62 -0
  265. package/templates/zh//360/237/224/227 /345/205/263/347/263/273/README.md" +20 -0
  266. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/205/263/347/263/273/346/200/273/350/247/210.csv" +5 -0
  267. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/344/272/213/README.md" +11 -0
  268. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/344/272/213//360/237/247/252_example_/345/220/214/344/272/213/350/265/265/344/270/200/350/276/260.md" +16 -0
  269. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/345/255/246/README.md" +11 -0
  270. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/345/255/246//360/237/247/252_example_/345/220/214/345/255/246/351/231/210/347/253/213/346/254/247.md" +16 -0
  271. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/256/266/344/272/272/README.md" +11 -0
  272. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/256/266/344/272/272//360/237/247/252_example_/345/256/266/344/272/272/347/216/213/345/273/272/345/233/275.md" +16 -0
  273. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//346/234/213/345/217/213/README.md" +11 -0
  274. package/templates/zh//360/237/224/227 /345/205/263/347/263/273//346/234/213/345/217/213//360/237/247/252_example_/346/234/213/345/217/213/346/236/227/345/260/217/344/270/275.md" +16 -0
  275. package/templates/zh//360/237/232/200 /351/241/271/347/233/256/INSTRUCTION.md" +31 -0
  276. package/templates/zh//360/237/232/200 /351/241/271/347/233/256/README.md" +21 -0
  277. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//344/272/247/345/223/201/README.md" +16 -0
  278. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//344/272/247/345/223/201//360/237/247/252_example_/344/272/247/345/223/201/351/241/271/347/233/256/347/256/200/346/212/245.md" +20 -0
  279. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//345/267/262/345/275/222/346/241/243/README.md" +9 -0
  280. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//345/267/262/345/275/222/346/241/243//360/237/247/252_example_/345/275/222/346/241/243/351/241/271/347/233/256/350/256/260/345/275/225.md" +15 -0
  281. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//347/247/221/347/240/224/README.md" +16 -0
  282. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//347/247/221/347/240/224//360/237/247/252_example_/347/247/221/347/240/224/351/241/271/347/233/256/347/256/200/346/212/245.md" +16 -0
@@ -0,0 +1,13 @@
1
+ # 📰 内容发布 SOP 示例:承诺到证据
2
+
3
+ ## 目标
4
+ - 把产品承诺转成可验证、可传播的内容资产。
5
+
6
+ ## 流程
7
+ 1. 选一个核心主张(如“每周执行稳定性提升”)。
8
+ 2. 绑定一个真实案例或指标证据。
9
+ 3. 输出三种内容形态:短帖、图卡、长文。
10
+ 4. 记录互动与转化数据(收藏、评论、预约演示)。
11
+
12
+ ## 质量门槛
13
+ - 每条内容必须包含:问题、机制、证据、下一步行动。
@@ -0,0 +1,16 @@
1
+ # 科研
2
+
3
+ 科研场景 SOP 目录。
4
+
5
+ ## 📁 目录结构
6
+
7
+ ```bash
8
+ 科研/
9
+ └── <SOP 文件>.md
10
+ ```
11
+
12
+ ## 💡 使用说明
13
+
14
+ - 存放科研相关流程(检索、实验、写作、投稿等)。
15
+ - SOP 应保持步骤化与可执行。
16
+ - 具体执行规则遵循上级 `🔄 流程/INSTRUCTION.md`。
@@ -0,0 +1,16 @@
1
+ # 🔬 文献综述 SOP 示例:为产品主张提供证据
2
+
3
+ ## 目标
4
+ - 为 MindOS 的核心价值主张补充可靠研究证据。
5
+
6
+ ## 步骤
7
+ 1. 检索 10 篇与记忆系统、Agent 可靠性相关论文。
8
+ 2. 提炼 3 条可支撑产品叙事的证据结论。
9
+ 3. 每条结论写成“研究结论 -> 产品含义 -> 可宣传语句”。
10
+ 4. 将可复用证据沉淀到资源索引,便于后续传播复用。
11
+
12
+ ## 产出格式
13
+ - 结论:
14
+ - 证据来源:
15
+ - 产品含义:
16
+ - 对外表达(合规):
@@ -0,0 +1,3 @@
1
+ # Configurations Workflow
2
+
3
+ 配置与环境搭建相关工作流。
@@ -0,0 +1,26 @@
1
+ # ⚙️ Agent MCP/Skill 一次配置 SOP 示例
2
+
3
+ ## 目标
4
+ - 把 Agent 的 MCP 与 Skill 配置固化到 MindOS。
5
+ - 避免每次新会话都重复手动配置。
6
+
7
+ ## 触发条件
8
+ - 新增或更换 MCP 服务。
9
+ - 新增或升级常用 Skill。
10
+ - Agent 行为协议有变更(读取顺序、执行边界、安全规则等)。
11
+
12
+ ## 前置输入
13
+ - 目标配置清单(MCP、Skill、行为规则)。
14
+ - 当前模板路径:`templates/zh/`。
15
+
16
+ ## 步骤
17
+ 1. 新建或更新 Agent 协议文档。
18
+ 2. 新建或更新 MCP 清单文档(仅记录流程,不写明文密钥)。
19
+ 3. 新建或更新 Skill 清单文档。
20
+ 4. 同步 `CONFIG.json` 与 `CONFIG.md`。
21
+ 5. 运行 `rg` 清理旧路径与失效引用。
22
+
23
+ ## 验收标准
24
+ - 新会话可直接按文档加载 MCP/Skill,无需二次手配。
25
+ - 配置策略与目录规则一致。
26
+ - 对外演示时可体现“低摩擦、可复用、可持续”的产品价值。
@@ -0,0 +1,62 @@
1
+ # 关系目录 Instruction Set
2
+
3
+ ## 目标
4
+
5
+ - 定义 `🔗 关系/` 目录的局部执行规则。
6
+ - 保证总览索引与人物详情文档的一致性。
7
+
8
+ ## 规则优先级
9
+
10
+ - 本目录内规则优先级:
11
+ `根 INSTRUCTION.md` > `本目录 INSTRUCTION.md` > `README.md` > 内容文件。
12
+ - 发生冲突时,一律以根规则为准。
13
+
14
+ ## 局部规则
15
+
16
+ - 在目录根下维护总览索引:`关系总览.csv`。
17
+ - 每个人必须有独立 `*.md`,存放在分类目录:`家人/`、`朋友/`、`同学/`、`同事/`。
18
+ - `关系总览.csv` 的 `MdPath` 使用相对路径并指向真实文件。
19
+ - 示例内容只用于参考,不可作为用户真实事实。
20
+
21
+ ## 执行顺序
22
+
23
+ 1. 先读根 `INSTRUCTION.md`
24
+ 2. 再读本文件(`🔗 关系/INSTRUCTION.md`)
25
+ 3. 再读 `🔗 关系/README.md` 与 `关系总览.csv`
26
+ 4. 再读各分类目录下目标人物 `*.md`
27
+ 5. 开始执行
28
+
29
+ ## 边界
30
+
31
+ - 与根规则冲突时,根规则优先。
32
+
33
+ ## 字段规范
34
+
35
+ `关系总览.csv` 首行表头:
36
+
37
+ - `Name`
38
+ - `Category`
39
+ - `Relationship`
40
+ - `CurrentRole`
41
+ - `Location`
42
+ - `Status`
43
+ - `LastInteraction`
44
+ - `MdPath`
45
+ - `UpdatedAt`
46
+
47
+ 说明:
48
+
49
+ - `Category` 取值:`家人|朋友|同学|同事`
50
+ - `MdPath` 使用相对路径(例如 `朋友/张三.md`)
51
+ - `UpdatedAt` 使用 `YYYY-MM-DD`
52
+
53
+ ## 同步规则(关系)
54
+
55
+ - 新增人物:在对应分类目录创建人物 `*.md`,并在 `关系总览.csv` 追加一行。
56
+ - 删除或重命名人物文件:同步更新 `关系总览.csv` 与所有引用路径。
57
+ - 人物跨分类迁移:同步更新目录位置、`Category` 与 `MdPath`。
58
+
59
+ ## 示例文件约定
60
+
61
+ - 示例文件应直接放在对应分类目录下,命名格式:`🧪_example_xxx.md`。
62
+ - 名称包含 `_example` 或 `_examples` 的文件均不属于用户正式数据。
@@ -0,0 +1,20 @@
1
+ # 关系
2
+
3
+ 用于维护可复用的人际关系信息,帮助 Agent 在沟通与协作中更贴合你的真实语境。
4
+
5
+ ## 目录结构
6
+
7
+ - `关系总览.csv`(总览索引)
8
+ - `家人/`
9
+ - `朋友/`
10
+ - `同学/`
11
+ - `同事/`
12
+
13
+ 示例文件放在各分类目录下,命名为 `🧪_example_xxx.md`。
14
+
15
+ ## 使用说明
16
+
17
+ - 总览数据:先看 `关系总览.csv`,再按需要读取各分类目录下人物 `*.md`。
18
+ - 示例数据:各分类目录下 `🧪_example_xxx.md` 仅用于演示,不作为用户真实信息。
19
+ - 新增人物时,直接在对应分类目录新增人物 `*.md`,并同步更新总览。
20
+ - 字段规范与执行细则以 `INSTRUCTION.md` 为准。
@@ -0,0 +1,5 @@
1
+ Name,Category,Relationship,CurrentRole,Location,Status,LastInteraction,MdPath,UpdatedAt
2
+ James Wang,家人,父亲,退休教师,Hangzhou,active,2026-03-01,家人/🧪_example_家人王建国.md,2026-03-10
3
+ Lily Lin,朋友,大学好友,产品经理,Shanghai,active,2026-03-05,朋友/🧪_example_朋友林小丽.md,2026-03-10
4
+ Leo Chen,同学,研究生同学,算法工程师,Beijing,warm,2026-02-20,同学/🧪_example_同学陈立欧.md,2026-03-10
5
+ Ethan Zhao,同事,前同事,技术负责人,Shenzhen,active,2026-03-08,同事/🧪_example_同事赵一辰.md,2026-03-10
@@ -0,0 +1,11 @@
1
+ # Colleagues
2
+
3
+ 记录职场同事与合作关系。
4
+
5
+ ## 建议字段
6
+
7
+ - 姓名
8
+ - 团队/公司
9
+ - 角色
10
+ - 协作风格
11
+ - 备注
@@ -0,0 +1,16 @@
1
+ # 赵一辰
2
+
3
+ ## 关系
4
+ - 前同事
5
+
6
+ ## 当前角色
7
+ - 技术负责人
8
+
9
+ ## 对 MindOS 的价值
10
+ - 擅长团队级工具落地与采用策略。
11
+
12
+ ## 可协作方向
13
+ - 设计从个人试用到团队扩散的增长路径。
14
+
15
+ ## 下一步
16
+ - 评审试点用户转化与留存方案。
@@ -0,0 +1,11 @@
1
+ # Classmates
2
+
3
+ 记录同学与校友关系。
4
+
5
+ ## 建议字段
6
+
7
+ - 姓名
8
+ - 学校/项目
9
+ - 年级/届别
10
+ - 当前角色
11
+ - 备注
@@ -0,0 +1,16 @@
1
+ # 陈立欧
2
+
3
+ ## 关系
4
+ - 研究生同学
5
+
6
+ ## 当前角色
7
+ - 算法工程师
8
+
9
+ ## 对 MindOS 的价值
10
+ - 可评估技术叙事是否可信、是否易被专业用户认可。
11
+
12
+ ## 可协作方向
13
+ - 上线前评审技术说明与演示脚本。
14
+
15
+ ## 下一步
16
+ - 约 30 分钟进行架构与外部叙事一致性评审。
@@ -0,0 +1,11 @@
1
+ # Family
2
+
3
+ 记录家人关系与关键背景信息。
4
+
5
+ ## 建议字段
6
+
7
+ - 姓名
8
+ - 关系
9
+ - 所在地
10
+ - 沟通偏好
11
+ - 备注
@@ -0,0 +1,16 @@
1
+ # 王建国
2
+
3
+ ## 关系
4
+ - 家人(父亲)
5
+
6
+ ## 背景
7
+ - 退休教师,重视长期主义与执行纪律。
8
+
9
+ ## 对 MindOS 的价值
10
+ - 能从生活与节奏角度给出稳定性建议。
11
+
12
+ ## 可协作方向
13
+ - 协助复盘每周执行节律是否过载。
14
+
15
+ ## 下一步
16
+ - 每月同步一次目标与节奏复盘摘要。
@@ -0,0 +1,11 @@
1
+ # Friends
2
+
3
+ 记录朋友与可信赖伙伴。
4
+
5
+ ## 建议字段
6
+
7
+ - 姓名
8
+ - 背景
9
+ - 共同兴趣
10
+ - 可协作事项
11
+ - 备注
@@ -0,0 +1,16 @@
1
+ # 林小丽
2
+
3
+ ## 关系
4
+ - 大学好友
5
+
6
+ ## 当前角色
7
+ - 产品经理
8
+
9
+ ## 对 MindOS 的价值
10
+ - 擅长产品定位与商业化表达。
11
+
12
+ ## 可协作方向
13
+ - 帮忙评审落地页文案与价值主张清晰度。
14
+
15
+ ## 下一步
16
+ - 邀请其评审“承诺-证据”首屏结构。
@@ -0,0 +1,31 @@
1
+ # 项目目录 Instruction Set
2
+
3
+ ## 目标
4
+
5
+ - 定义 `🚀 项目/` 目录的局部执行规则。
6
+ - 统一产品项目与科研项目的结构管理方式。
7
+
8
+ ## 局部规则
9
+
10
+ - 先读取根 `INSTRUCTION.md`,再读取本文件。
11
+ - 产品项目放在 `产品/`,科研项目放在 `科研/`。
12
+ - 已结束、暂停或终止的项目放在 `已归档/`。
13
+ - 每个项目建议独立目录,避免跨项目文件混放。
14
+ - 项目命名与文档命名应遵守全局命名策略与语言配置。
15
+
16
+ ## 执行顺序
17
+
18
+ 1. 根 `INSTRUCTION.md`
19
+ 2. 本目录 `INSTRUCTION.md`
20
+ 3. 本目录 `README.md` 与目标文件
21
+
22
+ ## 边界
23
+
24
+ - 与根规则冲突时,根规则优先。
25
+
26
+ ## 同步规则(项目)
27
+
28
+ - 新增产品项目:在 `产品/` 下创建项目目录。
29
+ - 新增科研项目:在 `科研/` 下创建项目目录。
30
+ - 项目归档:迁移到 `已归档/` 后,更新相关引用路径。
31
+ - 重命名/删除/移动项目后:同步更新 `🚀 项目/README.md` 与所有路径引用。
@@ -0,0 +1,21 @@
1
+ # 项目
2
+
3
+ 本文件是 `🚀 项目/` 目录的总览与使用约定。
4
+
5
+ ## 📁 目录结构
6
+
7
+ ```bash
8
+ 🚀 项目/
9
+ ├── README.md
10
+ ├── INSTRUCTION.md
11
+ ├── 科研/
12
+ ├── 产品/
13
+ └── 已归档/
14
+ ```
15
+
16
+ ## 💡 使用说明
17
+
18
+ - `科研/`:存放科研项目文档。
19
+ - `产品/`:存放产品项目文档。
20
+ - `已归档/`:存放已结束、暂停或不再活跃的项目资料。
21
+ - 执行与同步规则以 `INSTRUCTION.md` 为准。
@@ -0,0 +1,16 @@
1
+ # 产品
2
+
3
+ 用于存放产品项目文档。
4
+
5
+ ## 📁 目录结构
6
+
7
+ ```bash
8
+ 产品/
9
+ └── <项目名>/
10
+ ```
11
+
12
+ ## 💡 使用说明
13
+
14
+ - 每个产品项目单独建一个子目录。
15
+ - 项目目录内按需要放 PRD、计划、复盘等文档。
16
+ - 具体执行与同步规则遵循上级 `🚀 项目/INSTRUCTION.md`。
@@ -0,0 +1,20 @@
1
+ # 📌 产品项目简报示例:MindOS 对外发布
2
+
3
+ ## 愿景
4
+ - 成为最值得信任的个人 AI 操作系统。
5
+
6
+ ## 核心承诺
7
+ - "把分散输入变成持续产出。"
8
+
9
+ ## 目标人群
10
+ - 被多工具割裂、但追求稳定输出的创作者与构建者。
11
+
12
+ ## 关键交付
13
+ - 价值主张驱动的落地页
14
+ - 60 秒产品演示
15
+ - 真实案例驱动的上手模板
16
+
17
+ ## 核心指标
18
+ - 激活率
19
+ - 次周留存
20
+ - 演示到注册转化率
@@ -0,0 +1,9 @@
1
+ # 已归档
2
+
3
+ 用于存放已结束、暂停或不再活跃的项目资料。
4
+
5
+ ## 💡 使用说明
6
+
7
+ - 归档前确认项目状态(已完成/暂停/终止)。
8
+ - 迁入归档目录时保留核心文档(结论、复盘、关键决策)。
9
+ - 若项目重新启动,可迁回 `产品/` 或 `科研/`。
@@ -0,0 +1,15 @@
1
+ # 🗂️ 归档项目示例:Creator Toolkit v0
2
+
3
+ ## 状态
4
+ - 暂停
5
+
6
+ ## 归档原因
7
+ - 用户反馈显示:执行连续性价值高于模板数量扩展。
8
+
9
+ ## 关键结论
10
+ - 简洁承诺比复杂功能列表更能提升转化。
11
+ - 用户更关注“每周是否持续推进”。
12
+
13
+ ## 可复用资产
14
+ - 上手清单结构
15
+ - 提示词模板骨架
@@ -0,0 +1,16 @@
1
+ # 科研
2
+
3
+ 用于存放科研项目文档。
4
+
5
+ ## 📁 目录结构
6
+
7
+ ```bash
8
+ 科研/
9
+ └── <项目名>/
10
+ ```
11
+
12
+ ## 💡 使用说明
13
+
14
+ - 每个科研项目单独建一个子目录。
15
+ - 项目目录内按需要放方案、实验、论文与复盘文档。
16
+ - 具体执行与同步规则遵循上级 `🚀 项目/INSTRUCTION.md`。
@@ -0,0 +1,16 @@
1
+ # 🧪 科研项目简报示例:可信性与完成率研究
2
+
3
+ ## 研究假设
4
+ - 显式来源追踪可提升用户信任与任务完成质量。
5
+
6
+ ## 研究设计
7
+ - 对照实验:基础助手 vs 可追踪来源助手。
8
+ - 指标:信任评分、纠错频率、任务完成率。
9
+
10
+ ## 产品关联
11
+ - 研究结果直接用于产品叙事与 onboarding 解释。
12
+
13
+ ## 交付物
14
+ - 实验报告
15
+ - 可宣传证据语句(合规版)
16
+ - 产品需求更新建议