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 skills add nirholas/three.ws --skill x-twitter-automation-guidegit clone --depth 1 https://github.com/nirholas/three.wsWrote 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.
[](https://agentmods.dev/skills/nirholas/three.ws/x-twitter-automation-guide)<a href="https://agentmods.dev/skills/nirholas/three.ws/x-twitter-automation-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/x-twitter-automation-guide/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.
<a href="https://agentmods.dev/skills/nirholas/three.ws/x-twitter-automation-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/x-twitter-automation-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.01230 |
| Opus 5.5 | $0.00032 | $0.00492 |
| Sonnet 5.5 | $0.00016 | $0.00246 |
| Haiku 4.5 | $0.00008 | $0.00123 |
Grade A, and why
x-twitter-automation-guide 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 1mo 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
X/Twitter Automation Guide (XActions)
XActions is a JavaScript (ES modules, Node) toolkit for reading and acting on X without the paid X API. It ships as a CLI, a Node.js library with TypeScript types, an MCP server for AI agents, copy-paste browser console scripts, and a Chrome/Edge extension. License: Apache-2.0. Package: xactions on npm. Site: xactions.app.
Two access tiers
X splits its internal API in two, and this decides what needs a login.
| Tier | Covers | Login |
|---|---|---|
| Guest | Public profiles, public user timelines | None |
| Session | Search, followers, following, likes, bookmarks, DMs, home timeline, every write | Required |
Try it with no account
npx xactions profile nasa
npx xactions tweets nasa --limit 100 --output nasa.csv
Public reads go straight to X's internal GraphQL API over plain HTTP: no browser, no Chromium download.
Log in
npx xactions login # guided
npx xactions login --from-browser # read x.com cookies from Chrome, Brave, Edge, Arc, Firefox
npx xactions login --cookies-file cookies.txt # Netscape, Cookie-Editor JSON, Playwright storageState
Cookies are saved to ~/.xactions/cookies.json. Keep both auth_token and ct0: auth_token proves identity, ct0 is the CSRF token every write needs. Treat them like a password and never commit them.
Node.js client
import { Scraper, SearchMode } from 'xactions';
const scraper = new Scraper();
await scraper.loadCookies(`${process.env.HOME}/.xactions/cookies.json`);
const profile = await scraper.getProfile('nasa');
console.log(profile.followersCount, profile.bio);
for await (const tweet of scraper.searchTweets('open source AI', 50, SearchMode.Latest)) {
console.log(tweet.text);
}
The client exposes getProfile, getTweet, getTweets, getTweetsAndReplies, getLikedTweets, searchTweets, searchProfiles, getFollowers, getFollowing, getTrends, list and DM readers, and the write methods sendTweet, sendQuoteTweet, deleteTweet, likeTweet, retweet, followUser, unfollowUser, sendDm. List readers are async iterators. A separate Puppeteer scraper set (scrapeProfile, scrapeFollowers, scrapeTweets, searchTweets) is available from xactions/scrapers.
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.
- 1mo ago Changed · -68 lines · +26 tokens per session 398bb7a46bc4
- 2mo ago First seen · 175 lines · 53 tokens per session scan A ac4f7e70d33a
x-twitter-automation-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 79 tokens to every session and 1,230 once invoked, about $0.0003 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-09-03.
x-twitter-automation-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-twitter-automation-guidenirholas/three.ws | Skill | 287 | yesterday | Apache-2.0 | A | 79 | Claude Code, Codex |
| agent-browserEliasOulkadi/shokunin | Skill | 112 | 1mo ago | MIT | A | 0 | Claude Code |
| flutter-mcp-automation-chainArenukvern/mcp_flutter | Skill | 401 | 3d ago | MIT | C | 176 | Claude Code, Codex |
| browser-automationmozilla/firefox-mcp | Skill | 629 | today | none | A | 55 | Claude Code |
| webmcpberkayoztunc/orquestra | Skill | 26 | 24d ago | MIT | A | 0 | Claude Code, Codex |
| figranium-browser-automationfigranium/figranium-mcp | Skill | 7 | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| archivebox-api-operationsKnuckles-Team/archivebox-api | Skill | 1 | 2d ago | MIT | A | 59 | Codex |