agentleFS
nirholasnirholas/XActions/skills/content-posting/SKILL.md

content-posting

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use src/contentRepurposer.js -> XActions.toThread(i) for thread outlines

    line 72
  2. Distinctive:

    All posting scripts include dry-run mode by default

    line 78
  3. Distinctive:

    Add 1-3s delays between actions to avoid rate limiting

    line 82

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Content Posting

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

Script Selection

GoalFileNavigate to
Post a threadsrc/postThread.jsx.com
Schedule postssrc/schedulePosts.jsx.com
Create a pollsrc/createPoll.jsx.com
Auto-repost by keywordsrc/autoRepost.jsTimeline or search
Compose + preview threadssrc/threadComposer.jsx.com/USERNAME
Quote-tweet with templatessrc/quoteTweetAutomation.jsTimeline
Repurpose tweetssrc/contentRepurposer.jsx.com/USERNAME
Auto-plug viral tweetssrc/autoPlugReplies.jsx.com/USERNAME
Content calendar analysissrc/contentCalendar.jsx.com/USERNAME
Optimize posting timessrc/tweetScheduleOptimizer.jsx.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

ElementSelector
Compose buttona[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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.