Agent skill

X Fetcher

by Jane-xiaoer in Jane-xiaoer/x-fetcher

抓取 X (Twitter) 帖子 + 微信公众号文章。X 支持普通推文 / X Article 长文章 / 互动数据,微信支持公众号文章正文+作者+字数。触发词:x.com、twitter.com、X 链接、推文、X Article、mp.weixin.qq.com、微信文章、公众号链接、抓取公众号

MITAuto-check passedProductivity & Automation

Install X Fetcher

skills CLI
$ npx skills add Jane-xiaoer/x-fetcher --skill x-fetcher -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Jane-xiaoer/x-fetcher x-fetcher --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
x-fetcher
GitHub stars
162
Token cost
~266 tokens
SKILL.md length
80 words
Files
8
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

抓取 X (Twitter) 帖子 + 微信公众号文章。X 支持普通推文 / X Article 长文章 / 互动数据,微信支持公众号文章正文+作者+字数。触发词:x.com、twitter.com、X 链接、推文、X Article、mp.weixin.qq.com、微信文章、公众号链接、抓取公众号

  • Works in 4 steps: 识别 URL 平台(x.com / twitter.com /… → 调对应脚本 → 解析输出 → …
  • Productivity & Automation work in your project
  • SKILL.md covers 触发场景, 核心命令, 执行流程 and 注意
  • Runs Python scripts from its folder; calls python

What it does

X Fetcher is an agent skill from Jane-xiaoer/x-fetcher. 抓取 X (Twitter) 帖子 + 微信公众号文章。X 支持普通推文 / X Article 长文章 / 互动数据,微信支持公众号文章正文+作者+字数。触发词:x.com、twitter.com、X 链接、推文、X Article、mp.weixin.qq.com、微信文章、公众号链接、抓取公众号

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `README.md`, `fetch_wechat.py` and `fetch_x.py`).

It sits in Productivity & Automation. It works with X (Twitter), WeChat and Python. The licence is MIT.

When your agent uses it

  • Productivity & Automation work in your project

Example prompts

  • “/x-fetcher”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 识别 URL 平台(x.com / twitter.com / mp.weixin.qq.com)
  2. 调对应脚本
  3. 解析输出
  4. 直接交付给用户,或继续下游处理(翻译 / 摘要 / 发布 / 归档)

What it can do on your machine

Read from SKILL.md and the folder at commit 1bf6f4d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

X Fetcher loads about 266 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 80 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~266

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Jane-xiaoer/x-fetcher at commit 1bf6f4d, republished under its MIT licence (© Jane-xiaoer). 80 words, ~266 tokens.

Download SKILL.mdSave it as .claude/skills/x-fetcher/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
x-fetcher
description
抓取 X (Twitter) 帖子 + 微信公众号文章。X 支持普通推文 / X Article 长文章 / 互动数据,微信支持公众号文章正文+作者+字数。触发词:x.com、twitter.com、X 链接、推文、X Article、mp.weixin.qq.com、微信文章、公众号链接、抓取公众号

x-fetcher v2 — 双能力内容抓取器

装一个 skill,抓两个平台:X (Twitter) + 微信公众号文章。

触发场景

只要用户消息里出现以下任一,自动调用本 skill:

