Agent 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.
Install this agent skill to your Project
npx add-skill https://github.com/nirholas/XActions/tree/main/skills/articles-longform
Metadata
Additional technical details for this skill
- author
- nichxbt
- version
- 4.0
SKILL.md
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
- Navigate to
x.com/compose/article - Open DevTools (F12) -> Console
- Paste the script -> Enter
- Use controls to compose
Controls
XActions.setTitle(text)-- Set article titleXActions.setSubtitle(text)-- Set subtitleXActions.addParagraph(text)-- Add body paragraphXActions.addHeading(text, level)-- Add heading (h2, h3)XActions.addImage(url, alt)-- Insert imageXActions.preview()-- Preview formatted articleXActions.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
- Run
src/tweetPerformance.jsto find your best-performing threads - Run
src/contentRepurposer.js->XActions.toBlog(i)to generate article outline - Navigate to
x.com/compose/article - Use
src/articlePublisher.jsto format and publish - 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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.
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.
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.
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.
settings-privacy
Manages X/Twitter account settings and privacy controls including protected tweets, muted words, content filtering, notification preferences, and account configuration. Use when changing privacy settings, managing muted words, or configuring account preferences.
Didn't find tool you were looking for?