@next-open-ai/openbot 0.6.8 → 0.6.66

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 (173) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +155 -136
  3. package/apps/desktop/renderer/dist/assets/index-CxDZnMBH.css +10 -0
  4. package/apps/desktop/renderer/dist/assets/index-k47Qiokg.js +93 -0
  5. package/apps/desktop/renderer/dist/index.html +2 -2
  6. package/dist/cli/cli.js +136 -0
  7. package/dist/cli/extension-cmd.d.ts +15 -0
  8. package/dist/cli/extension-cmd.js +107 -0
  9. package/dist/core/agent/agent-dir.d.ts +6 -0
  10. package/dist/core/agent/agent-dir.js +8 -0
  11. package/dist/core/agent/agent-manager.d.ts +27 -6
  12. package/dist/core/agent/agent-manager.js +147 -26
  13. package/dist/core/agent/proxy/adapters/claude-code-adapter.d.ts +2 -0
  14. package/dist/core/agent/proxy/adapters/claude-code-adapter.js +186 -0
  15. package/dist/core/agent/proxy/adapters/coze-adapter.d.ts +2 -0
  16. package/dist/core/agent/proxy/adapters/coze-adapter.js +406 -0
  17. package/dist/core/agent/proxy/adapters/local-adapter.d.ts +2 -0
  18. package/dist/core/agent/proxy/adapters/local-adapter.js +95 -0
  19. package/dist/core/agent/proxy/adapters/openclawx-adapter.d.ts +2 -0
  20. package/dist/core/agent/proxy/adapters/openclawx-adapter.js +115 -0
  21. package/dist/core/agent/proxy/adapters/opencode-adapter.d.ts +11 -0
  22. package/dist/core/agent/proxy/adapters/opencode-adapter.js +786 -0
  23. package/dist/core/agent/proxy/adapters/opencode-free-models.d.ts +20 -0
  24. package/dist/core/agent/proxy/adapters/opencode-free-models.js +14 -0
  25. package/dist/core/agent/proxy/adapters/opencode-local-runner.d.ts +5 -0
  26. package/dist/core/agent/proxy/adapters/opencode-local-runner.js +95 -0
  27. package/dist/core/agent/proxy/index.d.ts +3 -0
  28. package/dist/core/agent/proxy/index.js +18 -0
  29. package/dist/core/agent/proxy/registry.d.ts +7 -0
  30. package/dist/core/agent/proxy/registry.js +13 -0
  31. package/dist/core/agent/proxy/run-for-channel.d.ts +3 -0
  32. package/dist/core/agent/proxy/run-for-channel.js +31 -0
  33. package/dist/core/agent/proxy/types.d.ts +30 -0
  34. package/dist/core/agent/proxy/types.js +1 -0
  35. package/dist/core/agent/run.js +1 -1
  36. package/dist/core/agent/token-usage-log-extension.d.ts +14 -0
  37. package/dist/core/agent/token-usage-log-extension.js +61 -0
  38. package/dist/core/config/agent-reload-pending.d.ts +9 -0
  39. package/dist/core/config/agent-reload-pending.js +67 -0
  40. package/dist/core/config/desktop-config.d.ts +136 -5
  41. package/dist/core/config/desktop-config.js +470 -46
  42. package/dist/core/config/provider-support-default.js +27 -0
  43. package/dist/core/extensions/index.d.ts +1 -0
  44. package/dist/core/extensions/index.js +1 -0
  45. package/dist/core/extensions/load.d.ts +11 -0
  46. package/dist/core/extensions/load.js +101 -0
  47. package/dist/core/inbound-message-preprocess.d.ts +27 -0
  48. package/dist/core/inbound-message-preprocess.js +96 -0
  49. package/dist/core/local-llm-server/download-model.d.ts +16 -0
  50. package/dist/core/local-llm-server/download-model.js +37 -0
  51. package/dist/core/local-llm-server/index.d.ts +32 -0
  52. package/dist/core/local-llm-server/index.js +152 -0
  53. package/dist/core/local-llm-server/llm-context.d.ts +66 -0
  54. package/dist/core/local-llm-server/llm-context.js +270 -0
  55. package/dist/core/local-llm-server/model-resolve.d.ts +27 -0
  56. package/dist/core/local-llm-server/model-resolve.js +90 -0
  57. package/dist/core/local-llm-server/server.d.ts +1 -0
  58. package/dist/core/local-llm-server/server.js +234 -0
  59. package/dist/core/local-llm-server/start-from-config.d.ts +5 -0
  60. package/dist/core/local-llm-server/start-from-config.js +50 -0
  61. package/dist/core/mcp/adapter.d.ts +4 -2
  62. package/dist/core/mcp/adapter.js +10 -4
  63. package/dist/core/mcp/client.d.ts +4 -0
  64. package/dist/core/mcp/client.js +2 -0
  65. package/dist/core/mcp/config.d.ts +14 -3
  66. package/dist/core/mcp/config.js +68 -3
  67. package/dist/core/mcp/index.d.ts +10 -6
  68. package/dist/core/mcp/index.js +7 -3
  69. package/dist/core/mcp/operator.d.ts +28 -2
  70. package/dist/core/mcp/operator.js +131 -30
  71. package/dist/core/mcp/transport/index.d.ts +4 -0
  72. package/dist/core/mcp/transport/index.js +6 -1
  73. package/dist/core/mcp/transport/stdio.d.ts +12 -0
  74. package/dist/core/mcp/transport/stdio.js +147 -29
  75. package/dist/core/mcp/types.d.ts +18 -0
  76. package/dist/core/memory/compaction-extension.d.ts +4 -3
  77. package/dist/core/memory/compaction-extension.js +6 -14
  78. package/dist/core/memory/embedding-types.d.ts +10 -0
  79. package/dist/core/memory/embedding-types.js +5 -0
  80. package/dist/core/memory/embedding.d.ts +2 -1
  81. package/dist/core/memory/embedding.js +38 -6
  82. package/dist/core/memory/index.js +3 -0
  83. package/dist/core/memory/local-embedding-llama.d.ts +13 -0
  84. package/dist/core/memory/local-embedding-llama.js +78 -0
  85. package/dist/core/memory/local-embedding.d.ts +11 -0
  86. package/dist/core/memory/local-embedding.js +69 -0
  87. package/dist/core/memory/persist-compaction-on-close.d.ts +14 -0
  88. package/dist/core/memory/persist-compaction-on-close.js +32 -0
  89. package/dist/core/session-outlet/index.d.ts +19 -0
  90. package/dist/core/session-outlet/index.js +33 -0
  91. package/dist/core/session-outlet/outlet.d.ts +15 -0
  92. package/dist/core/session-outlet/outlet.js +49 -0
  93. package/dist/core/session-outlet/types.d.ts +35 -0
  94. package/dist/core/session-outlet/types.js +5 -0
  95. package/dist/core/tools/bookmark-tool.d.ts +4 -0
  96. package/dist/core/tools/bookmark-tool.js +59 -3
  97. package/dist/core/tools/index.d.ts +3 -1
  98. package/dist/core/tools/index.js +3 -1
  99. package/dist/core/tools/memory-recall-tool.d.ts +6 -0
  100. package/dist/core/tools/memory-recall-tool.js +77 -0
  101. package/dist/core/tools/truncate-result.d.ts +14 -0
  102. package/dist/core/tools/truncate-result.js +27 -0
  103. package/dist/core/tools/web-search/create-web-search-tool.d.ts +17 -0
  104. package/dist/core/tools/web-search/create-web-search-tool.js +87 -0
  105. package/dist/core/tools/web-search/index.d.ts +4 -0
  106. package/dist/core/tools/web-search/index.js +2 -0
  107. package/dist/core/tools/web-search/providers/brave.d.ts +2 -0
  108. package/dist/core/tools/web-search/providers/brave.js +87 -0
  109. package/dist/core/tools/web-search/providers/duck-duck-scrape.d.ts +2 -0
  110. package/dist/core/tools/web-search/providers/duck-duck-scrape.js +47 -0
  111. package/dist/core/tools/web-search/providers/index.d.ts +5 -0
  112. package/dist/core/tools/web-search/providers/index.js +13 -0
  113. package/dist/core/tools/web-search/types.d.ts +35 -0
  114. package/dist/core/tools/web-search/types.js +4 -0
  115. package/dist/gateway/channel/adapters/telegram.js +13 -2
  116. package/dist/gateway/channel/adapters/wechat.d.ts +24 -0
  117. package/dist/gateway/channel/adapters/wechat.js +205 -0
  118. package/dist/gateway/channel/channel-core.d.ts +1 -0
  119. package/dist/gateway/channel/channel-core.js +101 -59
  120. package/dist/gateway/channel/run-agent.d.ts +2 -4
  121. package/dist/gateway/channel/run-agent.js +13 -125
  122. package/dist/gateway/methods/agent-cancel.d.ts +3 -1
  123. package/dist/gateway/methods/agent-cancel.js +16 -2
  124. package/dist/gateway/methods/agent-chat.d.ts +4 -0
  125. package/dist/gateway/methods/agent-chat.js +377 -118
  126. package/dist/gateway/methods/run-scheduled-task.js +9 -7
  127. package/dist/gateway/proxy-run-abort.d.ts +6 -0
  128. package/dist/gateway/proxy-run-abort.js +39 -0
  129. package/dist/gateway/server.js +123 -19
  130. package/dist/server/agent-config/agent-config.controller.d.ts +10 -2
  131. package/dist/server/agent-config/agent-config.controller.js +19 -4
  132. package/dist/server/agent-config/agent-config.module.js +3 -1
  133. package/dist/server/agent-config/agent-config.service.d.ts +91 -6
  134. package/dist/server/agent-config/agent-config.service.js +115 -3
  135. package/dist/server/agents/agents.controller.d.ts +16 -0
  136. package/dist/server/agents/agents.controller.js +62 -1
  137. package/dist/server/agents/agents.gateway.js +1 -1
  138. package/dist/server/agents/agents.service.js +1 -1
  139. package/dist/server/bootstrap.d.ts +1 -0
  140. package/dist/server/bootstrap.js +28 -4
  141. package/dist/server/config/config.controller.d.ts +134 -2
  142. package/dist/server/config/config.controller.js +199 -3
  143. package/dist/server/config/config.module.js +5 -4
  144. package/dist/server/config/config.service.d.ts +32 -2
  145. package/dist/server/config/config.service.js +69 -9
  146. package/dist/server/config/local-models.service.d.ts +67 -0
  147. package/dist/server/config/local-models.service.js +242 -0
  148. package/dist/server/workspace/workspace.service.d.ts +7 -0
  149. package/dist/server/workspace/workspace.service.js +16 -0
  150. package/package.json +10 -2
  151. package/presets/preset-agents.json +128 -0
  152. package/presets/preset-config.json +29 -0
  153. package/presets/preset-providers.json +180 -0
  154. package/presets/recommended-local-models.json +36 -0
  155. package/presets/workspaces/code-assistant/skills/code-review/SKILL.md +19 -0
  156. package/presets/workspaces/code-assistant/skills/code-runner/SKILL.md +21 -0
  157. package/presets/workspaces/code-assistant/skills/git-helper/SKILL.md +29 -0
  158. package/presets/workspaces/creator-assistant/skills/.gitkeep +0 -0
  159. package/presets/workspaces/creator-assistant/skills/creator-tools/SKILL.md +15 -0
  160. package/presets/workspaces/doc-assistant/skills/doc-processor/SKILL.md +21 -0
  161. package/presets/workspaces/download-assistant/skills/downloader/SKILL.md +20 -0
  162. package/presets/workspaces/file-assistant/skills/file-converter/SKILL.md +21 -0
  163. package/presets/workspaces/file-assistant/skills/file-organizer/SKILL.md +17 -0
  164. package/presets/workspaces/file-assistant/skills/file-search/SKILL.md +22 -0
  165. package/presets/workspaces/morning-briefing/skills/news-fetcher/SKILL.md +16 -0
  166. package/presets/workspaces/morning-briefing/skills/web-summarizer/SKILL.md +20 -0
  167. package/presets/workspaces/news-assistant/skills/news-fetcher/SKILL.md +16 -0
  168. package/presets/workspaces/news-assistant/skills/web-summarizer/SKILL.md +20 -0
  169. package/presets/workspaces/office-automation/skills/rpa-helper/SKILL.md +9 -0
  170. package/presets/workspaces/self-media-bot/skills/self-media-tools/SKILL.md +9 -0
  171. package/skills/url-bookmark/SKILL.md +12 -12
  172. package/apps/desktop/renderer/dist/assets/index-LCp1YPVA.css +0 -10
  173. package/apps/desktop/renderer/dist/assets/index-l5fpDsHs.js +0 -89
