← 返回 Skills 市场
edisonchenai

Edison Autopilot Post X

作者 EdisonChenAI · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
343
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (SKILL.md)

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

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 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
安全使用建议
Key things to consider before installing: - Metadata mismatch: the registry lists no required env vars, but the code needs OPENAI_API_KEY and full X API keys (consumer + access token/secret). Expect to provide these secrets; verify you trust the skill before supplying them. - Test with dry-run first: run python auto_tweet.py --dry-run to preview generated tweets and ensure prompts and persona are acceptable. - Use separate/limited credentials: if possible use a secondary X account and API keys you can revoke if something goes wrong. Treat OPENAI_API_KEY similarly (billing/usage risk). - Be cautious with SCAN_DIR: only set SCAN_DIR to folders that contain non-sensitive context; if left unset the script won't read arbitrary files. The skill will read up to the first recent .md in that directory. - Logs: the script will create ~/autopilot-post-x/logs and write posted tweet texts there. If you don't want this, change LOG_DIR before running. - Inspect and customize the persona/prompt: the prompt enforces an @mention and other rules — review PERSONA, TOPICS, and BANNED_PHRASES to avoid unexpected content. - If you want to proceed: correct the metadata (or ask the publisher to) so required env vars are declared, run in an isolated account or container, and monitor API usage and posted content for at least a few days. Confidence note: High confidence in these findings because the code is present and clearly reveals required env vars, network endpoints, file read/write behavior, and the metadata mismatch.
功能分析
Type: OpenClaw Skill Name: edison-autopilot-post-x Version: 1.0.0 The skill bundle is a legitimate AI-powered automation tool for generating and posting tweets to X (Twitter) with Telegram notifications. The code in `auto_tweet.py` follows standard practices for API integration, using environment variables for secrets and providing a dry-run mode for safety. While it references a non-existent model ('gpt-5.1'), this appears to be a hallucination or placeholder from its 'vibe coding' origin rather than a malicious indicator. The file access and network requests are strictly aligned with the stated functionality of logging tweets and communicating with the OpenAI, X, and Telegram APIs.
能力评估
Purpose & Capability
The code and SKILL.md align with the stated purpose: it uses OpenAI to generate tweets, posts via the X API, and sends Telegram notifications. Requiring OpenAI and X API credentials is appropriate for this functionality. However, the registry metadata incorrectly claims there are no required environment variables/credentials while the code requires multiple secrets (OPENAI_API_KEY and X API keys), which is an incoherence between declared metadata and the actual capability.
Instruction Scope
Runtime instructions (SKILL.md) and the code stay within the posting use-case (generate → check length/dedup → post → notify). The code also supports an optional SCAN_DIR env var that will read the most recent .md file from a user-specified directory and include up to 3k characters as context. SKILL.md does not document SCAN_DIR. Because SCAN_DIR lets the skill read arbitrary local files if you set it, you should only point it at non-sensitive locations.
Install Mechanism
There is no installer that downloads remote archives. The SKILL.md asks users to pip install tweepy and requests, which is reasonable and proportionate. No unusual or high-risk install URLs, extract steps, or third-party packages beyond common libraries are present.
Credentials
The script requires high-value secrets (OPENAI_API_KEY, X_CONSUMER_KEY/SECRET, X_ACCESS_TOKEN/SECRET) and may send generated content externally (OpenAI, X, Telegram). Those secrets are necessary for the stated purpose, but the registry metadata incorrectly lists none — this mismatch is a risk because automated installers/tools may not know to prompt you for these credentials. Also the optional SCAN_DIR can cause local-file reads if configured. The number and sensitivity of env vars are proportionate to the task but must be explicitly declared.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or system-wide settings. It will create and write logs to ~/autopilot-post-x/logs (normal for deduplication). SKILL.md suggests scheduling via cron (manual action). Autonomous invocation is enabled by default but that is platform standard — combine this with the required API keys and you should be careful which account/token you supply.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install edison-autopilot-post-x
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /edison-autopilot-post-x 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: AI auto-tweeting system for X with GPT-5.1, Telegram notifications, banned phrases, and character limit protection.
元数据
Slug edison-autopilot-post-x
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。

如何安装 Edison Autopilot Post X?

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

Edison Autopilot Post X 是免费的吗?

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

Edison Autopilot Post X 支持哪些平台?

Edison Autopilot Post X 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Edison Autopilot Post X?

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

💬 留言讨论