tachibot-mcp 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/.env.example +260 -0
  2. package/CHANGELOG.md +54 -0
  3. package/CODE_OF_CONDUCT.md +56 -0
  4. package/CONTRIBUTING.md +54 -0
  5. package/Dockerfile +36 -0
  6. package/LICENSE +644 -0
  7. package/README.md +201 -0
  8. package/SECURITY.md +95 -0
  9. package/dist/personality/komaai-expressions.js +12 -0
  10. package/dist/profiles/balanced.json +33 -0
  11. package/dist/profiles/code_focus.json +33 -0
  12. package/dist/profiles/full.json +33 -0
  13. package/dist/profiles/minimal.json +33 -0
  14. package/dist/profiles/research_power.json +33 -0
  15. package/dist/scripts/build-profiles.js +46 -0
  16. package/dist/src/application/services/focus/FocusModeRegistry.js +46 -0
  17. package/dist/src/application/services/focus/FocusTool.service.js +109 -0
  18. package/dist/src/application/services/focus/ModeRegistry.js +46 -0
  19. package/dist/src/application/services/focus/modes/focus-deep.mode.js +27 -0
  20. package/dist/src/application/services/focus/modes/status.mode.js +50 -0
  21. package/dist/src/application/services/focus/modes/tachibot-status.mode.js +50 -0
  22. package/dist/src/collaborative-orchestrator.js +391 -0
  23. package/dist/src/config/model-constants.js +188 -0
  24. package/dist/src/config/model-defaults.js +57 -0
  25. package/dist/src/config/model-preferences.js +382 -0
  26. package/dist/src/config/timeout-config.js +130 -0
  27. package/dist/src/config.js +173 -0
  28. package/dist/src/domain/interfaces/IFocusMode.js +5 -0
  29. package/dist/src/domain/interfaces/IProvider.js +6 -0
  30. package/dist/src/domain/interfaces/ITool.js +5 -0
  31. package/dist/src/focus-deep.js +245 -0
  32. package/dist/src/infrastructure/ascii/art/robots.ascii.js +16 -0
  33. package/dist/src/mcp-client.js +90 -0
  34. package/dist/src/memory/index.js +17 -0
  35. package/dist/src/memory/memory-config.js +135 -0
  36. package/dist/src/memory/memory-interface.js +174 -0
  37. package/dist/src/memory/memory-manager.js +383 -0
  38. package/dist/src/memory/providers/devlog-provider.js +385 -0
  39. package/dist/src/memory/providers/hybrid-provider.js +399 -0
  40. package/dist/src/memory/providers/local-provider.js +388 -0
  41. package/dist/src/memory/providers/mem0-provider.js +337 -0
  42. package/dist/src/modes/architect.js +477 -0
  43. package/dist/src/modes/auditor.js +362 -0
  44. package/dist/src/modes/challenger.js +841 -0
  45. package/dist/src/modes/code-reviewer.js +382 -0
  46. package/dist/src/modes/commit-guardian.js +424 -0
  47. package/dist/src/modes/documentation-writer.js +572 -0
  48. package/dist/src/modes/scout.js +587 -0
  49. package/dist/src/modes/shared/helpers/challenger-helpers.js +454 -0
  50. package/dist/src/modes/shared/helpers/index.js +17 -0
  51. package/dist/src/modes/shared/helpers/scout-helpers.js +270 -0
  52. package/dist/src/modes/shared/helpers/verifier-helpers.js +332 -0
  53. package/dist/src/modes/test-architect.js +767 -0
  54. package/dist/src/modes/verifier.js +378 -0
  55. package/dist/src/monitoring/performance-monitor.js +435 -0
  56. package/dist/src/optimization/batch-executor.js +121 -0
  57. package/dist/src/optimization/context-pruner.js +196 -0
  58. package/dist/src/optimization/cost-monitor.js +338 -0
  59. package/dist/src/optimization/index.js +65 -0
  60. package/dist/src/optimization/model-router.js +264 -0
  61. package/dist/src/optimization/result-cache.js +114 -0
  62. package/dist/src/optimization/token-optimizer.js +257 -0
  63. package/dist/src/optimization/token-tracker.js +118 -0
  64. package/dist/src/orchestrator-instructions.js +128 -0
  65. package/dist/src/orchestrator-lite.js +139 -0
  66. package/dist/src/orchestrator.js +191 -0
  67. package/dist/src/orchestrators/collaborative/interfaces/IToolExecutionEngine.js +1 -0
  68. package/dist/src/orchestrators/collaborative/interfaces/IToolExecutionStrategy.js +5 -0
  69. package/dist/src/orchestrators/collaborative/interfaces/IVisualizationRenderer.js +1 -0
  70. package/dist/src/orchestrators/collaborative/registries/ModelProviderRegistry.js +95 -0
  71. package/dist/src/orchestrators/collaborative/registries/ToolAdapterRegistry.js +64 -0
  72. package/dist/src/orchestrators/collaborative/services/tool-execution/ToolExecutionService.js +502 -0
  73. package/dist/src/orchestrators/collaborative/services/visualization/VisualizationService.js +206 -0
  74. package/dist/src/orchestrators/collaborative/types/session-types.js +5 -0
  75. package/dist/src/profiles/balanced.js +37 -0
  76. package/dist/src/profiles/code_focus.js +37 -0
  77. package/dist/src/profiles/debug_intensive.js +59 -0
  78. package/dist/src/profiles/full.js +37 -0
  79. package/dist/src/profiles/minimal.js +37 -0
  80. package/dist/src/profiles/research_code.js +59 -0
  81. package/dist/src/profiles/research_power.js +37 -0
  82. package/dist/src/profiles/types.js +5 -0
  83. package/dist/src/profiles/workflow_builder.js +53 -0
  84. package/dist/src/prompt-engineer-lite.js +78 -0
  85. package/dist/src/prompt-engineer.js +399 -0
  86. package/dist/src/reasoning-chain.js +508 -0
  87. package/dist/src/sequential-thinking.js +291 -0
  88. package/dist/src/server-diagnostic.js +74 -0
  89. package/dist/src/server-raw.js +158 -0
  90. package/dist/src/server-simple.js +58 -0
  91. package/dist/src/server.js +514 -0
  92. package/dist/src/session/session-logger.js +617 -0
  93. package/dist/src/session/session-manager.js +571 -0
  94. package/dist/src/session/session-tools.js +400 -0
  95. package/dist/src/tools/advanced-modes.js +200 -0
  96. package/dist/src/tools/claude-integration.js +356 -0
  97. package/dist/src/tools/consolidated/ai-router.js +174 -0
  98. package/dist/src/tools/consolidated/ai-tool.js +48 -0
  99. package/dist/src/tools/consolidated/brainstorm-tool.js +87 -0
  100. package/dist/src/tools/consolidated/environment-detector.js +80 -0
  101. package/dist/src/tools/consolidated/index.js +50 -0
  102. package/dist/src/tools/consolidated/search-tool.js +110 -0
  103. package/dist/src/tools/consolidated/workflow-tool.js +238 -0
  104. package/dist/src/tools/gemini-tools.js +329 -0
  105. package/dist/src/tools/grok-enhanced.js +376 -0
  106. package/dist/src/tools/grok-tools.js +299 -0
  107. package/dist/src/tools/lmstudio-tools.js +223 -0
  108. package/dist/src/tools/openai-tools.js +498 -0
  109. package/dist/src/tools/openrouter-tools.js +317 -0
  110. package/dist/src/tools/optimized-wrapper.js +204 -0
  111. package/dist/src/tools/perplexity-tools.js +294 -0
  112. package/dist/src/tools/pingpong-tool.js +343 -0
  113. package/dist/src/tools/qwen-wrapper.js +74 -0
  114. package/dist/src/tools/tool-router.js +444 -0
  115. package/dist/src/tools/unified-ai-provider.js +260 -0
  116. package/dist/src/tools/workflow-runner.js +425 -0
  117. package/dist/src/tools/workflow-validator-tool.js +107 -0
  118. package/dist/src/types.js +23 -0
  119. package/dist/src/utils/input-validator.js +130 -0
  120. package/dist/src/utils/model-router.js +91 -0
  121. package/dist/src/utils/progress-stream.js +255 -0
  122. package/dist/src/utils/provider-router.js +88 -0
  123. package/dist/src/utils/smart-api-client.js +146 -0
  124. package/dist/src/utils/table-builder.js +218 -0
  125. package/dist/src/utils/timestamp-formatter.js +134 -0
  126. package/dist/src/utils/tool-compressor.js +257 -0
  127. package/dist/src/utils/tool-config.js +201 -0
  128. package/dist/src/validators/dependency-graph-validator.js +147 -0
  129. package/dist/src/validators/interpolation-validator.js +222 -0
  130. package/dist/src/validators/output-usage-validator.js +151 -0
  131. package/dist/src/validators/syntax-validator.js +102 -0
  132. package/dist/src/validators/tool-registry-validator.js +123 -0
  133. package/dist/src/validators/tool-types.js +97 -0
  134. package/dist/src/validators/types.js +8 -0
  135. package/dist/src/validators/workflow-validator.js +134 -0
  136. package/dist/src/visualizer-lite.js +42 -0
  137. package/dist/src/visualizer.js +179 -0
  138. package/dist/src/workflows/circuit-breaker.js +199 -0
  139. package/dist/src/workflows/custom-workflows.js +451 -0
  140. package/dist/src/workflows/engine/AutoSynthesizer.js +97 -0
  141. package/dist/src/workflows/engine/StepParameterResolver.js +74 -0
  142. package/dist/src/workflows/engine/VariableInterpolator.js +123 -0
  143. package/dist/src/workflows/engine/WorkflowDiscovery.js +125 -0
  144. package/dist/src/workflows/engine/WorkflowExecutionEngine.js +485 -0
  145. package/dist/src/workflows/engine/WorkflowExecutor.js +113 -0
  146. package/dist/src/workflows/engine/WorkflowFileManager.js +244 -0
  147. package/dist/src/workflows/engine/WorkflowHelpers.js +114 -0
  148. package/dist/src/workflows/engine/WorkflowOutputFormatter.js +83 -0
  149. package/dist/src/workflows/engine/events/WorkflowEventBus.js +132 -0
  150. package/dist/src/workflows/engine/events/interfaces/IEventBus.js +5 -0
  151. package/dist/src/workflows/engine/handlers/ErrorRecoveryHandler.js +162 -0
  152. package/dist/src/workflows/engine/handlers/PromptEnhancementHandler.js +115 -0
  153. package/dist/src/workflows/engine/handlers/SessionPersistenceHandler.js +167 -0
  154. package/dist/src/workflows/engine/handlers/StepExecutionHandler.js +231 -0
  155. package/dist/src/workflows/engine/handlers/ToolInvocationHandler.js +46 -0
  156. package/dist/src/workflows/engine/interfaces/IAutoSynthesizer.js +5 -0
  157. package/dist/src/workflows/engine/interfaces/IStepParameterResolver.js +5 -0
  158. package/dist/src/workflows/engine/interfaces/IVariableInterpolator.js +5 -0
  159. package/dist/src/workflows/engine/interfaces/IWorkflowDiscovery.js +4 -0
  160. package/dist/src/workflows/engine/interfaces/IWorkflowFileManager.js +5 -0
  161. package/dist/src/workflows/engine/interfaces/IWorkflowOutputFormatter.js +5 -0
  162. package/dist/src/workflows/engine/state/WorkflowStateMachine.js +194 -0
  163. package/dist/src/workflows/engine/state/interfaces/IStateMachine.js +17 -0
  164. package/dist/src/workflows/fallback-strategies.js +373 -0
  165. package/dist/src/workflows/message-queue.js +455 -0
  166. package/dist/src/workflows/model-router.js +189 -0
  167. package/dist/src/workflows/orchestrator-examples.js +174 -0
  168. package/dist/src/workflows/orchestrator-integration.js +200 -0
  169. package/dist/src/workflows/self-healing.js +524 -0
  170. package/dist/src/workflows/tool-mapper.js +407 -0
  171. package/dist/src/workflows/tool-orchestrator.js +796 -0
  172. package/dist/src/workflows/workflow-engine.js +573 -0
  173. package/dist/src/workflows/workflow-parser.js +283 -0
  174. package/dist/src/workflows/workflow-types.js +95 -0
  175. package/dist/src/workflows.js +568 -0
  176. package/dist/test-workflow-file-output.js +93 -0
  177. package/docs/API_KEYS.md +570 -0
  178. package/docs/CLAUDE_CODE_SETUP.md +181 -0
  179. package/docs/CLAUDE_DESKTOP_MANUAL.md +127 -0
  180. package/docs/CONFIGURATION.md +745 -0
  181. package/docs/FOCUS_MODES.md +240 -0
  182. package/docs/INSTALLATION_BOTH.md +145 -0
  183. package/docs/TERMS.md +352 -0
  184. package/docs/TOOLS_REFERENCE.md +1622 -0
  185. package/docs/TOOL_PARAMETERS.md +496 -0
  186. package/docs/TOOL_PROFILES.md +236 -0
  187. package/docs/WORKFLOWS.md +987 -0
  188. package/docs/WORKFLOW_OUTPUT.md +198 -0
  189. package/docs/WORKFLOW_PROGRESS_TRACKING.md +305 -0
  190. package/docs/workflows/design-brainstorm.md +335 -0
  191. package/package.json +97 -0
  192. package/profiles/balanced.json +37 -0
  193. package/profiles/code_focus.json +37 -0
  194. package/profiles/debug_intensive.json +34 -0
  195. package/profiles/full.json +37 -0
  196. package/profiles/minimal.json +37 -0
  197. package/profiles/research_power.json +37 -0
  198. package/profiles/workflow_builder.json +37 -0
  199. package/smithery.yaml +66 -0
  200. package/start.sh +8 -0
  201. package/tools.config.json +81 -0
  202. package/tsconfig.json +18 -0
  203. package/workflows/accessibility-code-audit.yaml +92 -0
  204. package/workflows/code-architecture-review.yaml +202 -0
  205. package/workflows/code-review.yaml +142 -0
  206. package/workflows/core/iterative-problem-solver.yaml +283 -0
  207. package/workflows/creative-brainstorm-yaml.yaml +215 -0
  208. package/workflows/pingpong.yaml +141 -0
  209. package/workflows/system/README.md +412 -0
  210. package/workflows/system/challenger.yaml +175 -0
  211. package/workflows/system/scout.yaml +164 -0
  212. package/workflows/system/verifier.yaml +133 -0
  213. package/workflows/ultra-creative-brainstorm.yaml +318 -0
  214. package/workflows/ux-research-flow.yaml +92 -0
