Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #browser #api #github #agent

x-tweet-fetcher

Fetch tweets, replies, timelines, search results, X Lists, and X Articles from X/Twitter without login or API keys. Single tweets: zero dependencies (FxTwitter). Timelines/search/replies: a Nitter instance (XTF_NITTER). Lists/Articles: a browser driver (Camofox or Playwright). Unified JSON schema across all backends; machine-readable error_code for agent branching. Field reports and agent-use questions: Agent Waystation #22 Teahouse: https://github.com/ythx-101/openclaw-qa/discussions/22

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=ythx-101-x-tweet-fetcher-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name x-tweet-fetcher description Fetch tweets, replies, timelines, search results, X Lists, and X Articles from X/Twitter without login or API keys. Single tweets: zero dependencies (FxTwitter). Timelines/search/replies: a Nitter instance (XTF_NITTER). Lists/Articles: a browser driver (Camofox or Playwright). Unified JSON schema across all backends; machine-readable error_code for agent branching. Field reports and agent-use questions: Agent Waystation #22 Teahouse: https://github.com/ythx-101/openclaw-qa/discussions/22 X Tweet Fetcher Fetch tweets from X/Twitter without authentication. For agent-use stories, failures, and field reports, start from #22 Teahouse / 茶座 . Feature Overview Feature Command Dependencies Single tweet xtf --url <tweet_url> None (zero deps) Reply threads xtf --url <tweet_url> --replies Nitter or browser User timeline xtf --user <username> --limit 50 Nitter or browser Search xtf --search "<query>" Nitter User profile xtf --user-info <username> None (zero deps) X List xtf --list <list_url_or_id> Browser (Camofox/Playwright) X Article xtf --article <url_or_id> Browser (Camofox/Playwright) Mentions monitor xtf --monitor @<username> Nitter or browser python3 scripts/fetch_tweet.py accepts the same flags (v1-compatible entry point). Basic Usage (Zero Dependencies) # JSON output (default) xtf --url https://x.com/user/status/1234567890 # Human-readable xtf --url https://x.com/user/status/1234567890 --text-only # Output covers: text, author, stats (likes/retweets/views), media URLs, # quoted tweets, and full article text for tweet-embedded articles. Timeline / Search / Replies (Nitter) export XTF_NITTER=http://127.0.0.1:8788 # your instance; comma-separate for failover xtf --user elonmusk -- limit 20 xtf --search "openclaw" -- limit 10 xtf --url https://x.com/user/status/123 --replies Backend selection: --backend auto (default, Nitter first then browser), --backend nitter , --backend browser . Lists & Articles (Browser) # Camofox running on localhost:9377 (default), or: export XTF_BROWSER=playwright xtf --list https://x.com/i/lists/1455045069516357634 -- limit 30 xtf --article https://x.com/i/article/2011779830157557760 Note: full X Article text requires X login; without it you get title + public preview ( is_partial: true ). Mentions Monitor (cron-friendly) xtf --monitor @yourhandle # exit 0 = no new mentions, 1 = new mentions found, 2 = setup error # First run builds a baseline silently; later runs report only new URLs. Error Handling for Agents Every error result includes error (message) and error_code : invalid_input · not_found · rate_limited · upstream_down · backend_unavailable · all_backends_failed (with per-backend error_causes ). Python API from xtf import Router router = Router() tweets = router.fetch_timeline( "elonmusk" , limit= 20 ) # list[Tweet] print (tweets[ 0 ].to_dict()) Directory Structure src/xtf/ ├── backends/ # fxtwitter.py, nitter.py, browser.py ├── parsers/ # pure parsing functions, fixture-tested ├── router.py # auto-fallback ├── monitor.py # mentions monitor └── cli.py # the `xtf` command scripts/fetch_tweet.py # v1-compatible shim Looking for Chinese-platform fetching (Weibo/Bilibili/WeChat) or tweet growth tracking? Those moved out of this repo in v2 — see MIGRATION.md.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。