Skip to content
Automation
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,

From plugin
xactions
65350 skills

Claude Code

$ npx -y skills add nirholas/XActions --skill content-posting --agent claude-code

SKILL.md

content-posting.SKILL.md
name: content-posting
description: 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.
license: Apache-2.0
metadata:
  author: nichxbt
  version: "4.0"

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
Read more
@nirholas
Ships withxactions

⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.

Stars on GitHub

Momentum

stars in total
653
Star history of nirholas/XActions on GitHub, a chart by star-history.com

Other skills on xactions.

a2a-multi-agent

a2a-multi-agent

Runs XActions as an A2A (Agent-to-Agent) compatible agent that serves an Agent Card, accepts JSON-RPC tasks, bridges them onto…

@nirholas@nirholasInstall Skill
account-backup

account-backup

Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also…

@nirholas@nirholasInstall Skill
account-tools

account-tools

Miscellaneous account utilities — view join date, login history, connected accounts, appeal suspension, QR code sharing,…

@nirholas@nirholasInstall Skill
algorithm-cultivation

algorithm-cultivation

Trains an X/Twitter account's algorithmic feed to surface niche-relevant content and positions the account as a thought leader.…

@nirholas@nirholasInstall Skill
analytics-insights

analytics-insights

Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral…

@nirholas@nirholasInstall Skill
articles-longform

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting,…

@nirholas@nirholasInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about content-posting.

Which coding agents can use content-posting?
content-posting installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.