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.
npx agentmods add skills/nirholas/xactions/articles-longformnpx skills add nirholas/XActions --skill articles-longformgit clone --depth 1 https://github.com/nirholas/XActionsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00053 | $0.00765 |
| Opus 5 | $0.00026 | $0.00382 |
| Sonnet 5 | $0.00011 | $0.00153 |
| Haiku 4.5 | $0.00005 | $0.00076 |
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 3d 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.
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 | 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
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.
- 3d ago First seen · 90 lines · 53 tokens per session scan A 5d3e86c22112
articles-longform is a skill published in the GitHub repository nirholas/XActions (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 765 once invoked, about $0.0003 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.
Other skills, from other repositories
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
tape-opens
Stack-unwind review of this conversation - a tree of main tasks done (struck through) and every open left behind at the depth it was abandoned, sized by the thread's measured shape, never by feel. Optional argument - a .jsonl path or session id to review a different session.
canvas
Display HTML content on connected OpenClaw nodes (Mac app, iOS, Android).
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
node-connect
Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…
powerpoint
Create designed, editable PowerPoint .pptx presentations with PptxGenJS. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.