Token导航 LogoToken导航

Agent Skill · 开发

twitter-reader(推特读者)

twitter-reader 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

twitter-reader 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 1,747。

总安装 24,367周安装 1,036GitHub Stars 公开资料未说明下载 8,537核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:twitter-reader(推特读者)
来源仓库:https://github.com/iheardulkbtc/twitter-reader
安装命令:
openclaw skills install twitter-reader
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install twitter-reader

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

通过 URL 从 X/Twitter 推文中提取完整数据,包括文本、作者信息、时间戳、参与统计、媒体、引用的推文和线程上下文。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install twitter-reader;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

twitter-reader 怎么安装?

在终端执行 openclaw skills install twitter-reader。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

twitter-reader 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

twitter-reader 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install twitter-reader 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

twitter-reader 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

twitter-reader 用的人多吗?

公开数据是累计安装 24,367 次,近一周安装 1,036 次,下载 8,537 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

twitter-reader 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
twitter-reader

推特读者 · 本页

24,367—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Twitter/X Reader Skill

A comprehensive skill for reading and extracting data from X (formerly Twitter) tweets using multiple reliable data sources.

Overview

This skill extracts complete tweet information including text content, author details, engagement statistics, media attachments, and quoted tweets from X/Twitter URLs. It uses a multi-tier approach for maximum reliability and data completeness.

When to Use

