with one click
twitter-collector
Twitter 数据采集到数据库的完整自动化工作流(采集→筛选→Grok 转换→数据库录入)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Twitter 数据采集到数据库的完整自动化工作流(采集→筛选→Grok 转换→数据库录入)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
仿写/复刻单篇小红书笔记的写作风格:从“单个帖子样本”(标题+正文+标签+可选图片/排版特征)抽取风格指纹,并结合用户给定主题要点与可选知识库链接,生成同风格但不抄袭的新笔记(标题/正文/话题标签/可选配图建议)。当用户说“仿写这篇小红书/按这篇的风格写一篇/复刻口吻排版/基于这条笔记生成同风格内容”,或提供 info.json、detail.txt、链接、截图等作为风格样本时使用。
AI深度分析语音记录,揭示行为模式、认知偏见和战略盲点。不只是数据汇总,而是直击本质的战略洞察和否定性指导。提取可沉淀的核心原则和工作偏好,构建个人工作模式知识库。
A generic requirement/problem clarification workflow. Use when a user/client request is ambiguous, underspecified, or hard to execute/verify. The skill reframes the request, defines scope, constraints, inputs, and acceptance criteria, then outputs a concise one-page definition and a minimal question set to close gaps. Suitable for product/feature requests, content requests, ops tasks, research asks, and decision-making prompts.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
统一的推文内容获取技能。支持单条/批量推文提取,输出结构化数据。当用户提供 Twitter/X 链接并希望获取内容时自动触发。
从 Markdown 文件中自动提取并下载 Twitter 图片,生成可直接发布的版本。 当用户说"下载推文图片"、"提取Twitter图片"、"download twitter images"时触发。
| name | twitter-collector |
| description | Twitter 数据采集到数据库的完整自动化工作流(采集→筛选→Grok 转换→数据库录入) |
自动采集 Twitter 搜索结果,输出推文链接列表,可直接粘贴到筛选网页进行人工筛选。
当你希望自动批量获取符合特定搜索参数的推文链接,而不是手动在浏览器中搜索和复制链接时使用。
直接指令 AI 执行采集。AI 会自动调用内置的 browser 技能,同步您的 Profile 并处理所有搜索逻辑。
@twitter-collector 执行下,使用 nano-banana-pro 预设。如果您希望在本地终端手动运行:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
node scripts/collector.js --preset nano-banana-pro --output preview
npm install playwright
npx playwright install chromium
# 基础使用(默认搜索参数)
node scripts/collector.js
# 自定义搜索参数
node scripts/collector.js --query "你的关键词" --since "24h"
# 生成可视化预览页面
node scripts/collector.js --preset nano-banana-pro --output preview
# 从筛选页导出完整文本(基于第三方解析)
node scripts/collector.js --preset nano-banana-pro --output filter-json
--query: 搜索关键词(支持 AND/OR 逻辑)--since: 时间范围(24h、7d、30d)--min-likes: 最小点赞数--max-tweets: 最大采集数量(默认 100)--exclude: 排除关键词(空格分隔)--filter-content: 内容类型过滤(media、videos、images)--exclude-replies: 排除回复--exclude-retweets: 排除转发--score-keywords: 评分关键词(逗号分隔)--min-score: 最低评分阈值(0-1)--output: 输出格式(console/file/preview/filter-json)--filter-url: 筛选页地址--output-dir: 输出目录内置预设搜索配置,直接使用插件中的搜索参数:
默认搜索参数(来自你的插件配置):
#NanoBananaPro OR #NanoBanana OR "Nano Banana" OR "prompt"
AND -female -woman -hair -GEMINIFOURTH
since_time:{{NOW-24h}}
min_faves:50
filter:media
-filter:replies
说明:
输出为纯文本,每行一个链接:
https://x.com/username/status/1234567890
https://x.com/username/status/1234567891
https://x.com/username/status/1234567892
使用方法:
https://twitterhot.vercel.app/tweet-filter.html)运行结束后显示:
✅ 采集完成
📊 总计: 100 条
✅ 去重后: 95 条
🔗 链接已输出到控制台
搜索页面导航
{{NOW-24h}})自动滚动采集
推文提取
article[data-testid="tweet"]去重机制
输出处理
https://x.com/...)$ node scripts/collector.js --preset "nano-banana-pro"
🔍 搜索参数:
#NanoBananaPro OR #NanoBanana OR "Nano Banana" OR "prompt"
AND -female -woman -hair -GEMINIFOURTH
since_time:{{NOW-24h}}
min_faves:50
filter:media
-filter:replies
📊 采集进度: ████████████████ 100/100
✅ 采集完成
📊 总计: 100 条
✅ 去重后: 95 条
🔗 链接列表:
https://x.com/username1/status/1234567890
https://x.com/username2/status/1234567891
https://x.com/username3/status/1234567892
...