← Back to Skills Marketplace
edisonchenai

Edison Autopilot Post X

by EdisonChenAI · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
343
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install edison-autopilot-post-x
Description
Automatically generates and posts 5 persona-matched tweets daily to X using GPT-5.1, with repetition checks, content filters, and Telegram alerts.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install edison-autopilot-post-x
  3. After installation, invoke the skill by name or use /edison-autopilot-post-x
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: AI auto-tweeting system for X with GPT-5.1, Telegram notifications, banned phrases, and character limit protection.
Metadata
Slug edison-autopilot-post-x
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 343 downloads so far.

How do I install Edison Autopilot Post X?

Run "/install edison-autopilot-post-x" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Edison Autopilot Post X free?

Yes, Edison Autopilot Post X is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Edison Autopilot Post X support?

Edison Autopilot Post X is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Edison Autopilot Post X?

It is built and maintained by EdisonChenAI (@edisonchenai); the current version is v1.0.0.

💬 Comments