@@ -0,0 +1,335 @@
1
+ # Ultra Creative Brainstorm Workflow
2
+
3
+ **Research-backed optimal AI model sequencing for maximum insight** 🚀
4
+
5
+ ## Overview
6
+
7
+ This workflow uses **ALL 13 prompt engineering techniques** from `src/prompt-engineer.ts` with **scientifically-optimized model sequencing** based on Perplexity AI's research on optimal brainstorming workflows.
8
+
9
+ Implements the research-backed sequence: **Research → Reason → Ideate → Connect → Evaluate → Synthesize → Analyze → Implement**
10
+
11
+ ## Features
12
+
13
+ ### 🧠 9 Processing Phases (Optimal Ordering)
14
+
15
+ **Phase 0: Problem Decomposition** (Think)
16
+ - Break down complex problems first
17
+ - Identify core components and constraints
18
+
19
+ **Phase 1: Research Foundation** (Perplexity first!)
20
+ - Comprehensive investigation
21
+ - Evidence gathering with real-world data
22
+ - *Why first?* Context is essential for creative thinking
23
+
24
+ **Phase 2: Deep Reasoning** (Grok)
25
+ - Search for breakthrough approaches
26
+ - First principles analysis
27
+ - *Why second?* Understanding before ideation
28
+
29
+ **Phase 3: Divergent Ideation** (Gemini)
30
+ - What-if speculation
31
+ - Innovative solutions brainstorming
32
+ - *Why third?* Generate wide range of ideas with solid foundation
33
+
34
+ **Phase 4: Long-Context Connections** (Kimi K2)
35
+ - Alternative perspectives across contexts
36
+ - Systematic analysis of relationships
37
+ - *Why fourth?* 1M token context explores deep connections
38
+
39
+ **Phase 5: Convergent Refinement** (Grok + Gemini)
40
+ - Evaluation of most promising ideas
41
+ - Pattern recognition
42
+ - *Why fifth?* Narrow down with analytical rigor
43
+
44
+ **Phase 6: Synthesis** (GPT-5 + Focus)
45
+ - Creative applications across domains
46
+ - Ultimate synthesis with 4 models
47
+ - *Why sixth?* Combine best ideas into coherent solutions
48
+
49
+ **Phase 7: Feasibility Analysis** (Gemini)
50
+ - Detailed feasibility assessment
51
+ - Risk identification
52
+ - *Why seventh?* Validate before implementation
53
+
54
+ **Phase 8: Implementation** (QWEN)
55
+ - Technical implementation roadmap
56
+ - Code/architecture planning
57
+ - *Why last?* Implementation follows validated design
58
+
59
+ ### 🎯 All 13 Prompt Techniques Used
60
+
61
+ 1. ✅ `what_if_speculation` - Explore radical possibilities
62
+ 2. ✅ `alternative_perspectives` - View from 5 different angles
63
+ 3. ✅ `creative_applications` - Cross-domain thinking
64
+ 4. ✅ `innovative_solutions` - Unconventional approaches
65
+ 5. ✅ `comprehensive_investigation` - WHO/WHAT/WHEN/WHERE/WHY/HOW
66
+ 6. ✅ `evidence_gathering` - Support and challenge with data
67
+ 7. ✅ `systematic_analysis` - 6-step structured breakdown
68
+ 8. ✅ `first_principles` - Rebuild from fundamental truths
69
+ 9. ✅ `feasibility_analysis` - Technical/Economic/Time/Resource analysis
70
+ 10. ✅ `quick_reflection` - Pattern recognition checkpoints
71
+ 11. ✅ `pattern_recognition` - Identify themes and connections
72
+ 12. ✅ `problem_decomposition` - Break into manageable parts
73
+ 13. ✅ `integration_reflection` - Synthesize all perspectives
74
+
75
+ ### 🤖 Models Used
76
+
77
+ - **GPT-5** - Advanced reasoning and synthesis
78
+ - **Gemini 2.5 Pro** - Creative brainstorming and analysis
79
+ - **Grok-3** - First principles and critical analysis
80
+ - **Kimi K2** - Long-context systematic thinking
81
+ - **QWEN Coder** - Technical feasibility
82
+ - **Perplexity** - Research and evidence
83
+ - **Think** - Metacognitive reflection
84
+
85
+ ## Usage
86
+
87
+ ### Basic
88
+ ```bash
89
+ workflow --name ultra-creative-brainstorm --query "AI-powered education platform"
90
+ ```
91
+
92
+ ### With Custom Variables
93
+ ```yaml
94
+ variables:
95
+ max_ideas: 15
96
+ depth_level: "very-deep"
97
+ ```
98
+
99
+ ### Example Queries
100
+
101
+ **Product Innovation:**
102
+ ```bash
103
+ workflow --name ultra-creative-brainstorm --query "Revolutionary approach to personal fitness tracking"
104
+ ```
105
+
106
+ **Technical Architecture:**
107
+ ```bash
108
+ workflow --name ultra-creative-brainstorm --query "Scalable real-time collaboration system for 10M users"
109
+ ```
110
+
111
+ **Business Strategy:**
112
+ ```bash
113
+ workflow --name ultra-creative-brainstorm --query "Sustainable revenue model for open-source software"
114
+ ```
115
+
116
+ **Research Question:**
117
+ ```bash
118
+ workflow --name ultra-creative-brainstorm --query "Future of human-AI collaboration in creative work"
119
+ ```
120
+
121
+ ## Output Structure
122
+
123
+ All outputs saved to `workflow-output/ultra-creative-brainstorm/YYYY-MM-DD-HH-MM-UUID/`:
124
+
125
+ ```
126
+ phase1-divergent/
127
+ - what-if-speculation.md
128
+ - alternative-perspectives.md
129
+ - innovative-solutions.md
130
+
131
+ phase2-research/
132
+ - comprehensive-investigation.md
133
+ - evidence-gathering.md
134
+
135
+ phase3-analysis/
136
+ - first-principles-analysis.md
137
+ - systematic-analysis.md
138
+ - problem-decomposition.md
139
+
140
+ phase4-patterns/
141
+ - pattern-recognition.md
142
+ - quick-reflection-1.md
143
+
144
+ phase5-applications/
145
+ - creative-applications.md
146
+
147
+ phase6-feasibility/
148
+ - feasibility-analysis.md
149
+ - integration-reflection.md
150
+
151
+ phase7-verification/
152
+ - grok-critique.md
153
+ - gemini-critique.md
154
+ - qwen-critique.md
155
+ - final-reflection.md
156
+
157
+ phase8-synthesis/
158
+ - ultimate-synthesis.md
159
+ - final-summary.md
160
+ ```
161
+
162
+ ## Token Usage
163
+
164
+ **Estimated**: 150,000 - 200,000+ tokens total (with auto-synthesis protection)
165
+
166
+ **Per Phase (Maximum Output)**:
167
+ - Phase 1: ~26k tokens (what-if: 8k, perspectives: 10k, solutions: 8k)
168
+ - Phase 2: ~20k tokens (research: 12k, evidence: 8k)
169
+ - Phase 3: ~30k tokens (first-principles: 10k, systematic: 12k, decomposition: 8k)
170
+ - Phase 4: ~8k tokens (patterns: 8k, reflection: minimal)
171
+ - Phase 5: ~15k tokens (creative applications with 3 models)
172
+ - Phase 6: ~24k tokens (feasibility: 12k, integration: 12k)
173
+ - Phase 7: ~30k tokens (3 parallel critiques @ 10k each)
174
+ - Phase 8: ~32k tokens (ultimate synthesis: 20k, final summary: 12k)
175
+
176
+ **Auto-Synthesis Protection**:
177
+ - Checkpoints every 12,000 tokens
178
+ - Synthesis trigger at 25,000 tokens
179
+ - Prevents MCP token overflow
180
+
181
+ ## Recommended Profiles
182
+
183
+ - **Best**: `full` profile (30 tools, ~22-23k tokens)
184
+ - **Alternative**: `balanced` profile (15 tools, ~8-9k tokens)
185
+ - **Minimum**: `research_power` profile (14 tools, ~9-10k tokens)
186
+
187
+ ## Auto-Synthesis Protection
188
+
189
+ Configured for large outputs:
190
+ - Token threshold: 25,000
191
+ - Checkpoint interval: 12,000
192
+ - Synthesis tool: Gemini Analyze Text
193
+ - Max synthesis tokens: 8,000
194
+ - Prevents MCP token limit issues
195
+
196
+ ## Advanced Features
197
+
198
+ ### Parallel Execution
199
+ Phase 7 runs 3 models simultaneously for critique:
200
+ - Grok (analytical)
201
+ - Gemini (creative)
202
+ - QWEN (technical)
203
+
204
+ ### Context Accumulation
205
+ Each phase builds on previous outputs, creating a snowball effect of insights.
206
+
207
+ ### Multi-Round Reasoning
208
+ - Focus tool: 3-5 rounds per call
209
+ - Ultimate synthesis: 5 rounds with 4 models
210
+
211
+ ## Performance Tips
212
+
213
+ 1. **Use `full` profile** for maximum capability
214
+ 2. **Run during off-peak hours** - takes 5-15 minutes
215
+ 3. **Check auto-synthesis logs** - monitors token usage
216
+ 4. **Review checkpoints** - saves state every 12k tokens
217
+
218
+ ## Validation
219
+
220
+ Validate before running:
221
+ ```bash
222
+ {
223
+ "tool": "validate_workflow_file",
224
+ "filePath": "./workflows/ultra-creative-brainstorm.yaml",
225
+ "format": "text"
226
+ }
227
+ ```
228
+
229
+ ## Why This Order?
230
+
231
+ Based on AI research on optimal brainstorming:
232
+ - **Research first** - Context enables better creativity
233
+ - **Reasoning second** - Understanding before ideation
234
+ - **Ideation third** - Generate ideas with solid foundation
235
+ - **Connections fourth** - Long-context explores relationships
236
+ - **Refinement fifth** - Evaluate and narrow down
237
+ - **Synthesis sixth** - Combine best ideas
238
+ - **Validation seventh** - Feasibility check
239
+ - **Implementation last** - Technical roadmap
240
+
241
+ ## Comparison
242
+
243
+ ### vs Simple Brainstorm
244
+ - Simple: 1 model, 3 steps, ~2k tokens
245
+ - Ultra: 7 models, 21 steps, ~185k tokens
246
+ - **92x more thorough**
247
+
248
+ ### vs Standard Workflow
249
+ - Standard: 5-8 steps, linear
250
+ - Ultra: 21 steps, optimal sequence, 13 prompt techniques
251
+ - **4-5x more comprehensive**
252
+
253
+ ## When to Use
254
+
255
+ ✅ **Perfect for**:
256
+ - Critical business decisions
257
+ - Complex technical architecture
258
+ - Product innovation strategy
259
+ - Research hypothesis generation
260
+ - Long-term strategic planning
261
+
262
+ ❌ **Overkill for**:
263
+ - Simple questions
264
+ - Quick fact-checking
265
+ - Minor code reviews
266
+ - Routine tasks
267
+
268
+ ## Cost Estimate
269
+
270
+ Based on average API costs:
271
+ - **GPT-5**: ~$0.50-1.00
272
+ - **Gemini 2.5 Pro**: ~$0.20-0.40
273
+ - **Grok-3**: ~$0.30-0.60
274
+ - **Kimi K2**: ~$0.15-0.30
275
+ - **QWEN**: ~$0.10-0.20
276
+ - **Perplexity**: ~$0.05-0.10
277
+
278
+ **Total**: ~$1.30 - $2.60 per run
279
+
280
+ Worth it for critical decisions! 💪
281
+
282
+ ## Customization
283
+
284
+ ### Reduce Scope
285
+ Comment out phases in YAML:
286
+ ```yaml
287
+ # Skip Phase 2 if no research needed
288
+ # - name: comprehensive-investigation
289
+ # tool: perplexity_research
290
+ ```
291
+
292
+ ### Increase Depth
293
+ Adjust model rounds:
294
+ ```yaml
295
+ # Increase ultimate synthesis rounds
296
+ rounds: 10 # was 5
297
+ ```
298
+
299
+ ### Change Models
300
+ Swap in different models:
301
+ ```yaml
302
+ models: ["o1", "claude-opus", "gemini-2.0-flash"]
303
+ ```
304
+
305
+ ## Troubleshooting
306
+
307
+ **Token limit exceeded**:
308
+ - Auto-synthesis should prevent this
309
+ - Reduce `maxTokens` per step
310
+ - Skip less critical phases
311
+
312
+ **Too slow**:
313
+ - Use `research_code` profile (fewer tools)
314
+ - Reduce model rounds
315
+ - Run fewer parallel critiques
316
+
317
+ **Out of API credits**:
318
+ - Comment out expensive models (GPT-5, Gemini Pro)
319
+ - Use free alternatives (QWEN free tier, Gemini 2.5 Flash)
320
+
321
+ ## Future Enhancements
322
+
323
+ - [ ] Add workflow-internal tools (hunter, scout, verifier, challenger)
324
+ - [ ] Conditional branching based on complexity
325
+ - [ ] User feedback loops between phases
326
+ - [ ] Export to presentation format
327
+ - [ ] Comparison with existing solutions
328
+
329
+ ---
330
+
331
+ **Created by**: Tachibot MCP Team
332
+ **Version**: 2.0
333
+ **Last Updated**: 2025-01-12
334
+
335
+ *The most powerful creative brainstorming tool in existence.* 🎯
package/package.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "tachibot-mcp",
3
+ "displayName": "TachiBot MCP - Universal AI Orchestrator",
4
+ "version": "2.0.2",
5
+ "type": "module",
6
+ "main": "dist/src/server.js",
7
+ "bin": {
8
+ "tachibot": "./dist/src/server.js",
9
+ "tachi": "./dist/src/server.js"
10
+ },
11
+ "files": [
12
+ "dist/",
13
+ "profiles/",
14
+ "workflows/",
15
+ "personality/",
16
+ "docs/",
17
+ "tools.config.json",
18
+ "smithery.yaml",
19
+ "mcp.json",
20
+ "README.md",
21
+ "CHANGELOG.md",
22
+ "LICENSE",
23
+ "CODE_OF_CONDUCT.md",
24
+ "CONTRIBUTING.md",
25
+ "SECURITY.md",
26
+ ".env.example",
27
+ "tsconfig.json",
28
+ "Dockerfile",
29
+ "start.sh"
30
+ ],
31
+ "scripts": {
32
+ "build": "tsc && npm run build:profiles",
33
+ "build:profiles": "node dist/scripts/build-profiles.js",
34
+ "start": "node dist/src/server.js",
35
+ "dev": "node dist/src/server.js",
36
+ "inspect": "npx fastmcp inspect dist/src/server.js",
37
+ "tachi": "node dist/src/server.js",
38
+ "tachi:start": "node dist/src/server.js",
39
+ "tachi:build": "tsc && npm run build:profiles && node dist/src/server.js",
40
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
41
+ "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
42
+ "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
43
+ "test:challenger": "node --experimental-vm-modules node_modules/jest/bin/jest.js challenger",
44
+ "test:verifier": "node --experimental-vm-modules node_modules/jest/bin/jest.js verifier",
45
+ "test:scout": "node --experimental-vm-modules node_modules/jest/bin/jest.js scout",
46
+ "prepublishOnly": "npm run build",
47
+ "package:extension": "npm run build && ./scripts/package-extension.sh",
48
+ "build:mcpb": "npm run package:extension",
49
+ "verify": "node scripts/verify-installation.js"
50
+ },
51
+ "keywords": [
52
+ "mcp",
53
+ "ai",
54
+ "claude",
55
+ "focus-tool",
56
+ "tachi",
57
+ "tachibot",
58
+ "komaai",
59
+ "brainstorm",
60
+ "orchestration",
61
+ "workflow",
62
+ "cost-optimization"
63
+ ],
64
+ "author": "Pawel Pawlowski",
65
+ "repository": {
66
+ "type": "git",
67
+ "url": "https://github.com/byPawel/tachibot-mcp"
68
+ },
69
+ "homepage": "https://github.com/byPawel/tachibot-mcp",
70
+ "engines": {
71
+ "node": ">=18.0.0"
72
+ },
73
+ "license": "AGPL-3.0",
74
+ "description": "TachiBot MCP v2.0: 31 AI tools (32 with competitive mode) with complete TypeScript schemas. Multi-model orchestration (Perplexity, Grok, OpenAI, Gemini, Qwen), YAML workflows, 5 token-optimized profiles (4k-20k tokens). Smart routing, parallel execution. Comprehensive documentation.",
75
+ "dependencies": {
76
+ "@types/node": "^22.13.17",
77
+ "@types/yaml": "^1.9.6",
78
+ "cli-table3": "^0.6.5",
79
+ "dotenv": "^16.4.5",
80
+ "fastmcp": "^1.21.0",
81
+ "js-yaml": "^4.1.0",
82
+ "lru-cache": "^11.2.1",
83
+ "openai": "^5.22.0",
84
+ "ts-node": "^10.9.2",
85
+ "typescript": "^5.8.2",
86
+ "yaml": "^2.8.1",
87
+ "zod": "^3.24.2"
88
+ },
89
+ "devDependencies": {
90
+ "@types/jest": "^29.5.14",
91
+ "@types/js-yaml": "^4.0.9",
92
+ "jest": "^29.7.0",
93
+ "nodemon": "^3.1.9",
94
+ "ts-jest": "^29.4.5"
95
+ },
96
+ "packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
97
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "Balanced set for general use (~Xk tokens, 18 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": true,
8
+ "perplexity_reason": true,
9
+ "perplexity_research": false,
10
+ "grok_reason": true,
11
+ "grok_code": true,
12
+ "grok_debug": false,
13
+ "grok_architect": false,
14
+ "grok_brainstorm": false,
15
+ "grok_search": true,
16
+ "openai_gpt5_reason": true,
17
+ "openai_compare": false,
18
+ "openai_brainstorm": true,
19
+ "openai_code_review": false,
20
+ "openai_explain": false,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": true,
23
+ "gemini_analyze_text": false,
24
+ "qwen_coder": true,
25
+ "kimi_thinking": true,
26
+ "qwen_competitive": false,
27
+ "workflow": true,
28
+ "list_workflows": true,
29
+ "create_workflow": true,
30
+ "visualize_workflow": true,
31
+ "workflow_start": false,
32
+ "continue_workflow": false,
33
+ "workflow_status": false,
34
+ "validate_workflow": false,
35
+ "validate_workflow_file": false
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "Code-heavy work with debugging and analysis (~Xk tokens, 15 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": true,
8
+ "perplexity_reason": false,
9
+ "perplexity_research": false,
10
+ "grok_reason": true,
11
+ "grok_code": true,
12
+ "grok_debug": true,
13
+ "grok_architect": false,
14
+ "grok_brainstorm": false,
15
+ "grok_search": false,
16
+ "openai_gpt5_reason": false,
17
+ "openai_compare": false,
18
+ "openai_brainstorm": false,
19
+ "openai_code_review": true,
20
+ "openai_explain": false,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": true,
23
+ "gemini_analyze_text": false,
24
+ "qwen_coder": true,
25
+ "kimi_thinking": true,
26
+ "qwen_competitive": false,
27
+ "workflow": true,
28
+ "list_workflows": true,
29
+ "create_workflow": false,
30
+ "visualize_workflow": false,
31
+ "workflow_start": false,
32
+ "continue_workflow": false,
33
+ "workflow_status": false,
34
+ "validate_workflow": true,
35
+ "validate_workflow_file": false
36
+ }
37
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "description": "Deep debugging and forensic code analysis (~12-14k tokens, 14 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "grok_code": true,
8
+ "grok_debug": true,
9
+ "gemini_analyze_code": true,
10
+ "qwen_coder": true,
11
+ "kimi_thinking": true,
12
+ "hunter": true,
13
+ "scout": true,
14
+ "verifier": true,
15
+ "challenger": true,
16
+ "workflow": true,
17
+ "list_workflows": true,
18
+ "perplexity_ask": false,
19
+ "perplexity_reason": false,
20
+ "perplexity_research": false,
21
+ "grok_reason": false,
22
+ "grok_architect": false,
23
+ "grok_brainstorm": false,
24
+ "grok_search": false,
25
+ "openai_compare": false,
26
+ "openai_brainstorm": false,
27
+ "gemini_brainstorm": false,
28
+ "gemini_analyze_text": false,
29
+ "create_workflow": false,
30
+ "visualize_workflow": false,
31
+ "pingpong": false,
32
+ "qwen_competitive": false
33
+ }
34
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "All tools enabled for maximum capability (~Xk tokens, 32 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": true,
8
+ "perplexity_reason": true,
9
+ "perplexity_research": true,
10
+ "grok_reason": true,
11
+ "grok_code": true,
12
+ "grok_debug": true,
13
+ "grok_architect": true,
14
+ "grok_brainstorm": true,
15
+ "grok_search": true,
16
+ "openai_gpt5_reason": true,
17
+ "openai_compare": true,
18
+ "openai_brainstorm": true,
19
+ "openai_code_review": true,
20
+ "openai_explain": true,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": true,
23
+ "gemini_analyze_text": true,
24
+ "qwen_coder": true,
25
+ "kimi_thinking": true,
26
+ "qwen_competitive": true,
27
+ "workflow": true,
28
+ "list_workflows": true,
29
+ "create_workflow": true,
30
+ "visualize_workflow": true,
31
+ "workflow_start": true,
32
+ "continue_workflow": true,
33
+ "workflow_status": true,
34
+ "validate_workflow": true,
35
+ "validate_workflow_file": true
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "Minimal essential tools for basic tasks (~Xk tokens, 8 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": true,
8
+ "perplexity_reason": false,
9
+ "perplexity_research": false,
10
+ "grok_reason": true,
11
+ "grok_code": false,
12
+ "grok_debug": false,
13
+ "grok_architect": false,
14
+ "grok_brainstorm": false,
15
+ "grok_search": false,
16
+ "openai_gpt5_reason": false,
17
+ "openai_compare": false,
18
+ "openai_brainstorm": false,
19
+ "openai_code_review": false,
20
+ "openai_explain": false,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": false,
23
+ "gemini_analyze_text": false,
24
+ "qwen_coder": true,
25
+ "kimi_thinking": false,
26
+ "qwen_competitive": false,
27
+ "workflow": true,
28
+ "list_workflows": false,
29
+ "create_workflow": false,
30
+ "visualize_workflow": false,
31
+ "workflow_start": false,
32
+ "continue_workflow": false,
33
+ "workflow_status": false,
34
+ "validate_workflow": false,
35
+ "validate_workflow_file": false
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "Research-focused with Grok search + all Perplexity + brainstorming (~Xk tokens, 13 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": true,
8
+ "perplexity_reason": true,
9
+ "perplexity_research": true,
10
+ "grok_reason": true,
11
+ "grok_code": false,
12
+ "grok_debug": false,
13
+ "grok_architect": false,
14
+ "grok_brainstorm": false,
15
+ "grok_search": true,
16
+ "openai_gpt5_reason": false,
17
+ "openai_compare": false,
18
+ "openai_brainstorm": true,
19
+ "openai_code_review": false,
20
+ "openai_explain": false,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": false,
23
+ "gemini_analyze_text": false,
24
+ "qwen_coder": true,
25
+ "kimi_thinking": true,
26
+ "qwen_competitive": false,
27
+ "workflow": true,
28
+ "list_workflows": false,
29
+ "create_workflow": false,
30
+ "visualize_workflow": false,
31
+ "workflow_start": false,
32
+ "continue_workflow": false,
33
+ "workflow_status": false,
34
+ "validate_workflow": false,
35
+ "validate_workflow_file": false
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "description": "Workflow creation, testing, and management (~8k tokens, 13 tools)",
3
+ "tools": {
4
+ "think": true,
5
+ "focus": true,
6
+ "nextThought": true,
7
+ "perplexity_ask": false,
8
+ "perplexity_reason": false,
9
+ "perplexity_research": false,
10
+ "grok_reason": false,
11
+ "grok_code": false,
12
+ "grok_debug": false,
13
+ "grok_architect": false,
14
+ "grok_brainstorm": false,
15
+ "grok_search": false,
16
+ "openai_gpt5_reason": false,
17
+ "openai_compare": false,
18
+ "openai_brainstorm": false,
19
+ "openai_code_review": false,
20
+ "openai_explain": false,
21
+ "gemini_brainstorm": true,
22
+ "gemini_analyze_code": false,
23
+ "gemini_analyze_text": false,
24
+ "qwen_coder": false,
25
+ "kimi_thinking": false,
26
+ "qwen_competitive": false,
27
+ "workflow": true,
28
+ "list_workflows": true,
29
+ "create_workflow": true,
30
+ "visualize_workflow": true,
31
+ "workflow_start": true,
32
+ "continue_workflow": true,
33
+ "workflow_status": true,
34
+ "validate_workflow": true,
35
+ "validate_workflow_file": true
36
+ }
37
+ }