/install fxtwitter-translate
fxtwitter-translate
Fetch and translate Twitter/X tweets to Chinese. Uses the public fxtwitter API to get JSON content, extracts text, formats and translates it to clean Chinese markdown.
Workflow
-
Extract tweet ID from URL:
https://x.com/:username/status/:tweetId→ extracttweetIdhttps://twitter.com/:username/status/:tweetId→ extracttweetIdhttps://fxtwitter.com/:username/status/:tweetId→ extracttweetIdhttps://api.fxtwitter.com/:username/status/:tweetId→ already API format
-
Convert to fxtwitter API URL:
https://api.fxtwitter.com/:username/status/:tweetId -
GET request to fetch JSON
-
Extract content:
- Get
tweet.textfrom JSON response - If it's a long tweet with multiple cards, concatenate all text content
- Strip any extra HTML/formatting
- Get
-
Format and Translate:
- Preserve original structure (headings, lists, paragraphs)
- Translate to natural-sounding Simplified Chinese
- Keep any URLs intact, credit the original author
- Output as clean markdown
Example
User input:
翻译:https://x.com/invideoOfficial/status/2033866107166318666
Flow:
- Extract username
invideoOfficial, tweetId2033866107166318666 - API request to
https://api.fxtwitter.com/invideoOfficial/status/2033866107166318666 - Extract full article text
- Translate to Chinese markdown
- Output with author credit and original link
Notes
- This skill only handles single tweets/threads, not quoted retweets (can extract the main tweet content)
- Images/video are not fetched, only text content
- Always credit original author and link at the end
- Keep the original structure (headings, lists, paragraphs) intact in translation
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fxtwitter-translate - After installation, invoke the skill by name or use
/fxtwitter-translate - Provide required inputs per the skill's parameter spec and get structured output
What is FX Twitter Translate?
Fetch full text from Twitter/X tweets via fxtwitter API, then translate to Chinese. Triggers when user shares a x.com / twitter.com / fxtwitter link and asks... It is an AI Agent Skill for Claude Code / OpenClaw, with 217 downloads so far.
How do I install FX Twitter Translate?
Run "/install fxtwitter-translate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is FX Twitter Translate free?
Yes, FX Twitter Translate is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does FX Twitter Translate support?
FX Twitter Translate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created FX Twitter Translate?
It is built and maintained by dizhu (@dizhu); the current version is v0.1.0.