x-post SKILL.md skillB

x-post from terryso/ego-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add terryso/ego-skills/x-post@v0.2.1

Pins v0.2.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
terryso/ego-skills
Path
skills/x-post/SKILL.md
Versions recorded
4
Latest version
v0.2.1, committed Nov 8, 2026
First version recorded
Nov 4, 2026
Size
9,636 bytes
Repository stars
34
License
MIT

Post on X (x.com / twitter.com) through the logged-in Ego Lite session. Login-check first and soft-fail with exit 2 when ego-browser is missing or x.com is logged out. Sends only with --yes after the draft is shown. Uses page.fetch CreateTweet, not the composer click path. Optional --image uploads up to 4 png/jpeg/webp files only after --yes. Reply is best-effort. Use when the user asks to tweet, post, reply, or attach images on X or Twitter from Ego.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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.

## 每次发帖前:登录闸门(必做)

```bash
node scripts/check-login.mjs
node scripts/check-login.mjs --keep
```

| 退出码 | 含义 | Agent 做什么 |
|--------|------|----------------|
| `0` | 已登录 | 把 `login_tip` 告诉用户,继续 |
| `2` | 未登录 / 无 ego-browser | 展示 `how_to_login` / `how_to_login_zh`,**停** |
| `1` | 其它错误 | 报告 JSON `error`,不要假装已经发出 |

`auth_token` 是 HttpOnly,只存在于浏览器 Cookie 罐。不要打印 Cookie,不要粘贴 Cookie,不要代填密码。

默认 `finish({ keep: [] })`。`--keep` 才把页面留着并 `handOff()`。

## 确认规则
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add terryso/ego-skills/x-post@sha256:c6f19734883d9bf2

The line at the top of this page pins the label v0.2.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7ypr4wosjxxiarfh.svg)](https://markdownregistry.com/a/art_7ypr4wosjxxiarfh)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Nov 4, 2026 and Nov 8, 2026, about one every day. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
v0.2.1 latest2026-11-08 a5b4f9b 9,636 BB view · diff
v0.2.02026-11-04 f920cf6 8,273 BB view · diff
v0.1.12026-11-04 0626a2c 6,607 BB view · diff
v0.1.02026-11-04 48f18dc 6,241 BA view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9636 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

terryso/ego-skills · 34 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7ypr4wosjxxiarfh
GET https://markdownregistry.com/api/v1/resolve?ref=terryso/ego-skills/x-post
GET https://markdownregistry.com/api/v1/blob/c6f19734883d9bf2e96a0a9e7955b0d21e0d217d4ca38ca4b3c6c56557d9e937

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from terryso/ego-skills

__SKILL_ID__ SKILL.md skill
terryso/ego-skills · skills/_template/SKILL.md · TEMPLATE — do not install or ship skills/_template. Replace this description. Drive <site> with Ego Lite via…
v0.0.0 · audit A · 34 stars
douyin-video SKILL.md skill
terryso/ego-skills · skills/douyin-video/SKILL.md · Publish a local video to the Douyin creator center (creator.douyin.com) with Ego Lite via ego-browser. Login-check…
v0.1.0 · audit A · 34 stars
instagram-saved-download SKILL.md skill
terryso/ego-skills · skills/instagram-saved-download/SKILL.md · Download the user's own Instagram Saved posts (images, and MP4 when asked) with Ego Lite cookies via ego-browser…
v0.2.0 · audit A · 34 stars
kuaishou-video SKILL.md skill
terryso/ego-skills · skills/kuaishou-video/SKILL.md · Publish a local video to the Kuaishou creator platform (cp.kuaishou.com) with Ego Lite via ego-browser. Login-check…
v0.1.1 · audit A · 34 stars
pinterest-download SKILL.md skill
terryso/ego-skills · skills/pinterest-download/SKILL.md · Search Pinterest and save images or MP4s with the user's Ego Lite cookies. Also related pins, board feeds, and small…
v0.5.0 · audit A · 34 stars
teambition-ego SKILL.md skill
terryso/ego-skills · skills/teambition-ego/SKILL.md · Read and update Teambition test plans and single test cases through the Ego Lite browser session (www.teambition.com)…
v0.2.0 · audit A · 34 stars
wechat-article-ego SKILL.md skill
terryso/ego-skills · skills/wechat-article-ego/SKILL.md · Save one WeChat Official Account (公众号 / mp.weixin.qq.com) article draft through the visible editor in Ego Lite. Not…
v0.2.0 · audit A · 34 stars
wechat-channels-video SKILL.md skill
terryso/ego-skills · skills/wechat-channels-video/SKILL.md · Publish a WeChat Channels video draft with Ego Lite via ego-browser — login-check first (sessions expire fast), upload…
v0.2.2 · audit B · 34 stars
xiaohongshu-ego SKILL.md skill
terryso/ego-skills · skills/xiaohongshu-ego/SKILL.md · Publish one Xiaohongshu (小红书) note — video or image-text (图文) — through the creator web UI in Ego Lite. Login-check…
v0.2.0 · audit A · 34 stars
youtube-video SKILL.md skill
terryso/ego-skills · skills/youtube-video/SKILL.md · Publish a local video to YouTube Studio (studio.youtube.com) with Ego Lite via ego-browser. Login-check first. Default…
v0.1.0 · audit A · 34 stars

Every file in terryso/ego-skills

Other files named x-post

x-post SKILL.md skill
adsorgcn/workbuddy · experts/ilang-x-awesome/skills/x-post/SKILL.md · Write and publish X (Twitter) posts the X way and let the user choose how to publish: through the official X API on…
v2.3.56 · audit A · 120 stars
x-post SKILL.md skill
publora/skills · .codex-marketplace/publora-skills/skills/x-post/SKILL.md · Use when the user wants to post or schedule to X (Twitter) through Publora, including threads auto-split past 280…
git:20261012.04ed166 · audit A · 67 stars
x-post SKILL.md skill
publora/skills · skills/x-post/SKILL.md · Use when the user wants to post or schedule to X (Twitter) through Publora, including threads auto-split past 280…
git:20261012.04ed166 · audit A · 67 stars
x-post SKILL.md skill
mickpletcher/ai-skills · claude/skills/x-post/SKILL.md · Write posts for X on tech, PowerShell, IT automation, and fitness topics. Always trigger immediately when the user's…
v1.1.0 · audit A · 20 stars
x-post SKILL.md skill
mickpletcher/ai-skills · generated/openai/chatgpt/skills/x-post/SKILL.md · Write posts for X on tech, PowerShell, IT automation, and fitness topics. Always trigger immediately when the user's…
v1.1.0 · audit A · 20 stars
x-post SKILL.md skill
mickpletcher/ai-skills · generated/claude/skills/x-post/SKILL.md · Write posts for X on tech, PowerShell, IT automation, and fitness topics. Always trigger immediately when the user's…
v1.1.0 · audit A · 20 stars
x-post SKILL.md skill
tonydzi/second-brain-starter-kit · skills/x-post/SKILL.md · Publish a vetted post to an X (Twitter) account through the owner's real logged-in Chrome tab, rate-guarded and…
git:20260908.2ec1bf8 · audit A · 14 stars
x-post SKILL.md skill
hanzhangzzz/agent-skills-zh · x-post/SKILL.md · Publish a tweet or a multi-post thread (with images) to X/Twitter using the login stored in the agent-chrome profile…
v1.0.0 · audit A · 1 stars

Browse by kind, by grade B, or by owner.