[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77X781EQQND6GBR1RFFFP9C":3,"skill-same:01M77X781EQQND6GBR1RFFFP9C":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M77X781EQQND6GBR1RFFFP9C","twitter-intel",null,"Twitter keyword search, monitoring, and trend analysis via GraphQL","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftwitter-intel\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: twitter-intel\ndescription: Twitter keyword search, monitoring, and trend analysis via GraphQL\nhomepage: https:\u002F\u002Fcanlah.ai\nmetadata: {\"openclaw\": {\"emoji\": \"🔍\", \"os\": [\"darwin\", \"linux\"], \"requires\": {\"bins\": [\"python3\"], \"env\": [\"TWITTER_COOKIES_PATH\"]}}}\n---\n\n# Twitter Intel — Keyword Search & Trend Monitor\n\nSearch Twitter by keyword, collect high-engagement tweets, analyze trends over time, and generate structured reports. Powered by `rnet_twitter.py` GraphQL search (no browser automation needed).\n\n---\n\n## Architecture\n\n```\nPhase 1: On-demand Search (user-triggered)\n  User says \"search OpenAI on twitter\" -> search -> filter -> report\n\nPhase 2: Keyword Monitoring (cron-driven)\n  Config defines keywords -> scheduled search -> diff with last run -> alert on new high-engagement tweets\n\nPhase 3: Trend Analysis (on-demand or weekly)\n  Aggregate saved searches -> group by week -> detect topic shifts -> generate narrative\n```\n\n---\n\n## Prerequisites\n\n```bash\n# Install rnet (Rust HTTP client with TLS fingerprint emulation)\npip install \"rnet>=3.0.0rc20\" --pre\n\n# Required files:\n# 1. rnet_twitter.py — lightweight async Twitter GraphQL client\n#    Get it: https:\u002F\u002Fgithub.com\u002FPHY041\u002Frnet-twitter-client\n# 2. twitter_cookies.json — your auth cookies\n#    Format: [{\"name\": \"auth_token\", \"value\": \"...\"}, {\"name\": \"ct0\", \"value\": \"...\"}]\n#    Get cookies: Chrome DevTools → Application → Cookies → x.com\n#    Cookies expire ~2 weeks. Refresh when you get 403 errors.\n```\n\nSet `TWITTER_COOKIES_PATH` env var to your cookies file location.\n\n---\n\n## Phase 1: On-demand Search\n\nWhen user says \"search [keyword] on twitter\", \"twitter intel [topic]\", \"find tweets about [X]\":\n\n### Step 1 — Run Search\n\n```python\nimport asyncio, os\nfrom rnet_twitter import RnetTwitterClient\n\nasync def search(query, count=200):\n    client = RnetTwitterClient()\n    cookies_path = os.environ.get(\"TWITTER_COOKIES_PATH\", \"twitter_cookies.json\")\n    client.load_cookies(cookies_path)\n    tweets = await client.search_tweets(query, count=count, product=\"Top\")\n    return tweets\n```\n\n**Search modes:**\n\n| Mode | `product=` | Use case |\n|------|-----------|----------|\n| High-engagement | `\"Top\"` | Find influential tweets, content analysis |\n| Real-time | `\"Latest\"` | Monitor breaking discussions, live tracking |\n\n**Useful Twitter search operators:**\n\n| Operator | Example | Effect |\n|----------|---------|--------|\n| `lang:en` | `OpenAI lang:en` | English only |\n| `since:` \u002F `until:` | `since:2026-01-24 until:2026-02-24` | Date range |\n| `-filter:replies` | `OpenAI -filter:replies` | Original tweets only |\n| `min_faves:N` | `min_faves:50` | Minimum likes (only works with Latest) |\n| `from:` | `from:karpathy` | Specific author |\n| `\"exact\"` | `\"AI agent\"` | Exact phrase |\n\n### Step 2 — Filter & Enrich\n\nAfter raw search, filter for quality:\n\n```python\nfiltered = [\n    t for t in tweets\n    if keyword.lower() in t[\"text\"].lower()\n    and (t[\"favorite_count\"] >= 10 or t[\"retweet_count\"] >= 5)\n    and not t[\"is_reply\"]\n]\n```\n\n### Step 3 — Report\n\nOutput a structured summary:\n\n```\n## Twitter Intel: [keyword]\n**Period:** [date range] | **Tweets found:** N | **After filter:** N\n\n### Top Tweets (by engagement)\n1. @author (X likes, Y RTs, Z views) — date\n   \"tweet text...\"\n   [link]\n\n### Key Themes\n- Theme 1: [description] (N tweets)\n- Theme 2: [description] (N tweets)\n\n### Notable Authors\n| Author | Followers | Tweets in set | Total engagement |\n```\n\n---\n\n## Phase 2: Keyword Monitoring (Cron)\n\n### Config File\n\n```json\n{\n  \"monitors\": [\n    {\n      \"id\": \"my-product-en\",\n      \"query\": \"MyProduct lang:en -filter:replies\",\n      \"product\": \"Top\",\n      \"count\": 100,\n      \"min_likes\": 10,\n      \"alert_threshold\": 100,\n      \"enabled\": true\n    }\n  ]\n}\n```\n\n### State File\n\n```json\n{\n  \"my-product-en\": {\n    \"last_run\": \"2026-02-24T12:00:00Z\",\n    \"last_tweet_ids\": [\"id1\", \"id2\"],\n    \"total_collected\": 450\n  }\n}\n```\n\n### Cron Workflow\n\n1. Read config -> iterate enabled monitors\n2. For each monitor:\n   - Run `search_tweets(query, count, product)`\n   - Filter by `min_likes`\n   - Diff against `last_tweet_ids` -> find NEW tweets only\n   - If any new tweet has `favorite_count >= alert_threshold` -> immediate alert\n   - Save all new tweets to daily file `{monitor_id}\u002FYYYY-MM-DD.json`\n   - Update state file\n3. Send summary notification (if there are new notable tweets)\n\n---\n\n## Phase 3: Trend Analysis\n\nWhen user says \"analyze twitter trend for [keyword]\", \"twitter trend report\":\n\n1. Load all saved daily files from `{monitor_id}\u002F`\n2. Group tweets by week\n3. For each week, extract:\n   - Total tweet count + total engagement\n   - Top 5 tweets by likes\n   - Dominant themes (use LLM to categorize)\n   - New authors that appeared\n   - Sentiment shift\n4. Generate a week-by-week narrative\n\n---\n\n## Commands\n\n| User Says | Agent Does |\n|-----------|-----------|\n| `\u002Ftwitter-intel [keyword]` | Search + filter + report (Top, 200 tweets) |\n| `\u002Ftwitter-intel \"[phrase]\" --latest` | Search Latest mode |\n| `monitor \"[keyword]\" on twitter` | Add to monitoring config |\n| `twitter intel status` | Show all active monitors + last run |\n| `twitter trend report [keyword]` | Analyze saved data, generate trend narrative |\n| `refresh twitter cookies` | Guide user through cookie refresh |\n\n---\n\n## Technical Notes\n\n- **SearchTimeline requires POST** (GET returns 404) — handled by `rnet_twitter.py`\n- **GraphQL query IDs rotate** — if search returns 404, re-extract from `https:\u002F\u002Fabs.twimg.com\u002Fresponsive-web\u002Fclient-web\u002Fmain.*.js`\n- **Rate limits**: ~300 requests\u002F15min window. With 20 tweets per page, 200 tweets = 10 requests. Safe for cron every 4 hours.\n- **Cookie lifetime**: `auth_token` expires after ~2 weeks. Monitor for 403 errors.\n","# Twitter Intel — Keyword Search & Trend Monitor\n\nSearch Twitter by keyword, collect high-engagement tweets, analyze trends over time, and generate structured reports. Powered by `rnet_twitter.py` GraphQL search (no browser automation needed).\n\n---\n\n## Architecture\n\n```\nPhase 1: On-demand Search (user-triggered)\n  User says \"search OpenAI on twitter\" -> search -> filter -> report\n\nPhase 2: Keyword Monitoring (cron-driven)\n  Config defines keywords -> scheduled search -> diff with last run -> alert on new high-engagement tweets\n\nPhase 3: Trend Analysis (on-demand or weekly)\n  Aggregate saved searches -> group by week -> detect topic shifts -> generate narrative\n```\n\n---\n\n## Prerequisites\n\n```bash\n# Install rnet (Rust HTTP client with TLS fingerprint emulation)\npip install \"rnet>=3.0.0rc20\" --pre\n\n# Required files:\n# 1. rnet_twitter.py — lightweight async Twitter GraphQL client\n#    Get it: https:\u002F\u002Fgithub.com\u002FPHY041\u002Frnet-twitter-client\n# 2. twitter_cookies.json — your auth cookies\n#    Format: [{\"name\": \"auth_token\", \"value\": \"...\"}, {\"name\": \"ct0\", \"value\": \"...\"}]\n#    Get cookies: Chrome DevTools → Application → Cookies → x.com\n#    Cookies expire ~2 weeks. Refresh when you get 403 errors.\n```\n\nSet `TWITTER_COOKIES_PATH` env var to your cookies file location.\n\n---\n\n## Phase 1: On-demand Search\n\nWhen user says \"search [keyword] on twitter\", \"twitter intel [topic]\", \"find tweets about [X]\":\n\n### Step 1 — Run Search\n\n```python\nimport asyncio, os\nfrom rnet_twitter import RnetTwitterClient\n\nasync def search(query, count=200):\n    client = RnetTwitterClient()\n    cookies_path = os.environ.get(\"TWITTER_COOKIES_PATH\", \"twitter_cookies.json\")\n    client.load_cookies(cookies_path)\n    tweets = await client.search_tweets(query, count=count, product=\"Top\")\n    return tweets\n```\n\n**Search modes:**\n\n| Mode | `product=` | Use case |\n|------|-----------|----------|\n| High-engagement | `\"Top\"` | Find influential tweets, content analysis |\n| Real-time | `\"Latest\"` | Monitor breaking discussions, live tracking |\n\n**Useful Twitter search operators:**\n\n| Operator | Example | Effect |\n|----------|---------|--------|\n| `lang:en` | `OpenAI lang:en` | English only |\n| `since:` \u002F `until:` | `since:2026-01-24 until:2026-02-24` | Date range |\n| `-filter:replies` | `OpenAI -filter:replies` | Original tweets only |\n| `min_faves:N` | `min_faves:50` | Minimum likes (only works with Latest) |\n| `from:` | `from:karpathy` | Specific author |\n| `\"exact\"` | `\"AI agent\"` | Exact phrase |\n\n### Step 2 — Filter & Enrich\n\nAfter raw search, filter for quality:\n\n```python\nfiltered = [\n    t for t in tweets\n    if keyword.lower() in t[\"text\"].lower()\n    and (t[\"favorite_count\"] >= 10 or t[\"retweet_count\"] >= 5)\n    and not t[\"is_reply\"]\n]\n```\n\n### Step 3 — Report\n\nOutput a structured summary:\n\n```\n## Twitter Intel: [keyword]\n**Period:** [date range] | **Tweets found:** N | **After filter:** N\n\n### Top Tweets (by engagement)\n1. @author (X likes, Y RTs, Z views) — date\n   \"tweet text...\"\n   [link]\n\n### Key Themes\n- Theme 1: [description] (N tweets)\n- Theme 2: [description] (N tweets)\n\n### Notable Authors\n| Author | Followers | Tweets in set | Total engagement |\n```\n\n---\n\n## Phase 2: Keyword Monitoring (Cron)\n\n### Config File\n\n```json\n{\n  \"monitors\": [\n    {\n      \"id\": \"my-product-en\",\n      \"query\": \"MyProduct lang:en -filter:replies\",\n      \"product\": \"Top\",\n      \"count\": 100,\n      \"min_likes\": 10,\n      \"alert_threshold\": 100,\n      \"enabled\": true\n    }\n  ]\n}\n```\n\n### State File\n\n```json\n{\n  \"my-product-en\": {\n    \"last_run\": \"2026-02-24T12:00:00Z\",\n    \"last_tweet_ids\": [\"id1\", \"id2\"],\n    \"total_collected\": 450\n  }\n}\n```\n\n### Cron Workflow\n\n1. Read config -> iterate enabled monitors\n2. For each monitor:\n   - Run `search_tweets(query, count, product)`\n   - Filter by `min_likes`\n   - Diff against `last_tweet_ids` -> find NEW tweets only\n   - If any new tweet has `favorite_count >= alert_threshold` -> immediate alert\n   - Save all new tweets to daily file `{monitor_id}\u002FYYYY-MM-DD.json`\n   - Update state file\n3. Send summary notification (if there are new notable tweets)\n\n---\n\n## Phase 3: Trend Analysis\n\nWhen user says \"analyze twitter trend for [keyword]\", \"twitter trend report\":\n\n1. Load all saved daily files from `{monitor_id}\u002F`\n2. Group tweets by week\n3. For each week, extract:\n   - Total tweet count + total engagement\n   - Top 5 tweets by likes\n   - Dominant themes (use LLM to categorize)\n   - New authors that appeared\n   - Sentiment shift\n4. Generate a week-by-week narrative\n\n---\n\n## Commands\n\n| User Says | Agent Does |\n|-----------|-----------|\n| `\u002Ftwitter-intel [keyword]` | Search + filter + report (Top, 200 tweets) |\n| `\u002Ftwitter-intel \"[phrase]\" --latest` | Search Latest mode |\n| `monitor \"[keyword]\" on twitter` | Add to monitoring config |\n| `twitter intel status` | Show all active monitors + last run |\n| `twitter trend report [keyword]` | Analyze saved data, generate trend narrative |\n| `refresh twitter cookies` | Guide user through cookie refresh |\n\n---\n\n## Technical Notes\n\n- **SearchTimeline requires POST** (GET returns 404) — handled by `rnet_twitter.py`\n- **GraphQL query IDs rotate** — if search returns 404, re-extract from `https:\u002F\u002Fabs.twimg.com\u002Fresponsive-web\u002Fclient-web\u002Fmain.*.js`\n- **Rate limits**: ~300 requests\u002F15min window. With 20 tweets per page, 200 tweets = 10 requests. Safe for cron every 4 hours.\n- **Cookie lifetime**: `auth_token` expires after ~2 weeks. Monitor for 403 errors.\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Fcanlah.ai",{"openclaw":26},{"os":27,"emoji":30,"requires":31},[28,29],"darwin","linux","🔍",{"env":32,"bins":34},[33],"TWITTER_COOKIES_PATH",[35],"python3","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftwitter-intel",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill twitter-intel",{"tool":51,"command":52},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill twitter-intel",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill twitter-intel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftwitter-intel\u002FSKILL.md",true,[],[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]