@crowdlisten/harness 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/AGENTS.md +167 -0
  2. package/LICENSE +21 -0
  3. package/README.md +153 -0
  4. package/dist/agent-proxy.d.ts +24 -0
  5. package/dist/agent-proxy.js +140 -0
  6. package/dist/agent-tools.d.ts +736 -0
  7. package/dist/agent-tools.js +409 -0
  8. package/dist/context/api.d.ts +5 -0
  9. package/dist/context/api.js +164 -0
  10. package/dist/context/cli.d.ts +19 -0
  11. package/dist/context/cli.js +108 -0
  12. package/dist/context/extractor.d.ts +12 -0
  13. package/dist/context/extractor.js +43 -0
  14. package/dist/context/index.d.ts +12 -0
  15. package/dist/context/index.js +11 -0
  16. package/dist/context/matcher.d.ts +39 -0
  17. package/dist/context/matcher.js +246 -0
  18. package/dist/context/parser.d.ts +28 -0
  19. package/dist/context/parser.js +157 -0
  20. package/dist/context/pipeline.d.ts +26 -0
  21. package/dist/context/pipeline.js +56 -0
  22. package/dist/context/prompts.d.ts +6 -0
  23. package/dist/context/prompts.js +60 -0
  24. package/dist/context/providers.d.ts +6 -0
  25. package/dist/context/providers.js +106 -0
  26. package/dist/context/redactor.d.ts +10 -0
  27. package/dist/context/redactor.js +68 -0
  28. package/dist/context/server.d.ts +5 -0
  29. package/dist/context/server.js +134 -0
  30. package/dist/context/store.d.ts +12 -0
  31. package/dist/context/store.js +82 -0
  32. package/dist/context/types.d.ts +79 -0
  33. package/dist/context/types.js +4 -0
  34. package/dist/context/user-state.d.ts +40 -0
  35. package/dist/context/user-state.js +144 -0
  36. package/dist/index.d.ts +14 -0
  37. package/dist/index.js +385 -0
  38. package/dist/insights/browser/BrowserPool.d.ts +87 -0
  39. package/dist/insights/browser/BrowserPool.js +266 -0
  40. package/dist/insights/browser/RequestInterceptor.d.ts +46 -0
  41. package/dist/insights/browser/RequestInterceptor.js +115 -0
  42. package/dist/insights/cli.d.ts +8 -0
  43. package/dist/insights/cli.js +206 -0
  44. package/dist/insights/core/base/BaseAdapter.d.ts +37 -0
  45. package/dist/insights/core/base/BaseAdapter.js +123 -0
  46. package/dist/insights/core/health/HealthMonitor.d.ts +75 -0
  47. package/dist/insights/core/health/HealthMonitor.js +171 -0
  48. package/dist/insights/core/interfaces/SocialMediaPlatform.d.ts +125 -0
  49. package/dist/insights/core/interfaces/SocialMediaPlatform.js +42 -0
  50. package/dist/insights/core/utils/DataNormalizer.d.ts +53 -0
  51. package/dist/insights/core/utils/DataNormalizer.js +349 -0
  52. package/dist/insights/core/utils/InstagramUrlUtils.d.ts +11 -0
  53. package/dist/insights/core/utils/InstagramUrlUtils.js +60 -0
  54. package/dist/insights/core/utils/TikTokUrlUtils.d.ts +10 -0
  55. package/dist/insights/core/utils/TikTokUrlUtils.js +57 -0
  56. package/dist/insights/handlers.d.ts +157 -0
  57. package/dist/insights/handlers.js +246 -0
  58. package/dist/insights/index.d.ts +437 -0
  59. package/dist/insights/index.js +426 -0
  60. package/dist/insights/platforms/instagram/InstagramAdapter.d.ts +34 -0
  61. package/dist/insights/platforms/instagram/InstagramAdapter.js +342 -0
  62. package/dist/insights/platforms/moltbook/MoltbookAdapter.d.ts +31 -0
  63. package/dist/insights/platforms/moltbook/MoltbookAdapter.js +227 -0
  64. package/dist/insights/platforms/reddit/RedditAdapter.d.ts +21 -0
  65. package/dist/insights/platforms/reddit/RedditAdapter.js +212 -0
  66. package/dist/insights/platforms/tiktok/TikTokAdapter.d.ts +34 -0
  67. package/dist/insights/platforms/tiktok/TikTokAdapter.js +269 -0
  68. package/dist/insights/platforms/twitter/TwitterAdapter.d.ts +23 -0
  69. package/dist/insights/platforms/twitter/TwitterAdapter.js +211 -0
  70. package/dist/insights/platforms/xiaohongshu/XiaohongshuAdapter.d.ts +35 -0
  71. package/dist/insights/platforms/xiaohongshu/XiaohongshuAdapter.js +258 -0
  72. package/dist/insights/platforms/youtube/YouTubeAdapter.d.ts +22 -0
  73. package/dist/insights/platforms/youtube/YouTubeAdapter.js +254 -0
  74. package/dist/insights/service-config.d.ts +7 -0
  75. package/dist/insights/service-config.js +60 -0
  76. package/dist/insights/services/UnifiedSocialMediaService.d.ts +94 -0
  77. package/dist/insights/services/UnifiedSocialMediaService.js +259 -0
  78. package/dist/insights/vision/VisionExtractor.d.ts +46 -0
  79. package/dist/insights/vision/VisionExtractor.js +236 -0
  80. package/dist/learnings.d.ts +50 -0
  81. package/dist/learnings.js +130 -0
  82. package/dist/openapi.d.ts +29 -0
  83. package/dist/openapi.js +169 -0
  84. package/dist/server-factory.d.ts +20 -0
  85. package/dist/server-factory.js +41 -0
  86. package/dist/suggestions.d.ts +16 -0
  87. package/dist/suggestions.js +72 -0
  88. package/dist/telemetry.d.ts +44 -0
  89. package/dist/telemetry.js +93 -0
  90. package/dist/tools/registry.d.ts +65 -0
  91. package/dist/tools/registry.js +256 -0
  92. package/dist/tools.d.ts +2433 -0
  93. package/dist/tools.js +2294 -0
  94. package/dist/transport/http.d.ts +15 -0
  95. package/dist/transport/http.js +154 -0
  96. package/package.json +76 -0
  97. package/skills/catalog.json +272 -0
  98. package/skills/community-catalog.json +4202 -0
  99. package/skills/competitive-analysis/SKILL.md +174 -0
  100. package/skills/content-creator/SKILL.md +256 -0
  101. package/skills/content-strategy/SKILL.md +222 -0
  102. package/skills/data-storytelling/SKILL.md +248 -0
  103. package/skills/heuristic-evaluation/SKILL.md +201 -0
  104. package/skills/market-research-reports/SKILL.md +184 -0
  105. package/skills/user-stories/SKILL.md +178 -0
  106. package/skills/ux-researcher/SKILL.md +239 -0
  107. package/web-dist/assets/index-B1b25lNd.css +1 -0
  108. package/web-dist/assets/index-CDWHwHbl.js +64 -0
  109. package/web-dist/index.html +16 -0
