首页龙虾技能列表 › Opentwitter — 技能工具

Opentwitter — 技能工具

v0.1.0

[自动翻译] Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.

0· 378·1 当前·1 累计
by @infra403·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is internally consistent: it requires curl and a TWITTER_TOKEN and the SKILL.md only instructs POSTing that token to the ai.6551.io endpoints described — nothing requests unrelated credentials or installs arbitrary code — but note that requests (and your token) are sent to a third‑party service (6551).
评估建议
This skill is coherent and uses curl + a bearer token to call ai.6551.io endpoints. Before installing or supplying a token: (1) confirm whether TWITTER_TOKEN is a token specifically issued by 6551 (per the provided https://6551.io/mcp link) or whether you're being asked to reuse an official Twitter credential; (2) if possible, create a scoped/read‑only token for this service; (3) review 6551's privacy/security policy to understand what they store and how they use your token and data; (4) rotate ...
详细分析 ▾
用途与能力
Name/description say 'Twitter/X data via the 6551 API' and the skill only requires curl plus a TWITTER_TOKEN. The declared requirements (curl binary, TWITTER_TOKEN) and example curl commands align with the stated purpose.
指令范围
SKILL.md contains only curl POST examples to https://ai.6551.io/open/... with Authorization: Bearer $TWITTER_TOKEN. That is consistent with the described functionality, but all requests (and the provided token) go to the third‑party ai.6551.io service rather than to api.twitter.com — users should be aware the skill proxies queries through 6551.
安装机制
Install spec only recommends installing curl via Homebrew (formula: curl). This is a standard system utility and a low‑risk install mechanism. No downloads from untrusted URLs or code extraction are present.
凭证需求
Only TWITTER_TOKEN is required and is declared as the primary credential, which matches the instructions. The important caveat: the SKILL.md indicates you obtain the token from https://6551.io/mcp and that token is sent to ai.6551.io. Verify you understand what that token grants and avoid reusing high‑privilege credentials intended for other services.
持久化与权限
always is false and the skill is user‑invocable. There is no installation step that writes persistent code or changes other skills or system settings. The skill does not request elevated or persistent privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSmacOS · Linux · Windows

版本

latestv0.1.02026/2/26

- Initial release of the opentwitter skill for accessing Twitter/X data via the 6551 API. - Supports user profile lookup (by username or user ID). - Enables searching tweets with flexible filters (keywords, hashtags, users, language, date range). - Retrieve recent tweets, deleted tweets, follower events (follows/unfollows), and KOL followers. - Requires a Bearer token in the $TWITTER_TOKEN environment variable for all API requests.

● 无害

安装命令 点击复制

官方npx clawhub@latest install opentwitter-2
镜像加速npx clawhub@latest install opentwitter-2 --registry https://cn.clawhub-mirror.com

技能文档

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"}'
ParameterTypeDefaultDescription
usernamestringrequiredTwitter username (without @)
maxResultsinteger20Max tweets (1-100)
productstring"Latest""Latest" or "Top"
includeRepliesbooleanfalseInclude reply tweets
includeRetweetsbooleanfalseInclude 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

ParameterTypeDefaultDescription
keywordsstring-Search keywords
fromUserstring-Tweets from specific user
toUserstring-Tweets to specific user
mentionUserstring-Tweets mentioning user
hashtagstring-Filter by hashtag (without #)
excludeRepliesbooleanfalseExclude reply tweets
excludeRetweetsbooleanfalseExclude retweets
minLikesinteger0Minimum likes threshold
minRetweetsinteger0Minimum retweets threshold
minRepliesinteger0Minimum replies threshold
sinceDatestring-Start date (YYYY-MM-DD)
untilDatestring-End date (YYYY-MM-DD)
langstring-Language code (e.g. "en", "zh")
productstring"Top""Top" or "Latest"
maxResultsinteger20Max 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}'

ParameterTypeDefaultDescription
usernamestringrequiredTwitter username (without @)
isFollowbooleantruetrue=new followers, false=unfollowers
maxResultsinteger20Max 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}'
ParameterTypeDefaultDescription
usernamestringrequiredTwitter username (without @)
maxResultsinteger20Max 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"}'
ParameterTypeDefaultDescription
usernamestringrequiredTwitter 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
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务