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.
- package/.env.example +260 -0
- package/CHANGELOG.md +54 -0
- package/CODE_OF_CONDUCT.md +56 -0
- package/CONTRIBUTING.md +54 -0
- package/Dockerfile +36 -0
- package/LICENSE +644 -0
- package/README.md +201 -0
- package/SECURITY.md +95 -0
- package/dist/personality/komaai-expressions.js +12 -0
- package/dist/profiles/balanced.json +33 -0
- package/dist/profiles/code_focus.json +33 -0
- package/dist/profiles/full.json +33 -0
- package/dist/profiles/minimal.json +33 -0
- package/dist/profiles/research_power.json +33 -0
- package/dist/scripts/build-profiles.js +46 -0
- package/dist/src/application/services/focus/FocusModeRegistry.js +46 -0
- package/dist/src/application/services/focus/FocusTool.service.js +109 -0
- package/dist/src/application/services/focus/ModeRegistry.js +46 -0
- package/dist/src/application/services/focus/modes/focus-deep.mode.js +27 -0
- package/dist/src/application/services/focus/modes/status.mode.js +50 -0
- package/dist/src/application/services/focus/modes/tachibot-status.mode.js +50 -0
- package/dist/src/collaborative-orchestrator.js +391 -0
- package/dist/src/config/model-constants.js +188 -0
- package/dist/src/config/model-defaults.js +57 -0
- package/dist/src/config/model-preferences.js +382 -0
- package/dist/src/config/timeout-config.js +130 -0
- package/dist/src/config.js +173 -0
- package/dist/src/domain/interfaces/IFocusMode.js +5 -0
- package/dist/src/domain/interfaces/IProvider.js +6 -0
- package/dist/src/domain/interfaces/ITool.js +5 -0
- package/dist/src/focus-deep.js +245 -0
- package/dist/src/infrastructure/ascii/art/robots.ascii.js +16 -0
- package/dist/src/mcp-client.js +90 -0
- package/dist/src/memory/index.js +17 -0
- package/dist/src/memory/memory-config.js +135 -0
- package/dist/src/memory/memory-interface.js +174 -0
- package/dist/src/memory/memory-manager.js +383 -0
- package/dist/src/memory/providers/devlog-provider.js +385 -0
- package/dist/src/memory/providers/hybrid-provider.js +399 -0
- package/dist/src/memory/providers/local-provider.js +388 -0
- package/dist/src/memory/providers/mem0-provider.js +337 -0
- package/dist/src/modes/architect.js +477 -0
- package/dist/src/modes/auditor.js +362 -0
- package/dist/src/modes/challenger.js +841 -0
- package/dist/src/modes/code-reviewer.js +382 -0
- package/dist/src/modes/commit-guardian.js +424 -0
- package/dist/src/modes/documentation-writer.js +572 -0
- package/dist/src/modes/scout.js +587 -0
- package/dist/src/modes/shared/helpers/challenger-helpers.js +454 -0
- package/dist/src/modes/shared/helpers/index.js +17 -0
- package/dist/src/modes/shared/helpers/scout-helpers.js +270 -0
- package/dist/src/modes/shared/helpers/verifier-helpers.js +332 -0
- package/dist/src/modes/test-architect.js +767 -0
- package/dist/src/modes/verifier.js +378 -0
- package/dist/src/monitoring/performance-monitor.js +435 -0
- package/dist/src/optimization/batch-executor.js +121 -0
- package/dist/src/optimization/context-pruner.js +196 -0
- package/dist/src/optimization/cost-monitor.js +338 -0
- package/dist/src/optimization/index.js +65 -0
- package/dist/src/optimization/model-router.js +264 -0
- package/dist/src/optimization/result-cache.js +114 -0
- package/dist/src/optimization/token-optimizer.js +257 -0
- package/dist/src/optimization/token-tracker.js +118 -0
- package/dist/src/orchestrator-instructions.js +128 -0
- package/dist/src/orchestrator-lite.js +139 -0
- package/dist/src/orchestrator.js +191 -0
- package/dist/src/orchestrators/collaborative/interfaces/IToolExecutionEngine.js +1 -0
- package/dist/src/orchestrators/collaborative/interfaces/IToolExecutionStrategy.js +5 -0
- package/dist/src/orchestrators/collaborative/interfaces/IVisualizationRenderer.js +1 -0
- package/dist/src/orchestrators/collaborative/registries/ModelProviderRegistry.js +95 -0
- package/dist/src/orchestrators/collaborative/registries/ToolAdapterRegistry.js +64 -0
- package/dist/src/orchestrators/collaborative/services/tool-execution/ToolExecutionService.js +502 -0
- package/dist/src/orchestrators/collaborative/services/visualization/VisualizationService.js +206 -0
- package/dist/src/orchestrators/collaborative/types/session-types.js +5 -0
- package/dist/src/profiles/balanced.js +37 -0
- package/dist/src/profiles/code_focus.js +37 -0
- package/dist/src/profiles/debug_intensive.js +59 -0
- package/dist/src/profiles/full.js +37 -0
- package/dist/src/profiles/minimal.js +37 -0
- package/dist/src/profiles/research_code.js +59 -0
- package/dist/src/profiles/research_power.js +37 -0
- package/dist/src/profiles/types.js +5 -0
- package/dist/src/profiles/workflow_builder.js +53 -0
- package/dist/src/prompt-engineer-lite.js +78 -0
- package/dist/src/prompt-engineer.js +399 -0
- package/dist/src/reasoning-chain.js +508 -0
- package/dist/src/sequential-thinking.js +291 -0
- package/dist/src/server-diagnostic.js +74 -0
- package/dist/src/server-raw.js +158 -0
- package/dist/src/server-simple.js +58 -0
- package/dist/src/server.js +514 -0
- package/dist/src/session/session-logger.js +617 -0
- package/dist/src/session/session-manager.js +571 -0
- package/dist/src/session/session-tools.js +400 -0
- package/dist/src/tools/advanced-modes.js +200 -0
- package/dist/src/tools/claude-integration.js +356 -0
- package/dist/src/tools/consolidated/ai-router.js +174 -0
- package/dist/src/tools/consolidated/ai-tool.js +48 -0
- package/dist/src/tools/consolidated/brainstorm-tool.js +87 -0
- package/dist/src/tools/consolidated/environment-detector.js +80 -0
- package/dist/src/tools/consolidated/index.js +50 -0
- package/dist/src/tools/consolidated/search-tool.js +110 -0
- package/dist/src/tools/consolidated/workflow-tool.js +238 -0
- package/dist/src/tools/gemini-tools.js +329 -0
- package/dist/src/tools/grok-enhanced.js +376 -0
- package/dist/src/tools/grok-tools.js +299 -0
- package/dist/src/tools/lmstudio-tools.js +223 -0
- package/dist/src/tools/openai-tools.js +498 -0
- package/dist/src/tools/openrouter-tools.js +317 -0
- package/dist/src/tools/optimized-wrapper.js +204 -0
- package/dist/src/tools/perplexity-tools.js +294 -0
- package/dist/src/tools/pingpong-tool.js +343 -0
- package/dist/src/tools/qwen-wrapper.js +74 -0
- package/dist/src/tools/tool-router.js +444 -0
- package/dist/src/tools/unified-ai-provider.js +260 -0
- package/dist/src/tools/workflow-runner.js +425 -0
- package/dist/src/tools/workflow-validator-tool.js +107 -0
- package/dist/src/types.js +23 -0
- package/dist/src/utils/input-validator.js +130 -0
- package/dist/src/utils/model-router.js +91 -0
- package/dist/src/utils/progress-stream.js +255 -0
- package/dist/src/utils/provider-router.js +88 -0
- package/dist/src/utils/smart-api-client.js +146 -0
- package/dist/src/utils/table-builder.js +218 -0
- package/dist/src/utils/timestamp-formatter.js +134 -0
- package/dist/src/utils/tool-compressor.js +257 -0
- package/dist/src/utils/tool-config.js +201 -0
- package/dist/src/validators/dependency-graph-validator.js +147 -0
- package/dist/src/validators/interpolation-validator.js +222 -0
- package/dist/src/validators/output-usage-validator.js +151 -0
- package/dist/src/validators/syntax-validator.js +102 -0
- package/dist/src/validators/tool-registry-validator.js +123 -0
- package/dist/src/validators/tool-types.js +97 -0
- package/dist/src/validators/types.js +8 -0
- package/dist/src/validators/workflow-validator.js +134 -0
- package/dist/src/visualizer-lite.js +42 -0
- package/dist/src/visualizer.js +179 -0
- package/dist/src/workflows/circuit-breaker.js +199 -0
- package/dist/src/workflows/custom-workflows.js +451 -0
- package/dist/src/workflows/engine/AutoSynthesizer.js +97 -0
- package/dist/src/workflows/engine/StepParameterResolver.js +74 -0
- package/dist/src/workflows/engine/VariableInterpolator.js +123 -0
- package/dist/src/workflows/engine/WorkflowDiscovery.js +125 -0
- package/dist/src/workflows/engine/WorkflowExecutionEngine.js +485 -0
- package/dist/src/workflows/engine/WorkflowExecutor.js +113 -0
- package/dist/src/workflows/engine/WorkflowFileManager.js +244 -0
- package/dist/src/workflows/engine/WorkflowHelpers.js +114 -0
- package/dist/src/workflows/engine/WorkflowOutputFormatter.js +83 -0
- package/dist/src/workflows/engine/events/WorkflowEventBus.js +132 -0
- package/dist/src/workflows/engine/events/interfaces/IEventBus.js +5 -0
- package/dist/src/workflows/engine/handlers/ErrorRecoveryHandler.js +162 -0
- package/dist/src/workflows/engine/handlers/PromptEnhancementHandler.js +115 -0
- package/dist/src/workflows/engine/handlers/SessionPersistenceHandler.js +167 -0
- package/dist/src/workflows/engine/handlers/StepExecutionHandler.js +231 -0
- package/dist/src/workflows/engine/handlers/ToolInvocationHandler.js +46 -0
- package/dist/src/workflows/engine/interfaces/IAutoSynthesizer.js +5 -0
- package/dist/src/workflows/engine/interfaces/IStepParameterResolver.js +5 -0
- package/dist/src/workflows/engine/interfaces/IVariableInterpolator.js +5 -0
- package/dist/src/workflows/engine/interfaces/IWorkflowDiscovery.js +4 -0
- package/dist/src/workflows/engine/interfaces/IWorkflowFileManager.js +5 -0
- package/dist/src/workflows/engine/interfaces/IWorkflowOutputFormatter.js +5 -0
- package/dist/src/workflows/engine/state/WorkflowStateMachine.js +194 -0
- package/dist/src/workflows/engine/state/interfaces/IStateMachine.js +17 -0
- package/dist/src/workflows/fallback-strategies.js +373 -0
- package/dist/src/workflows/message-queue.js +455 -0
- package/dist/src/workflows/model-router.js +189 -0
- package/dist/src/workflows/orchestrator-examples.js +174 -0
- package/dist/src/workflows/orchestrator-integration.js +200 -0
- package/dist/src/workflows/self-healing.js +524 -0
- package/dist/src/workflows/tool-mapper.js +407 -0
- package/dist/src/workflows/tool-orchestrator.js +796 -0
- package/dist/src/workflows/workflow-engine.js +573 -0
- package/dist/src/workflows/workflow-parser.js +283 -0
- package/dist/src/workflows/workflow-types.js +95 -0
- package/dist/src/workflows.js +568 -0
- package/dist/test-workflow-file-output.js +93 -0
- package/docs/API_KEYS.md +570 -0
- package/docs/CLAUDE_CODE_SETUP.md +181 -0
- package/docs/CLAUDE_DESKTOP_MANUAL.md +127 -0
- package/docs/CONFIGURATION.md +745 -0
- package/docs/FOCUS_MODES.md +240 -0
- package/docs/INSTALLATION_BOTH.md +145 -0
- package/docs/TERMS.md +352 -0
- package/docs/TOOLS_REFERENCE.md +1622 -0
- package/docs/TOOL_PARAMETERS.md +496 -0
- package/docs/TOOL_PROFILES.md +236 -0
- package/docs/WORKFLOWS.md +987 -0
- package/docs/WORKFLOW_OUTPUT.md +198 -0
- package/docs/WORKFLOW_PROGRESS_TRACKING.md +305 -0
- package/docs/workflows/design-brainstorm.md +335 -0
- package/package.json +97 -0
- package/profiles/balanced.json +37 -0
- package/profiles/code_focus.json +37 -0
- package/profiles/debug_intensive.json +34 -0
- package/profiles/full.json +37 -0
- package/profiles/minimal.json +37 -0
- package/profiles/research_power.json +37 -0
- package/profiles/workflow_builder.json +37 -0
- package/smithery.yaml +66 -0
- package/start.sh +8 -0
- package/tools.config.json +81 -0
- package/tsconfig.json +18 -0
- package/workflows/accessibility-code-audit.yaml +92 -0
- package/workflows/code-architecture-review.yaml +202 -0
- package/workflows/code-review.yaml +142 -0
- package/workflows/core/iterative-problem-solver.yaml +283 -0
- package/workflows/creative-brainstorm-yaml.yaml +215 -0
- package/workflows/pingpong.yaml +141 -0
- package/workflows/system/README.md +412 -0
- package/workflows/system/challenger.yaml +175 -0
- package/workflows/system/scout.yaml +164 -0
- package/workflows/system/verifier.yaml +133 -0
- package/workflows/ultra-creative-brainstorm.yaml +318 -0
- package/workflows/ux-research-flow.yaml +92 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
name: scout
|
|
2
|
+
description: Intelligent information gathering workflow with temporal context and multi-source research
|
|
3
|
+
version: "2.0"
|
|
4
|
+
|
|
5
|
+
settings:
|
|
6
|
+
maxCost: 0.60
|
|
7
|
+
|
|
8
|
+
steps:
|
|
9
|
+
# Step 1: Deep web research via Perplexity
|
|
10
|
+
- name: perplexity_research
|
|
11
|
+
tool: perplexity_research
|
|
12
|
+
input:
|
|
13
|
+
topic: "${query}"
|
|
14
|
+
depth: "deep"
|
|
15
|
+
saveToFile: true
|
|
16
|
+
maxTokens: 20000
|
|
17
|
+
output:
|
|
18
|
+
variable: perplexity_data
|
|
19
|
+
|
|
20
|
+
# Step 2: Live search via Grok with X/Twitter integration
|
|
21
|
+
- name: grok_search
|
|
22
|
+
tool: grok_search
|
|
23
|
+
input:
|
|
24
|
+
query: "${query}"
|
|
25
|
+
depth: "comprehensive"
|
|
26
|
+
saveToFile: true
|
|
27
|
+
maxTokens: 20000
|
|
28
|
+
output:
|
|
29
|
+
variable: grok_data
|
|
30
|
+
|
|
31
|
+
# Step 3: Gemini analysis of search results
|
|
32
|
+
- name: gemini_analysis
|
|
33
|
+
tool: gemini_analyze_text
|
|
34
|
+
loadFiles: ["perplexity_research", "grok_search"]
|
|
35
|
+
input:
|
|
36
|
+
text: |
|
|
37
|
+
Analyze these research findings:
|
|
38
|
+
|
|
39
|
+
PERPLEXITY RESEARCH:
|
|
40
|
+
${perplexity_data}
|
|
41
|
+
|
|
42
|
+
GROK SEARCH:
|
|
43
|
+
${grok_data}
|
|
44
|
+
|
|
45
|
+
Provide:
|
|
46
|
+
1. Key themes and patterns
|
|
47
|
+
2. Temporal context (what's current vs outdated)
|
|
48
|
+
3. Source reliability assessment
|
|
49
|
+
4. Contradictions or conflicts
|
|
50
|
+
5. Knowledge gaps
|
|
51
|
+
focus: "comprehensive analysis"
|
|
52
|
+
saveToFile: true
|
|
53
|
+
maxTokens: 15000
|
|
54
|
+
output:
|
|
55
|
+
variable: gemini_analysis_result
|
|
56
|
+
|
|
57
|
+
# Step 4: Technical deep-dive with Qwen Coder (if technical topic)
|
|
58
|
+
- name: qwen_technical_analysis
|
|
59
|
+
tool: qwen_coder
|
|
60
|
+
loadFiles: ["perplexity_research", "grok_search"]
|
|
61
|
+
input:
|
|
62
|
+
problem: |
|
|
63
|
+
Provide technical analysis of this research:
|
|
64
|
+
|
|
65
|
+
TOPIC: ${query}
|
|
66
|
+
|
|
67
|
+
RESEARCH DATA:
|
|
68
|
+
${perplexity_data}
|
|
69
|
+
|
|
70
|
+
${grok_data}
|
|
71
|
+
|
|
72
|
+
Focus on:
|
|
73
|
+
- Technical accuracy and details
|
|
74
|
+
- Code examples or implementation details (if applicable)
|
|
75
|
+
- Best practices and standards
|
|
76
|
+
- Recent technical developments
|
|
77
|
+
- Architecture or design patterns
|
|
78
|
+
saveToFile: true
|
|
79
|
+
maxTokens: 15000
|
|
80
|
+
output:
|
|
81
|
+
variable: qwen_analysis_result
|
|
82
|
+
|
|
83
|
+
# Step 5: Multi-model reasoning synthesis
|
|
84
|
+
- name: reasoning_synthesis
|
|
85
|
+
tool: focus
|
|
86
|
+
loadFiles: ["perplexity_research", "grok_search", "gemini_analysis", "qwen_technical_analysis"]
|
|
87
|
+
input:
|
|
88
|
+
query: |
|
|
89
|
+
Synthesize these comprehensive research findings into a coherent analysis:
|
|
90
|
+
|
|
91
|
+
WEB RESEARCH (Perplexity):
|
|
92
|
+
${perplexity_data}
|
|
93
|
+
|
|
94
|
+
LIVE SEARCH (Grok):
|
|
95
|
+
${grok_data}
|
|
96
|
+
|
|
97
|
+
ANALYSIS (Gemini):
|
|
98
|
+
${gemini_analysis_result}
|
|
99
|
+
|
|
100
|
+
TECHNICAL ANALYSIS (Qwen):
|
|
101
|
+
${qwen_analysis_result}
|
|
102
|
+
|
|
103
|
+
Provide:
|
|
104
|
+
1. Core findings that appear across multiple sources
|
|
105
|
+
2. Unique insights from each source
|
|
106
|
+
3. Contradictions or disagreements between sources
|
|
107
|
+
4. Confidence levels for different claims
|
|
108
|
+
5. Actionable recommendations based on the synthesis
|
|
109
|
+
mode: "analyze"
|
|
110
|
+
models: ["gpt5-mini", "gemini-2.5-pro", "gemini-2.5-flash", "grok-4"]
|
|
111
|
+
rounds: 2
|
|
112
|
+
domain: "research"
|
|
113
|
+
saveToFile: true
|
|
114
|
+
maxTokens: 15000
|
|
115
|
+
output:
|
|
116
|
+
variable: reasoning_result
|
|
117
|
+
|
|
118
|
+
# Step 6: Final formatted report
|
|
119
|
+
- name: format_scout_report
|
|
120
|
+
tool: gemini_analyze_text
|
|
121
|
+
loadFiles: ["reasoning_synthesis"]
|
|
122
|
+
input:
|
|
123
|
+
text: |
|
|
124
|
+
Create a comprehensive scout report:
|
|
125
|
+
|
|
126
|
+
QUERY: ${query}
|
|
127
|
+
|
|
128
|
+
SYNTHESIS: ${reasoning_result}
|
|
129
|
+
|
|
130
|
+
Format as:
|
|
131
|
+
# Scout Report: ${query}
|
|
132
|
+
|
|
133
|
+
## Executive Summary
|
|
134
|
+
[3-5 sentence overview]
|
|
135
|
+
|
|
136
|
+
## Key Findings
|
|
137
|
+
[Numbered list of main discoveries]
|
|
138
|
+
|
|
139
|
+
## Temporal Context
|
|
140
|
+
- **Current State:** [What's happening now]
|
|
141
|
+
- **Recent Developments:** [Last 6-12 months]
|
|
142
|
+
- **Emerging Trends:** [What's coming next]
|
|
143
|
+
|
|
144
|
+
## Source Analysis
|
|
145
|
+
- **High Confidence Sources:** [List reliable sources]
|
|
146
|
+
- **Medium Confidence:** [Somewhat reliable]
|
|
147
|
+
- **Low Confidence:** [Treat with caution]
|
|
148
|
+
|
|
149
|
+
## Technical Details
|
|
150
|
+
[If applicable: code, architecture, implementation notes]
|
|
151
|
+
|
|
152
|
+
## Knowledge Gaps & Uncertainties
|
|
153
|
+
[What we don't know or what's unclear]
|
|
154
|
+
|
|
155
|
+
## Recommendations
|
|
156
|
+
[Actionable next steps or insights]
|
|
157
|
+
|
|
158
|
+
## References
|
|
159
|
+
[Key sources cited]
|
|
160
|
+
focus: "report formatting"
|
|
161
|
+
maxTokens: 8000
|
|
162
|
+
|
|
163
|
+
output:
|
|
164
|
+
format: detailed
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
name: verifier
|
|
2
|
+
description: Multi-model consensus verification workflow with file-based chaining
|
|
3
|
+
version: "2.0"
|
|
4
|
+
|
|
5
|
+
settings:
|
|
6
|
+
maxCost: 0.50
|
|
7
|
+
|
|
8
|
+
steps:
|
|
9
|
+
# Parallel verification across 5 different models
|
|
10
|
+
# Each model gets 10k tokens, saved to disk
|
|
11
|
+
|
|
12
|
+
- name: verify_gpt5_mini
|
|
13
|
+
tool: openai_compare
|
|
14
|
+
input:
|
|
15
|
+
topic: "Verify the following claim or statement"
|
|
16
|
+
options:
|
|
17
|
+
- "${query}"
|
|
18
|
+
includeRecommendation: false
|
|
19
|
+
saveToFile: true
|
|
20
|
+
maxTokens: 10000
|
|
21
|
+
output:
|
|
22
|
+
variable: gpt5_mini_result
|
|
23
|
+
|
|
24
|
+
- name: verify_gemini
|
|
25
|
+
tool: gemini_analyze_text
|
|
26
|
+
input:
|
|
27
|
+
text: |
|
|
28
|
+
Verify the accuracy and validity of this claim:
|
|
29
|
+
|
|
30
|
+
${query}
|
|
31
|
+
|
|
32
|
+
Provide:
|
|
33
|
+
1. Truth assessment (true/false/partially true/unverifiable)
|
|
34
|
+
2. Supporting evidence
|
|
35
|
+
3. Contradicting evidence
|
|
36
|
+
4. Confidence level (0-100%)
|
|
37
|
+
focus: "verification"
|
|
38
|
+
saveToFile: true
|
|
39
|
+
maxTokens: 10000
|
|
40
|
+
output:
|
|
41
|
+
variable: gemini_result
|
|
42
|
+
|
|
43
|
+
- name: verify_grok
|
|
44
|
+
tool: grok_code
|
|
45
|
+
input:
|
|
46
|
+
code: "${query}"
|
|
47
|
+
task: "verify"
|
|
48
|
+
requirements: |
|
|
49
|
+
Analyze and verify this claim with:
|
|
50
|
+
1. Factual accuracy check
|
|
51
|
+
2. Logical consistency
|
|
52
|
+
3. Evidence assessment
|
|
53
|
+
4. Confidence score
|
|
54
|
+
saveToFile: true
|
|
55
|
+
maxTokens: 10000
|
|
56
|
+
output:
|
|
57
|
+
variable: grok_result
|
|
58
|
+
|
|
59
|
+
- name: verify_qwen
|
|
60
|
+
tool: qwen_coder
|
|
61
|
+
input:
|
|
62
|
+
problem: |
|
|
63
|
+
Verify this technical claim or statement:
|
|
64
|
+
|
|
65
|
+
${query}
|
|
66
|
+
|
|
67
|
+
Provide detailed verification including:
|
|
68
|
+
- Technical accuracy
|
|
69
|
+
- Code/logic correctness (if applicable)
|
|
70
|
+
- Best practices alignment
|
|
71
|
+
- Confidence rating
|
|
72
|
+
saveToFile: true
|
|
73
|
+
maxTokens: 10000
|
|
74
|
+
output:
|
|
75
|
+
variable: qwen_result
|
|
76
|
+
|
|
77
|
+
- name: verify_perplexity
|
|
78
|
+
tool: perplexity_reason
|
|
79
|
+
input:
|
|
80
|
+
query: |
|
|
81
|
+
Verify with web search and reasoning:
|
|
82
|
+
|
|
83
|
+
${query}
|
|
84
|
+
|
|
85
|
+
Check:
|
|
86
|
+
1. Current factual accuracy (check latest sources)
|
|
87
|
+
2. Expert consensus
|
|
88
|
+
3. Recent developments
|
|
89
|
+
4. Source reliability
|
|
90
|
+
saveToFile: true
|
|
91
|
+
maxTokens: 10000
|
|
92
|
+
output:
|
|
93
|
+
variable: perplexity_result
|
|
94
|
+
|
|
95
|
+
# Executive Summary (using Gemini 2.5 Flash for 50k token context)
|
|
96
|
+
- name: executive-summary
|
|
97
|
+
tool: gemini_analyze_text
|
|
98
|
+
input:
|
|
99
|
+
text: |
|
|
100
|
+
${gpt5_mini_result}
|
|
101
|
+
${gemini_result}
|
|
102
|
+
${grok_result}
|
|
103
|
+
${qwen_result}
|
|
104
|
+
${perplexity_result}
|
|
105
|
+
task: |
|
|
106
|
+
Original Query: ${query}
|
|
107
|
+
|
|
108
|
+
Analyze consensus from 5 verification models and create executive summary:
|
|
109
|
+
|
|
110
|
+
## Verification Summary
|
|
111
|
+
- Overall Verdict: [True/False/Partially True/Unverifiable]
|
|
112
|
+
- Consensus Level: [X/5 models agree]
|
|
113
|
+
- Confidence: [0-100%]
|
|
114
|
+
|
|
115
|
+
## Model Verdicts
|
|
116
|
+
[Brief summary of each model's verdict]
|
|
117
|
+
|
|
118
|
+
## Key Evidence
|
|
119
|
+
[Supporting and contradicting evidence]
|
|
120
|
+
|
|
121
|
+
## Outliers & Disagreements
|
|
122
|
+
[Any models that disagree and why]
|
|
123
|
+
|
|
124
|
+
## Final Recommendation
|
|
125
|
+
[Should this claim be trusted? Why or why not?]
|
|
126
|
+
|
|
127
|
+
Keep under 2000 words for Claude Code.
|
|
128
|
+
maxTokens: 6000
|
|
129
|
+
output:
|
|
130
|
+
variable: verification_report
|
|
131
|
+
|
|
132
|
+
output:
|
|
133
|
+
format: detailed
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
name: ultra-creative-brainstorm
|
|
2
|
+
description: Ultra-enhanced brainstorming using optimal model sequencing - Perplexity research first, then Grok analysis, Gemini ideation, synthesis
|
|
3
|
+
version: "3.0"
|
|
4
|
+
|
|
5
|
+
# Usage: workflow --name ultra-creative-brainstorm --query "your topic/problem/idea"
|
|
6
|
+
# Optimal ordering based on AI reasoning research: Research→Reason→Ideate→Connect→Evaluate→Synthesize→Analyze→Implement
|
|
7
|
+
|
|
8
|
+
settings:
|
|
9
|
+
optimization:
|
|
10
|
+
enabled: true
|
|
11
|
+
smartRouting: true
|
|
12
|
+
compressPrompts: false
|
|
13
|
+
autoSynthesis:
|
|
14
|
+
enabled: true
|
|
15
|
+
tokenThreshold: 25000
|
|
16
|
+
checkpointInterval: 12000
|
|
17
|
+
synthesisTool: 'gemini_analyze_text'
|
|
18
|
+
synthesisMaxTokens: 8000
|
|
19
|
+
logLevel: 'info'
|
|
20
|
+
|
|
21
|
+
variables:
|
|
22
|
+
max_ideas: 10
|
|
23
|
+
depth_level: "deep"
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
27
|
+
# PHASE 0: PROBLEM DECOMPOSITION - Break down the problem first
|
|
28
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
29
|
+
|
|
30
|
+
- name: initial-decomposition
|
|
31
|
+
tool: think
|
|
32
|
+
promptTechnique: problem_decomposition
|
|
33
|
+
input:
|
|
34
|
+
thought: "Break down '${query}' into manageable components. What are the core problems, constraints, and success criteria?"
|
|
35
|
+
saveToFile: true
|
|
36
|
+
output:
|
|
37
|
+
variable: problem_structure
|
|
38
|
+
|
|
39
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
40
|
+
# PHASE 1: RESEARCH FOUNDATION - Perplexity first for comprehensive context
|
|
41
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
42
|
+
|
|
43
|
+
- name: comprehensive-research
|
|
44
|
+
tool: perplexity_research
|
|
45
|
+
promptTechnique: comprehensive_investigation
|
|
46
|
+
input:
|
|
47
|
+
topic: "${query}"
|
|
48
|
+
depth: "${depth_level}"
|
|
49
|
+
questions:
|
|
50
|
+
- "What are the current state-of-the-art solutions?"
|
|
51
|
+
- "What recent breakthroughs are relevant?"
|
|
52
|
+
- "What are experts saying about future directions?"
|
|
53
|
+
saveToFile: true
|
|
54
|
+
maxTokens: 12000
|
|
55
|
+
output:
|
|
56
|
+
variable: research_findings
|
|
57
|
+
|
|
58
|
+
- name: evidence-gathering
|
|
59
|
+
tool: perplexity_ask
|
|
60
|
+
promptTechnique: evidence_gathering
|
|
61
|
+
input:
|
|
62
|
+
query: "${query} recent innovations case studies success stories"
|
|
63
|
+
saveToFile: true
|
|
64
|
+
maxTokens: 8000
|
|
65
|
+
output:
|
|
66
|
+
variable: evidence
|
|
67
|
+
|
|
68
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
69
|
+
# PHASE 2: DEEP REASONING - Grok for search + first principles analysis
|
|
70
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
71
|
+
|
|
72
|
+
- name: grok-search-context
|
|
73
|
+
tool: grok_search
|
|
74
|
+
input:
|
|
75
|
+
query: "${query} breakthrough approaches innovative methods"
|
|
76
|
+
recency: "month"
|
|
77
|
+
max_search_results: 15
|
|
78
|
+
saveToFile: true
|
|
79
|
+
maxTokens: 8000
|
|
80
|
+
output:
|
|
81
|
+
variable: grok_search_results
|
|
82
|
+
|
|
83
|
+
- name: first-principles-analysis
|
|
84
|
+
tool: grok_reason
|
|
85
|
+
promptTechnique: first_principles
|
|
86
|
+
input:
|
|
87
|
+
problem: "${query}"
|
|
88
|
+
approach: "first-principles"
|
|
89
|
+
context: "Research findings: ${research_findings}\nProblem structure: ${problem_structure}"
|
|
90
|
+
saveToFile: true
|
|
91
|
+
maxTokens: 10000
|
|
92
|
+
output:
|
|
93
|
+
variable: first_principles
|
|
94
|
+
|
|
95
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
96
|
+
# PHASE 3: DIVERGENT IDEATION - Gemini for creative brainstorming
|
|
97
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
98
|
+
|
|
99
|
+
- name: what-if-speculation
|
|
100
|
+
tool: gemini_brainstorm
|
|
101
|
+
promptTechnique: what_if_speculation
|
|
102
|
+
input:
|
|
103
|
+
prompt: "${query}"
|
|
104
|
+
maxRounds: 2
|
|
105
|
+
claudeThoughts: "Context: ${first_principles}"
|
|
106
|
+
saveToFile: true
|
|
107
|
+
maxTokens: 8000
|
|
108
|
+
output:
|
|
109
|
+
variable: what_if_ideas
|
|
110
|
+
|
|
111
|
+
- name: innovative-solutions
|
|
112
|
+
tool: gemini_brainstorm
|
|
113
|
+
promptTechnique: innovative_solutions
|
|
114
|
+
input:
|
|
115
|
+
prompt: "${query}"
|
|
116
|
+
maxRounds: 2
|
|
117
|
+
claudeThoughts: "Research: ${research_findings}\nFirst principles: ${first_principles}"
|
|
118
|
+
saveToFile: true
|
|
119
|
+
maxTokens: 8000
|
|
120
|
+
output:
|
|
121
|
+
variable: innovative_solutions
|
|
122
|
+
|
|
123
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
124
|
+
# PHASE 4: LONG-CONTEXT CONNECTIONS - Kimi K2 for exploring relationships
|
|
125
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
126
|
+
|
|
127
|
+
- name: alternative-perspectives
|
|
128
|
+
tool: kimi_thinking
|
|
129
|
+
promptTechnique: alternative_perspectives
|
|
130
|
+
input:
|
|
131
|
+
problem: "${query}"
|
|
132
|
+
approach: "creative"
|
|
133
|
+
maxSteps: 10
|
|
134
|
+
context: "Ideas generated: ${what_if_ideas}\n\nInnovative solutions: ${innovative_solutions}"
|
|
135
|
+
saveToFile: true
|
|
136
|
+
maxTokens: 12000
|
|
137
|
+
output:
|
|
138
|
+
variable: perspectives
|
|
139
|
+
|
|
140
|
+
- name: systematic-analysis
|
|
141
|
+
tool: kimi_thinking
|
|
142
|
+
promptTechnique: systematic_analysis
|
|
143
|
+
input:
|
|
144
|
+
problem: "Analyze ${query} systematically considering all perspectives"
|
|
145
|
+
approach: "systematic"
|
|
146
|
+
maxSteps: 12
|
|
147
|
+
context: "Research: ${research_findings}\nPerspectives: ${perspectives}"
|
|
148
|
+
saveToFile: true
|
|
149
|
+
maxTokens: 12000
|
|
150
|
+
output:
|
|
151
|
+
variable: systematic_analysis
|
|
152
|
+
|
|
153
|
+
- name: pattern-reflection
|
|
154
|
+
tool: think
|
|
155
|
+
promptTechnique: quick_reflection
|
|
156
|
+
input:
|
|
157
|
+
thought: "What patterns emerge from ${what_if_ideas}, ${perspectives}, and ${systematic_analysis}?"
|
|
158
|
+
saveToFile: true
|
|
159
|
+
output:
|
|
160
|
+
variable: pattern_reflection
|
|
161
|
+
|
|
162
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
163
|
+
# PHASE 5: CONVERGENT REFINEMENT - Grok for evaluation
|
|
164
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
165
|
+
|
|
166
|
+
- name: grok-evaluation
|
|
167
|
+
tool: grok_reason
|
|
168
|
+
input:
|
|
169
|
+
problem: "Evaluate and refine the most promising ideas for ${query}"
|
|
170
|
+
approach: "analytical"
|
|
171
|
+
context: "Ideas: ${innovative_solutions}\nAnalysis: ${systematic_analysis}"
|
|
172
|
+
saveToFile: true
|
|
173
|
+
maxTokens: 10000
|
|
174
|
+
output:
|
|
175
|
+
variable: grok_evaluation
|
|
176
|
+
|
|
177
|
+
- name: pattern-recognition
|
|
178
|
+
tool: gemini_analyze_text
|
|
179
|
+
promptTechnique: pattern_recognition
|
|
180
|
+
input:
|
|
181
|
+
text: "Analysis of ${query}:\n\n${systematic_analysis}\n\nEvaluation: ${grok_evaluation}"
|
|
182
|
+
type: "analysis"
|
|
183
|
+
saveToFile: true
|
|
184
|
+
maxTokens: 8000
|
|
185
|
+
output:
|
|
186
|
+
variable: patterns
|
|
187
|
+
|
|
188
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
189
|
+
# PHASE 6: SYNTHESIS - GPT-5 for combining best ideas
|
|
190
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
191
|
+
|
|
192
|
+
- name: creative-applications
|
|
193
|
+
tool: focus
|
|
194
|
+
promptTechnique: creative_applications
|
|
195
|
+
input:
|
|
196
|
+
query: "${query} - explore creative applications across domains"
|
|
197
|
+
mode: "code-brainstorm"
|
|
198
|
+
models: ["gpt-5", "gemini-2.5", "grok-3"]
|
|
199
|
+
rounds: 3
|
|
200
|
+
context: "Research: ${research_findings}\nIdeas: ${innovative_solutions}\nPatterns: ${patterns}"
|
|
201
|
+
saveToFile: true
|
|
202
|
+
maxTokens: 15000
|
|
203
|
+
output:
|
|
204
|
+
variable: applications
|
|
205
|
+
|
|
206
|
+
- name: ultimate-synthesis
|
|
207
|
+
tool: openai_brainstorm
|
|
208
|
+
promptTechnique: integration_reflection
|
|
209
|
+
input:
|
|
210
|
+
problem: "Synthesize all perspectives and ideas for ${query} into coherent solutions"
|
|
211
|
+
style: "systematic"
|
|
212
|
+
reasoning_effort: "high"
|
|
213
|
+
model: "gpt-5"
|
|
214
|
+
context: |
|
|
215
|
+
COMPREHENSIVE CONTEXT:
|
|
216
|
+
|
|
217
|
+
Problem Structure: ${problem_structure}
|
|
218
|
+
Research Findings: ${research_findings}
|
|
219
|
+
Evidence: ${evidence}
|
|
220
|
+
First Principles: ${first_principles}
|
|
221
|
+
What-If Ideas: ${what_if_ideas}
|
|
222
|
+
Innovative Solutions: ${innovative_solutions}
|
|
223
|
+
Multiple Perspectives: ${perspectives}
|
|
224
|
+
Systematic Analysis: ${systematic_analysis}
|
|
225
|
+
Patterns: ${patterns}
|
|
226
|
+
Grok Evaluation: ${grok_evaluation}
|
|
227
|
+
Creative Applications: ${applications}
|
|
228
|
+
saveToFile: true
|
|
229
|
+
maxTokens: 20000
|
|
230
|
+
output:
|
|
231
|
+
variable: ultimate_synthesis
|
|
232
|
+
|
|
233
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
234
|
+
# PHASE 7: FEASIBILITY ANALYSIS - Gemini for detailed feasibility
|
|
235
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
236
|
+
|
|
237
|
+
- name: feasibility-analysis
|
|
238
|
+
tool: gemini_analyze_text
|
|
239
|
+
promptTechnique: feasibility_analysis
|
|
240
|
+
input:
|
|
241
|
+
text: "Synthesized solution for ${query}:\n\n${ultimate_synthesis}"
|
|
242
|
+
type: "analysis"
|
|
243
|
+
saveToFile: true
|
|
244
|
+
maxTokens: 12000
|
|
245
|
+
output:
|
|
246
|
+
variable: feasibility
|
|
247
|
+
|
|
248
|
+
- name: final-reflection
|
|
249
|
+
tool: think
|
|
250
|
+
promptTechnique: quick_reflection
|
|
251
|
+
input:
|
|
252
|
+
thought: "Final reflection on ${query}: What are the key insights, risks, and next steps from ${ultimate_synthesis} and ${feasibility}?"
|
|
253
|
+
saveToFile: true
|
|
254
|
+
output:
|
|
255
|
+
variable: final_reflection
|
|
256
|
+
|
|
257
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
258
|
+
# PHASE 8: IMPLEMENTATION - QWEN for technical implementation plan
|
|
259
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
260
|
+
|
|
261
|
+
- name: technical-implementation
|
|
262
|
+
tool: qwen_coder
|
|
263
|
+
input:
|
|
264
|
+
task: "review"
|
|
265
|
+
code: "${ultimate_synthesis}"
|
|
266
|
+
requirements: "Evaluate technical feasibility and create implementation roadmap for: ${query}"
|
|
267
|
+
saveToFile: true
|
|
268
|
+
maxTokens: 10000
|
|
269
|
+
output:
|
|
270
|
+
variable: implementation_plan
|
|
271
|
+
|
|
272
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
273
|
+
# FINAL OUTPUT
|
|
274
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
275
|
+
|
|
276
|
+
- name: executive-summary
|
|
277
|
+
tool: gemini_analyze_text
|
|
278
|
+
input:
|
|
279
|
+
text: |
|
|
280
|
+
ULTRA BRAINSTORM RESULTS FOR: ${query}
|
|
281
|
+
|
|
282
|
+
${ultimate_synthesis}
|
|
283
|
+
|
|
284
|
+
FEASIBILITY: ${feasibility}
|
|
285
|
+
|
|
286
|
+
IMPLEMENTATION: ${implementation_plan}
|
|
287
|
+
type: "summary"
|
|
288
|
+
saveToFile: true
|
|
289
|
+
maxTokens: 12000
|
|
290
|
+
output:
|
|
291
|
+
variable: final_summary
|
|
292
|
+
|
|
293
|
+
output:
|
|
294
|
+
format: "detailed"
|
|
295
|
+
summary: |
|
|
296
|
+
╔═══════════════════════════════════════════════════════════════════════════╗
|
|
297
|
+
║ ULTRA CREATIVE BRAINSTORM COMPLETE (v3.0 - Optimal Sequencing) ║
|
|
298
|
+
║ Topic: ${query} ║
|
|
299
|
+
╚═══════════════════════════════════════════════════════════════════════════╝
|
|
300
|
+
|
|
301
|
+
📊 OPTIMAL MODEL SEQUENCE COMPLETED:
|
|
302
|
+
✅ Phase 0: Problem Decomposition (Think)
|
|
303
|
+
✅ Phase 1: Research Foundation (Perplexity research + ask)
|
|
304
|
+
✅ Phase 2: Deep Reasoning (Grok search + reason)
|
|
305
|
+
✅ Phase 3: Divergent Ideation (Gemini brainstorm)
|
|
306
|
+
✅ Phase 4: Long-Context Connections (Kimi K2 thinking)
|
|
307
|
+
✅ Phase 5: Convergent Refinement (Grok + Gemini analysis)
|
|
308
|
+
✅ Phase 6: Synthesis (GPT-5 via focus + openai_brainstorm)
|
|
309
|
+
✅ Phase 7: Feasibility Analysis (Gemini analysis)
|
|
310
|
+
✅ Phase 8: Implementation (QWEN coder)
|
|
311
|
+
|
|
312
|
+
🎯 EXECUTIVE SUMMARY:
|
|
313
|
+
${final_summary}
|
|
314
|
+
|
|
315
|
+
📁 All outputs saved to: workflow-output/ultra-creative-brainstorm/
|
|
316
|
+
|
|
317
|
+
💡 This workflow follows AI research-backed optimal sequencing:
|
|
318
|
+
Research → Reason → Ideate → Connect → Evaluate → Synthesize → Analyze → Implement
|