← 返回 Skills 市场
infra403

opentwitter

作者 infra403 · GitHub ↗ · v1.0.0
darwinlinuxwin32 ✓ 安全检测通过
22240
总下载
26
收藏
24
当前安装
1
版本数
在 OpenClaw 中安装
/install opentwitter-mcp
功能描述
Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.
使用说明 (SKILL.md)

Twitter/X Data Skill

Query Twitter/X data from the 6551 platform REST API. All endpoints require a Bearer token via $TWITTER_TOKEN.

Get your token: https://6551.io/mcp

Base URL: https://ai.6551.io

Authentication

All requests require the header:

Authorization: Bearer $TWITTER_TOKEN

Twitter Operations

1. Get Twitter User Info

Get user profile by username.

curl -s -X POST "https://ai.6551.io/open/twitter_user_info" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk"}'

2. Get Twitter User by ID

Get user profile by numeric ID.

curl -s -X POST "https://ai.6551.io/open/twitter_user_by_id" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"userId": "44196397"}'

3. Get User Tweets

Get recent tweets from a user.

curl -s -X POST "https://ai.6551.io/open/twitter_user_tweets" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk", "maxResults": 20, "product": "Latest"}'
Parameter Type Default Description
username string required Twitter username (without @)
maxResults integer 20 Max tweets (1-100)
product string "Latest" "Latest" or "Top"
includeReplies boolean false Include reply tweets
includeRetweets boolean false Include retweets

4. Search Twitter

Search tweets with various filters.

curl -s -X POST "https://ai.6551.io/open/twitter_search" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": "bitcoin", "maxResults": 20, "product": "Top"}'

Search from specific user:

curl -s -X POST "https://ai.6551.io/open/twitter_search" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"fromUser": "VitalikButerin", "maxResults": 20}'

Search by hashtag:

curl -s -X POST "https://ai.6551.io/open/twitter_search" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"hashtag": "crypto", "minLikes": 100, "maxResults": 20}'

Twitter Search Parameters

Parameter Type Default Description
keywords string - Search keywords
fromUser string - Tweets from specific user
toUser string - Tweets to specific user
mentionUser string - Tweets mentioning user
hashtag string - Filter by hashtag (without #)
excludeReplies boolean false Exclude reply tweets
excludeRetweets boolean false Exclude retweets
minLikes integer 0 Minimum likes threshold
minRetweets integer 0 Minimum retweets threshold
minReplies integer 0 Minimum replies threshold
sinceDate string - Start date (YYYY-MM-DD)
untilDate string - End date (YYYY-MM-DD)
lang string - Language code (e.g. "en", "zh")
product string "Top" "Top" or "Latest"
maxResults integer 20 Max tweets (1-100)

5. Get Follower Events

Get new followers or unfollowers for a user.

# Get new followers
curl -s -X POST "https://ai.6551.io/open/twitter_follower_events" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk", "isFollow": true, "maxResults": 20}'

# Get unfollowers
curl -s -X POST "https://ai.6551.io/open/twitter_follower_events" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk", "isFollow": false, "maxResults": 20}'
Parameter Type Default Description
username string required Twitter username (without @)
isFollow boolean true true=new followers, false=unfollowers
maxResults integer 20 Max events (1-100)

6. Get Deleted Tweets

Get deleted tweets from a user.

curl -s -X POST "https://ai.6551.io/open/twitter_deleted_tweets" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk", "maxResults": 20}'
Parameter Type Default Description
username string required Twitter username (without @)
maxResults integer 20 Max tweets (1-100)

7. Get KOL Followers

Get which KOLs (Key Opinion Leaders) are following a user.

curl -s -X POST "https://ai.6551.io/open/twitter_kol_followers" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk"}'
Parameter Type Default Description
username string required Twitter username (without @)

Data Structures

Twitter User

{
  "userId": "44196397",
  "screenName": "elonmusk",
  "name": "Elon Musk",
  "description": "...",
  "followersCount": 170000000,
  "friendsCount": 500,
  "statusesCount": 30000,
  "verified": true
}

Tweet

{
  "id": "1234567890",
  "text": "Tweet content...",
  "createdAt": "2024-02-20T12:00:00Z",
  "retweetCount": 1000,
  "favoriteCount": 5000,
  "replyCount": 200,
  "userScreenName": "elonmusk",
  "hashtags": ["crypto", "bitcoin"],
  "urls": [{"url": "https://..."}]
}

Common Workflows

Crypto Twitter KOL Tweets

curl -s -X POST "https://ai.6551.io/open/twitter_user_tweets" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "VitalikButerin", "maxResults": 10}'