Primary Triggers:

  • User shares a tweet URL (x.com/*/status/* or twitter.com/*/status/*)
  • User asks to "read this tweet" with a URL
  • User requests tweet analysis, summary, or data extraction
  • User mentions getting information from a specific tweet

Example User Requests:

  • "What does this tweet say? https://x.com/elonmusk/status/123456789"
  • "Can you read this tweet for me?"
  • "Summarize this Twitter thread"
  • "What are the engagement stats on this tweet?"
  • "Extract the media from this tweet"

Capabilities

Data Extracted

  • Tweet Content: Full text with proper formatting
  • Author Information: Display name and handle (@username)
  • Timestamps: Both human-readable and original format
  • Engagement Stats: Likes, retweets, replies, quote tweets
  • Media Attachments: Photos and videos with direct URLs
  • Quote Tweets: Full quoted tweet content and author info
  • Thread Context: When available

Supported URL Formats

  • https://x.com/username/status/1234567890
  • https://twitter.com/username/status/1234567890
  • URLs with query parameters (e.g., ?s=20, ?t=abc123)
  • Mobile URLs (m.twitter.com automatically handled)

Usage Examples

Basic Usage

# Read a single tweet
./scripts/read_tweet.sh "https://x.com/username/status/1234567890"

# Read a full thread (follows reply chain from the same author)
./scripts/read_thread.sh "https://x.com/username/status/1234567890"

# Fallback method using Nitter
./scripts/read_tweet_nitter.sh "https://x.com/username/status/1234567890"

Agent Instructions

When a user provides a tweet URL:

  1. Validate the URL format - ensure it's a valid X/Twitter status URL
  2. Use the primary script - scripts/read_tweet.sh first
  3. Handle failures gracefully - if primary fails, try scripts/read_tweet_nitter.sh
  4. Present data clearly - format the output for human consumption
  5. Preserve context - include engagement stats and media references

Sample Response Format

The scripts return structured JSON with this format:

{
  "success": true,
  "tweet": {
    "text": "Tweet content here...",
    "author": {
      "name": "Display Name",
      "handle": "username"
    },
    "timestamp": {
      "formatted": "2024-01-15 14:30:25 UTC",
      "original": "Mon Jan 15 14:30:25 +0000 2024"
    },
    "url": "https://x.com/username/status/1234567890",
    "engagement": {
      "likes": 1250,
      "retweets": 340,
      "replies": 89,
      "quotes": 45
    },
    "media": {
      "photos": ["https://pbs.twimg.com/media/..."],
      "video": "https://video.twimg.com/..."
    },
    "quoted_tweet": {
      "text": "Quoted tweet text...",
      "author": {
        "name": "Quoted Author",
        "handle": "quoted_user"
      },
      "url": "https://x.com/quoted_user/status/987654321"
    }
  },
  "source": "fxtwitter",
  "fetched_at": 1705327825
}

Agent Response Example

**Tweet from @elonmusk:**
> "Just had a great meeting about sustainable transport. The future is electric! ⚡🚗"

**Posted:** January 15, 2024 at 2:30 PM UTC
**Engagement:** 1,250 likes • 340 retweets • 89 replies • 45 quotes

**Media:** 1 photo attached
- Photo: https://pbs.twimg.com/media/example.jpg

**Quote Tweet from @teslaofficial:**
> "Our latest Model S update includes new charging optimizations..."

Technical Implementation

Primary Method: FxTwitter API

  • Endpoint: https://api.fxtwitter.com/{username}/status/{tweet_id}
  • Advantages: No authentication, comprehensive data, reliable
  • Rate Limits: Generous for personal use
  • Response: Complete JSON with all tweet metadata

Fallback Method: Nitter Scraping (Best-Effort)

  • Instances: Multiple public Nitter instances as backup
  • Advantages: Works when FxTwitter is unavailable
  • Limitations: Basic data extraction, no engagement stats
  • Usage: Automatic fallback when primary method fails
  • ⚠️ Note: Most public Nitter instances have shut down or become unreliable since 2024. This fallback is best-effort and may not return results. The FxTwitter API should be considered the only reliable method.

Error Handling

  • Invalid URL format detection
  • Network timeout handling
  • API error response parsing
  • Graceful fallback between methods
  • Clear error messages for users

Dependencies

Required System Tools:

  • curl - HTTP requests to APIs
  • jq - JSON parsing and formatting
  • bash - Script execution environment
  • grep/sed - Text processing (Nitter fallback only)

Optional Enhancements:

  • gdate (GNU date via Homebrew on macOS) - Better timestamp formatting

Security & Privacy

Security Features

  • ✅ No external data collection - Data stays on your system
  • ✅ No analytics or telemetry - No tracking or usage reporting
  • ✅ Fully auditable code - Open source, readable shell scripts
  • ✅ Minimal network calls - Only to FxTwitter API and Nitter instances
  • ✅ No sensitive data exposure - Scripts don't store or log personal info
  • ✅ Safe URL handling - Proper URL validation and sanitization

Network Connections

Approved External Hosts:

  • api.fxtwitter.com - Primary data source (FxTwitter API)
  • nitter.net and other Nitter instances - Fallback scraping
  • No other external connections made

Data Flow:

  1. User provides tweet URL
  2. Script extracts username/ID from URL
  3. Makes API request to FxTwitter or Nitter
  4. Parses response locally
  5. Returns formatted JSON (never stored permanently)

Audit Trail

All network requests include:

  • Clear user-agent identification
  • Minimal necessary headers only
  • No authentication tokens or personal identifiers
  • Requests only to extract public tweet data

Error Scenarios & Handling

Common Errors

Invalid URL Format:

{
  "error": "Invalid Twitter/X URL format",
  "expected": "x.com/user/status/123456789 or twitter.com/user/status/123456789"
}

Tweet Not Found:

{
  "error": "API Error",
  "code": 404,
  "message": "NOT_FOUND"
}

Network Failure:

{
  "error": "Failed to fetch tweet data",
  "details": "Network request failed"
}

Fallback Needed:

{
  "error": "All Nitter instances failed",
  "suggestion": "Try the main script with FxTwitter API, or wait for Nitter instances to recover"
}

Agent Error Handling

When errors occur:

  1. Parse the error JSON to understand the issue
  2. Try the fallback method if primary fails
  3. Explain to the user what went wrong in plain language
  4. Suggest alternatives (try again later, check URL format, etc.)

Advanced Features

Thread Reading

Full thread unrolling is supported via read_thread.sh:

  • Given any tweet URL in a thread, walks UP the reply chain via replying_to fields
  • Only collects tweets from the same author (self-reply threads)
  • Returns tweets in chronological order as a JSON array
  • Safety limit of 50 tweets per thread (configurable via second argument)
  • Usage: ./scripts/read_thread.sh "https://x.com/user/status/123" [max_depth]

Media Handling

  • Photos: Direct URLs via media.photos array (full-resolution)
  • Videos: Links to MP4 files via media.videos with thumbnails and duration
  • All media: Combined media.all array with type annotations for complete coverage
  • Article covers: Long-form X posts ("articles") have media.article_cover extracted
  • GIFs: Handled as video content
  • External Links: Preserved in tweet text

Quote Tweet Recursion

The skill can extract nested quote tweets up to reasonable depth to avoid infinite loops.

Performance Notes

Response Times

  • FxTwitter API: Typically 200-500ms
  • Nitter Scraping: 1-3 seconds per instance
  • Network Dependent: May vary based on connection quality

Caching Considerations

  • No persistent caching implemented by default
  • Consider temporary caching for repeated requests
  • Respect rate limits of external services

Troubleshooting

Common Issues

"No tweet data in API response"

  • Tweet may be deleted or protected
  • Check URL format and tweet ID
  • Try fallback method

"Network request failed"

  • Check internet connection
  • FxTwitter API may be temporarily down
  • Fallback to Nitter method

"All Nitter instances failed"

  • Nitter instances may be blocked or down
  • Wait and retry with FxTwitter API
  • Check firewall/proxy settings

Debug Mode

For debugging, run with verbose output:

bash -x scripts/read_tweet.sh "https://x.com/username/status/123"

Development & Customization

Adding New Data Sources

To add additional fallback methods:

  1. Create new script in scripts/ directory
  2. Follow same JSON output format
  3. Update main skill logic to include new method
  4. Test thoroughly and update documentation

Modifying Output Format

The JSON structure can be customized by modifying the final jq command in each script. Maintain consistency across all methods.

Adding Features

Consider these enhancement areas:

  • Sentiment analysis of tweet content
  • Hashtag and mention extraction
  • Link expansion and preview
  • Image OCR for text in media
  • Translation support for non-English tweets

Version History

  • v1.1 - Thread following (read_thread.sh), comprehensive media extraction (photos, videos, all media, article covers)
  • v1.0 - Initial release with FxTwitter API and Nitter fallback
  • Multi-source reliability with comprehensive data extraction
  • Full security audit compliance
  • Production-ready for ClawHub distribution

平台分布

OpenClaw

80.76%
按下载量换算6,894

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install twitter-reader 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills