x-fetcher
Skill by wlzh
x-fetcher is a command-line skill that fetches X (Twitter) tweets and long-form X Articles and saves them as Markdown files. It suits users who want local copies of X posts, including text, media links and engagement counts.
Install x-fetcher
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wlzh/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/x-fetcher-skill ~/.claude/skills/x-fetcherRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wlzh/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/x-fetcher-skill ~/.gemini/antigravity-cli/skills/x-fetcherAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
x-fetcher is a command-line skill that fetches X (Twitter) posts, including regular tweets and X Article long-form posts. For regular tweets it returns the text, image and video links. For Articles it returns the full body in Markdown. It also reports engagement figures such as likes, reposts and views.
The skill runs scripts/main.py with a post URL. It tries the fxtwitter API first, then falls back to the syndication API, and saves the result as a Markdown file. Settings such as a default output folder and media download can be stored in an EXTEND.md file. It is based on the Jane-xiaoer/x-fetcher project and suits people who want local copies of X posts.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch regular tweetsGets tweet text, image links and video links from an x.com or twitter.com status URL.
- Fetch X ArticlesGets the full body of a long-form X Article in Markdown format.
- Read engagement dataReports likes, reposts, views, replies and bookmarks where the source provides them.
- Save as MarkdownWrites a formatted Markdown file to {output_dir}/{username}/{tweet-id}.md.
- Download mediaOptionally saves images to imgs/ and videos to videos/ and rewrites links to local paths.
- JSON outputPrints the result as JSON with the --json option, without saving a Markdown file.
What you need
- Python 3.6 or later
- requests 2.25.0 or later
- Network access to the fxtwitter API
Try asking
- Fetch this tweet and save it as Markdown: https://x.com/user/status/123
- Save this X Article in full as Markdown and download its media.
- Show the likes, reposts and views for this tweet as JSON.
Good to know
- Depends on the third-party fxtwitter API, which may stop working if the service changes.
- Content from private accounts cannot be fetched.
- Some media may not return a full URL.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: x-fetcher-skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to x-fetcher
All alternatives →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
Compare with box, n8n-mcp-tools-expert or citation-management
x-fetcher: common questions
Can it fetch X Articles?
Yes. The source says it fetches X Article long-form posts with the full body in Markdown.
Does it work for private accounts?
No. The source says content from private accounts cannot be fetched.
Where are the saved files stored?
By default they go to ./x-fetcher/{username}/{tweet-id}.md. The output path can be changed with a setting or the --output option.
How do I install x-fetcher?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is x-fetcher free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is x-fetcher safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to x-fetcher?
Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.
