content-posting

A collection of browser scripts for creating and publishing content on X, formerly called Twitter.

In plain words
What is it for?
Use it to publish threads, schedule posts, create polls, repost by keyword, quote-tweet, repurpose tweets, analyse a content calendar, and adjust posting times.
Why use it?
It reduces repetitive work involved in writing, scheduling, organising, and reusing posts.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/xactions/content-posting
Any agent
npx skills add nirholas/XActions --skill content-posting
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00072 $0.00932
Opus 5 $0.00036 $0.00466
Sonnet 5 $0.00014 $0.00186
Haiku 4.5 $0.00007 $0.00093

Measured 2d ago against content hash 0f266ba0bb66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

content-posting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/content-posting/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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"]

Read the full file on GitHub · 83 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 83 lines · 72 tokens per session scan A 0f266ba0bb66

Subscribe to this mod's changes

content-posting is a skill published in the GitHub repository nirholas/XActions (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 72 tokens to every session and 932 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

the-open-agent/openagent · 22 tokens

browser-test

Validate a feature works by driving a real browser with Playwright MCP. No test files — just interactive verification.

langwatch/langwatch · 25 tokens

browser-pair

Collaborative headed browser session for UI work. Launch Playwright Chromium visible to the user, handle auth, then interactively drive the browser while the user watches and gives real-time visual feedback. Edit code and refresh to verify fixes live. Use when the user says 'browser pair', 'paired browser', 'let's…

langwatch/langwatch · 87 tokens

debug-frontend-with-browser

Frontend diagnosis extension for the acceptance skill. Use for intermittent rendering, ordering, stale-state, navigation, virtual-list, React/Zustand, optimistic-update, refresh-dependent, or browser-only failures where the first broken boundary may be DOM, component input, derived state, client cache, network data…

lobehub/lobehub · 118 tokens

design-prototype

Produce an interactive single-file HTML design prototype using the REAL LobeHub design system (@lobehub/ui + antd + antd-style tokens) with production-style React — no build step, opens directly in a browser. Use when asked for a design prototype / interactive mockup / 交互原型 / 出个原型 / 设计稿 HTML for a page or flow, or to…

lobehub/lobehub · 92 tokens

share

Use when a user needs a browser-accessible link to preview, present, or send Agent-generated workspace files, an entire project, or the current topic outside Super Magic—especially rendered output such as HTML that messaging or file-viewing channels cannot display directly—or when they need to find, reuse, change, or…

dtyq/magic · 69 tokens