x-post
Installation
SKILL.md
x-post
用 Ego Lite 里已经登录的 Chromium 会话往 X 发帖。主路径是 page.fetch 的 CreateTweet,不点「发帖」。
Post to X through the logged-in Ego Lite session. The primary path is page.fetch CreateTweet. Do not click the composer.
成功标准是 stdout 打出 https://x.com/<screen_name>/status/<id>。没有这条链接就不算成功。不要顺手点其它确认框。
Success is the status URL on stdout: https://x.com/<screen_name>/status/<id>. Do not click unrelated confirmations.
先装 Ego
先装 Ego Lite,保证 ego-browser 在 PATH。缺失则 soft-fail(退出码 2),不要改用 Playwright、Puppeteer 或云端浏览器。
Install Ego Lite and put ego-browser on PATH. If it is missing, soft-fail with exit 2. Do not switch to Playwright, Puppeteer, or a cloud browser.