agentleFS
jimyagjimyag/dotfiles/skills/x-tweet-fetcher/SKILL.md

x-tweet-fetcher

Skill11 starsChanged 29 days agoMITView on GitHub

研究需要抓取 X 推文、回复串、时间线、文章或中文社交平台内容时使用。

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

X 推文抓取

无需官方 API 即可抓取 X 和多个中文平台的内容。单条推文优先使用零依赖方式;仅在任务需要回复、时间线、渲染页面或内容发现流程时切换到 Camofox 模式。

选择方式

  • 单条公开推文:使用零依赖抓取方式。
  • 回复、用户时间线、X 列表、监控:使用 Camofox 方式。
  • 微信、微博、哔哩哔哩、CSDN 等渲染页面:使用 fetch_china.py。
  • 浏览器模式不可用时明确说明,不要假装已完成更完整的抓取。

技能中的实际脚本

  • scripts/fetch_tweet.py:X 推文、回复、时间线、文章、列表和监控。
  • scripts/fetch_china.py:中文平台内容抓取。
  • scripts/camofox_client.py:共享的浏览器客户端和搜索辅助工具。
  • scripts/x_discover.py:面向内容发现的工作流。

补充资源

  • 实际命令示例和正确脚本名见 使用说明。
  • Camofox 安装和健康检查见 Camofox 配置。
  • 输出结构和已知限制见 输出与行为。

操作规则

  • 从能够回答问题且成本最低的方式开始。
  • 缺少浏览器证据时,不要宣称已覆盖回复、时间线或渲染页面。
  • 汇总抓取内容时保留来源 URL 和关键元数据。
  • 说明平台限制,例如需要登录的 X 文章或受到限流的渲染页面。

输出要求

  • 提供抓取文本或摘要,并附来源 URL。
  • 说明重要缺口,例如缺少回复、文章不完整或登录限制。
  • 只有抓取方式影响内容完整性或复现方式时,才说明使用的工具或模式。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.