twitter-autopilot_skill

This skill automates Twitter/X posting, engagement, drafts, and growth for AI agents, handling threads, cron-driven actions, and habit checks.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill twitter-autopilot

  • _meta.json296 B
  • SKILL.md5.1 KB

Overview

This skill automates Twitter/X posting, engagement, and growth tasks for OpenClaw AI agents. It handles OAuth setup, thread splitting for long posts, draft workflows, follow/unfollow actions, and scheduled engagement via cron. Use it to run autonomous or human-reviewed Twitter presence for an agent.

How this skill works

The skill uses Tweepy and OAuth credentials provided via environment variables to read and write tweets, follow accounts, and check mentions. It reads MODE.md to decide DRAFT vs AUTO behavior, stores drafts and queues in local markdown files, and logs all posted tweets to posted-log.md to avoid duplicates. Long text is auto-split into threads at sentence boundaries and batch operations respect simple rate-limit pauses.

When to use it

  • Setting up an agent’s Twitter/X account and OAuth credentials
  • Posting tweets or creating auto-threads from agent output
  • Running cron jobs for scheduled posting and engagement
  • Managing draft approval workflows vs fully automated posting
  • Building and testing a Twitter growth strategy for an AI agent

Best practices

  • Store all OAuth keys in environment variables and never commit them to repo
  • Start new accounts in DRAFT mode until you have approved templates and a posting rhythm
  • Always append posted tweets to twitter/posted-log.md to prevent duplicate topics
  • Use the auto-thread feature for long-form content and avoid sending >280 chars in a single API call
  • Space batch operations (follows, thread posts) with short sleeps to reduce rate-limit errors

Example use cases

  • Agent posts a 1,200‑char technical thread split automatically into 7 tweets
  • Cron job runs hourly to post queued tweets when MODE.md is set to AUTO
  • Agent prepares content in twitter/drafts/pending.md for human review before publishing
  • Agent follows community accounts and replies to mentions to grow engagement
  • Use posted-log.md for analytics and to prevent repeating topics during high-volume campaigns

FAQ

You need OAuth 1.0a API key, API secret, access token, and access secret. A bearer token (OAuth 2.0) is required for read/follow operations.

How does auto-threading work?

When text exceeds 280 characters, the skill splits at sentence boundaries into multiple tweets and posts them as a thread in order.

How do I prevent accidental public posts?

Set twitter/MODE.md to DRAFT to force drafts into twitter/drafts/pending.md for human approval. Only set to AUTO when you’re confident in templates and safeguards.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
twitter-autopilot skill by openclaw/skills | VeilStrat