articles-longform

articles-longform is a skill for Claude Code, Codex from nirholas/XActions. It costs 53 tokens per session (765 once invoked), scanned A, original, Apache-2.0.

A set of browser scripts for creating and managing long-form Articles on X/Twitter, a feature for publishing posts longer than ordinary tweets. It also supports turning threads into articles and checking article performance.

In plain words
What is it for?
Use it to add titles, headings, formatted text, images, and cover media; save or publish articles; convert threads into articles; and track their performance.
Why use it?
Writing and maintaining a long article in X's editor can involve many separate formatting and media actions. These scripts collect those tasks in one workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add titles, headings, formatted text, images, and cover media; save or publish articles; convert threads into articles; and track their performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/xactions/articles-longform
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.

Any agent
npx skills add nirholas/XActions --skill articles-longform
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for articles-longform

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/xactions/articles-longform/github.svg)](https://agentmods.dev/skills/nirholas/xactions/articles-longform)
Your own site
<a href="https://agentmods.dev/skills/nirholas/xactions/articles-longform"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/articles-longform/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for articles-longform

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/xactions/articles-longform"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/articles-longform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00053 $0.00765
Opus 5.5 $0.00021 $0.00306
Sonnet 5.5 $0.00011 $0.00153
Haiku 4.5 $0.00005 $0.00076

Measured 10d ago against content hash dab60868267b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

articles-longform 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 10d 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/articles-longform/SKILL.md · 90 lines

How it starts

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

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 browser/contentRepurposer.js x.com/USERNAME
Track article performance browser/tweetPerformance.js x.com/USERNAME
Generate blog outline browser/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 browser/tweetPerformance.js to find your best-performing threads
  2. Run browser/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

Read the full file on GitHub · 90 lines

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. 10d ago Changed dab60868267b
  2. 3mo ago First seen · 90 lines · 53 tokens per session scan A 5d3e86c22112

Subscribe to this mod's changes

articles-longform is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 53 tokens to every session and 765 once invoked, about $0.0002 per session on Opus 5.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

articles-longform compared with skills from other repositories

articles-longform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
articles-longformnirholas/XActionsSkill6713d agoApache-2.0A53Claude Code, Codex
social-x-post-cardnexu-io/open-designSkill110ktodayApache-2.0A31Claude Code, Codex
card-twitternexu-io/open-designSkill110ktodayApache-2.0A15Claude Code, Codex
social-x-post-cardnexu-io/html-anythingSkill17kyesterdayApache-2.0A33Claude Code, Codex
twitter-clipublic-clis/twitter-cliSkill3.0k2d agoApache-2.0A43Claude Code, Codex
card-twitternexu-io/html-anythingSkill17kyesterdayApache-2.0A17Claude Code, Codex
x_intelmateaix/mateclawSkill1.2k2d agoApache-2.0A24Claude Code, Codex