What It Does
Twitter Hand is an autonomous Twitter/X content manager that creates content in 7 rotating formats, schedules posts for optimal engagement, responds to mentions, and tracks performance—all 24/7. This is not a bot. It’s a tireless social media manager that maintains your brand voice, responds to your audience, and continuously optimizes based on what performs.Key Features
- 7 content types: Hot takes, threads, tips, questions, curated shares, stories, data/stats
- Brand voice consistency: Configure your unique voice once, it’s maintained across all content
- Approval queue: (Default) Review all tweets before they post
- Auto-reply: Responds to mentions in your voice
- Performance tracking: Engagement rate, impressions, follower growth
- Scheduled posting: 1-5 times per day at optimal times
Activation
Requirements
Get a Twitter Developer Account
Go to developer.twitter.com and sign in with your Twitter/X account.
Create a Project and App
Create a new Project and App. The free tier is sufficient for reading and posting tweets.
Generate a Bearer Token
Navigate to your App’s “Keys and tokens” page. Generate a Bearer Token under “Authentication Tokens”.
Configuration Settings
Bearer Token from Twitter Developer Portal. Required for all Twitter API operations.
Voice and tone for your tweets:
- professional: Clear, authoritative, industry-focused
- casual: Conversational, relatable
- witty: Clever wordplay, unexpected angles
- educational: Step-by-step, informative
- provocative: Contrarian takes, challenges assumptions
- inspirational: Vision-focused, empowering
How often to create and post content:
- 1_daily: 1 per day (10 AM)
- 3_daily: 3 per day (8 AM, 12 PM, 5 PM) - default
- 5_daily: 5 per day (7 AM, 10 AM, 12 PM, 3 PM, 6 PM)
- hourly: Every hour during engagement hours
Automatically reply to mentions and relevant conversations.
Automatically like tweets from your network and relevant content.
Topics to create content about, comma-separated (e.g.,
AI, startups, productivity)Describe your unique voice (e.g.,
sarcastic founder who simplifies complex tech)Include tweet threads (multi-tweet stories) in content mix.
Number of tweets to keep in the ready queue:
- 5 tweets
- 10 tweets (default)
- 20 tweets
- 50 tweets
When to check for mentions and engage:
- business_hours: 9 AM-6 PM
- waking_hours: 7 AM-11 PM
- all_day: 24/7
IMPORTANT: When enabled (default), tweets are written to a queue file for your review instead of posting directly. Disable only if you trust the Hand to post autonomously.
Required Tools
Twitter Hand requires access to these tools (all built-in):shell_exec— Platform detection and Twitter API callsfile_read,file_write,file_list— Queue and history filesweb_fetch,web_search— Trend researchmemory_store,memory_recall— State persistenceschedule_create,schedule_list,schedule_delete— Posting schedulesknowledge_add_entity,knowledge_add_relation,knowledge_query— Content strategy trackingevent_publish— Queue update notifications
System Prompt Overview
Twitter Hand operates in 7 phases:Platform Detection & API Initialization
Detects OS, verifies Twitter API access, extracts user_id and username, loads posting history and queue.
Schedule & Strategy Setup
Creates posting schedules based on frequency (1-5 daily). Creates engagement check schedule. Builds content strategy from topics and brand voice.
Content Research & Trend Analysis
Researches current trends in content topics, checks what’s performing well on Twitter, identifies content gaps.
Content Generation
Creates content matching configured style and brand voice. Rotates through 7 content types: hot takes, threads, tips, questions, curated shares, stories, data/stats.
Content Queue & Posting
If approval_mode enabled: writes to queue file for review. If disabled: posts via Twitter API at scheduled times.
Engagement
During engagement hours, checks mentions, generates replies if auto_reply enabled, likes relevant content if auto_like enabled.
Usage Examples
Professional Tech Founder
Witty Content Creator
Educational Thread Machine
The 7 Content Types
Hot Take (2-3/week)
Hot Take (2-3/week)
Strong opinion on a trending topic.Template: “Unpopular opinion: [contrarian view]”Example: “Unpopular opinion: Most startups don’t need microservices. A well-structured monolith scales to millions of users and saves you 6 months of complexity.”
Thread (1-2/week)
Thread (1-2/week)
Deep dive on a topic (3-10 tweets).Template: “I spent X hours researching Y. Here’s what I found:”Example:
Tip/How-to (2-3/week)
Tip/How-to (2-3/week)
Actionable advice.Template: “How to [solve problem] in [N] steps:”Example: “How to debug Rust lifetime errors in 3 steps: 1) Read the error message carefully 2) Draw the ownership flow 3) Realize you don’t need a reference there”
Question (1-2/week)
Question (1-2/week)
Engagement-driving question.Template: “[Interesting question]? I’ll go first:”Example: “What’s the most underrated developer tool you use daily? I’ll go first: ripgrep. Saved me hundreds of hours.”
Curated Share (1-2/week)
Curated Share (1-2/week)
Story/Anecdote (1/week)
Story/Anecdote (1/week)
Personal-style narrative.Template: “3 years ago I [relatable experience]. Here’s what happened:”Example: “3 years ago I rewrote our Python backend in Rust. Everyone said it was a mistake. Yesterday we handled 10M requests/day on 2 servers. Sometimes the ‘risky’ choice is the safe one.”
Data/Stat (1/week)
Data/Stat (1/week)
Surprising statistic with commentary.Template: “[Surprising statistic]. Here’s why it matters:”Example: “87% of OpenAI’s API costs come from prompts, not completions. Most people optimize tokens. Winners optimize context.”
Approval Queue
Whenapproval_mode="true" (default), Twitter Hand writes tweets to two files:
twitter_queue.json (machine-readable):
Dashboard Metrics
Twitter Hand tracks four key metrics:Tweets Posted
Total tweets posted (excluding replies).
Replies Sent
Total replies to mentions.
Queue Size
Current number of tweets pending approval.
Engagement Rate
Average (likes + RTs + replies) / impressions.
http://localhost:4200/hands/twitter.
Twitter API Reference
Rate Limits
Rate Limits
| Endpoint | Limit | Window |
|---|---|---|
| POST /tweets | 300 tweets | 3 hours |
| DELETE /tweets | 50 deletes | 15 minutes |
| POST /likes | 50 likes | 15 minutes |
| GET /mentions | 180 requests | 15 minutes |
| GET /search/recent | 180 requests | 15 minutes |
Common Operations
Common Operations
Post a tweet:Post a thread:
- Post first tweet → get
tweet_id - Post second tweet with
reply.in_reply_to_tweet_id= firsttweet_id - Repeat for each tweet in thread
Best Practices
Advanced Configuration
Custom Posting Times
Edit~/.openfang/hands/twitter.toml to customize posting schedule:
Multi-Account Management
Run multiple Twitter Hands for different accounts:Next Steps
Researcher Hand
Research topics for deep-dive threads
Clip Hand
Turn videos into clips to share on Twitter