@@ -0,0 +1,128 @@
1
+ {
2
+ "presetVersion": "1.0",
3
+ "agents": [
4
+ {
5
+ "id": "default",
6
+ "name": "主智能体",
7
+ "workspace": "default",
8
+ "systemPrompt": "我是你的私人智能助手,全能且乐于助人。无论是日常问答、文档撰写、数据整理还是代码协助,我都能为你提供专业的支持。我会用清晰、友好的语言与你交流,并尽力给出最准确的解答。",
9
+ "icon": "default",
10
+ "runnerType": "local",
11
+ "useLongMemory": true
12
+ },
13
+ {
14
+ "id": "opencode",
15
+ "name": "OpenCode",
16
+ "workspace": "opencode",
17
+ "systemPrompt": "我是 OpenCode 代理智能体,通过 OpenCode 官方服务为你提供编程与代码协助,支持 /init、/undo、/redo、/share、/help 等指令。",
18
+ "icon": "code",
19
+ "runnerType": "opencode",
20
+ "opencode": {
21
+ "mode": "local",
22
+ "port": 4096,
23
+ "model": "opencode/minimax-m2.5-free"
24
+ },
25
+ "useLongMemory": false
26
+ },
27
+ {
28
+ "id": "coze-proxy",
29
+ "name": "Coze 代理",
30
+ "workspace": "coze-proxy",
31
+ "systemPrompt": "我是 Coze 代理智能体,将对话转发至 Coze 平台 Bot。使用前请在设置中填写正确的 Bot ID 与 Access Token。",
32
+ "icon": "star",
33
+ "runnerType": "coze",
34
+ "coze": {
35
+ "region": "cn",
36
+ "cn": {
37
+ "botId": "placeholder-bot-id",
38
+ "apiKey": "placeholder-pat-token"
39
+ }
40
+ },
41
+ "useLongMemory": false
42
+ },
43
+ {
44
+ "id": "file-assistant",
45
+ "name": "文件助手",
46
+ "workspace": "file-assistant",
47
+ "systemPrompt": "你是本地文件管理助手,擅长搜索、整理、格式转换和内容提取。操作前先确认路径和意图,不要删除未经用户确认的文件。",
48
+ "icon": "folder",
49
+ "runnerType": "local",
50
+ "useLongMemory": true
51
+ },
52
+ {
53
+ "id": "doc-assistant",
54
+ "name": "文档助手",
55
+ "workspace": "doc-assistant",
56
+ "systemPrompt": "你是专业的文档排版与生成助手,精通各类文档(如 Word、PDF、Markdown、Excel、PPT 脚本)的格式和规范。你可以帮助用户从现有文档中提取信息,或者根据用户需求生成结构完整、格式精美的专业文档和报告。生成文档前,请先明确目标格式、受众和核心内容。",
57
+ "icon": "📝",
58
+ "runnerType": "local",
59
+ "useLongMemory": true
60
+ },
61
+ {
62
+ "id": "finance-expert",
63
+ "name": "金融专家",
64
+ "workspace": "finance-expert",
65
+ "systemPrompt": "你是金融数据分析专家,擅长通过 akshare 等工具获取行情、财报、资金流向等数据,并进行分析与解读。请注明数据来源与时效,结论仅供参考不构成投资建议。",
66
+ "icon": "star",
67
+ "runnerType": "local",
68
+ "useLongMemory": true,
69
+ "mcpServers": {
70
+ "akshare-tools": {
71
+ "command": "uvx",
72
+ "args": ["akshare-tools"],
73
+ "env": {}
74
+ }
75
+ }
76
+ },
77
+ {
78
+ "id": "self-media-bot",
79
+ "name": "自媒体运营机器人",
80
+ "workspace": "self-media-bot",
81
+ "systemPrompt": "你是自媒体运营助手,协助内容创作、排版与多平台发布。支持通过文颜 MCP 将 Markdown 排版并发布至微信公众号、知乎、今日头条等,以及头条自动发布。使用前请确认用户已配置好对应环境变量(如 WECHAT_APP_ID、WECHAT_APP_SECRET 等)。",
82
+ "icon": "✏️",
83
+ "runnerType": "local",
84
+ "useLongMemory": true,
85
+ "mcpServers": {
86
+ "文颜 MCP": {
87
+ "command": "npx",
88
+ "args": ["-y", "@wenyan-md/mcp"],
89
+ "env": {}
90
+ },
91
+ "头条自动发布 MCP": {
92
+ "command": "npx",
93
+ "args": ["-y", "toutiao-publish-mcp"],
94
+ "env": {}
95
+ }
96
+ }
97
+ },
98
+ {
99
+ "id": "office-automation",
100
+ "name": "办公自动化",
101
+ "workspace": "office-automation",
102
+ "systemPrompt": "你是办公自动化助手,通过影刀 RPA 执行桌面自动化流程,如打开应用、填表、批量处理等。使用前请确认本机已安装影刀 RPA 并配置好 MCP 所需环境变量(如 RPA_MODEL、SHADOWBOT_PATH、USER_FOLDER 等)。",
103
+ "icon": "terminal",
104
+ "runnerType": "local",
105
+ "useLongMemory": true,
106
+ "mcpServers": {
107
+ "影刀 RPA MCP Server": {
108
+ "command": "npx",
109
+ "args": ["-y", "yingdao-mcp-server"],
110
+ "env": {
111
+ "RPA_MODEL": "local",
112
+ "SHADOWBOT_PATH": "/Applications/影刀.app",
113
+ "USER_FOLDER": "/Users/ctrip/Library/Application Support/Shadowbot/users/718771925823332354"
114
+ }
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "id": "morning-briefing",
120
+ "name": "早报机器人",
121
+ "workspace": "morning-briefing",
122
+ "systemPrompt": "你是AI早报机器人,专门生成每日早报与资讯简报。你可以抓取并汇总新闻、RSS与网页内容,整理成结构清晰的早报(含标题、要点摘要、来源链接)。请注明信息来源与时间。适合在每日固定时间生成今日要闻、行业动态或用户指定主题的简报。",
123
+ "icon": "📰",
124
+ "runnerType": "local",
125
+ "useLongMemory": true
126
+ }
127
+ ]
128
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "presetVersion": "1.0",
3
+ "config": {
4
+ "defaultProvider": "local",
5
+ "defaultModel": "hf_unsloth_Qwen3.5-4B-GGUF_Qwen3.5-4B-Q5_K_M.gguf",
6
+ "defaultModelItemCode": "local-qwen35-4b",
7
+ "defaultAgentId": "default",
8
+ "maxAgentSessions": 5,
9
+ "providers": {
10
+ "local": { "baseUrl": "http://127.0.0.1:11435/v1" }
11
+ },
12
+ "configuredModels": [
13
+ {
14
+ "provider": "local",
15
+ "modelId": "hf_unsloth_Qwen3.5-4B-GGUF_Qwen3.5-4B-Q5_K_M.gguf",
16
+ "type": "llm",
17
+ "alias": "Qwen 3.5 4B Q5_K_M",
18
+ "modelItemCode": "local-qwen35-4b"
19
+ },
20
+ {
21
+ "provider": "local",
22
+ "modelId": "hf_ggml-org_embeddinggemma-300M-GGUF_embeddinggemma-300M-Q8_0.gguf",
23
+ "type": "embedding",
24
+ "alias": "EmbeddingGemma 300M Q8 (768维)",
25
+ "modelItemCode": "local-embeddinggemma-300m"
26
+ }
27
+ ]
28
+ }
29
+ }
@@ -0,0 +1,180 @@
1
+ {
2
+ "presetVersion": "1.0",
3
+ "providers": {
4
+ "deepseek": {
5
+ "name": "DeepSeek",
6
+ "baseUrl": "https://api.deepseek.com",
7
+ "models": [
8
+ {
9
+ "id": "deepseek-chat",
10
+ "name": "DeepSeek Chat",
11
+ "types": [
12
+ "llm"
13
+ ]
14
+ },
15
+ {
16
+ "id": "deepseek-reasoner",
17
+ "name": "DeepSeek Reasoner",
18
+ "types": [
19
+ "llm"
20
+ ]
21
+ }
22
+ ]
23
+ },
24
+ "dashscope": {
25
+ "name": "DashScope (Alibaba)",
26
+ "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
27
+ "models": [
28
+ {
29
+ "id": "qwen-max",
30
+ "name": "Qwen Max",
31
+ "types": [
32
+ "llm"
33
+ ]
34
+ },
35
+ {
36
+ "id": "qwen-plus",
37
+ "name": "Qwen Plus",
38
+ "types": [
39
+ "llm"
40
+ ]
41
+ }
42
+ ]
43
+ },
44
+ "openai": {
45
+ "name": "OpenAI",
46
+ "baseUrl": "https://api.openai.com/v1",
47
+ "models": [
48
+ {
49
+ "id": "gpt-4o",
50
+ "name": "GPT-4o",
51
+ "types": [
52
+ "llm"
53
+ ]
54
+ },
55
+ {
56
+ "id": "gpt-4o-mini",
57
+ "name": "GPT-4o Mini",
58
+ "types": [
59
+ "llm"
60
+ ]
61
+ },
62
+ {
63
+ "id": "text-embedding-3-small",
64
+ "name": "Text Embedding 3 Small",
65
+ "types": [
66
+ "embedding"
67
+ ]
68
+ }
69
+ ]
70
+ },
71
+ "openai-custom": {
72
+ "name": "OpenAI (自定义)",
73
+ "models": [
74
+ {
75
+ "id": "qwen3.5:4b",
76
+ "name": "Qwen3.5 4B",
77
+ "types": [
78
+ "llm"
79
+ ]
80
+ },
81
+ {
82
+ "id": "gpt-4o",
83
+ "name": "GPT-4o",
84
+ "types": [
85
+ "llm"
86
+ ]
87
+ },
88
+ {
89
+ "id": "gpt-4o-mini",
90
+ "name": "GPT-4o Mini",
91
+ "types": [
92
+ "llm"
93
+ ]
94
+ },
95
+ {
96
+ "id": "gpt-4-turbo",
97
+ "name": "GPT-4 Turbo",
98
+ "types": [
99
+ "llm"
100
+ ]
101
+ },
102
+ {
103
+ "id": "gpt-3.5-turbo",
104
+ "name": "GPT-3.5 Turbo",
105
+ "types": [
106
+ "llm"
107
+ ]
108
+ },
109
+ {
110
+ "id": "text-embedding-3-small",
111
+ "name": "Text Embedding 3 Small",
112
+ "types": [
113
+ "embedding"
114
+ ]
115
+ },
116
+ {
117
+ "id": "text-embedding-ada-002",
118
+ "name": "Text Embedding Ada 002",
119
+ "types": [
120
+ "embedding"
121
+ ]
122
+ }
123
+ ]
124
+ },
125
+ "nvidia": {
126
+ "name": "NVIDIA",
127
+ "baseUrl": "https://integrate.api.nvidia.com/v1",
128
+ "models": [
129
+ {
130
+ "id": "moonshotai/kimi-k2.5",
131
+ "name": "Kimi K2.5",
132
+ "types": [
133
+ "llm"
134
+ ]
135
+ },
136
+ {
137
+ "id": "nvidia/nemotron-nano-12b-v2",
138
+ "name": "Nemotron Nano 12B v2",
139
+ "types": [
140
+ "llm"
141
+ ]
142
+ },
143
+ {
144
+ "id": "nvidia/nemotron-nano-9b-v2",
145
+ "name": "Nemotron Nano 9B v2",
146
+ "types": [
147
+ "llm"
148
+ ]
149
+ }
150
+ ]
151
+ },
152
+ "kimi": {
153
+ "name": "Kimi (Moonshot)",
154
+ "baseUrl": "https://api.moonshot.cn/v1",
155
+ "models": [
156
+ {
157
+ "id": "moonshot-v1-8k",
158
+ "name": "Moonshot 8K",
159
+ "types": [
160
+ "llm"
161
+ ]
162
+ },
163
+ {
164
+ "id": "moonshot-v1-32k",
165
+ "name": "Moonshot 32K",
166
+ "types": [
167
+ "llm"
168
+ ]
169
+ },
170
+ {
171
+ "id": "moonshot-v1-128k",
172
+ "name": "Moonshot 128K",
173
+ "types": [
174
+ "llm"
175
+ ]
176
+ }
177
+ ]
178
+ }
179
+ }
180
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "presetVersion": "1.0",
3
+ "description": "推荐本地 GGUF 模型列表,用于「模型管理」备下载与已安装展示。版本升级时可在此增删改,以支持更合适的模型。",
4
+ "models": [
5
+ {
6
+ "id": "hf:unsloth/Qwen3.5-4B-GGUF/Qwen3.5-4B-Q5_K_M.gguf",
7
+ "name": "Qwen 3.5 4B Q5_K_M",
8
+ "type": "llm",
9
+ "sizeHint": "~3.2GB"
10
+ },
11
+ {
12
+ "id": "hf:unsloth/Qwen3.5-9B-GGUF/Qwen3.5-9B-Q5_K_M.gguf",
13
+ "name": "Qwen 3.5 9B Q5_K_M",
14
+ "type": "llm",
15
+ "sizeHint": "~6.8GB"
16
+ },
17
+ {
18
+ "id": "hf:ggml-org/embeddinggemma-300M-GGUF/embeddinggemma-300M-Q8_0.gguf",
19
+ "name": "EmbeddingGemma 300M Q8 (768维)",
20
+ "type": "embedding",
21
+ "sizeHint": "~300MB"
22
+ },
23
+ {
24
+ "id": "hf:gpustack/bge-m3-GGUF/bge-m3-Q8_0.gguf",
25
+ "name": "BGE-M3 Q8 多语言 (1024维)",
26
+ "type": "embedding",
27
+ "sizeHint": "~1.2GB"
28
+ },
29
+ {
30
+ "id": "hf:mixedbread-ai/mxbai-embed-large-v1-GGUF/mxbai-embed-large-v1-f16.gguf",
31
+ "name": "MxBai Embed Large v1 (1024维)",
32
+ "type": "embedding",
33
+ "sizeHint": "~670MB"
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: code-review
3
+ description: Reads and analyzes source code files or project structures, identifies bugs, and suggests structural architectural or security improvements.
4
+ allowed-tools: read, bash
5
+ ---
6
+
7
+ # Code Review Skill
8
+
9
+ Use this skill when the user asks you to review code, understand a project structure, or suggest improvements to existing files.
10
+
11
+ ## Guidelines
12
+
13
+ 1. **Understand Context**: Before making suggestions, use the `read` or `bash` tools (e.g., `ls -R`, `cat`) to understand the surrounding project structure, package dependencies (`package.json`, `pom.xml`, etc.), and related files.
14
+ 2. **Analysis Focus**:
15
+ - **Bugs/Logic Errors**: Identify edge cases, null pointer risks, race conditions, etc.
16
+ - **Clean Code**: Suggest naming improvements, refactorings to reduce complexity, or adherence to SOLID principles.
17
+ - **Performance**: Identify O(N^2) loops where O(N) is possible, memory leaks, unoptimized queries, etc.
18
+ - **Security**: Check for hardcoded credentials, SQL injection vectors, or XSS vulnerabilities.
19
+ 3. **Actionable Output**: Always provide actionable feedback. Instead of just saying "this is bad", provide the corrected code snippet.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: code-runner
3
+ description: Executes code snippets by saving them to a temporary file and running them via bash commands (e.g., node, python, go run) to test logic or compute results.
4
+ allowed-tools: bash, write
5
+ ---
6
+
7
+ # Code Runner Skill
8
+
9
+ Use this skill to quickly execute a piece of code to test logic, write a script for the user, or run built-in system tools.
10
+
11
+ ## Workflow
12
+
13
+ 1. Determine the language required (Node.js, Python, Shell, Go, etc.).
14
+ 2. Write the code snippet to a temporary file using the `write` tool (e.g., in `/tmp/test-script.js`).
15
+ 3. Use the `bash` tool to execute the script (e.g., `node /tmp/test-script.js`).
16
+ 4. Capture the standard output and standard error.
17
+ 5. Provide the execution result to the user.
18
+ 6. Clean up the temporary file using `bash` (`rm /tmp/test-script.js`).
19
+
20
+ ## Example Usage
21
+ If the user asks "How do I reverse a string in JavaScript? Show me.", write a script with the solution, run it to verify it works, and show them both the code and the verified output.
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: git-helper
3
+ description: Assists with git operations, such as checking branch status, creating commits, stashing changes, resolving conflicts, or analyzing git history.
4
+ allowed-tools: bash
5
+ ---
6
+
7
+ # Git Helper Skill
8
+
9
+ Use this skill to help users manage their Git repositories.
10
+
11
+ ## Common Operations
12
+
13
+ 1. **Status & Changes**:
14
+ - `git status` to see current state.
15
+ - `git diff` or `git diff --cached` to see exact line changes.
16
+ 2. **Committing**:
17
+ - `git add <files>` to stage.
18
+ - Write clear and descriptive commit messages following conventional commits standard.
19
+ 3. **Branching**:
20
+ - `git checkout -b <branch>` to create a new branch.
21
+ - `git branch -a` to list all branches.
22
+ 4. **History**:
23
+ - `git log --oneline --graph --decorate -n 10` for a compact history view.
24
+ 5. **Conflict Resolution**:
25
+ - Use `git status` to identify conflicting files.
26
+ - Ask the user how they wish to resolve the conflict before editing the files.
27
+
28
+ ## Safeguards
29
+ NEVER run `git push`, `git reset --hard`, or `git clean -fd` without EXPLICIT user confirmation via the `notify_user` tool.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: creator-tools
3
+ description: 使用影刀 RPA、文颜 MCP、头条自动发布等 MCP 工具,完成内容创作、排版与多平台发布。使用前请确认用户已配置对应环境变量。
4
+ allowed-tools: 各 MCP 暴露的工具(影刀流程执行、文颜排版与发布、头条发布等)
5
+ ---
6
+
7
+ # 创作者工具 Skill
8
+
9
+ 当用户需要完成以下任务时使用本技能:
10
+
11
+ 1. **影刀 RPA**:执行桌面自动化流程、运行影刀脚本。
12
+ 2. **文颜**:将 Markdown 排版并发布至微信公众号、知乎、今日头条等(需配置 WECHAT_APP_ID、WECHAT_APP_SECRET 等)。
13
+ 3. **头条自动发布**:通过 MCP 将内容发布到今日头条。
14
+
15
+ 使用 MCP 前请确认用户已安装对应 npm 包并配置好环境变量。
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: doc-processor
3
+ description: Reads, parses, and generates documents in various formats like Markdown, PDF, docx, CSV, or HTML. Uses bash commands to invoke document conversion tools like pandoc or python scripts.
4
+ allowed-tools: read, write, bash
5
+ ---
6
+
7
+ # Document Processor Skill
8
+
9
+ Use this skill when the user asks you to read specific technical documents, summarize reports, or generate structured files (like a structured markdown report, a CSV of data, or an HTML presentation).
10
+
11
+ ## Workflow
12
+
13
+ 1. **Reading Documents**:
14
+ - If the file is plaintext (txt, md, csv, json), use the `read` tool directly.
15
+ - If it's a binary document (pdf, docx), check if tools like `pdftotext` or `pandoc` are installed via the `bash` tool, then convert it to text in a temporary directory (`/tmp/`) before reading it.
16
+ 2. **Generating Documents**:
17
+ - Understand the required structure and content from the user.
18
+ - Draft the content in a plaintext format (e.g., Markdown) using the `write` tool.
19
+ - If the user requested a specific format like PDF or HTML, use `bash` to run `pandoc output.md -o output.pdf` or similar commands.
20
+ 3. If necessary tools (like pandoc) are missing, politely inform the user to install them or provide the drafted Markdown as a fallback.
21
+ 4. Notify the user with the path to the newly generated document.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: downloader
3
+ description: Downloads files, images, or media from URLs using curl, wget, or python scripts. Can handle bulk downloads and save them to a specified directory.
4
+ allowed-tools: bash
5
+ ---
6
+
7
+ # Downloader Skill
8
+
9
+ Use this skill to download resources from the internet to the user's local file system.
10
+
11
+ ## Workflow
12
+
13
+ 1. Identify the URL(s) to download and the target destination directory. If no directory is specified, default to `~/Downloads/OpenClawX/` and inform the user.
14
+ 2. Ensure the destination directory exists using `bash` (`mkdir -p <dir>`).
15
+ 3. Use a tool like `wget` or `curl` via the `bash` tool:
16
+ - Example: `wget -P ~/Downloads/OpenClawX/ <URL>`
17
+ - For multiple files, write urls to a file and use `wget -i <file>`.
18
+ 4. If downloading media (like video), suggest to the user to use `yt-dlp` or similar tools if they are available on the system.
19
+ 5. Check if the download succeeded (e.g., using `ls -l` on the destination file).
20
+ 6. Provide the exact path of the downloaded file(s) to the user.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: file-converter
3
+ description: Converts files between formats (e.g., PDF to text, image OCR, docx to pdf) using system tools available in bash (like pandoc, tesseract, ImageMagick, or pdf2text).
4
+ allowed-tools: bash
5
+ ---
6
+
7
+ # File Converter Skill
8
+
9
+ Use this skill to convert a file from one format to another or extract content from files.
10
+
11
+ ## Workflow
12
+
13
+ 1. Identify the source file format and the target format.
14
+ 2. Determine which system tool is available and best suited for the conversion:
15
+ - For document conversion (Markdown, HTML, Word): `pandoc`
16
+ - For images (resize, format change): `convert` or `magick` (ImageMagick)
17
+ - For PDF text extraction: `pdftotext`
18
+ - For OCR on images: `tesseract`
19
+ 3. Use the `bash` tool to check if the required tool is installed (e.g., `which pandoc`). If not, inform the user they need to install the dependency.
20
+ 4. Execute the conversion command via `bash`.
21
+ 5. Verify the output file exists and has content, then notify the user.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: file-organizer
3
+ description: Organizes, categorizes, and renames files in a directory based on user instructions. Uses bash commands to move, copy, or rename files.
4
+ allowed-tools: bash
5
+ ---
6
+
7
+ # File Organizer Skill
8
+
9
+ Use this skill when the user asks to organize, categorize, or rename files in a specific directory.
10
+
11
+ ## Workflow
12
+
13
+ 1. Use `ls` or `find` to list the files in the target directory to understand the current structure and file types.
14
+ 2. Based on the user's intent (e.g., "group by extension", "sort images by date"), formulate a plan using `bash` commands like `mkdir`, `mv`, `cp`, or `rename`.
15
+ 3. Before executing destructive commands (like moving or renaming many files), EXPLICITLY confirm the plan with the user by asking for permission using the `notify_user` tool unless the user has already explicitly authorized it.
16
+ 4. Execute the bash script to organize the files.
17
+ 5. Verify the result using `ls -la` and report back to the user.
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: file-search
3
+ description: Searches for files by name, extension, size, or content using powerful system tools like grep or find.
4
+ allowed-tools: bash
5
+ ---
6
+
7
+ # File Search Skill
8
+
9
+ Use this skill to recursively search for files or file contents within a specified directory.
10
+
11
+ ## Workflow
12
+
13
+ 1. Identify the user's search criteria:
14
+ - By name/extension pattern (e.g., "*.md")
15
+ - By content (e.g., "contains the word 'auth'")
16
+ - By metadata (e.g., "modified in the last 7 days", "larger than 10MB")
17
+ 2. Formulate the appropriate `bash` command:
18
+ - Use `find <dir> -name "*.ext" -type f` to search by name.
19
+ - Use `grep -rn "pattern" <dir>` or `rg "pattern" <dir>` (if ripgrep is available) to search by content.
20
+ - Use `find <dir> -mtime -7 -size +10M` to search by metadata.
21
+ 3. Execute the command using the `bash` tool.
22
+ 4. Process the output and present the results clearly to the user.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: news-fetcher
3
+ description: Fetches top news, recent articles, or RSS feeds from the web using curl, wget or custom scripts to provide the user with the latest information on a given topic.
4
+ allowed-tools: read_url_content, bash
5
+ ---
6
+
7
+ # News Fetcher Skill
8
+
9
+ Use this skill when the user asks for the latest news, updates on a topic, or trending topics.
10
+
11
+ ## Workflow
12
+
13
+ 1. Understand the user's topic of interest (e.g., "AI news", "technology", "sports").
14
+ 2. Use the `read_url_content` tool to fetch RSS feeds (like news.ycombinator.com/rss) or news aggregator sites. If the site requires JavaScript, advise the user that the `agent-browser` skill might be more appropriate.
15
+ 3. Parse the retrieved content. If it's XML/RSS, you can use `bash` tools (like `xmllint`, `grep`, or short python scripts) to extract titles and URLs.
16
+ 4. Present the top 5-10 headlines with URLs to the user in a clean, markdown-formatted list.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: web-summarizer
3
+ description: Reads the content of an article or webpage, extracts the main points, and provides a concise, structured summary.
4
+ allowed-tools: read_url_content
5
+ ---
6
+
7
+ # Web Summarizer Skill
8
+
9
+ Use this skill to extract the core message from long articles, blog posts, or webpage content without the user having to read the whole text.
10
+
11
+ ## Workflow
12
+
13
+ 1. Receive a URL from the user or from a previous step (like `news-fetcher`).
14
+ 2. Use the `read_url_content` tool to retrieve the page content.
15
+ 3. Analyze the returned markdown content, ignoring navigation elements, ads, and footers.
16
+ 4. Generate a structured summary containing:
17
+ - **Title**: The main topic.
18
+ - **TL;DR**: A one-sentence summary.
19
+ - **Key Points**: 3 to 5 bullet points with the most important facts.
20
+ 5. If the article is too long to read in one go, inform the user you are summarizing the beginning of the article.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: news-fetcher
3
+ description: Fetches top news, recent articles, or RSS feeds from the web using curl, wget or custom scripts to provide the user with the latest information on a given topic.
4
+ allowed-tools: read_url_content, bash
5
+ ---
6
+
7
+ # News Fetcher Skill
8
+
9
+ Use this skill when the user asks for the latest news, updates on a topic, or trending topics.
10
+
11
+ ## Workflow
12
+
13
+ 1. Understand the user's topic of interest (e.g., "AI news", "technology", "sports").
14
+ 2. Use the `read_url_content` tool to fetch RSS feeds (like news.ycombinator.com/rss) or news aggregator sites. If the site requires JavaScript, advise the user that the `agent-browser` skill might be more appropriate.
15
+ 3. Parse the retrieved content. If it's XML/RSS, you can use `bash` tools (like `xmllint`, `grep`, or short python scripts) to extract titles and URLs.
16
+ 4. Present the top 5-10 headlines with URLs to the user in a clean, markdown-formatted list.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: web-summarizer
3
+ description: Reads the content of an article or webpage, extracts the main points, and provides a concise, structured summary.
4
+ allowed-tools: read_url_content
5
+ ---
6
+
7
+ # Web Summarizer Skill
8
+
9
+ Use this skill to extract the core message from long articles, blog posts, or webpage content without the user having to read the whole text.
10
+
11
+ ## Workflow
12
+
13
+ 1. Receive a URL from the user or from a previous step (like `news-fetcher`).
14
+ 2. Use the `read_url_content` tool to retrieve the page content.
15
+ 3. Analyze the returned markdown content, ignoring navigation elements, ads, and footers.
16
+ 4. Generate a structured summary containing:
17
+ - **Title**: The main topic.
18
+ - **TL;DR**: A one-sentence summary.
19
+ - **Key Points**: 3 to 5 bullet points with the most important facts.
20
+ 5. If the article is too long to read in one go, inform the user you are summarizing the beginning of the article.
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: rpa-helper
3
+ description: 通过影刀 RPA MCP 执行桌面自动化流程,如打开应用、填表、批量操作等。使用前请确认已安装影刀 RPA 并配置 RPA_MODEL、SHADOWBOT_PATH 等环境变量。
4
+ allowed-tools: 影刀 RPA MCP Server 暴露的工具
5
+ ---
6
+
7
+ # 办公自动化(影刀 RPA)
8
+
9
+ 当用户需要执行桌面自动化、运行影刀流程或批量操作时,调用影刀 RPA MCP。请确认用户已配置好影刀环境变量。