Twitter/X Automation
Skill433 starsChanged 10 months agoMITView on GitHub
Automate Twitter/X social media workflows including posting, engagement, analytics, and audience growth
In this repository137 other files it gives its agents.
- .cursor/rules/project-rules.mdcCursor rule
- academic-searchSkill
- ads-copywriterSkill
- ai-agent-builderSkill
- airtable-automationSkill
- ai-slidesSkill
- Amazon SellerSkill
- Apple Shortcuts IntegrationSkill
- Applicant ScreeningSkill
- Asana AutomationSkill
- batch-convertSkill
- batch-processorSkill
- Brand Guidelines GeneratorSkill
- Browser AutomationSkill
- calendar-automationSkill
- Changelog GeneratorSkill
- chart-designerSkill
- Chat with PDFSkill
- ClickUp AutomationSkill
- company-researchSkill
- competitive-analysisSkill
- Content Research WriterSkill
- contract-reviewSkill
- contract-templateSkill
- cover-letterSkill
- crm-automationSkill
- crypto-reportSkill
- customer-successSkill
- cv-builderSkill
- data-analysisSkill
- Database SyncSkill
- data-extractorSkill
- data-pipelineSkill
- dcf-valuationSkill
- deep-researchSkill
- devops-automationSkill
- dev-slidesSkill
- diagram-creatorSkill
- discord-botSkill
- doc-parserSkill
- doc-pipelineSkill
- DocuSign AutomationSkill
- docx-manipulationSkill
- Email ClassifierSkill
- email-drafterSkill
- email-marketingSkill
- ETL PipelineSkill
- excel-automationSkill
- expense-reportSkill
- Expense TrackerSkill
- Facebook/Meta AdsSkill
- File OrganizerSkill
- financial-modelingSkill
- form-builderSkill
- gmail-workflowsSkill
- google-ads-managerSkill
- Home Assistant AutomationSkill
- hr-automationSkill
- html-slidesSkill
- html-to-pptSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 508
Visuals: Use images and video
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Twitter/X Automation
Comprehensive skill for automating Twitter/X social media management and growth.
Core Workflows
1. Content Pipeline
TWITTER CONTENT FLOW:
┌─────────────────┐
│ Content Ideas │
│ - Trends │
│ - Calendar │
└────────┬────────┘
▼
┌─────────────────┐
│ Create Tweet │
│ - Copy │
│ - Media │
│ - Hashtags │
└────────┬────────┘
▼
┌─────────────────┐
│ Schedule │
│ - Best time │
│ - Queue │
└────────┬────────┘
▼
┌─────────────────┐
│ Publish │
│ - Post │
│ - Thread │
└────────┬────────┘
▼
┌─────────────────┐
│ Engage │
│ - Reply │
│ - Retweet │
└─────────────────┘2. Tweet Configuration
tweet_config:
types:
single:
max_chars: 280
media_limit: 4
thread:
tweets_per_thread: 10 # recommended max
continuation_style: "numbered" # or emoji
poll:
options: 4 # max
duration_hours: 24
best_practices:
- Hook in first line
- Use line breaks
- Include CTA
- Optimal hashtags: 1-2
- Media increases engagement 3xContent Templates
Tweet Templates
templates:
announcement:
format: |
🚀 {{headline}}
{{details}}
{{cta_link}}
example: |
🚀 We just launched our new API!
Build integrations 10x faster with our
new developer toolkit.
Check it out: link.co/api
thread_starter:
format: |
{{hook}}
A thread 🧵
example: |
I spent 10 years building startups.
Here are 10 lessons that took me
$1M in mistakes to learn.
A thread 🧵
engagement_hook:
format: |
{{question}}
👇 Reply with your answer
example: |
What's the best productivity app
you discovered this year?
👇 Reply with your answer
tutorial:
format: |
How to {{action}} in {{timeframe}}:
Step 1: {{step1}}
Step 2: {{step2}}
Step 3: {{step3}}
{{cta}}Thread Structure
thread_template:
- tweet: 1
role: hook
content: |
{{attention_grabbing_statement}}
A thread 🧵
- tweet: 2-8
role: body
content: |
{{number}}. {{point}}
{{explanation}}
- tweet: 9
role: summary
content: |
TL;DR:
{{key_takeaways}}
- tweet: 10
role: cta
content: |
If you found this helpful:
1. Follow @{{handle}} for more
2. RT the first tweet
3. {{specific_cta}}Scheduling Strategy
Optimal Posting Times
posting_schedule:
best_times:
weekday:
- "08:00" # Morning commute
- "12:00" # Lunch break
- "17:00" # End of workday
- "21:00" # Evening browsing
weekend:
- "10:00"
- "14:00"
- "20:00"
frequency:
minimum: 3 # per day
optimal: 5-7
maximum: 15
content_mix:
original: 60%
replies: 25%
retweets: 15%
timezone: "America/New_York" # Adjust to audienceContent Calendar
content_calendar:
monday:
theme: "Motivation Monday"
content_type: inspirational
tuesday:
theme: "Tutorial Tuesday"
content_type: educational
wednesday:
theme: "Wisdom Wednesday"
content_type: insights
thursday:
theme: "Throwback/Thread"
content_type: thread
friday:
theme: "Fun Friday"
content_type: casual
weekend:
theme: "Engagement Focus"
content_type: questions_pollsEngagement Automation
Auto-Engagement Rules
engagement_rules:
- name: reply_to_mentions
trigger: mentioned
delay: 30_minutes
action:
- like_tweet
- check_sentiment
- respond_if_question
- name: thank_new_followers
trigger: new_follower
conditions:
- follower_count: "> 100"
- not_spam_account
action:
- send_dm_welcome
- name: engage_with_niche
schedule: "*/2 * * * *" # Every 2 hours
action:
- search_hashtags: ["#buildinpublic", "#startup"]
- like_relevant_tweets: 5
- reply_thoughtfully: 2DM Automation
dm_workflows:
welcome_sequence:
trigger: new_follower
delay: 1_hour
message: |
Hey {{name}}! 👋
Thanks for the follow! I share daily tips
about {{topic}}.
What's your biggest challenge with {{topic}}
right now?
lead_capture:
trigger: dm_contains
keywords: ["interested", "learn more", "how"]
message: |
Great question! I put together a free guide
on exactly that.
Grab it here: {{link}}
Let me know if you have any questions!Analytics Dashboard
Performance Metrics
TWITTER ANALYTICS - LAST 30 DAYS
═══════════════════════════════════════
OVERVIEW:
Impressions: 1,245,000 (+23%)
Engagements: 45,230 (+18%)
Followers: +2,340 (+8.5%)
Profile Visits: 12,450 (+15%)
ENGAGEMENT RATE: 3.6% (industry avg: 1.5%)
TOP TWEETS:
┌───────────────────────────────────────────┬──────────┐
│ Tweet │ Impress. │
├───────────────────────────────────────────┼──────────┤
│ "10 lessons from 10 years..." (thread) │ 245,000 │
│ "The one mistake every founder..." │ 156,000 │
│ "Here's how we grew to $1M ARR..." │ 134,000 │
└───────────────────────────────────────────┴──────────┘
BY CONTENT TYPE:
Threads ██████████████████ 45%
Single ████████████░░░░░░ 35%
Polls ████░░░░░░░░░░░░░░ 12%
Replies ██░░░░░░░░░░░░░░░░ 8%
FOLLOWER GROWTH:
Week 1: +580 █████████████░░░░
Week 2: +620 ██████████████░░░
Week 3: +540 ████████████░░░░░
Week 4: +600 █████████████░░░░Audience Insights
audience_analytics:
demographics:
top_countries:
- US: 45%
- UK: 12%
- India: 10%
- Canada: 8%
interests:
- Technology: 65%
- Entrepreneurship: 45%
- Marketing: 38%
- Productivity: 32%
active_hours:
peak: "09:00-12:00 EST"
secondary: "18:00-21:00 EST"
engagement_patterns:
most_engaging: threads
best_day: tuesday
worst_day: saturdayGrowth Strategies
Growth Automation
growth_tactics:
- name: engage_larger_accounts
description: "Comment on tweets from accounts with 50k+ followers"
frequency: daily
target: 10_interactions
- name: trending_topics
description: "Post relevant content on trending hashtags"
trigger: relevant_trend
max_daily: 3
- name: cross_promotion
description: "Share Twitter content on other platforms"
platforms:
- linkedin
- newsletter
frequency: weekly
- name: collaboration
description: "Engage with peers for mutual growth"
activities:
- quote_tweet_exchange
- thread_mentions
- twitter_spacesHashtag Strategy
hashtag_strategy:
research_tools:
- native_search
- trending_topics
- competitor_analysis
usage:
per_tweet: 1-2
placement: end_of_tweet
categories:
niche:
- "#buildinpublic"
- "#indiehackers"
trending:
- check_daily
- relevance_filter
brand:
- "#YourBrand"
- "#ProductName"API Integration
Twitter API Examples
// Post Tweet
const tweet = await twitter.v2.tweet({
text: "Hello, Twitter! 🚀",
poll: {
duration_minutes: 1440,
options: ["Option A", "Option B", "Option C"]
}
});
// Post Thread
const thread = await twitter.v2.tweetThread([
{ text: "This is tweet 1 of a thread 🧵" },
{ text: "This is tweet 2" },
{ text: "This is the final tweet!" }
]);
// Search Tweets
const results = await twitter.v2.search({
query: "#buildinpublic -is:retweet",
max_results: 100,
"tweet.fields": ["created_at", "public_metrics"]
});
// Get Analytics
const metrics = await twitter.v2.userTimeline(userId, {
"tweet.fields": ["public_metrics"],
max_results: 100
});Compliance & Safety
Content Guidelines
compliance:
rate_limits:
tweets_per_day: 2400
dms_per_day: 1000
follows_per_day: 400
automation_rules:
- No automated bulk unfollowing
- No duplicate content posting
- Authentic engagement only
- Disclosure for sponsored content
content_warnings:
- Sensitive media flagging
- Age-restricted content
- Misinformation policiesBest Practices
- Consistency: Post daily, maintain voice
- Value First: Give before you ask
- Engagement: Reply to comments quickly
- Visuals: Use images and video
- Threads: Long-form content performs well
- Timing: Post when audience is active
- Authenticity: Be genuine, not salesy
- Analytics: Track and iterate
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

