Agent skill

content-posting

Create and publish content on X/Twitter programmatically. Post threads, schedule posts, create polls, auto-repost by keyword, compose threads with preview, quote-tweet with templates, repurpose content, and auto-plug replies on viral tweets. Use when automating content creation, scheduling, thread building, or content repurposing.

Stars 197
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/nirholas/XActions/tree/main/skills/content-posting

Metadata

Additional technical details for this skill

author
nichxbt
version
4.0

SKILL.md

Content Posting

Browser console scripts for automating content creation and publishing on X/Twitter.

Script Selection

Goal File Navigate to
Post a thread src/postThread.js x.com
Schedule posts src/schedulePosts.js x.com
Create a poll src/createPoll.js x.com
Auto-repost by keyword src/autoRepost.js Timeline or search
Compose + preview threads src/threadComposer.js x.com/USERNAME
Quote-tweet with templates src/quoteTweetAutomation.js Timeline
Repurpose tweets src/contentRepurposer.js x.com/USERNAME
Auto-plug viral tweets src/autoPlugReplies.js x.com/USERNAME
Content calendar analysis src/contentCalendar.js x.com/USERNAME
Optimize posting times src/tweetScheduleOptimizer.js x.com/USERNAME

Script Details

threadComposer.js

Interactive thread creation with draft persistence. Compose parts, preview, reorder, and publish.

Controls: XActions.create(topic, points), XActions.preview(), XActions.post(), XActions.export()

contentRepurposer.js

Converts existing tweets into new formats: threads, tweet storms, blog outlines, summary variations, and quote-tweet templates. Scan your timeline, pick top tweets, generate 5 content variations per tweet.

Controls: XActions.scan(), XActions.list(), XActions.toThread(i), XActions.toSummary(i), XActions.toStorm(i), XActions.toBlog(i), XActions.toQuoteTemplates(i), XActions.all(i)

autoPlugReplies.js

Auto-replies to your own viral tweets with a promotional plug. Configurable viral threshold, dry-run mode, session limits.

Controls: XActions.setPlug(text), XActions.scan(), XActions.autoScan(ms), XActions.stop()

quoteTweetAutomation.js

Auto quote-tweets matching tweets with customizable templates and engagement filters.

DOM Selectors

Element Selector
Compose button a[data-testid="SideNav_NewTweet_Button"]
Tweet text area [data-testid="tweetTextarea_0"]
Post button [data-testid="tweetButton"]
Media input [data-testid="fileInput"]
Poll button [aria-label="Add poll"]
Schedule [data-testid="scheduleOption"]
Thread add [data-testid="addButton"]
Reply button [data-testid="reply"]

Content Strategy

Maximizing content output

  1. src/tweetPerformance.js -- identify your best-performing content
  2. src/contentRepurposer.js -- generate 5 variations per top tweet
  3. src/tweetScheduleOptimizer.js -- schedule content at optimal times
  4. src/autoPlugReplies.js -- automatically promote on viral tweets
  5. src/contentCalendar.js -- identify posting gaps to fill

Thread workflow

  1. Use src/contentRepurposer.js -> XActions.toThread(i) for thread outlines
  2. Edit and refine with src/threadComposer.js
  3. Preview with XActions.preview()
  4. Post with XActions.post()

Notes

  • All posting scripts include dry-run mode by default
  • Thread tweets validated for character count before posting
  • Free: 280 chars. Premium: 25,000+ chars, scheduling, edit
  • Auto-repost includes safety filters (min likes, skip replies)
  • Add 1-3s delays between actions to avoid rate limiting

Expand your agent's capabilities with these related and highly-rated skills.

nirholas/XActions

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.

197 39
Explore
nirholas/XActions

x-pro-management

Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.

197 39
Explore
nirholas/XActions

business-ads

Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.

197 39
Explore
nirholas/XActions

engagement-interaction

Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.

197 39
Explore
nirholas/XActions

unfollow-management

Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.

197 39
Explore
nirholas/XActions

follower-monitoring

Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.

197 39
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results