@@ -0,0 +1,248 @@
1
+ ---
2
+ name: crowdlisten:data-storytelling
3
+ description: Transform data and analysis into compelling narratives. Problem-Solution, Trend, Comparison, Hero's Journey frameworks. Use when presenting insights to stakeholders.
4
+ user-invocable: true
5
+ allowed-tools: Bash, Read, Write, WebFetch, Grep
6
+ metadata:
7
+ openclaw:
8
+ category: data
9
+ tags: [data-storytelling, narrative, visualization, executive-communication]
10
+ requires_api_key: false
11
+ ---
12
+
13
+ # Data Storytelling
14
+
15
+ Transform raw data and analysis into compelling, memorable narratives that drive action and understanding.
16
+
17
+ ## Before You Start
18
+
19
+ Ask your human for business context — this skill produces significantly better output when grounded in specifics:
20
+
21
+ - **Target market**: Who are the customers? What industry/segment?
22
+ - **Key competitors**: Which brands or products to compare against?
23
+ - **Constraints**: Budget, timeline, geographic focus?
24
+ - **Decision context**: What decisions will this analysis inform? (roadmap, funding, positioning, hiring?)
25
+ - **Existing data**: Any prior research, internal metrics, or hypotheses to validate?
26
+
27
+ ## Capabilities
28
+
29
+ This skill enables:
30
+ - **Narrative Construction**: Build compelling stories from data
31
+ - **Framework Application**: Problem-Solution, Trend, Comparison, and more
32
+ - **Audience Adaptation**: Tailor stories for different stakeholders
33
+ - **Visual Storytelling**: Design supporting data visualizations
34
+ - **Executive Communication**: Synthesize for C-suite presentations
35
+
36
+ ## Story Frameworks
37
+
38
+ ### Problem-Solution Framework
39
+ Structure data around a challenge and its resolution:
40
+
41
+ ```markdown
42
+ ## The Challenge
43
+ [Present the problem with data that shows its magnitude and urgency]
44
+
45
+ ## The Impact
46
+ [Quantify the consequences - what happens if nothing changes]
47
+
48
+ ## The Insight
49
+ [The "aha moment" - what the data revealed]
50
+
51
+ ## The Solution
52
+ [Data-backed approach to solving the problem]
53
+
54
+ ## The Outcome
55
+ [Projected or actual results with supporting metrics]
56
+ ```
57
+
58
+ ### Trend Narrative Framework
59
+ Tell the story of change over time:
60
+
61
+ ```markdown
62
+ ## Where We Were
63
+ [Historical baseline - establish the starting point with data]
64
+
65
+ ## The Catalyst
66
+ [What changed - the inflection point or driving event]
67
+
68
+ ## The Trajectory
69
+ [How things evolved - show the trend with data points]
70
+
71
+ ## Where We're Heading
72
+ [Future projection based on current trajectory]
73
+
74
+ ## What It Means
75
+ [Implications and recommended actions]
76
+ ```
77
+
78
+ ### Comparison Framework
79
+ Illuminate differences to drive decisions:
80
+
81
+ ```markdown
82
+ ## The Options
83
+ [Present what's being compared]
84
+
85
+ ## The Criteria
86
+ [Establish the basis for comparison]
87
+
88
+ ## The Analysis
89
+ [Side-by-side data comparison]
90
+
91
+ ## The Winner
92
+ [Clear recommendation with data justification]
93
+
94
+ ## The Caveats
95
+ [Limitations and context for the comparison]
96
+ ```
97
+
98
+ ### Hero's Journey Framework
99
+ Cast the audience/customer as the protagonist:
100
+
101
+ ```markdown
102
+ ## The Ordinary World
103
+ [Current state - where the hero starts]
104
+
105
+ ## The Call to Adventure
106
+ [The challenge or opportunity presenting itself]
107
+
108
+ ## The Challenges
109
+ [Obstacles and data showing difficulty]
110
+
111
+ ## The Transformation
112
+ [How the solution changed things]
113
+
114
+ ## The Return
115
+ [New normal with quantified improvements]
116
+ ```
117
+
118
+ ## Narrative Elements
119
+
120
+ ### The Hook
121
+ Open with something surprising, challenging, or emotionally resonant:
122
+ - Counterintuitive statistic
123
+ - Provocative question
124
+ - Relatable scenario
125
+ - Bold statement
126
+
127
+ ### The Build
128
+ Develop understanding progressively:
129
+ - Context and background
130
+ - Supporting evidence
131
+ - Building complexity
132
+ - Addressing objections
133
+
134
+ ### The Payoff
135
+ Deliver the insight with impact:
136
+ - Clear conclusion
137
+ - Actionable recommendations
138
+ - Memorable takeaway
139
+ - Call to action
140
+
141
+ ## Story Templates
142
+
143
+ ### Executive Summary Story
144
+ ```markdown
145
+ # [Compelling Title]
146
+
147
+ ## Key Finding
148
+ [One sentence that captures the essential insight]
149
+
150
+ ## Why It Matters
151
+ [2-3 sentences on business impact]
152
+
153
+ ## The Evidence
154
+ [3-5 supporting data points]
155
+
156
+ ## Recommended Action
157
+ [Clear next step with timeline]
158
+
159
+ ## If We Don't Act
160
+ [Risk of inaction with data]
161
+ ```
162
+
163
+ ### Insight Narrative
164
+ ```markdown
165
+ # [Insight Title]
166
+
167
+ ## The Discovery
168
+ [What we found and why it's significant]
169
+
170
+ ## The Story Behind the Numbers
171
+ [Context that brings data to life]
172
+
173
+ ## What the Data Shows
174
+ ### Finding 1: [Title]
175
+ [Evidence with visualization]
176
+
177
+ ### Finding 2: [Title]
178
+ [Evidence with visualization]
179
+
180
+ ### Finding 3: [Title]
181
+ [Evidence with visualization]
182
+
183
+ ## The Bigger Picture
184
+ [How this connects to broader trends/goals]
185
+
186
+ ## What This Means for You
187
+ [Personalized implications for the audience]
188
+
189
+ ## Next Steps
190
+ [Actionable recommendations]
191
+ ```
192
+
193
+ ### Trend Report Story
194
+ ```markdown
195
+ # [Trend Title]: What the Data Tells Us
196
+
197
+ ## The Headline
198
+ [Attention-grabbing summary statistic]
199
+
200
+ ## The Backstory
201
+ [How we got here]
202
+
203
+ ## The Current State
204
+ [Present situation with data]
205
+
206
+ ## The Trajectory
207
+ [Where things are heading]
208
+
209
+ ## The Drivers
210
+ [What's causing this trend]
211
+
212
+ ## The Opportunities
213
+ [How to capitalize]
214
+
215
+ ## The Risks
216
+ [What to watch out for]
217
+
218
+ ## The Bottom Line
219
+ [Key takeaway for decision-makers]
220
+ ```
221
+
222
+ ## Visualization Principles
223
+
224
+ ### Choose the Right Chart
225
+ | Data Type | Recommended Visualization |
226
+ |-----------|--------------------------|
227
+ | Trends over time | Line chart, area chart |
228
+ | Part-to-whole | Pie chart, stacked bar |
229
+ | Comparisons | Bar chart, grouped bar |
230
+ | Distribution | Histogram, box plot |
231
+ | Relationships | Scatter plot, bubble chart |
232
+ | Geographic | Map, choropleth |
233
+
234
+ ### Design Guidelines
235
+ 1. **Title tells the story**: Not "Sales by Region" but "Western Region Leads Growth"
236
+ 2. **Highlight the insight**: Use color/size to draw attention
237
+ 3. **Remove clutter**: Every element should serve a purpose
238
+ 4. **Provide context**: Include benchmarks, targets, or comparisons
239
+ 5. **Make it accessible**: Consider colorblind-friendly palettes
240
+
241
+ ## Integration with CrowdListen
242
+
243
+ This skill enhances CrowdListen by:
244
+ - Transforming social listening analyses into executive narratives
245
+ - Creating compelling stories from community sentiment data
246
+ - Designing presentations that communicate crowd insights effectively
247
+ - Adapting technical findings for non-technical stakeholders
248
+ - Building persuasive cases from user feedback and opinions
@@ -0,0 +1,201 @@
1
+ ---
2
+ name: crowdlisten:heuristic-evaluation
3
+ description: Customer feedback analysis from social conversations. Journey friction detection, pain point mapping, persona generation, churn risk signals. Requires CROWDLISTEN_API_KEY.
4
+ user-invocable: true
5
+ allowed-tools: Bash, Read, Write, WebFetch, Grep
6
+ metadata:
7
+ openclaw:
8
+ category: research
9
+ tags: [customer-feedback, journey-analysis, pain-points, churn-risk]
10
+ requires_api_key: true
11
+ ---
12
+
13
+ # Heuristic Evaluation
14
+
15
+ Every conversation is customer research. Extract structured UX and CX insights from social discussions using CrowdListen audience intelligence.
16
+
17
+ Consolidates: voice-of-customer, audience-discovery (persona generation, community mapping)
18
+
19
+ ## Before You Start
20
+
21
+ Ask your human for business context — this skill produces significantly better output when grounded in specifics:
22
+
23
+ - **Target market**: Who are the customers? What industry/segment?
24
+ - **Key competitors**: Which brands or products to compare against?
25
+ - **Constraints**: Budget, timeline, geographic focus?
26
+ - **Decision context**: What decisions will this analysis inform? (roadmap, funding, positioning, hiring?)
27
+ - **Existing data**: Any prior research, internal metrics, or hypotheses to validate?
28
+
29
+ ## When to Use This Skill
30
+
31
+ - Customer experience analysis and improvement
32
+ - Journey friction detection and optimization
33
+ - Feedback clustering and pain point mapping
34
+ - Usability signal detection from organic discussions
35
+ - Support strategy and ticket deflection
36
+ - Customer health monitoring and churn prevention
37
+ - Identifying and profiling target audience segments
38
+
39
+ ## Foundation: CrowdListen Tools
40
+
41
+ This skill builds on CrowdListen's core capabilities:
42
+ - `search_content` — Find customer discussions and feedback
43
+ - `analyze_content` — Extract sentiment and themes from feedback
44
+ - `cluster_opinions` — Group feedback into actionable categories
45
+ - `get_content_comments` — Mine comment threads for detailed feedback
46
+ - `sentiment_evolution_tracker` — Track satisfaction trends over time
47
+ - `expert_identification` — Find key opinion leaders in communities
48
+
49
+ ## Workflows
50
+
51
+ ### 1. Journey Friction Detection
52
+
53
+ Identify where in the customer journey users experience friction.
54
+
55
+ **Process**:
56
+ 1. Search for stage-specific frustration signals:
57
+ - Discovery: "how do I find", "confusing options"
58
+ - Onboarding: "setup", "getting started", "first time"
59
+ - Core usage: "every time I try to", "should be easier"
60
+ - Expansion: "upgrade", "pricing", "worth paying for"
61
+ - Renewal/Churn: "canceling", "alternative", "leaving"
62
+ 2. Map friction points to journey stages
63
+ 3. Score by impact on conversion/retention
64
+
65
+ **Output Template**:
66
+ ```markdown
67
+ ## Journey Friction Map
68
+
69
+ | Stage | Friction Points | Severity | Volume | Impact |
70
+ |-------|----------------|----------|--------|--------|
71
+ | Discovery | [friction] | [H/M/L] | [count] | [conversion loss est.] |
72
+ | Onboarding | [friction] | [H/M/L] | [count] | [activation loss est.] |
73
+ | Core Usage | [friction] | [H/M/L] | [count] | [engagement loss est.] |
74
+
75
+ ### Biggest Friction: [Stage — Problem]
76
+ **What users say**: [synthesis with quotes]
77
+ **Why it matters**: [business impact]
78
+ **Recommended fix**: [specific action]
79
+ ```
80
+
81
+ ### 2. Feedback Clustering
82
+
83
+ Group unstructured customer feedback into actionable themes.
84
+
85
+ **Process**:
86
+ 1. Search for product mentions with sentiment indicators
87
+ 2. Use `cluster_opinions` to group by root theme (not surface keywords)
88
+ 3. Score each cluster by: volume, severity, trend direction
89
+ 4. Map clusters to product areas and responsible teams
90
+
91
+ **Output Template**:
92
+ ```markdown
93
+ ## Feedback Clusters — [Period]
94
+
95
+ ### Cluster 1: [Theme Name] (Severity: Critical)
96
+ - **Volume**: X mentions across Y platforms
97
+ - **Trend**: [rising/stable/declining] over [period]
98
+ - **Product area**: [Onboarding / Core UX / Pricing / Performance / Support]
99
+ - **Representative quotes**:
100
+ > "[Quote 1]" — [platform, engagement count]
101
+ - **Action**: [Specific recommendation]
102
+
103
+ ### Summary Table
104
+ | Theme | Volume | Severity | Trend | Owner | Status |
105
+ |-------|--------|----------|-------|-------|--------|
106
+ | [Theme] | [count] | [Crit/Imp/Mon] | [arrow] | [team] | [New/Known/WIP] |
107
+ ```
108
+
109
+ ### 3. Pain Point Mapping
110
+
111
+ Cluster user frustrations into addressable product problems.
112
+
113
+ **Process**:
114
+ 1. Search for negative sentiment discussions about your product/category
115
+ 2. Use `cluster_opinions` to group by root cause, not symptom
116
+ 3. Map clusters to product areas (onboarding, core UX, pricing, performance, etc.)
117
+
118
+ **Output Template**:
119
+ ```markdown
120
+ ## Pain Point Map
121
+
122
+ ### Critical (High frequency + High severity)
123
+ **[Pain Point Cluster Name]**
124
+ - Affected area: [Product area]
125
+ - Frequency: [X mentions/week]
126
+ - Severity: [Users leaving / Users complaining / Users working around]
127
+ - Root cause hypothesis: [Why this happens]
128
+ - Example quotes:
129
+ > "[quote]" — [platform, date]
130
+
131
+ ### Important (High frequency OR High severity)
132
+ [Same structure]
133
+ ```
134
+
135
+ ### 4. Data-Driven Persona Generation
136
+
137
+ Create personas from real social discussions, not assumptions.
138
+
139
+ **Process**:
140
+ 1. Search for your product category across platforms
141
+ 2. Analyze discussants' language, concerns, goals, and context clues
142
+ 3. Cluster into distinct persona groups by behavior patterns
143
+ 4. Validate against engagement patterns
144
+
145
+ **Output Template**:
146
+ ```markdown
147
+ ## Audience Personas — [Category]
148
+
149
+ ### Persona 1: [Name] — "[One-line description]"
150
+ **Archetype**: [Role/behavior archetype]
151
+ **Estimated segment size**: [% of audience]
152
+
153
+ **Goals**:
154
+ 1. [Primary goal with evidence from social discussions]
155
+
156
+ **Pain Points**:
157
+ 1. [Frustration with evidence]
158
+
159
+ **Behavior Patterns**:
160
+ - Platforms: [Where they're most active]
161
+ - Content preference: [What they engage with]
162
+ - Decision process: [How they evaluate products]
163
+
164
+ **Representative Quote**:
165
+ > "[Actual quote from social discussions]"
166
+ ```
167
+
168
+ ### 5. Churn Risk Signals
169
+
170
+ Detect early warning signs that customers may leave.
171
+
172
+ **Process**:
173
+ 1. Search for switching discussions, alternative evaluations, frustration escalation
174
+ 2. Identify churn precursor patterns
175
+ 3. Score current churn risk level based on signal volume and trend
176
+
177
+ **Output Template**:
178
+ ```markdown
179
+ ## Churn Risk Dashboard — [Period]
180
+
181
+ **Overall Risk Level**: [Low / Moderate / Elevated / High]
182
+
183
+ ### Active Churn Signals
184
+ | Signal Type | Volume | Trend | Severity |
185
+ |-------------|--------|-------|----------|
186
+ | Competitor comparison shopping | [count] | [up/down] | [H/M/L] |
187
+ | "Alternative to [product]" searches | [count] | [up/down] | [H/M/L] |
188
+
189
+ ### Retention Recommendations
190
+ - **Quick win**: [action that could immediately reduce churn risk]
191
+ - **Strategic fix**: [larger initiative to address root cause]
192
+ ```
193
+
194
+ ## Integration with CrowdListen
195
+
196
+ This skill enhances CrowdListen analyses by:
197
+ - Providing structured UX/CX reports from unstructured social data
198
+ - Detecting journey friction before it shows in retention metrics
199
+ - Creating research-backed audience profiles from real social data
200
+ - Connecting social sentiment to customer journey stages
201
+ - Enabling continuous customer health monitoring without surveys
@@ -0,0 +1,184 @@
1
+ ---
2
+ name: crowdlisten:market-research
3
+ description: Generate comprehensive market research reports with Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, BCG Matrix. Use for market analysis, competitive landscape, industry trends.
4
+ user-invocable: true
5
+ allowed-tools: Bash, Read, Write, WebFetch, Grep
6
+ metadata:
7
+ openclaw:
8
+ category: research
9
+ tags: [market-research, porters-five-forces, swot, tam-sam-som]
10
+ requires_api_key: false
11
+ ---
12
+
13
+ # Market Research Reports
14
+
15
+ Generate comprehensive, analyst-grade market research reports using established strategic frameworks and methodologies.
16
+
17
+ ## Before You Start
18
+
19
+ Ask your human for business context — this skill produces significantly better output when grounded in specifics:
20
+
21
+ - **Target market**: Who are the customers? What industry/segment?
22
+ - **Key competitors**: Which brands or products to compare against?
23
+ - **Constraints**: Budget, timeline, geographic focus?
24
+ - **Decision context**: What decisions will this analysis inform? (roadmap, funding, positioning, hiring?)
25
+ - **Existing data**: Any prior research, internal metrics, or hypotheses to validate?
26
+
27
+ ## Capabilities
28
+
29
+ This skill enables generation of:
30
+ - **Comprehensive Market Analysis**: 50+ page detailed reports
31
+ - **Strategic Framework Application**: Porter's Five Forces, PESTLE, SWOT, BCG Matrix
32
+ - **Market Sizing**: TAM/SAM/SOM calculations with methodology
33
+ - **Competitive Intelligence**: Competitor profiling and positioning analysis
34
+ - **Trend Analysis**: Industry trends, growth drivers, and future outlook
35
+
36
+ ## Core Frameworks
37
+
38
+ ### Porter's Five Forces
39
+ Analyze competitive intensity and attractiveness of a market:
40
+ 1. **Threat of New Entrants**: Barriers to entry, capital requirements
41
+ 2. **Bargaining Power of Suppliers**: Supplier concentration, switching costs
42
+ 3. **Bargaining Power of Buyers**: Buyer concentration, price sensitivity
43
+ 4. **Threat of Substitutes**: Alternative products, switching costs
44
+ 5. **Competitive Rivalry**: Number of competitors, industry growth rate
45
+
46
+ ### PESTLE Analysis
47
+ Macro-environmental factors affecting the market:
48
+ - **Political**: Government policies, trade regulations, political stability
49
+ - **Economic**: GDP growth, inflation, exchange rates, unemployment
50
+ - **Social**: Demographics, cultural trends, consumer behavior
51
+ - **Technological**: Innovation, R&D, automation, digital transformation
52
+ - **Legal**: Regulatory frameworks, compliance requirements, IP laws
53
+ - **Environmental**: Sustainability, climate impact, environmental regulations
54
+
55
+ ### SWOT Analysis
56
+ Internal and external factor assessment:
57
+ - **Strengths**: Internal capabilities and competitive advantages
58
+ - **Weaknesses**: Internal limitations and areas for improvement
59
+ - **Opportunities**: External favorable conditions and growth potential
60
+ - **Threats**: External challenges and competitive risks
61
+
62
+ ### TAM/SAM/SOM Market Sizing
63
+ - **Total Addressable Market (TAM)**: Total market demand
64
+ - **Serviceable Addressable Market (SAM)**: Portion you can target
65
+ - **Serviceable Obtainable Market (SOM)**: Realistic market capture
66
+
67
+ ### BCG Growth-Share Matrix
68
+ Portfolio analysis for multi-product/segment evaluation:
69
+ - **Stars**: High growth, high market share
70
+ - **Cash Cows**: Low growth, high market share
71
+ - **Question Marks**: High growth, low market share
72
+ - **Dogs**: Low growth, low market share
73
+
74
+ ## Report Structure
75
+
76
+ ### Standard Market Research Report
77
+
78
+ ```markdown
79
+ # [Industry/Market] Research Report
80
+
81
+ ## Executive Summary
82
+ - Key findings
83
+ - Market size and growth
84
+ - Critical success factors
85
+ - Strategic recommendations
86
+
87
+ ## Market Overview
88
+ - Market definition and scope
89
+ - Historical development
90
+ - Current state of the market
91
+
92
+ ## Market Size & Forecast
93
+ - TAM/SAM/SOM analysis
94
+ - Growth projections (5-year)
95
+ - Regional breakdown
96
+
97
+ ## Industry Analysis
98
+ ### Porter's Five Forces
99
+ [Detailed analysis of each force]
100
+
101
+ ### PESTLE Analysis
102
+ [Macro-environmental factors]
103
+
104
+ ## Competitive Landscape
105
+ - Major players and market share
106
+ - Competitive positioning map
107
+ - Competitor profiles
108
+
109
+ ## Customer Analysis
110
+ - Customer segments
111
+ - Buying behavior
112
+ - Unmet needs
113
+
114
+ ## Trends & Drivers
115
+ - Key market trends
116
+ - Growth drivers
117
+ - Inhibitors and challenges
118
+
119
+ ## SWOT Analysis
120
+ [Internal/external factors]
121
+
122
+ ## Strategic Recommendations
123
+ - Market entry strategies
124
+ - Competitive positioning
125
+ - Investment priorities
126
+
127
+ ## Appendix
128
+ - Data sources
129
+ - Methodology
130
+ - Definitions
131
+ ```
132
+
133
+ ## Usage
134
+
135
+ ### Generate Market Research Report
136
+
137
+ ```python
138
+ # Example: Request a market research report
139
+ await generate_market_report(
140
+ industry="Electric Vehicle Charging Infrastructure",
141
+ geography="North America",
142
+ depth="comprehensive", # comprehensive | executive | segment
143
+ frameworks=["porters", "pestle", "swot", "tam_sam_som"]
144
+ )
145
+ ```
146
+
147
+ ### Analyze Competitive Landscape
148
+
149
+ ```python
150
+ # Example: Competitive analysis
151
+ await analyze_competitors(
152
+ market="SaaS Project Management Tools",
153
+ competitors=["Asana", "Monday.com", "Notion", "ClickUp"],
154
+ dimensions=["pricing", "features", "market_position", "growth"]
155
+ )
156
+ ```
157
+
158
+ ### Market Sizing
159
+
160
+ ```python
161
+ # Example: Calculate TAM/SAM/SOM
162
+ await calculate_market_size(
163
+ product="AI-powered Customer Service Platform",
164
+ target_segment="Mid-market B2B SaaS",
165
+ geography="Global",
166
+ methodology="bottom_up" # bottom_up | top_down | value_based
167
+ )
168
+ ```
169
+
170
+ ## Output Quality Standards
171
+
172
+ 1. **Data-Driven**: All claims supported by data sources
173
+ 2. **Cited Sources**: Academic, industry reports, and primary research
174
+ 3. **Actionable Insights**: Strategic recommendations with clear rationale
175
+ 4. **Visual Support**: Charts, graphs, and matrices where applicable
176
+ 5. **Professional Format**: Executive-ready presentation quality
177
+
178
+ ## Integration with CrowdListen
179
+
180
+ This skill enhances CrowdListen analyses by:
181
+ - Providing market context for social listening insights
182
+ - Connecting community sentiment to industry trends
183
+ - Enabling competitive intelligence from social data
184
+ - Supporting strategic decision-making with comprehensive research