ai-consultants 2.10.1
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/.claude/commands/ai-consultants:consult.md +94 -0
- package/.claude/commands/ai-consultants:debate.md +103 -0
- package/.claude/commands/ai-consultants:help.md +30 -0
- package/CLAUDE.md +839 -0
- package/LICENSE +21 -0
- package/README.md +758 -0
- package/SKILL.md +156 -0
- package/bin/ai-consultants +96 -0
- package/docs/COST_RATES.md +172 -0
- package/docs/JSON_SCHEMA.md +305 -0
- package/docs/SETUP.md +879 -0
- package/docs/SMART_ROUTING.md +219 -0
- package/docs/cost_rates.json +143 -0
- package/package.json +47 -0
- package/references/configuration.md +141 -0
- package/references/details.md +60 -0
- package/scripts/build_context.sh +562 -0
- package/scripts/classify_question.sh +148 -0
- package/scripts/config.sh +753 -0
- package/scripts/configure.sh +1093 -0
- package/scripts/consult_all.sh +934 -0
- package/scripts/debate_round.sh +421 -0
- package/scripts/doctor.sh +642 -0
- package/scripts/followup.sh +197 -0
- package/scripts/install.sh +319 -0
- package/scripts/lib/api.sh +640 -0
- package/scripts/lib/api_query.sh +228 -0
- package/scripts/lib/cache.sh +338 -0
- package/scripts/lib/chunking.sh +880 -0
- package/scripts/lib/code_optimizer.sh +671 -0
- package/scripts/lib/common.sh +1088 -0
- package/scripts/lib/costs.sh +674 -0
- package/scripts/lib/personas.sh +372 -0
- package/scripts/lib/progress.sh +251 -0
- package/scripts/lib/reflection.sh +447 -0
- package/scripts/lib/routing.sh +566 -0
- package/scripts/lib/schema.json +165 -0
- package/scripts/lib/session.sh +327 -0
- package/scripts/lib/symbol_map.sh +445 -0
- package/scripts/lib/voting.sh +495 -0
- package/scripts/peer_review.sh +460 -0
- package/scripts/preflight_check.sh +452 -0
- package/scripts/query_aider.sh +83 -0
- package/scripts/query_amp.sh +67 -0
- package/scripts/query_claude.sh +99 -0
- package/scripts/query_codex.sh +92 -0
- package/scripts/query_cursor.sh +72 -0
- package/scripts/query_deepseek.sh +17 -0
- package/scripts/query_gemini.sh +85 -0
- package/scripts/query_glm.sh +17 -0
- package/scripts/query_grok.sh +17 -0
- package/scripts/query_kilo.sh +140 -0
- package/scripts/query_kimi.sh +67 -0
- package/scripts/query_minimax.sh +17 -0
- package/scripts/query_mistral.sh +97 -0
- package/scripts/query_ollama.sh +328 -0
- package/scripts/query_qwen3.sh +93 -0
- package/scripts/setup_wizard.sh +367 -0
- package/scripts/skillport-install.sh +196 -0
- package/scripts/synthesize.sh +332 -0
- package/templates/consultation_report.md +323 -0
- package/templates/synthesis_prompt.md +120 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# AI Consultant Synthesis Prompt
|
|
2
|
+
|
|
3
|
+
You are an expert meta-analyst. Your task is to analyze the responses from AI consultants and produce a structured synthesis.
|
|
4
|
+
|
|
5
|
+
## Consultants and their Roles
|
|
6
|
+
|
|
7
|
+
Each consultant has a persona that shapes their perspective. Common roles include:
|
|
8
|
+
- **The Architect**: Design patterns, scalability, enterprise patterns
|
|
9
|
+
- **The Pragmatist**: Simplicity, practical solutions, quick wins
|
|
10
|
+
- **The Devil's Advocate**: Edge cases, vulnerabilities, risk analysis
|
|
11
|
+
- **The Innovator**: Creativity, unconventional approaches
|
|
12
|
+
- **The Integrator**: Full-stack perspective, holistic view
|
|
13
|
+
- **The Systems Thinker**: System design, component interactions
|
|
14
|
+
- **The Eastern Sage**: Balanced perspectives, holistic understanding
|
|
15
|
+
- **The Analyst**: Data-driven, metrics-focused
|
|
16
|
+
|
|
17
|
+
## Original Question
|
|
18
|
+
|
|
19
|
+
{{QUESTION}}
|
|
20
|
+
|
|
21
|
+
## Consultant Responses
|
|
22
|
+
|
|
23
|
+
{{RESPONSES}}
|
|
24
|
+
|
|
25
|
+
## Analysis Instructions
|
|
26
|
+
|
|
27
|
+
Carefully analyze all responses and produce a report in JSON format:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"consensus": {
|
|
32
|
+
"score": 75,
|
|
33
|
+
"level": "high|medium|low|none",
|
|
34
|
+
"description": "Description of the consensus level",
|
|
35
|
+
"agreed_points": [
|
|
36
|
+
"Point on which >= 3 consultants agree"
|
|
37
|
+
],
|
|
38
|
+
"disagreed_points": [
|
|
39
|
+
{
|
|
40
|
+
"topic": "Topic of disagreement",
|
|
41
|
+
"positions": {
|
|
42
|
+
"<consultant_name>": "<position for each consultant that addressed this topic>"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"weighted_recommendation": {
|
|
48
|
+
"approach": "Recommended approach",
|
|
49
|
+
"summary": "Summary of the recommendation in 2-3 sentences",
|
|
50
|
+
"detailed": "Detailed explanation",
|
|
51
|
+
"confidence_weighted_score": 8.2,
|
|
52
|
+
"supporting_consultants": ["<consultants supporting the recommendation>"],
|
|
53
|
+
"dissenting_consultants": ["<consultants who disagree>"],
|
|
54
|
+
"neutral_consultants": ["<consultants with no strong position>"]
|
|
55
|
+
},
|
|
56
|
+
"comparison_table": {
|
|
57
|
+
"headers": ["Aspect", "<consultant_name>", "..."],
|
|
58
|
+
"rows": [
|
|
59
|
+
{
|
|
60
|
+
"aspect": "Approach",
|
|
61
|
+
"<consultant_name>": "<value for each consultant that responded>"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"aspect": "Complexity",
|
|
65
|
+
"<consultant_name>": "<value>"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"aspect": "Scalability",
|
|
69
|
+
"<consultant_name>": "<value>"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"aspect": "Risks",
|
|
73
|
+
"<consultant_name>": "<value>"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"risk_assessment": {
|
|
78
|
+
"overall_risk": "low|medium|high",
|
|
79
|
+
"risks": [
|
|
80
|
+
{
|
|
81
|
+
"description": "Identified risk",
|
|
82
|
+
"severity": "low|medium|high",
|
|
83
|
+
"mitigation": "How to mitigate it",
|
|
84
|
+
"identified_by": ["<consultant(s) who identified this risk>"]
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"action_items": [
|
|
89
|
+
{
|
|
90
|
+
"priority": 1,
|
|
91
|
+
"action": "First thing to do",
|
|
92
|
+
"rationale": "Why it is a priority"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"follow_up_questions": [
|
|
96
|
+
"Question that could help clarify further"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Rules for Calculating Consensus Score
|
|
102
|
+
|
|
103
|
+
- **100%**: All consultants completely agree
|
|
104
|
+
- **75-99%**: Most agree, few have different opinions
|
|
105
|
+
- **50-74%**: Split opinions or partial agreement
|
|
106
|
+
- **25-49%**: Strong disagreement, incompatible approaches
|
|
107
|
+
- **0-24%**: No points of convergence
|
|
108
|
+
|
|
109
|
+
## Rules for Confidence-Weighted Score
|
|
110
|
+
|
|
111
|
+
The weighted score is calculated as follows:
|
|
112
|
+
```
|
|
113
|
+
weighted_score = Σ(consultant_confidence * approach_match) / Σ(consultant_confidence)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Where `approach_match` is 1 if the consultant supports the recommended approach, 0.5 if neutral, 0 if dissenting.
|
|
117
|
+
|
|
118
|
+
## Output
|
|
119
|
+
|
|
120
|
+
Reply ONLY with valid JSON, without additional text.
|