post-one-tweetlisted
Install: claude install-skill yegor256/evangelist
Take auth_token provided by the user.
This is the only credential you need.
Post through a real headless Chrome browser, never through the X.com API or curl.
The browser logs in with the auth_token cookie alone, and X.com sets up the rest of the session by itself.
Drive Chrome with the post.js script that sits next to this SKILL.md, using Puppeteer and its stealth plugin.
Work in a scratch directory you can reuse between runs, for example /tmp/tweet-poster.
Install the browser there once: `npm install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth`
That first install also downloads the Chromium binary that actually does the posting.
Copy post.js from this skill directory into the scratch directory.
Write the tweet text to a file named tweet.txt in the scratch directory, so quotes and apostrophes in the text never fight the shell.
Run it from there with the auth_token in the environment: `X_AUTH_TOKEN=<auth_token> node post.js`
The post succeeded when the script prints a toast containing "Your post was sent" and exits zero.
If the script prints "auth_token rejected", stop and report it rather than retrying with another account.