diff --git a/skills/baoyu-post-to-x/SKILL.md b/skills/baoyu-post-to-x/SKILL.md index 37ffbb3..b61605e 100644 --- a/skills/baoyu-post-to-x/SKILL.md +++ b/skills/baoyu-post-to-x/SKILL.md @@ -56,7 +56,7 @@ test -f "$HOME/.baoyu-skills/baoyu-post-to-x/EXTEND.md" && echo "user" │ Not found │ Use defaults │ └───────────┴───────────────────────────────────────────────────────────────────────────┘ -**EXTEND.md Supports**: Default Chrome profile | Auto-submit preference +**EXTEND.md Supports**: Default Chrome profile ## Prerequisites @@ -98,8 +98,7 @@ Checks: Chrome, profile isolation, Bun, Accessibility, clipboard, paste keystrok Text + up to 4 images. ```bash -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 +npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --image ./photo.png ``` **Parameters**: @@ -107,9 +106,10 @@ npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --image ./photo.png --subm |-----------|-------------| | `` | Post content (positional) | | `--image ` | Image file (repeatable, max 4) | -| `--submit` | Post (default: preview) | | `--profile ` | Custom Chrome profile | +**Note**: Script opens browser with content filled in. User reviews and publishes manually. + --- ## Video Posts @@ -117,8 +117,7 @@ npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --image ./photo.png --subm Text + video file. ```bash -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 +npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Check this out!" --video ./clip.mp4 ``` **Parameters**: @@ -126,9 +125,10 @@ npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Amazing content" --video ./demo.mp4 |-----------|-------------| | `` | Post content (positional) | | `--video ` | Video file (MP4, MOV, WebM) | -| `--submit` | Post (default: preview) | | `--profile ` | Custom Chrome profile | +**Note**: Script opens browser with content filled in. User reviews and publishes manually. + **Limits**: Regular 140s max, Premium 60min. Processing: 30-60s. --- @@ -138,8 +138,7 @@ npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Amazing content" --video ./demo.mp4 Quote an existing tweet with comment. ```bash -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 +npx -y bun ${SKILL_DIR}/scripts/x-quote.ts https://x.com/user/status/123 "Great insight!" ``` **Parameters**: @@ -147,9 +146,10 @@ npx -y bun ${SKILL_DIR}/scripts/x-quote.ts https://x.com/user/status/123 "I agre |-----------|-------------| | `` | URL to quote (positional) | | `` | Comment text (positional, optional) | -| `--submit` | Post (default: preview) | | `--profile ` | Custom Chrome profile | +**Note**: Script opens browser with content filled in. User reviews and publishes manually. + --- ## X Articles @@ -157,9 +157,8 @@ npx -y bun ${SKILL_DIR}/scripts/x-quote.ts https://x.com/user/status/123 "I agre Long-form Markdown articles (requires X Premium). ```bash -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 +npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md +npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --cover ./cover.jpg ``` **Parameters**: @@ -168,10 +167,11 @@ npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --submit # | `` | Markdown file (positional) | | `--cover ` | Cover image | | `--title ` | Override title | -| `--submit` | Publish (default: preview) | **Frontmatter**: `title`, `cover_image` supported in YAML front matter. +**Note**: Script opens browser with article filled in. User reviews and publishes manually. + --- ## Troubleshooting @@ -189,7 +189,7 @@ pkill -f "Chrome.*remote-debugging-port" 2>/dev/null; pkill -f "Chromium.*remote ## Notes - First run: manual login required (session persists) -- Always preview before `--submit` +- All scripts only fill content into the browser, user must review and publish manually - Cross-platform: macOS, Linux, Windows ## Extension Support