← 返回
内容创作 Key 中文

Twitter Agent

AI+Crypto Twitter automation agent. Post tweets, reply to KOLs, and quote tweet trending content. Integrates with opentwitter/opennews (6551) for hot topic f...
AI+加密 Twitter 自动化代理。发布推文、回复KOL、转发热门内容。集成opentwitter/opennews(6551)获取热点话题。
pearl799
内容创作 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 594
下载
💾 12
安装
1
版本
#latest

概述

Twitter Agent Skill

IMPORTANT: Use the exec tool to run all commands below. Do NOT just display them.

Automates Twitter/X operations for an AI+Crypto account: post original tweets, reply to KOLs, and quote tweet trending content.

Prerequisites

You need:

  1. Twitter Developer Account — get API keys at https://developer.x.com
  2. 6551 API Token (TWITTER_TOKEN) — get at https://6551.io/mcp (for hot topic fetching)

When installing, OpenClaw will prompt you to fill in each env variable.

Required env vars

VariableWhere to get
------
TW_CONSUMER_KEYdeveloper.x.com → Your App → OAuth 1.0a Keys
TW_CONSUMER_SECRETdeveloper.x.com → Your App → OAuth 1.0a Keys
TW_ACCESS_TOKENdeveloper.x.com → Your App → Generate (Read+Write)
TW_ACCESS_TOKEN_SECRETdeveloper.x.com → Your App → Generate (Read+Write)
TWITTER_TOKENhttps://6551.io/mcp

> Important: Set your Twitter App permissions to Read and Write before generating the Access Token.


Operations

1. Post a tweet

python3 $SKILL_DIR/scripts/twitter_post.py --text "Your tweet text (max 280 chars)"

With image:

python3 $SKILL_DIR/scripts/twitter_post.py --text "Tweet text" --image /path/to/image.png

2. Reply to a tweet

python3 $SKILL_DIR/scripts/twitter_reply.py --tweet_id "TWEET_ID" --text "Your reply"

3. Quote tweet

python3 $SKILL_DIR/scripts/twitter_quote.py --tweet_id "TWEET_ID" --text "Your comment"

Full AI+Crypto workflow

Step 1 — Fetch trending tweets (via 6551 opentwitter)

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

Fetch 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": 5}'

Step 2 — Generate content (Agent handles this)

Based on trending tweets, generate one of:

  • Original tweet: Insightful AI/Crypto take, ≤280 chars
  • Reply: Unique perspective, not robotic, ≤120 chars
  • Quote: One punchy line that adds value

Guidelines:

  • Write in English (target: English-speaking Crypto/AI community)
  • Have a real opinion, avoid generic takes
  • Max 1–2 emojis

Step 3 — Publish

Call the appropriate script from Step 1 above.


Output format

All scripts return JSON:

{
  "success": true,
  "tweet_id": "1234567890",
  "url": "https://x.com/username/status/1234567890",
  "text": "Published content"
}

Rate limit notes

  • Free tier: 1,500 tweets/month write limit
  • Recommended intervals: ≥10 min between posts, ≥5 min between replies
  • Avoid replying to the same account many times in a short window

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 21:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

DISTRICT9

pearl799
在BNB链上自主发行 meme 代币——感知趋势、生成概念、设计标志、在链上部署代币
★ 1 📥 595
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,258
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,131