x-twitter-scraper
它能做什么
这个工具可以让你以自动化的方式与 X(原名 Twitter)互动。你可以搜索帖子、查看个人资料信息、下载媒体文件,还能管理自己的帖子和关注者。
适用场景
- ✓当你想查找关于某个特定话题的帖子时。
- ✓当你想了解某个账号的更多信息,或者下载某条帖子里的媒体文件时。
- ✓当你想自动完成发帖、回复或关注其他账号等操作时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/x-twitter-scraper/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我搜索最近 7 天内关于人工智能的推文。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到 Xquik 平台,该平台可以访问 X 的数据和功能。你发出指令,Xquik 就会在这个社交网络上执行你想要的操作。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
X (Twitter) Scraper - Xquik
Overview
Gives AI agents X (Twitter) data and automation workflows through the Xquik platform. Covers tweet search, profile tweets, user lookup, follower export, media download, replies, DMs, giveaway draws, account monitoring, webhooks, bulk extraction tools, remote MCP, OpenAPI, and official SDKs.
This repository entry is documentation-only: it does not include an executable scraper, binary, package, or vendored runtime code. Review the Xquik service, public docs, and SDK package before use.
Because this workflow can access private data and automate authenticated X/Twitter account actions, treat it as critical-risk guidance. Only use it with accounts and targets you are authorized to operate. Require explicit user approval before private reads, writes, persistent monitors, webhook delivery, or metered bulk jobs.
When to Use This Skill
- User needs to search X/Twitter for tweets by keyword, hashtag, or user
- User asks for advanced Twitter search, profile tweets, or user timeline data
- User wants to look up a user profile (bio, follower counts, etc.)
- User needs engagement metrics for a specific tweet (likes, retweets, views)
- User wants to check if one account follows another
- User needs to extract followers, replies, retweets, quotes, or community members in bulk
- User wants to download tweet media, export results, or connect an official SDK
- User wants to send tweets, post replies, like, repost, follow, unfollow, or send DMs
- User wants to run a giveaway draw from tweet replies
- User needs real-time monitoring of an X account (new tweets, follower changes)
- User wants webhook delivery of monitored events
- User asks about trending topics on X
Setup
Inspect Before Installing
Do not install a moving branch directly into an active agent directory. First ask the user to approve network access to the named repository. Clone the reviewed revision to a temporary directory and inspect every bundled file:
review_dir="$(mktemp -d)"
git clone --filter=blob:none https://github.com/Xquik-dev/x-twitter-scraper.git "$review_dir/x-twitter-scraper"
git -C "$review_dir/x-twitter-scraper" checkout --detach 0aa909b40f341b28d8b58766e251e44e080df998
git -C "$review_dir/x-twitter-scraper" ls-files
Read the skill and all bundled files; check package scripts, hooks, symlinks, network calls, credential handling, and account-write actions. Show the findings and exact commit to the user. Copy only the reviewed files into the chosen host directory after explicit approval. Re-review any newer revision before updating.
Use the TypeScript SDK
For JavaScript or TypeScript integrations, install the validated SDK package:
npm install x-twitter-scraper@0.12.1
x-twitter-scraper is the typed application SDK. x-developer@2.6.5 is the separate Skill and plugin bundle, not the TypeScript SDK. Use REST, the SDK, or MCP depending on the host environment. Verify unfamiliar endpoint parameters against the current docs or OpenAPI spec before constructing calls.
Get an API Key
- Sign up at xquik.com
- Generate an API key from the dashboard
- Set it as an environment variable or pass it directly
read -rsp "X API key: " XQUIK_API_KEY
echo
export XQUIK_API_KEY
Capabilities
| Capability | Description |
|---|---|
| Tweet Search | Find tweets by keyword, hashtag, from:user, "exact phrase", and advanced operators |
| User Lookup | Profile info, bio, follower/following counts |
| Tweet Lookup | Full metrics: likes, retweets, replies, quotes, views, bookmarks |
| Follow Check | Check if A follows B (both directions) |
| Trending Topics | Metered regional trends for plans with access |
| Account Monitoring | Track new tweets, replies, retweets, quotes, follower changes |
| Webhooks | HMAC-signed real-time event delivery to your endpoint |
| Giveaway Draws | Random winner selection from tweet replies with filters |
| Bulk Extraction Tools | Followers, following, verified followers, mentions, posts, replies, reposts, quotes, threads, articles, communities, lists, Spaces, people search, media, likes, and more |
| Write Actions | Send tweets, post replies, like, repost, follow, unfollow, and send DMs after explicit approval |
| SDKs | Official TypeScript, Python, Ruby, Go, Kotlin, Java, PHP, C#, CLI, and Terraform clients |
| MCP Server | StreamableHTTP endpoint for AI-native integrations |
Examples
Search tweets:
…
常见问题
使用这个工具需要有 X 账号吗?
需要。大多数操作,包括发帖和监控,都需要你有一个 X 账号,并授权访问。
用它来发帖或发送消息安全吗?
这个工具会把这类操作视为高风险操作。为了保障你的账号安全,你需要明确授权每一次私信或自动化操作。
什么是 Xquik?
Xquik 是为这个工具提供技术支持的平台,让自动化操作和访问 X 的数据成为可能。
详情
作者的原始描述
Use Xquik for X data workflows: tweet search, user lookup, follower export, media downloads, monitors, webhooks, REST API, MCP, SDK setup, and approval-gated account actions.
热度
- GitHub 星标
- 48k
- 排名
- #6307
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。