agentleFS
nirholasnirholas/XActions/skills/articles-longform/SKILL.md

articles-longform

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are 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.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use controls to compose

    line 41
  2. Very specific:

    Run src/tweetPerformance.js to find your best-performing threads

    line 66
  3. Very specific:

    Run src/contentRepurposer.js -> XActions.toBlog(i) to generate article outline

    line 67
  4. Very specific:

    Use src/articlePublisher.js to format and publish

    line 69
  5. Very specific:

    Use src/contentRepurposer.js -> XActions.toBlog(i) for keyword suggestions

    line 73
  6. Distinctive:

    No word count limit

    line 81

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

Articles & Longform

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

Script Selection

GoalFileNavigate to
Publish an articlesrc/articlePublisher.jsx.com/compose/article
Convert thread to articlesrc/contentRepurposer.jsx.com/USERNAME
Track article performancesrc/tweetPerformance.jsx.com/USERNAME
Generate blog outlinesrc/contentRepurposer.jsx.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

ElementSelector
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

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.