Skip to content
Automation
Skill

/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.

From plugin
xactions
65350 skills

Claude Code

$ npx -y skills add nirholas/XActions --skill articles-longform --agent claude-code

SKILL.md

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

Articles & Longform

Browser console scripts for creating and managing X/Twitter Articles (Premium+ feature).

Script Selection

| Goal | File | Navigate to | |------|------|-------------| | Publish an article | `src/articlePublisher.js` | `x.com/compose/article` | | Convert thread to article | `src/contentRepurposer.js` | `x.com/USERNAME` | | Track article performance | `src/tweetPerformance.js` | `x.com/USERNAME` | | Generate blog outline | `src/contentRepurposer.js` | `x.com/USERNAME` |

Article Publisher

**File:** `src/articlePublisher.js`

Assists with article composition on X's article editor.

Features

  • Title and subtitle insertion
  • Body text formatting (headings, bold, italic, lists)
  • Image and media embedding
  • Draft saving
  • Publish with cover image

How to Use

1. Navigate to `x.com/compose/article` 2. Open DevTools (F12) -> Console 3. Paste the script -> Enter 4. Use controls to compose

Controls

  • `XActions.setTitle(text)` -- Set article title
  • `XActions.setSubtitle(text)` -- Set subtitle
  • `XActions.addParagraph(text)` -- Add body paragraph
  • `XActions.addHeading(text, level)` -- Add heading (h2, h3)
  • `XActions.addImage(url, alt)` -- Insert image
  • `XActions.preview()` -- Preview formatted article
  • `XActions.publish()` -- Publish (with confirmation prompt)

DOM Selectors

| Element | Selector | |---------|----------| | Article editor | `[data-testid="articleEditor"]` | | Title field | `[data-testid="articleTitle"]` | | Body editor | `[data-testid="articleBody"]` | | Cover image | `[data-testid="articleCoverImage"]` | | Publish button | `[data-testid="articlePublishButton"]` | | Save draft | `[data-testid="articleSaveDraft"]` |

Content Strategy

Thread-to-Article pipeline

1. Run `src/tweetPerformance.js` to find your best-performing threads 2. Run `src/contentRepurposer.js` -> `XActions.toBlog(i)` to generate article outline 3. Navigate to `x.com/compose/article` 4. Use `src/articlePublisher.js` to format and publish 5. Share the article link as a tweet for promotion

SEO and reach optimization

  • Use `src/contentRepurposer.js` -> `XActions.toBlog(i)` for keyword suggestions
  • Articles get indexed by Google (unlike regular tweets)
  • Include 1-2 images per 500 words for better engagement
  • Link back to your profile and other articles

Requirements

  • X Premium+ subscription ($16/mo) required
  • Articles support rich text, images, and embedded tweets
  • No word count limit
  • Articles are publicly accessible (even to non-X users)
  • Articles have their own URL structure: `x.com/USERNAME/articles/ID`

Notes

  • Articles persist permanently (unlike tweets which get buried)
  • Google indexes X Articles -- good for SEO
  • Cover image recommended for social sharing preview
  • Draft auto-saves periodically
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
billing-management

billing-management

Manage XActions subscriptions and billing — view plans, start a Stripe checkout, open the billing portal, or cancel a…

@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…

n8n2w209k
@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
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 articles-longform.

Which coding agents can use articles-longform?
articles-longform 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.