# Send Baoyu Post To X to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "baoyu-post-to-x",
    "name": "Baoyu Post To X",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/liuhedev/baoyu-post-to-x",
    "canonicalUrl": "https://clawhub.ai/liuhedev/baoyu-post-to-x",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/baoyu-post-to-x",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=baoyu-post-to-x",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/articles.md",
      "references/regular-posts.md",
      "scripts/copy-to-clipboard.ts",
      "scripts/md-to-html.ts",
      "scripts/paste-from-clipboard.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/baoyu-post-to-x"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/baoyu-post-to-x",
    "downloadUrl": "https://openagent3.xyz/downloads/baoyu-post-to-x",
    "agentUrl": "https://openagent3.xyz/skills/baoyu-post-to-x/agent",
    "manifestUrl": "https://openagent3.xyz/skills/baoyu-post-to-x/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/baoyu-post-to-x/agent.md"
  }
}
```
## Documentation

### Post to X (Twitter)

Posts text, images, videos, and long-form articles to X via real Chrome browser (bypasses anti-bot detection).

### Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

Determine this SKILL.md file's directory path as SKILL_DIR
Script path = ${SKILL_DIR}/scripts/<script-name>.ts
Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurposescripts/x-browser.tsRegular posts (text + images)scripts/x-video.tsVideo posts (text + video)scripts/x-quote.tsQuote tweet with commentscripts/x-article.tsLong-form article publishing (Markdown)scripts/md-to-html.tsMarkdown → HTML conversionscripts/copy-to-clipboard.tsCopy content to clipboardscripts/paste-from-clipboard.tsSend real paste keystroke

### Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

# Check project-level first
test -f .baoyu-skills/baoyu-post-to-x/EXTEND.md && echo "project"

# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.baoyu-skills/baoyu-post-to-x/EXTEND.md" && echo "user"

┌──────────────────────────────────────────────────┬───────────────────┐
│                       Path                       │     Location      │
├──────────────────────────────────────────────────┼───────────────────┤
│ .baoyu-skills/baoyu-post-to-x/EXTEND.md          │ Project directory │
├──────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.baoyu-skills/baoyu-post-to-x/EXTEND.md    │ User home         │
└──────────────────────────────────────────────────┴───────────────────┘

┌───────────┬───────────────────────────────────────────────────────────────────────────┐
│  Result   │                                  Action                                   │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ Found     │ Read, parse, apply settings                                               │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ Not found │ Use defaults                                                              │
└───────────┴───────────────────────────────────────────────────────────────────────────┘

EXTEND.md Supports: Default Chrome profile | Auto-submit preference

### Prerequisites

Google Chrome or Chromium
bun runtime
First run: log in to X manually (session saved)

### References

Regular Posts: See references/regular-posts.md for manual workflow, troubleshooting, and technical details
X Articles: See references/articles.md for long-form article publishing guide

### Regular Posts

Text + up to 4 images.

npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --image ./photo.png          # Preview
npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --image ./photo.png --submit  # Post

Parameters:

ParameterDescription<text>Post content (positional)--image <path>Image file (repeatable, max 4)--submitPost (default: preview)--profile <dir>Custom Chrome profile

### Video Posts

Text + video file.

npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Check this out!" --video ./clip.mp4          # Preview
npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Amazing content" --video ./demo.mp4 --submit  # Post

Parameters:

ParameterDescription<text>Post content (positional)--video <path>Video file (MP4, MOV, WebM)--submitPost (default: preview)--profile <dir>Custom Chrome profile

Limits: Regular 140s max, Premium 60min. Processing: 30-60s.

### Quote Tweets

Quote an existing tweet with comment.

npx -y bun ${SKILL_DIR}/scripts/x-quote.ts https://x.com/user/status/123 "Great insight!"          # Preview
npx -y bun ${SKILL_DIR}/scripts/x-quote.ts https://x.com/user/status/123 "I agree!" --submit       # Post

Parameters:

ParameterDescription<tweet-url>URL to quote (positional)<comment>Comment text (positional, optional)--submitPost (default: preview)--profile <dir>Custom Chrome profile

### X Articles

Long-form Markdown articles (requires X Premium).

npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md                        # Preview
npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --cover ./cover.jpg    # With cover
npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --submit               # Publish

Parameters:

ParameterDescription<markdown>Markdown file (positional)--cover <path>Cover image--title <text>Override title--submitPublish (default: preview)

Frontmatter: title, cover_image supported in YAML front matter.

### Notes

First run: manual login required (session persists)
Always preview before --submit
Cross-platform: macOS, Linux, Windows

### Extension Support

Custom configurations via EXTEND.md. See Preferences section for paths and supported options.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: liuhedev
- Version: 0.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/baoyu-post-to-x)
- [Send to Agent page](https://openagent3.xyz/skills/baoyu-post-to-x/agent)
- [JSON manifest](https://openagent3.xyz/skills/baoyu-post-to-x/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/baoyu-post-to-x/agent.md)
- [Download page](https://openagent3.xyz/downloads/baoyu-post-to-x)