TopRank Skills

Home / Claw Skills / 机器人 / Edison Autopilot Post X
Official OpenClaw rules 56%

Edison Autopilot Post X

Edison Autopilot Post X

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Edison Autopilot Post X 技能。 若已安装,则直接安装 Edison Autopilot Post X 技能。

Overview

Skill Key
edisonchenai/edison-autopilot-post-x
Author
edisonchenai
Source Repo
openclaw/skills
Version
-
Source Path
skills/edisonchenai/edison-autopilot-post-x
Latest Commit SHA
7f4a5ad137d74e22dad9a9307322f75e64fbc283

Extracted Content

SKILL.md excerpt

# 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

```bash
pip install tweepy requests
```

### 2. Set environment variables

```bash
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

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

### 5. Schedule with cron (5x daily)

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

## API Keys Required

| Service | Cost | Where |
|---------|------|-------|
| X API (Basic) | $25/month | developer.x.com |
| OpenAI API | ~$0.50/day | platform.openai.com |
| Telegram Bot | Free | @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 l...

README excerpt

# Edison Autopilot Post X

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

Built entirely through **vibe coding** with [Claude Code (OpenClaw)](https://github.com/anthropics/claude-code) — zero lines of code written by hand.

## Features

- **5 tweets/day** — GPT-5.1 generates tweets matching your persona
- **Auto-posts to X** — scheduled via cron, fully hands-free
- **Telegram notifications** — get pinged every time a tweet goes live
- **No repetition** — checks last 10 tweets to avoid saying the same thing
- **Character limit protection** — 3-layer guard (target 220 → retry at 280 → hard reject)
- **Banned phrases** — configurable list to kill GPT filler ("game changer", "the future is", etc.)
- **No fabricated data** — explicit prompt rules prevent GPT from inventing statistics
- **Style variety** — mixes formats (hot takes, questions, one-liners, stories) so tweets don't all sound the same

## Setup

### 1. Install dependencies

```bash
pip install tweepy requests
```

### 2. Get API keys

| Service | Cost | Where |
|---------|------|-------|
| X API (Basic) | $25/month | [developer.x.com](https://developer.x.com) |
| OpenAI API | ~$0.50/day | [platform.openai.com](https://platform.openai.com) |
| Telegram Bot | Free | Talk to [@BotFather](https://t.me/BotFather) |

### 3. Set environment variables

```bash
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="..."
```

### 4. Customize your persona

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

### 5. Test it

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

### 6. Schedule with cron

```bash
crontab -e...

Related Claw Skills