analyzing-competitor-twitter-profile-content — скилл для Claude Code
Скилл собирает твиты конкурента или бренда через Apify и раскладывает их по вовлечённости. Пригодится, когда нужно понять, о чём пишет соперник.
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a claude-codeЧто делает analyzing-competitor-twitter-profile-content
Скилл тянет историю постов с профилей X через актор apidojo/twitter-profile-scraper на Apify. На вход идут ссылки на профили или никнеймы без собаки, плюс фильтры: диапазон дат start и end, только посты с картинками, ответы, порог по числу ответов, лимит maxItems. На выходе — текст твита, метрики (лайки, ретвиты, ответы, просмотры) и данные автора.
Дальше каждый твит получает оценку: вовлечённость с весом 0.50, просмотры с весом 0.30, наличие медиа с весом 0.20. По сумме твиты делятся на три уровня — от высокого до низкого. Запуск идёт через node scripts/run_actor.js, результат можно сохранить в CSV или JSON. Есть запасной путь через REST API и вызов актора через Apify MCP.
Для работы нужен токен Apify: в REST-примере он подставляется из $APIFY_TOKEN. Первые 40 твитов входят в базовую цену, дальше каждый твит стоит $0.0004 — на длинных историях счёт растёт. Закрытый аккаунт вернёт ноль твитов, так что пустой результат стоит проверить, прежде чем делать выводы о стратегии.
Какие задачи решает
- собрать все твиты конкурента за период
- оценить, какие посты бренда зашли аудитории
- сравнить темы и подачу двух компаний в X
- отфильтровать посты с картинками и ответами
- выгрузить метрики вовлечённости в CSV для отчёта
Примеры запросов агенту
- собери твиты конкурента за последние полгода и покажи самые вовлекающие
- сравни, о чём пишут два бренда в X, и выведи таблицу тем
- выгрузи посты этого профиля с картинками в JSON
Как установить analyzing-competitor-twitter-profile-content
1Через Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a claude-code2Вручную: положить файлы
~/.claude/skills/analyzing-competitor-twitter-profile-content/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/analyzing-competitor-twitter-profile-content/
1Через Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a codex2Вручную: положить файлы
.agents/skills/analyzing-competitor-twitter-profile-content/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a cursor2Вручную: положить файлы
.cursor/skills/analyzing-competitor-twitter-profile-content/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install apidojo-io/apidojo-skills analyzing-competitor-twitter-profile-content2Вручную: положить файлы
.github/skills/analyzing-competitor-twitter-profile-content/SKILL.md1Через Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a gemini-cli2Командой платформы
gemini skills install https://github.com/apidojo-io/apidojo-skills --path skills/intent/analyzing-competitor-twitter-profile-contentВручную: положить файлы
.devin/skills/analyzing-competitor-twitter-profile-content/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора22
Похожие
Рядом в теме «Браузер и парсинг»
Все скиллы по теме «Браузер и парсинг» →Вопросы о analyzing-competitor-twitter-profile-content
Как установить analyzing-competitor-twitter-profile-content в Claude?
Выполните npx skills add apidojo-io/apidojo-skills --skill analyzing-competitor-twitter-profile-content -a claude-code. Скилл встанет в ~/.claude/skills/analyzing-competitor-twitter-profile-content/SKILL.md.
Что делает этот скилл?
Забирает историю твитов с профилей X через актор Apify, считает оценку по вовлечённости, просмотрам и наличию медиа и делит посты на три уровня. Возвращает текст, метрики и данные автора.
Что нужно для запуска?
Токен Apify — в REST-варианте он берётся из $APIFY_TOKEN. Первые 40 твитов идут по базовой цене, дальше $0.0004 за твит.
Исходный текст
SKILL.md · Apache-2.0
---
name: analyzing-competitor-twitter-profile-content
description: >
Extracts and analyzes tweet history from competitor or brand Twitter profiles using apidojo's
Twitter Profile Scraper on Apify. Triggers when the user asks to: get all tweets from a competitor's
Twitter account, analyze what a company posts on Twitter, audit a brand's tweet history, track what
topics a competitor covers on X, compare Twitter content strategy between brands, extract posts from
a company's Twitter timeline, or monitor a competitor's messaging and announcements on Twitter.
Returns tweet text, engagement metrics (likes, retweets, replies, views), and author data.
Ideal for competitive intelligence teams, PR analysts, and brand strategists.
license: Apache-2.0
metadata:
author: apidojo
version: "1.0"
apify-actor: apidojo/twitter-profile-scraper
---
# Analyzing Competitor Twitter Profile Content
---
## Inputs
| Parameter | Type | Required | Default | Notes |
|-----------|------|----------|---------|-------|
| `startUrls` | array | Optional | `[]` | Twitter profile URLs (x.com or twitter.com formats) |
| `twitterHandles` | array | Optional | `[]` | Twitter usernames (without @) |
| `start` | string | Optional | — | Tweets after this date (YYYY-MM-DD or YYYY-MM-DD_HH:MM:SS_UTC) |
| `end` | string | Optional | — | Tweets before this date (YYYY-MM-DD or YYYY-MM-DD_HH:MM:SS_UTC) |
| `includeNativeRetweets` | boolean | Optional | `false` | Include native retweets in results |
| `onlyImages` | boolean | Optional | `false` | Only tweets containing images |
| `getReplies` | boolean | Optional | `false` | Include tweet replies |
| `minReplyCount` | number | Optional | — | Minimum reply count threshold |
| `getAboutData` | boolean | Optional | `false` | Fetch full profile about data |
| `maxItems` | number | Optional | Unlimited | Maximum tweets to return |
| `customMapFunction` | string | Optional | — | JavaScript function to transform each output object |
## How to Run
### Using run_actor.js (recommended)
```bash
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["competitor_handle"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["competitor_handle"], "maxItems": 100}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["competitor_handle"], "maxItems": 100}' --output results.json --format json
```
### REST API fallback
```bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~twitter-profile-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"twitterHandles": ["competitor_handle"], "maxItems": 100}'
```
If Apify MCP is available:
Use the Apify MCP `call_actor` tool with actor `apidojo~twitter-profile-scraper` and the input above.
---
## Scoring & Ranking
Score each tweet for competitive intelligence value:
- `engagement_total = likeCount + retweetCount + replyCount + quoteCount` → normalized 0-1 (cap at 10K), weight 0.50
- `viewCount` → normalized 0-1 (cap at 500K), weight 0.30
- `has_media` (contains image or video) → 0 or 1, weight 0.20
```python
score = 0.50 * min(engagement_total / 10000, 1.0) + 0.30 * min(viewCount / 500000, 1.0) + 0.20 * int(has_media)
```
---
## Classification
| Score | Tier | Label |
|-------|------|-------|
| ≥ 0.70 | A | HIGH_IMPACT_TWEET |
| 0.40–0.69 | B | NOTABLE_TWEET |
| < 0.40 | C | LOW_ENGAGEMENT |
---
## Edge Cases
- **Private account**: Returns 0 tweets. Check if competitor locked their account.
- **Minimum 40 tweets**: First 40 are included at base pricing. For more, cost is $0.0004/tweet.
- **Retweets included**: Results include RTs. Filter by checking if text starts with "RT @".
- **Date range + few results**: Some accounts tweet rarely — widen date range or remove filter.
- **Multiple competitors**: Run for each handle separately and combine datasets.
© apidojo · Apache-2.0 · apidojo-io/apidojo-skills