平台URL 特征用哪个脚本
X / Twitterx.com/*/status/* 或 twitter.com/*/status/*python fetch_x.py <url>
微信公众号mp.weixin.qq.com/s/*python fetch_wechat.py <url>

核心命令

X / Twitter
bash
python fetch_x.py <x_url> [选项]

选项:--save-md / --with-replies / --full / --json / --save-video(🆕 下载推文视频)

详见根目录 README 的"X 抓取"段。

微信公众号
bash
python fetch_wechat.py <wechat_url>

输出:标题 + 作者 + 字数 + 正文(纯文本)。

执行流程

  1. 识别 URL 平台(x.com / twitter.com / mp.weixin.qq.com)
  2. 调对应脚本
  3. 解析输出
  4. 直接交付给用户,或继续下游处理(翻译 / 摘要 / 发布 / 归档)

注意

  • 仅适用于公开内容(私密账号 / 需登录文章无法抓取)
  • 微信链接有效期通常较长,极少数旧文章可能失效
  • 依赖 Python requests 库(已在 requirements.txt)
  • 跨平台 SSL:微信抓取用 Python requests(自动处理证书),不需要 macOS 上 curl -k 的 hack

© Jane-xiaoer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files in the repository root of Jane-xiaoer/x-fetcher.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.md
  • fetch_wechat.py
  • fetch_x.py
  • follow-wechat-qrcode.jpg
  • requirements.txt

Open the folder on GitHubat commit 1bf6f4d

Compare with similar skills

X Fetcher next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

X Fetcher compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
X Fetcher this skillJane-xiaoer/x-fetcher162—~266Automated safety check: PassMIT
Browser Automation Edge Casesaden-hive/hive11k—~1.8kAutomated safety check: PassMIT
Yichen Mac Wechat Dual Openmcncarl/yichen-skills4.4k—~1.5kAutomated safety check: PassCustom licence
Create Experkfly/ex-skill2.5k—~3.7kAutomated safety check: NotesMIT
Content CollectorvigorX777/content-collector-skill240—~2kAutomated safety check: PassNone
Agent ReachEdisonChenAI/agent-reach1151 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Step-by-step procedure for debugging browser automation failures on complex sites such as LinkedIn, Twitter/X, single-page apps and Shadow DOM pages.

    11k GitHub stars~1.8k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Yichen Mac Wechat Dual Open

    mcncarl/yichen-skills

    Create, inspect, repair, and polish a second WeChat app on macOS by copying WeChat, changing the bundle identifier, ad-hoc re-signing, preparing it for the user to open manually, setting Chinese…

    4.4k GitHub stars~1.5k tokensUpdated 7 days ago
    Productivity & AutomationAuto-check passed
  • Create Ex

    perkfly/ex-skill

    Distill an ex-girlfriend into an AI Skill. An agent skill from perkfly/ex-skill.

    2.5k GitHub stars~3.7k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check: notes
  • Content Collector

    vigorX777/content-collector-skill

    Collect social media content (X/Twitter, WeChat, Jike, Reddit, etc.) into Feishu bitable.

    240 GitHub stars~2k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Agent Reach

    EdisonChenAI/agent-reach

    Use the internet: search, read, and interact with 13+ platforms including Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu (小红书), Douyin (抖音), WeChat Articles (微信公众号), LinkedIn, Boss直聘…

    115 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Wx4 Skill

    claw-codes/wx4py

    微信自动化操作 skill,用于帮助用户快速完成微信消息群发、文件发送、群管理、聊天记录获取、多群监听、AI 自动回复等自动化任务。当用户需要批量发送微信消息、管理微信群、获取聊天记录、监听群消息、或接入 AI 群聊机器人时使用此 skill。

    760 GitHub stars~3k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed

Questions about X Fetcher

What does X Fetcher do?

抓取 X (Twitter) 帖子 + 微信公众号文章。X 支持普通推文 / X Article 长文章 / 互动数据,微信支持公众号文章正文+作者+字数。触发词:x.com、twitter.com、X 链接、推文、X Article、mp.weixin.qq.com、微信文章、公众号链接、抓取公众号. X Fetcher is an agent skill from Jane-xiaoer/x-fetcher.

When should I use X Fetcher?

X Fetcher fits situations like: productivity & Automation work in your project.

How do I install X Fetcher in Claude Code?

Run `npx skills add Jane-xiaoer/x-fetcher --skill x-fetcher -a claude-code`. Or copy the skill folder (the Jane-xiaoer/x-fetcher repository) into .claude/skills/x-fetcher in your project. Claude Code loads it when a task matches its description.

How do I install X Fetcher in Codex?

Run `npx skills add Jane-xiaoer/x-fetcher --skill x-fetcher -a codex`. Or copy the skill folder (the Jane-xiaoer/x-fetcher repository) into .agents/skills/x-fetcher in your project. Codex loads it when a task matches its description.

Can I use X Fetcher in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Jane-xiaoer/x-fetcher --skill x-fetcher -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x-fetcher, .gemini/skills/x-fetcher, .github/skills/x-fetcher and .opencode/skills/x-fetcher in your project.

What does X Fetcher need to run?

Going by SKILL.md and its folder, X Fetcher needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does X Fetcher access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is X Fetcher safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does X Fetcher use?

X Fetcher is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does X Fetcher use?

About 266 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to X Fetcher?

Skills that share tags, products or a category with X Fetcher: Browser Automation Edge Cases (aden-hive/hive, 11k stars), Yichen Mac Wechat Dual Open (mcncarl/yichen-skills, 4.4k stars), Create Ex (perkfly/ex-skill, 2.5k stars) and Content Collector (vigorX777/content-collector-skill, 240 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains X Fetcher?

Jane-xiaoer (a GitHub user) maintains it in Jane-xiaoer/x-fetcher, which has 162 GitHub stars. The repository was last updated on April 29, 2026.

Source: Jane-xiaoer/x-fetcher on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.