← 返回
内容创作 Key 中文

Edison Autopilot Post X

Automatically generates and posts 5 persona-matched tweets daily to X using GPT-5.1, with repetition checks, content filters, and Telegram alerts.
每日自动使用GPT-5.1生成并发布5条符合人设的推文至X平台,具备重复检查、内容过滤和Telegram提醒功能。
edisonchenai
内容创作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 718
下载
💾 7
安装
1
版本
#ai#automation#latest#openai#tweepy#twitter#x

概述

Edison Autopilot Post X

AI-powered auto-tweeting system. Generates and posts 5 tweets per day to X using GPT-5.1, with Telegram notifications and built-in safeguards.

Built entirely through vibe coding with Claude Code — zero lines of code written by hand.

What It Does

  • Generates 5 tweets/day using GPT-5.1, matching your persona and voice
  • Posts automatically to X at scheduled times via cron
  • Sends Telegram notifications for every posted tweet
  • Checks last 10 tweets to avoid repetition
  • 3-layer character limit protection (target 220 → retry at 280 → hard reject)
  • Configurable banned phrases list to kill GPT filler
  • Explicit rules to prevent AI from fabricating data/statistics
  • Style variety — mixes formats (hot takes, questions, one-liners, stories)

Setup

1. Install dependencies

pip install tweepy requests

2. Set environment variables

export OPENAI_API_KEY="sk-..."
export X_CONSUMER_KEY="..."
export X_CONSUMER_SECRET="..."
export X_ACCESS_TOKEN="..."
export X_ACCESS_TOKEN_SECRET="..."

# Optional: Telegram notifications
export TWEET_BOT_TOKEN="..."
export TWEET_BOT_CHAT_ID="..."

3. Customize your persona

Edit auto_tweet.py — update the PERSONA, TOPICS, and BANNED_PHRASES sections to match your voice, topics, and style.

4. Run

python auto_tweet.py --dry-run   # preview without posting
python auto_tweet.py              # post for real

5. Schedule with cron (5x daily)

crontab -e
# Add: 0 8,11,14,17,21 * * * cd /path/to/repo && python auto_tweet.py

API Keys Required

ServiceCostWhere
----------------------
X API (Basic)$25/monthdeveloper.x.com
OpenAI API~$0.50/dayplatform.openai.com
Telegram BotFree@BotFather on Telegram

Prompt Engineering Tips

  1. Study real people — encode tweet styles you admire into the persona
  2. Ban the filler — maintain a growing list of GPT's favorite empty phrases
  3. Never let AI make up numbers — explicit "NEVER FABRICATE DATA" rule
  4. Force variety — require different formats, tones, and structures
  5. Shorter is better — target 140-220 chars, not 280

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Edison Agent Reach

edisonchenai
Use the internet: search, read, and interact with 13+ platforms including Twitter/X, Reddit, YouTube, GitHub, Bilibili,
★ 0 📥 1,651
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,490
content-creation

Humanizer

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