Trending Crypto Tweets

curl -s -X POST "https://ai.6551.io/open/twitter_search" \
  -H "Authorization: Bearer $TWITTER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": "bitcoin", "minLikes": 1000, "product": "Top", "maxResults": 20}'

Notes

  • Get your API token at https://6551.io/mcp
  • Rate limits apply; max 100 results per request
  • Twitter usernames should not include the @ symbol
安全使用建议
Install only if you trust the 6551 API service with your TWITTER_TOKEN and the usernames, searches, follower-event checks, or deleted-tweet lookups you submit. Prefer a dedicated or revocable token, avoid sensitive investigations unless appropriate, and review the provider's privacy and retention practices.
功能分析
Type: OpenClaw Skill Name: opentwitter-mcp Version: 1.0.0 The skill is designed to query Twitter/X data via the 6551 platform API. It explicitly requires a `TWITTER_TOKEN` environment variable for authentication, which is standard for API access. All `curl` commands are directed to a specific, hardcoded domain (`https://ai.6551.io`) and involve standard POST requests with JSON payloads for data retrieval. There is no evidence of data exfiltration to unauthorized endpoints, malicious command execution, persistence mechanisms, or prompt injection attempts against the agent to perform actions outside the skill's stated purpose. The skill's behavior is clearly aligned with its description.
能力评估
Purpose & Capability
The advertised purpose is Twitter/X data lookup, and the documented capabilities match that purpose, including user profiles, search, user tweets, follower events, deleted tweets, and KOL follower lookups. Some lookups are privacy-sensitive, but they are disclosed as core features.
Instruction Scope
The artifact provides bounded curl examples for read-oriented API calls and does not instruct hidden execution, destructive actions, unrelated local data access, prompt manipulation, or background behavior.
Install Mechanism
Install metadata only requires curl with a Homebrew install hint. There are no package scripts, compiled binaries, or install-time mutations beyond obtaining an HTTP client.
Credentials
The skill requires TWITTER_TOKEN and sends it with query parameters to https://ai.6551.io. That outbound credentialed API use is expected and disclosed, but users should treat the token and query targets as sensitive.
Persistence & Privilege
No persistence, privilege escalation, local credential-store access, broad indexing, background workers, or automatic recurring execution are present in the artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install opentwitter-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /opentwitter-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of opentwitter: Twitter/X data from the 6551 API - Query Twitter/X user profiles, tweets, search, follower events, deleted tweets, and KOL followers via the 6551 API. - Requires a Bearer token via the environment variable `TWITTER_TOKEN`. - Supports endpoints for user info, user by ID, user tweets (with filtering), tweet search (with advanced filters), follower/unfollower events, deleted tweets, and KOL follower lookup. - Provides example cURL usage and parameter details for all endpoints. - Includes sample data structures for users and tweets.
元数据
Slug opentwitter-mcp
版本 1.0.0
许可证
累计安装 24
当前安装数 24
历史版本数 1
常见问题

opentwitter 是什么?

Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 22240 次。

如何安装 opentwitter?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install opentwitter-mcp」即可一键安装,无需额外配置。

opentwitter 是免费的吗?

是的,opentwitter 完全免费(开源免费),可自由下载、安装和使用。

opentwitter 支持哪些平台?

opentwitter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 opentwitter?

由 infra403(@infra403)开发并维护,当前版本 v1.0.0。

💬 留言讨论