@anysiteio/agent-skills 1.4.0 → 2.0.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-plugin/marketplace.json +49 -1
- package/.claude-plugin/plugin.json +5 -1
- package/README.md +27 -33
- package/bin/install.js +196 -135
- package/bundles.json +19 -0
- package/package.json +3 -2
- package/skills/anysite-audience-analysis/SKILL.md +110 -38
- package/skills/anysite-audience-analysis/references/PLATFORM_COVERAGE.md +38 -19
- package/skills/anysite-audience-analysis/references/TOOL_MAPPING.md +16 -11
- package/skills/anysite-brand-reputation/SKILL.md +105 -43
- package/skills/anysite-competitor-analyzer/SKILL.md +170 -111
- package/skills/anysite-competitor-intelligence/SKILL.md +201 -116
- package/skills/anysite-competitor-intelligence/references/ANALYSIS_PATTERNS.md +17 -13
- package/skills/anysite-content-analytics/SKILL.md +101 -33
- package/skills/anysite-crm-account-brief/SKILL.md +71 -0
- package/skills/anysite-crm-audit/SKILL.md +59 -0
- package/skills/anysite-crm-champions/SKILL.md +76 -0
- package/skills/anysite-crm-competitor-intel/SKILL.md +74 -0
- package/skills/anysite-crm-enrich/SKILL.md +84 -0
- package/skills/anysite-crm-lookalikes/SKILL.md +64 -0
- package/skills/anysite-crm-prospect/SKILL.md +90 -0
- package/skills/anysite-crm-score/SKILL.md +72 -0
- package/skills/anysite-crm-setup/SKILL.md +147 -0
- package/skills/anysite-crm-signals/SKILL.md +96 -0
- package/skills/anysite-influencer-discovery/SKILL.md +123 -71
- package/skills/anysite-lead-generation/SKILL.md +288 -256
- package/skills/anysite-lead-generation/references/LINKEDIN_STRATEGIES.md +79 -71
- package/skills/anysite-lead-generation/references/WEB_SCRAPING.md +121 -87
- package/skills/anysite-market-research/SKILL.md +117 -68
- package/skills/anysite-mcp/SKILL.md +128 -0
- package/skills/anysite-mcp-migration/SKILL.md +19 -8
- package/skills/anysite-person-analyzer/SKILL.md +86 -53
- package/skills/anysite-trend-analysis/SKILL.md +119 -55
- package/skills/anysite-vc-analyst/SKILL.md +12 -2
- package/skills/competitor-discovery/SKILL.md +350 -0
- package/skills/customer-pain-mining/SKILL.md +318 -0
- package/skills/positioning-map/SKILL.md +314 -0
|
@@ -7,6 +7,22 @@ description: Deep multi-platform intelligence analysis combining LinkedIn (profi
|
|
|
7
7
|
|
|
8
8
|
Comprehensive multi-platform intelligence analysis combining LinkedIn, Twitter/X, Reddit, GitHub, and web presence data to create actionable intelligence reports with cross-platform personality insights.
|
|
9
9
|
|
|
10
|
+
## v2 Tool Interface
|
|
11
|
+
|
|
12
|
+
All data fetching uses the unified v2 MCP tools:
|
|
13
|
+
|
|
14
|
+
- **`execute(source, category, endpoint, params)`** - Fetch data. Returns first page + `cache_key`.
|
|
15
|
+
- **`get_page(cache_key, offset, limit)`** - Load more items from a previous execute (when `next_offset` is returned).
|
|
16
|
+
- **`query_cache(cache_key, conditions?, sort_by?, aggregate?, group_by?)`** - Filter, sort, or aggregate cached data without new API calls.
|
|
17
|
+
- **`export_data(cache_key, format)`** - Export full dataset as CSV, JSON, or JSONL. Returns download URL.
|
|
18
|
+
|
|
19
|
+
### v2 Error Handling
|
|
20
|
+
|
|
21
|
+
All `execute()` calls may return structured errors with `llm_hint` fields. When an error occurs:
|
|
22
|
+
- **412 errors**: Resource not found (e.g., user alias incorrect). Follow the `llm_hint` to resolve (typically: search first, then use the returned alias/URN).
|
|
23
|
+
- **422 errors**: Wrong parameter format (e.g., passed alias instead of URN). Check `llm_hint` for the correct format.
|
|
24
|
+
- **Rate limits**: Continue with data from other sources. Note limitations in report.
|
|
25
|
+
|
|
10
26
|
## Analysis Workflow
|
|
11
27
|
|
|
12
28
|
Execute phases sequentially, adapting depth based on available data and user requirements.
|
|
@@ -14,17 +30,17 @@ Execute phases sequentially, adapting depth based on available data and user req
|
|
|
14
30
|
### Phase 1: Initial Data Collection
|
|
15
31
|
|
|
16
32
|
**Starting with LinkedIn Profile URL:**
|
|
17
|
-
1. Use `
|
|
18
|
-
2. Extract and save the **full URN** (format: `urn:li:fsd_profile:ACoAAABCDEF`) - this is critical for all subsequent API calls
|
|
33
|
+
1. Use `execute("linkedin", "user", "user", {"user": "<profile_url_or_alias>", "with_experience": true, "with_education": true, "with_skills": true})` with full parameters
|
|
34
|
+
2. Extract and save the **full URN** (format: `urn:li:fsd_profile:ACoAAABCDEF`) from the response - this is critical for all subsequent API calls
|
|
19
35
|
3. Also extract: company URN, current role, location, connections count
|
|
20
36
|
4. Record profile completeness for confidence scoring
|
|
37
|
+
5. Save the `cache_key` from the response for later use with `query_cache()` or `export_data()`
|
|
21
38
|
|
|
22
|
-
**IMPORTANT - URN Format:**
|
|
23
|
-
Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the profile response for all subsequent calls to `
|
|
39
|
+
**IMPORTANT - URN Format:**
|
|
40
|
+
Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the profile response for all subsequent calls to `execute("linkedin", "user", "user_posts", ...)`, `execute("linkedin", "user", "user_comments", ...)`, and `execute("linkedin", "user", "user_reactions", ...)`. Do not use shortened versions or profile URLs.
|
|
24
41
|
|
|
25
42
|
**Starting with Name + Context:**
|
|
26
|
-
1. Use `
|
|
27
|
-
- Name, title, company keywords, location, school
|
|
43
|
+
1. Use `execute("linkedin", "search", "search_users", {"query": "<name>", "title": "<title>", "company": "<company>", "location": "<location>"})` with all available filters
|
|
28
44
|
2. If multiple matches: present top 3-5 candidates with distinguishing details
|
|
29
45
|
3. After user confirmation, proceed with confirmed profile
|
|
30
46
|
|
|
@@ -39,28 +55,28 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
39
55
|
### Phase 2: Activity & Engagement Analysis
|
|
40
56
|
|
|
41
57
|
**Content Analysis (Posts):**
|
|
42
|
-
1. Use `
|
|
58
|
+
1. Use `execute("linkedin", "user", "user_posts", {"urn": "<full_fsd_profile_URN>", "count": 20, "posted_after": <unix_timestamp>})` with the full URN (format: `urn:li:fsd_profile:ACoAAABCDEF`)
|
|
43
59
|
- Count: 20-50 depending on activity level
|
|
44
|
-
-
|
|
45
|
-
2.
|
|
60
|
+
- posted_after: Unix timestamp for last 90 days for active users, 180 days if low activity
|
|
61
|
+
2. If response includes `next_offset`, use `get_page(cache_key, offset, limit)` to load additional posts
|
|
62
|
+
3. Analyze for:
|
|
46
63
|
- Topics and themes (use clustering: technical, leadership, industry trends, personal)
|
|
47
64
|
- Engagement metrics (likes, comments per post - calculate averages)
|
|
48
65
|
- Posting frequency (calculate posts per week/month)
|
|
49
66
|
- Content style (thought leadership, sharing, personal stories, company updates)
|
|
50
67
|
- Language and tone
|
|
68
|
+
4. Use `query_cache(cache_key, sort_by={"field": "reactions", "order": "desc"})` to find their most engaging posts
|
|
51
69
|
|
|
52
70
|
**Engagement Analysis (Comments & Reactions):**
|
|
53
|
-
1. Use `
|
|
54
|
-
|
|
55
|
-
2. Use `get_linkedin_user_reactions` with the full URN (format: `urn:li:fsd_profile:ACoAAABCDEF`)
|
|
56
|
-
- Count: 50
|
|
71
|
+
1. Use `execute("linkedin", "user", "user_comments", {"urn": "<full_fsd_profile_URN>", "count": 30})` with the full URN (format: `urn:li:fsd_profile:ACoAAABCDEF`)
|
|
72
|
+
2. Use `execute("linkedin", "user", "user_reactions", {"urn": "<full_fsd_profile_URN>", "count": 50})` with the full URN (format: `urn:li:fsd_profile:ACoAAABCDEF`)
|
|
57
73
|
3. Analyze for:
|
|
58
74
|
- Who they engage with (seniority levels, industries)
|
|
59
75
|
- Topics that spark their engagement
|
|
60
76
|
- Engagement style (supportive, challenging, informational)
|
|
61
77
|
- Response patterns (quick reactions vs thoughtful comments)
|
|
62
78
|
|
|
63
|
-
**CRITICAL:** All three tools (`
|
|
79
|
+
**CRITICAL:** All three tools (`execute("linkedin", "user", "user_posts", ...)`, `execute("linkedin", "user", "user_comments", ...)`, `execute("linkedin", "user", "user_reactions", ...)`) require the complete URN in the format `urn:li:fsd_profile:ACoAAABCDEF` obtained from Phase 1. Using LinkedIn profile URLs or partial URNs will result in 422 errors (check `llm_hint` in error response for guidance).
|
|
64
80
|
|
|
65
81
|
**Output: Engagement Profile**
|
|
66
82
|
- Primary content themes (ranked by frequency)
|
|
@@ -71,19 +87,21 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
71
87
|
### Phase 3: Company Intelligence
|
|
72
88
|
|
|
73
89
|
**Current Company Deep Dive:**
|
|
74
|
-
1. Use `
|
|
90
|
+
1. Use `execute("linkedin", "company", "company", {"company": "<company_alias_or_url>"})` with company alias/URL from profile
|
|
75
91
|
2. Extract:
|
|
76
92
|
- Company size, industry, specialties
|
|
77
93
|
- Growth indicators (employee count trends if available)
|
|
78
94
|
- Company description and mission
|
|
79
95
|
- Recent updates/news
|
|
96
|
+
- Save `cache_key` for later filtering with `query_cache()`
|
|
80
97
|
|
|
81
|
-
3. Use `
|
|
98
|
+
3. Use `execute("linkedin", "company", "company_posts", {"urn": "<company_URN_with_company_prefix>", "count": 20})` (count: 20)
|
|
99
|
+
- Note: Company sub-endpoints require `company:{id}` prefix, NOT `fsd_company`. Convert: `urn:li:fsd_company:1441` -> use `company:1441`
|
|
82
100
|
- Analyze company communication themes
|
|
83
101
|
- Identify strategic priorities
|
|
84
102
|
- Note any mentions of funding, hiring, expansion
|
|
85
103
|
|
|
86
|
-
4. Use `
|
|
104
|
+
4. Use `execute("duckduckgo", "search", "search", {"query": "<search_terms>"})` for recent news:
|
|
87
105
|
- "[Company name] funding news"
|
|
88
106
|
- "[Company name] expansion launch product"
|
|
89
107
|
- Prioritize results from last 6 months
|
|
@@ -91,22 +109,23 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
91
109
|
**Company Social Media Presence:**
|
|
92
110
|
|
|
93
111
|
5. **Company Twitter/X Analysis:**
|
|
94
|
-
- Use `
|
|
95
|
-
- If found, use `
|
|
96
|
-
- Use `
|
|
112
|
+
- Use `execute("twitter", "search", "search_users", {"query": "[Company Name] official", "count": 5})` to find official company account
|
|
113
|
+
- If found, use `execute("twitter", "user", "user", {"user": "<username>"})` for profile stats
|
|
114
|
+
- Use `execute("twitter", "user", "user_posts", {"user": "<username>", "count": 20})` (count: 20-30) to analyze:
|
|
97
115
|
- Product announcements and launches
|
|
98
116
|
- Company culture and values
|
|
99
117
|
- Engagement with customers and community
|
|
100
118
|
- Hiring announcements (growth signals)
|
|
101
119
|
- Technical content (if tech company)
|
|
102
|
-
- Use `
|
|
120
|
+
- Use `execute("twitter", "search", "search_posts", {"query": "[Company Name]", "count": 20})` for company mentions:
|
|
103
121
|
- Customer sentiment (complaints vs praise)
|
|
104
122
|
- Industry discussion about the company
|
|
105
123
|
- Competitor comparisons
|
|
106
124
|
- Notable tweets from employees
|
|
125
|
+
- Use `query_cache(cache_key, sort_by={"field": "favorite_count", "order": "desc"})` to surface most-engaged tweets
|
|
107
126
|
|
|
108
127
|
6. **Company Reddit Presence:**
|
|
109
|
-
- Use `
|
|
128
|
+
- Use `execute("reddit", "search", "search_posts", {"query": "[Company Name]", "count": 20})` for company mentions
|
|
110
129
|
- Look for:
|
|
111
130
|
- r/startups discussions about the company
|
|
112
131
|
- Industry-specific subreddit mentions (r/SaaS, r/artificial, etc.)
|
|
@@ -114,6 +133,7 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
114
133
|
- Technical discussions about their product/platform
|
|
115
134
|
- Hiring experiences (Glassdoor-like insights)
|
|
116
135
|
- Founder/team AMAs or discussions
|
|
136
|
+
- Use `query_cache(cache_key, aggregate={"field": "subreddit", "function": "count"}, group_by="subreddit")` to see which subreddits discuss the company most
|
|
117
137
|
- Sentiment analysis: positive/negative/neutral community perception
|
|
118
138
|
- Pain points mentioned by users/customers
|
|
119
139
|
|
|
@@ -134,16 +154,17 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
134
154
|
|
|
135
155
|
1. **Find Twitter Handle:**
|
|
136
156
|
- Check LinkedIn profile bio/description for @username
|
|
137
|
-
- Use `
|
|
157
|
+
- Use `execute("twitter", "search", "search_users", {"query": "[First Name] [Last Name] [Company]", "count": 5})` with name if not found
|
|
138
158
|
- Verify match by checking bio, profile description
|
|
139
159
|
|
|
140
160
|
2. **Profile Analysis:**
|
|
141
|
-
- Use `
|
|
161
|
+
- Use `execute("twitter", "user", "user", {"user": "<username>"})` with username
|
|
142
162
|
- Extract: follower count, following count, tweet count, bio, location
|
|
143
163
|
- Note: verification status, profile creation date
|
|
144
164
|
|
|
145
165
|
3. **Content Analysis:**
|
|
146
|
-
- Use `
|
|
166
|
+
- Use `execute("twitter", "user", "user_posts", {"user": "<username>", "count": 50})` (count: 50-100 recent tweets)
|
|
167
|
+
- If response includes `next_offset`, use `get_page(cache_key, offset, limit)` to load more tweets up to 100
|
|
147
168
|
- Analyze for:
|
|
148
169
|
- Technical expertise signals (code snippets, tech discussions)
|
|
149
170
|
- Industry opinions and hot takes
|
|
@@ -151,9 +172,10 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
151
172
|
- Engagement with other thought leaders
|
|
152
173
|
- Retweets vs original content ratio
|
|
153
174
|
- Calculate: tweets per day, avg engagement rate
|
|
175
|
+
- Use `query_cache(cache_key, aggregate={"field": "favorite_count", "function": "avg"})` to compute average engagement
|
|
154
176
|
|
|
155
177
|
4. **Topic Discovery:**
|
|
156
|
-
- Use `
|
|
178
|
+
- Use `execute("twitter", "search", "search_posts", {"query": "[topic] from:@username", "count": 20})` with person's key interests
|
|
157
179
|
- Identify recurring themes and expertise areas
|
|
158
180
|
- Note controversial or strongly-held opinions
|
|
159
181
|
|
|
@@ -161,19 +183,20 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
161
183
|
|
|
162
184
|
1. **Find Reddit Presence:**
|
|
163
185
|
- Search for username from other platforms
|
|
164
|
-
- Use `
|
|
186
|
+
- Use `execute("reddit", "search", "search_posts", {"query": "<name_or_company>", "count": 20})` with name/company mentions
|
|
165
187
|
- Look for: "AMA" posts, technical discussions, community contributions
|
|
166
188
|
|
|
167
189
|
2. **Content Analysis:**
|
|
168
|
-
- Use `
|
|
190
|
+
- Use `execute("reddit", "search", "search_posts", {"query": "author:[username]", "count": 20})` with username if known
|
|
169
191
|
- Analyze for:
|
|
170
192
|
- Subreddit preferences (which communities they're active in)
|
|
171
193
|
- Technical depth of contributions
|
|
172
194
|
- Helping behavior vs self-promotion ratio
|
|
173
195
|
- Community reputation indicators
|
|
196
|
+
- Use `query_cache(cache_key, aggregate={"field": "subreddit", "function": "count"}, group_by="subreddit")` to identify most active subreddits
|
|
174
197
|
|
|
175
198
|
3. **Topic Expertise:**
|
|
176
|
-
- Use `
|
|
199
|
+
- Use `execute("reddit", "search", "search_posts", {"query": "[topic] [username or company]", "count": 20})` for specific topics
|
|
177
200
|
- Identify where they're seen as expert/helpful
|
|
178
201
|
- Note any popular posts or discussions they started
|
|
179
202
|
|
|
@@ -181,36 +204,37 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
181
204
|
|
|
182
205
|
1. **Profile Discovery:**
|
|
183
206
|
- Check if mentioned in LinkedIn or Twitter
|
|
184
|
-
- Use `
|
|
185
|
-
- Use `
|
|
207
|
+
- Use `execute("instagram", "search", "search_posts", {"query": "#[name] #[company]", "count": 10})` with hashtags
|
|
208
|
+
- Use `execute("instagram", "user", "user", {"user": "<handle>"})` if handle known
|
|
186
209
|
|
|
187
210
|
2. **Content Style:**
|
|
188
|
-
- Use `
|
|
211
|
+
- Use `execute("instagram", "user", "user_posts", {"user": "<handle>", "count": 20})` (count: 20-30)
|
|
212
|
+
- If more posts needed, use `get_page(cache_key, offset, limit)` to continue
|
|
189
213
|
- Analyze for: personal brand vs professional content
|
|
190
214
|
- Note: visual style, posting frequency, engagement rate
|
|
191
215
|
|
|
192
216
|
**D. Web Intelligence & Media Presence:**
|
|
193
217
|
|
|
194
218
|
1. **Professional Presence:**
|
|
195
|
-
- `
|
|
196
|
-
- `
|
|
197
|
-
- `
|
|
219
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] [Company] speaker conference"})`
|
|
220
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] interview podcast"})`
|
|
221
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] article blog post"})`
|
|
198
222
|
|
|
199
223
|
2. **Expertise & Thought Leadership:**
|
|
200
|
-
- `
|
|
224
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] expertise [primary topic from posts]"})`
|
|
201
225
|
- Check for: publications, talks, media mentions
|
|
202
|
-
- `
|
|
226
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] [key topic] site:medium.com OR site:dev.to OR site:substack.com"})`
|
|
203
227
|
|
|
204
228
|
3. **Company-Specific Context:**
|
|
205
|
-
- `
|
|
229
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] [Company] announcement"})`
|
|
206
230
|
- Look for: press releases, product launches, executive quotes
|
|
207
231
|
|
|
208
232
|
4. **GitHub/Tech Presence (if technical role):**
|
|
209
|
-
- `
|
|
233
|
+
- `execute("duckduckgo", "search", "search", {"query": "[Name] site:github.com"})`
|
|
210
234
|
- Look for: open source contributions, personal projects
|
|
211
235
|
|
|
212
236
|
**E. Parse Key Pages:**
|
|
213
|
-
- Use `
|
|
237
|
+
- Use `execute("webparser", "parse", "parse", {"url": "<page_url>"})` for high-value sources:
|
|
214
238
|
- Personal blog/website (if mentioned in any profile)
|
|
215
239
|
- Recent interviews or podcast appearances
|
|
216
240
|
- Conference speaker profiles
|
|
@@ -235,6 +259,11 @@ Always use the complete URN format `urn:li:fsd_profile:ACoAAABCDEF` from the pro
|
|
|
235
259
|
|
|
236
260
|
### Phase 5: Cross-Platform Strategic Analysis & Report Generation
|
|
237
261
|
|
|
262
|
+
**Data Export (optional):**
|
|
263
|
+
- Use `export_data(cache_key, "csv")` or `export_data(cache_key, "json")` to save collected datasets for the user
|
|
264
|
+
- Useful for: LinkedIn posts dataset, Twitter tweets dataset, Reddit mentions dataset
|
|
265
|
+
- Returns download URL the user can share or archive
|
|
266
|
+
|
|
238
267
|
**Connection Strategy:**
|
|
239
268
|
1. **Conversation Topics** (ranked by relevance, synthesized across all platforms):
|
|
240
269
|
- Top 3-5 topics from their LinkedIn posts/comments
|
|
@@ -335,7 +364,7 @@ Generate comprehensive markdown report with sections:
|
|
|
335
364
|
|
|
336
365
|
2. **[Theme 2]** (30% of posts)
|
|
337
366
|
- Key topics: [list]
|
|
338
|
-
|
|
367
|
+
|
|
339
368
|
3. **[Theme 3]** (20% of posts)
|
|
340
369
|
|
|
341
370
|
#### Engagement Patterns
|
|
@@ -523,12 +552,13 @@ Generate comprehensive markdown report with sections:
|
|
|
523
552
|
|
|
524
553
|
## Analysis Metadata
|
|
525
554
|
- **Platforms Analyzed:**
|
|
526
|
-
- LinkedIn: [
|
|
527
|
-
- Twitter/X: [
|
|
528
|
-
- Reddit: [
|
|
529
|
-
- GitHub: [
|
|
530
|
-
- Web: [
|
|
531
|
-
- **Data Sources:** [List specific
|
|
555
|
+
- LinkedIn: [Profile, Posts, Comments, Reactions]
|
|
556
|
+
- Twitter/X: [Found and analyzed / Not found / Not searched]
|
|
557
|
+
- Reddit: [Activity found / No activity / Not searched]
|
|
558
|
+
- GitHub: [Projects found / Not found / Not applicable]
|
|
559
|
+
- Web: [Articles/interviews found]
|
|
560
|
+
- **Data Sources:** [List specific execute() calls made]
|
|
561
|
+
- **Cache Keys:** [List cache_key values for re-query or export]
|
|
532
562
|
- **Data Freshness:**
|
|
533
563
|
- LinkedIn posts: [date range analyzed]
|
|
534
564
|
- Twitter: [date range if analyzed]
|
|
@@ -553,8 +583,11 @@ Generate comprehensive markdown report with sections:
|
|
|
553
583
|
- Always confirm with user before proceeding with deep analysis
|
|
554
584
|
- Present distinguishing factors clearly
|
|
555
585
|
|
|
556
|
-
**
|
|
557
|
-
-
|
|
586
|
+
**v2 Error Handling:**
|
|
587
|
+
- Check `llm_hint` field in error responses for resolution guidance
|
|
588
|
+
- **412 errors**: Resource not found -- search first to find correct alias/URN
|
|
589
|
+
- **422 errors**: Wrong parameter format -- typically alias passed where URN required
|
|
590
|
+
- Continue with available data from other sources on error
|
|
558
591
|
- Note limitations in report
|
|
559
592
|
- Suggest manual verification steps
|
|
560
593
|
|
|
@@ -596,9 +629,9 @@ Users may request analysis depth adjustment:
|
|
|
596
629
|
|
|
597
630
|
**Platform-Specific Focus:**
|
|
598
631
|
Users can also request focus on specific platforms:
|
|
599
|
-
- "Focus on Twitter presence"
|
|
600
|
-
- "Technical profile only"
|
|
601
|
-
- "Business profile"
|
|
602
|
-
- **"Company deep dive"
|
|
632
|
+
- "Focus on Twitter presence" -> Deep Twitter analysis for person AND company, standard LinkedIn
|
|
633
|
+
- "Technical profile only" -> LinkedIn + GitHub + Reddit + Stack Overflow (person focused)
|
|
634
|
+
- "Business profile" -> LinkedIn + web presence + media, skip Reddit/GitHub
|
|
635
|
+
- **"Company deep dive" -> Extended company social analysis across all platforms** (NEW)
|
|
603
636
|
|
|
604
637
|
Default to **Standard Analysis** unless specified.
|
|
@@ -19,25 +19,42 @@ Discover emerging trends and track viral content across social platforms using a
|
|
|
19
19
|
|
|
20
20
|
## Supported Platforms
|
|
21
21
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
22
|
+
- **Twitter/X**: Trending topics, viral tweets, hashtag tracking
|
|
23
|
+
- **Reddit**: Trending posts, subreddit activity, upvote velocity
|
|
24
|
+
- **YouTube**: Trending videos, search trends, rising channels
|
|
25
|
+
- **LinkedIn**: Professional trends, industry discussions
|
|
26
|
+
- **Instagram**: Trending hashtags, viral content
|
|
27
|
+
|
|
28
|
+
## v2 Tool Interface
|
|
29
|
+
|
|
30
|
+
All data fetching uses the universal `execute()` meta-tool. Always call `discover(source, category)` first if you need to verify endpoint names or available parameters.
|
|
31
|
+
|
|
32
|
+
**Core tools**:
|
|
33
|
+
- `execute(source, category, endpoint, params)` - Fetch data. Returns first page + `cache_key`.
|
|
34
|
+
- `get_page(cache_key, offset, limit)` - Load more results from a previous execute.
|
|
35
|
+
- `query_cache(cache_key, conditions, sort_by, aggregate, group_by)` - Filter, sort, or aggregate cached data without new API calls.
|
|
36
|
+
- `export_data(cache_key, format)` - Export full dataset as CSV, JSON, or JSONL.
|
|
37
|
+
|
|
38
|
+
**Error handling**: If execute() returns an error with `llm_hint`, follow the hint to fix the request (e.g., correcting a parameter name or adjusting the query).
|
|
27
39
|
|
|
28
40
|
## Quick Start
|
|
29
41
|
|
|
30
42
|
**Step 1: Search for Trending Content**
|
|
31
43
|
|
|
32
44
|
By platform:
|
|
33
|
-
- Twitter: `
|
|
34
|
-
- Reddit: `
|
|
35
|
-
- YouTube: `
|
|
36
|
-
- LinkedIn: `
|
|
37
|
-
- Instagram: `
|
|
45
|
+
- Twitter: `execute("twitter", "search", "search_tweets", {"query": "<topic>", "count": 100})` sorted by engagement
|
|
46
|
+
- Reddit: `execute("reddit", "search", "search", {"query": "<topic>"})` sorted by upvotes
|
|
47
|
+
- YouTube: `execute("youtube", "search", "search_videos", {"query": "<topic>", "count": 50})` by recent
|
|
48
|
+
- LinkedIn: `execute("linkedin", "post", "search_posts", {"keywords": "<topic>"})` by engagement
|
|
49
|
+
- Instagram: `execute("instagram", "search", "search_users", {"query": "<topic>"})` for hashtag/topic discovery
|
|
38
50
|
|
|
39
51
|
**Step 2: Analyze Momentum**
|
|
40
52
|
|
|
53
|
+
Use `query_cache()` to filter and sort cached results:
|
|
54
|
+
```
|
|
55
|
+
query_cache(cache_key, sort_by="engagement_desc", conditions=[{"field": "date", "op": ">", "value": "2024-01-01"}])
|
|
56
|
+
```
|
|
57
|
+
|
|
41
58
|
Check indicators:
|
|
42
59
|
- Engagement velocity (growth rate)
|
|
43
60
|
- Cross-platform presence
|
|
@@ -54,6 +71,8 @@ Monitor changes:
|
|
|
54
71
|
|
|
55
72
|
**Step 4: Report Insights**
|
|
56
73
|
|
|
74
|
+
Use `export_data(cache_key, "csv")` to generate downloadable reports.
|
|
75
|
+
|
|
57
76
|
Deliver:
|
|
58
77
|
- Trending topics list
|
|
59
78
|
- Momentum indicators
|
|
@@ -71,23 +90,46 @@ Deliver:
|
|
|
71
90
|
1. **Search Across Platforms**
|
|
72
91
|
```
|
|
73
92
|
# Twitter
|
|
74
|
-
|
|
75
|
-
Filter for: Posted within 24-48h, high engagement
|
|
93
|
+
execute("twitter", "search", "search_tweets", {"query": "AI OR artificial intelligence", "count": 100})
|
|
94
|
+
→ Filter for: Posted within 24-48h, high engagement
|
|
95
|
+
→ Save cache_key as twitter_cache
|
|
76
96
|
|
|
77
97
|
# Reddit
|
|
78
|
-
|
|
79
|
-
Filter: r/technology, r/MachineLearning, r/singularity
|
|
98
|
+
execute("reddit", "search", "search", {"query": "artificial intelligence"})
|
|
99
|
+
→ Filter: r/technology, r/MachineLearning, r/singularity
|
|
100
|
+
→ Save cache_key as reddit_cache
|
|
80
101
|
|
|
81
102
|
# YouTube
|
|
82
|
-
|
|
83
|
-
Filter: Published this week, views >10k
|
|
103
|
+
execute("youtube", "search", "search_videos", {"query": "AI news", "count": 50})
|
|
104
|
+
→ Filter: Published this week, views >10k
|
|
105
|
+
→ Save cache_key as youtube_cache
|
|
84
106
|
|
|
85
107
|
# LinkedIn
|
|
86
|
-
|
|
87
|
-
Filter: High engagement, recent
|
|
108
|
+
execute("linkedin", "post", "search_posts", {"keywords": "artificial intelligence"})
|
|
109
|
+
→ Filter: High engagement, recent
|
|
110
|
+
→ Save cache_key as linkedin_cache
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
2. **Use query_cache to Filter Results**
|
|
88
114
|
```
|
|
115
|
+
# Filter Twitter for high-engagement posts
|
|
116
|
+
query_cache(twitter_cache, sort_by="engagement_desc", conditions=[{"field": "likes", "op": ">", "value": 100}])
|
|
117
|
+
|
|
118
|
+
# Filter Reddit for specific subreddits
|
|
119
|
+
query_cache(reddit_cache, conditions=[{"field": "subreddit", "op": "contains", "value": "technology"}])
|
|
89
120
|
|
|
90
|
-
|
|
121
|
+
# Aggregate YouTube view counts
|
|
122
|
+
query_cache(youtube_cache, aggregate={"field": "views", "op": "avg"})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
3. **Load More Results if Needed**
|
|
126
|
+
```
|
|
127
|
+
# If execute() returned next_offset, paginate
|
|
128
|
+
get_page(twitter_cache, offset=10, limit=50)
|
|
129
|
+
get_page(reddit_cache, offset=10, limit=50)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
4. **Extract Common Themes**
|
|
91
133
|
```
|
|
92
134
|
Analyze content for recurring:
|
|
93
135
|
- Keywords and phrases
|
|
@@ -96,7 +138,7 @@ Analyze content for recurring:
|
|
|
96
138
|
- Questions or concerns
|
|
97
139
|
```
|
|
98
140
|
|
|
99
|
-
|
|
141
|
+
5. **Calculate Trend Score**
|
|
100
142
|
```
|
|
101
143
|
For each theme:
|
|
102
144
|
- Platform count (how many platforms)
|
|
@@ -105,7 +147,7 @@ For each theme:
|
|
|
105
147
|
- Sentiment distribution
|
|
106
148
|
```
|
|
107
149
|
|
|
108
|
-
|
|
150
|
+
6. **Identify Breakout Trends**
|
|
109
151
|
```
|
|
110
152
|
Trends with:
|
|
111
153
|
- Presence on 3+ platforms
|
|
@@ -128,21 +170,27 @@ Trends with:
|
|
|
128
170
|
|
|
129
171
|
1. **Search by Hashtag**
|
|
130
172
|
```
|
|
131
|
-
# Instagram
|
|
132
|
-
|
|
133
|
-
|
|
173
|
+
# Instagram - discover users/content around the hashtag
|
|
174
|
+
execute("instagram", "search", "search_users", {"query": "sustainability"})
|
|
175
|
+
→ Save cache_key as ig_cache
|
|
134
176
|
|
|
135
177
|
# Twitter
|
|
136
|
-
|
|
137
|
-
Track tweet volume over time
|
|
178
|
+
execute("twitter", "search", "search_tweets", {"query": "#sustainability", "count": 100})
|
|
179
|
+
→ Track tweet volume over time
|
|
180
|
+
→ Save cache_key as tw_cache
|
|
138
181
|
|
|
139
182
|
# LinkedIn
|
|
140
|
-
|
|
141
|
-
Check professional adoption
|
|
183
|
+
execute("linkedin", "post", "search_posts", {"keywords": "sustainability"})
|
|
184
|
+
→ Check professional adoption
|
|
185
|
+
→ Save cache_key as li_cache
|
|
142
186
|
```
|
|
143
187
|
|
|
144
|
-
2. **Calculate Velocity**
|
|
188
|
+
2. **Calculate Velocity with query_cache**
|
|
145
189
|
```
|
|
190
|
+
# Sort by recency and engagement
|
|
191
|
+
query_cache(tw_cache, sort_by="date_desc")
|
|
192
|
+
query_cache(ig_cache, sort_by="followers_desc")
|
|
193
|
+
|
|
146
194
|
Hashtag velocity:
|
|
147
195
|
- Posts in last 24h vs. previous 24h
|
|
148
196
|
- Engagement rate change
|
|
@@ -159,7 +207,14 @@ Compare early vs. recent posts:
|
|
|
159
207
|
- Commercial adoption
|
|
160
208
|
```
|
|
161
209
|
|
|
162
|
-
4. **
|
|
210
|
+
4. **Export Results**
|
|
211
|
+
```
|
|
212
|
+
export_data(tw_cache, "csv")
|
|
213
|
+
export_data(ig_cache, "json")
|
|
214
|
+
→ Share downloadable reports
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
5. **Predict Peak**
|
|
163
218
|
```
|
|
164
219
|
Based on growth curve:
|
|
165
220
|
- Early stage (accelerating)
|
|
@@ -181,18 +236,22 @@ Based on growth curve:
|
|
|
181
236
|
|
|
182
237
|
1. **Search Target Subreddits**
|
|
183
238
|
```
|
|
184
|
-
|
|
185
|
-
query="",
|
|
186
|
-
subreddit="technology"
|
|
187
|
-
)
|
|
239
|
+
execute("reddit", "posts", "get", {"subreddit": "technology"})
|
|
188
240
|
→ Get top posts from last week
|
|
241
|
+
→ Save cache_key as reddit_tech_cache
|
|
189
242
|
```
|
|
190
243
|
|
|
191
244
|
2. **Analyze Post Momentum**
|
|
192
245
|
```
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
246
|
+
# Sort cached posts by engagement
|
|
247
|
+
query_cache(reddit_tech_cache, sort_by="upvotes_desc")
|
|
248
|
+
|
|
249
|
+
# Aggregate engagement metrics
|
|
250
|
+
query_cache(reddit_tech_cache, aggregate={"field": "upvotes", "op": "avg"})
|
|
251
|
+
|
|
252
|
+
For each high-momentum post:
|
|
253
|
+
execute("reddit", "search", "search", {"query": "<post topic>"})
|
|
254
|
+
→ Deeper analysis
|
|
196
255
|
|
|
197
256
|
Calculate:
|
|
198
257
|
- Upvotes per hour
|
|
@@ -213,9 +272,9 @@ From high-momentum posts:
|
|
|
213
272
|
4. **Track Cross-Pollination**
|
|
214
273
|
```
|
|
215
274
|
Check if trending Reddit topics appear on:
|
|
216
|
-
- Twitter (
|
|
217
|
-
- LinkedIn (
|
|
218
|
-
- YouTube (
|
|
275
|
+
- Twitter: execute("twitter", "search", "search_tweets", {"query": "<topic>"})
|
|
276
|
+
- LinkedIn: execute("linkedin", "post", "search_posts", {"keywords": "<topic>"})
|
|
277
|
+
- YouTube: execute("youtube", "search", "search_videos", {"query": "<topic>"})
|
|
219
278
|
```
|
|
220
279
|
|
|
221
280
|
**Expected Output**:
|
|
@@ -224,29 +283,34 @@ Check if trending Reddit topics appear on:
|
|
|
224
283
|
- Mainstream potential
|
|
225
284
|
- Early mover opportunities
|
|
226
285
|
|
|
227
|
-
## MCP Tools Reference
|
|
286
|
+
## MCP Tools Reference (v2)
|
|
228
287
|
|
|
229
288
|
### Twitter/X
|
|
230
|
-
- `
|
|
231
|
-
- `
|
|
289
|
+
- `execute("twitter", "search", "search_tweets", {"query": ..., "count": N})` - Find tweets, filter by engagement
|
|
290
|
+
- `execute("twitter", "user", "get", {"username": ...})` - Check influencer adoption
|
|
232
291
|
|
|
233
292
|
### Reddit
|
|
234
|
-
- `
|
|
235
|
-
- `
|
|
236
|
-
- `
|
|
293
|
+
- `execute("reddit", "search", "search", {"query": ...,})` - Find discussions
|
|
294
|
+
- `execute("reddit", "posts", "get", {"subreddit": ...})` - Get subreddit posts and momentum
|
|
295
|
+
- `execute("reddit", "user", "get", {"username": ...})` - Get user details
|
|
237
296
|
|
|
238
297
|
### YouTube
|
|
239
|
-
- `
|
|
240
|
-
- `
|
|
241
|
-
- `
|
|
298
|
+
- `execute("youtube", "search", "search_videos", {"query": ..., "count": N})` - Find trending videos
|
|
299
|
+
- `execute("youtube", "video", "video", {"video": ...})` - Track view velocity
|
|
300
|
+
- `execute("youtube", "video", "video_comments", {"video": ..., "count": N})` - Gauge interest
|
|
242
301
|
|
|
243
302
|
### LinkedIn
|
|
244
|
-
- `
|
|
245
|
-
- `
|
|
303
|
+
- `execute("linkedin", "post", "search_posts", {"keywords": ...})` - Professional trends
|
|
304
|
+
- `execute("linkedin", "company", "get", {"company": ...})` - Company details
|
|
246
305
|
|
|
247
306
|
### Instagram
|
|
248
|
-
- `
|
|
249
|
-
- `
|
|
307
|
+
- `execute("instagram", "search", "search_users", {"query": ...})` - Discover users/hashtags
|
|
308
|
+
- `execute("instagram", "post", "post", {"post": ...})` - Engagement metrics
|
|
309
|
+
|
|
310
|
+
### Pagination & Analysis
|
|
311
|
+
- `get_page(cache_key, offset, limit)` - Load additional results from any execute() call
|
|
312
|
+
- `query_cache(cache_key, conditions, sort_by, aggregate, group_by)` - Filter, sort, aggregate cached data
|
|
313
|
+
- `export_data(cache_key, "csv"|"json"|"jsonl")` - Export datasets for reporting
|
|
250
314
|
|
|
251
315
|
## Trend Identification Framework
|
|
252
316
|
|
|
@@ -291,12 +355,12 @@ Check if trending Reddit topics appear on:
|
|
|
291
355
|
- Platform breakdown
|
|
292
356
|
- Strategic recommendations
|
|
293
357
|
|
|
294
|
-
**CSV Export
|
|
358
|
+
**CSV Export** (via `export_data(cache_key, "csv")`):
|
|
295
359
|
- Trend name, platforms, volume
|
|
296
360
|
- Growth rate, sentiment
|
|
297
361
|
- Key influencers mentioning
|
|
298
362
|
|
|
299
|
-
**JSON Export
|
|
363
|
+
**JSON Export** (via `export_data(cache_key, "json")`):
|
|
300
364
|
- Complete trend data
|
|
301
365
|
- Time-series metrics
|
|
302
366
|
- Cross-platform correlations
|
|
@@ -28,7 +28,7 @@ AskUserQuestion:
|
|
|
28
28
|
|
|
29
29
|
### Step 2: Fetch & Analyze Project
|
|
30
30
|
|
|
31
|
-
1. **Website**: Use `
|
|
31
|
+
1. **Website**: Use `execute("webparser", "parse", "parse", {"url": website})` to understand:
|
|
32
32
|
- Product/service description
|
|
33
33
|
- Target market
|
|
34
34
|
- Key features
|
|
@@ -163,11 +163,13 @@ After onboarding, analyze investors from CSV or list.
|
|
|
163
163
|
### 1. Fetch LinkedIn Profile (ALWAYS FIRST)
|
|
164
164
|
|
|
165
165
|
```
|
|
166
|
-
|
|
166
|
+
execute("linkedin", "user", "get", {"user": "linkedin-url-or-username"})
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
CSV data has ~20% error rate. Always verify actual role before scoring.
|
|
170
170
|
|
|
171
|
+
> **v2 tip:** The `execute()` call returns a `cache_key`. Use `query_cache(cache_key, ...)` to filter/sort results without re-fetching. Use `get_page(cache_key, offset, limit)` if paginated results exist. Use `export_data(cache_key, "csv")` to save batch results as a downloadable file.
|
|
172
|
+
|
|
171
173
|
### 2. Score Investor (0-100)
|
|
172
174
|
|
|
173
175
|
| Factor | Weight | Check |
|
|
@@ -253,6 +255,14 @@ Best,
|
|
|
253
255
|
}
|
|
254
256
|
```
|
|
255
257
|
|
|
258
|
+
### v2 Batch Features
|
|
259
|
+
|
|
260
|
+
- **Pagination**: When `execute()` returns `next_offset`, use `get_page(cache_key, offset, limit)` to fetch additional results without re-running the query.
|
|
261
|
+
- **Filtering & Sorting**: Use `query_cache(cache_key, conditions=[{"field": "score", "op": ">", "value": 70}], sort_by=[{"field": "score", "order": "desc"}])` to filter high-scoring investors from cached results.
|
|
262
|
+
- **Aggregation**: Use `query_cache(cache_key, aggregate=[{"op": "avg", "field": "score"}])` to compute batch statistics.
|
|
263
|
+
- **Export**: Use `export_data(cache_key, "csv")` to generate a downloadable CSV of all analyzed investors.
|
|
264
|
+
- **Error handling**: If `execute()` returns an error with `llm_hint`, follow the hint to fix params. Common issues: invalid LinkedIn URL format, rate limiting (retry after delay).
|
|
265
|
+
|
|
256
266
|
---
|
|
257
267
|
|
|
258
268
|
## Quick Commands
|