yichen-x-slicer

Convert public X posts and threads into 1080×1440 image slices and MP4 videos.

2.0k|274|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-x-slicer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yichen-x-slicer
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-x-slicer
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-x-slicer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, ffmpeg, ffprobe, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Turning an X/Twitter post or thread into shareable Chinese social-media graphics and video normally requires manual screenshots, layout design, and video editing. This Skill automates the entire pipeline from a single public X status URL to a verified set of 3:4 image cards, a ZIP archive, and a finished MP4.

Core Features & Use Cases

  • URL-to-Cards Conversion: Fetches a public Post, Quote Post, or same-author Thread anonymously via FxTwitter and renders it into 1080×1440 PNG slices using one of 11 bundled visual templates, with sunset (落日琥珀版) as the default.
  • Fixed-Timing MP4 Generation: Produces a 30fps H.264 video with static reading holds, four-frame page transitions, and full playback of native videos attached to selected posts, preserving their original audio only on the matching page timeline.
  • Strict Content Routing and QA: Ignores quoted content, other-author replies, and side branches; validates every output with manifest hashes, SSIM-based frame checks, audio-timeline verification, and a zero-failure QA report.
  • Use Case: A creator pastes an X thread link and receives a ready-to-post set of sunset-styled image cards plus a finished MP4, with no manual design or editing work.

Quick Start

Ask the assistant to use Yichen X Slicer to turn your X post or thread link into the default sunset-style image cards and finished video.

Frequently Asked Questions about yichen-x-slicer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn an X post or thread into image cards?

Run the slicer script with the X status URL and an output directory; it fetches the post anonymously via FxTwitter and renders 1080×1440 PNG slices using the default sunset template. A ZIP of the images and a finished MP4 are produced by default.

How do I convert a tweet to video without adding music or voice-over?

The generated MP4 never includes TTS, voice-over, BGM, or music. The only permitted audio is the original sound track of a selected native video, played on its matching page timeline; if no selected video has audio, the MP4 has no audio stream.

Does it include quoted posts or replies from other authors?

No. Quote content, Quote media, other-author replies, side branches, and comments are always excluded. Only the focal post or the verified same-author direct-reply thread chain and its own media are rendered.

What tools are required to run the X slicer script?

The script runs on Node.js and uses bundled Playwright for rendering, plus local FFmpeg and ffprobe binaries for video encoding and verification. Media is fetched only from HTTPS pbs.twimg.com and video.twimg.com hosts.

Can I generate only images without the MP4 video?

Yes, pass the explicit --images-only flag to skip video generation and produce only the PNG sequence and ZIP. Without that flag, one MP4 per selected template is generated by default.

What are the limitations of the X thread slicing approach?

It reads only public X data anonymously and fails closed on invalid status IDs, missing author identity, ambiguous self-reply branches, or unresolvable Quote short URLs. It cannot access private content, operate publishing UIs, or customize video pacing beyond the fixed-reading-v1 plan.