Logo: Yichen X Slicer

Yichen X Slicer

CommunautéitBeléift
mcncarl
yichen-x-slicer

Wandelt ëffentlech X-Posts, Quote-Posts oder Threads vum selwechten Auteur a Bildsegmenter am Format 1080×1440 an MP4 ëm. Ënnerstëtzt och eng explizitt source-only Material-Iwwergab. Behält dat ausgewielt originellt Video an den dozougehéierenden Audio bäi; verëffentlecht näischt.

Add to TypingMind

Iwwersiicht

Editeurmcncarl
Repositoryyichen-skills
Skill-Nummyichen-x-slicer
Stären
3.3K
Forks
1.4K
Matgeliwwert Dateien
9
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 9 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    mcncarl huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Yichen X Slicer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/mcncarl/yichen-skills/tree/main/yichen-x-slicer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mcncarl/yichen-skills.git /tmp/yichen-skills
mkdir -p .claude/skills
cp -r /tmp/yichen-skills/yichen-x-slicer .claude/skills/yichen-x-slicer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Yichen X Slicer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Yichen X Slicer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Yichen X Slicer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Yichen X Slicer(逸尘 X 切片)

Turn one public X status URL into a complete 3:4 image sequence. Use sunset(落日琥珀版)unless the user explicitly chooses another template.

Run

  1. Resolve the directory containing this SKILL.md as SKILL_DIR.
  2. Choose a new output directory under the current task's user-facing outputs/ directory. Never overwrite or delete an earlier run.
  3. Run. This default command generates the image sequence, image ZIP, and MP4:
bash
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
  --url "<x-status-url>" \
  --output "<absolute-output-directory>"

Use the bundled Codex Node.js executable when available. The script locates bundled Playwright automatically; if discovery fails, set YICHEN_X_SLICER_PLAYWRIGHT_MODULE to <workspace-node-packages>/playwright/index.mjs after loading workspace dependencies.

The default template is sunset. To override it:

bash
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
  --url "<x-status-url>" \
  --template editorial \
  --output "<absolute-output-directory>"

Use --template all only when the user asks to compare every style. Use --list-templates to print the registry. Read templates.md only when choosing or explaining a non-default template.

Generate images without a video only when the user explicitly asks for images only:

bash
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
  --url "<x-status-url>" \
  --images-only \
  --output "<absolute-output-directory>"

The normal workflow appends one verified MP4 per selected template after PNG and ZIP verification. With --template all, generate 11 separate videos; never mix templates into one timeline. --images-only is an explicit opt-out. Read video.md for the fixed timing, source-audio, and verification contract.

When another workflow needs a faithful local Markdown source rather than visual slices, use the isolated source bridge:

bash
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
  --url "<x-status-url>" \
  --source-only \
  --output "<absolute-output-directory>"

--source-only reuses the same verified routing and downloader but does not render. Read source-only.md before invoking or consuming this mode; it defines the five-output contract, Thread markers, media ordering, and mandatory native-MP4 binding.

Content contract

  • Keep the author header's right-side label visually blank on every frame.
  • For a normal Post, include only that Post's own text and media.
  • For a Quote Post, include only the focal Post's own text and media; ignore the Quote completely.
  • For a Thread, include the verified same-author direct-reply chain and each selected node's own media.
  • For a Thread containing Quotes, ignore every Quote. Skip a node that becomes empty after its Quote-only URL is removed and has no own media.
  • Exclude other-author replies, side branches, comments, Quote media, and Quote metrics.
  • When a selected Post or Thread node has a native video, keep its poster in the PNG/ZIP deliverables but play the complete native video visual inside the same media stage in the final MP4. Never silently substitute the poster for the moving video.
  • When that selected native video has a valid source audio stream, retain its own audio over the matching source-video interval on that page and keep it aligned with the source picture. If it has no source audio stream, keep that interval silent. Never include audio from Quote media.

Read content-routing.md when diagnosing routing, branches, missing Thread nodes, or quote_only exclusions.

Visual contract

  • Fix every final image at 1080×1440(3:4).
  • Keep the complete source slice centered; split long text across consecutive frames instead of shrinking it below the readable limit or cropping it.
  • Fit each source image with contain; verify the rendered image bounds remain fully inside the media stage.
  • Add no visible English outside original text, account handles, and original URLs.
  • Outside the source card, keep only one short source-derived hook and up to three verified snapshot metrics: reads, likes, and bookmarks. Omit a metric when the source does not provide it; never turn missing data into zero.
  • Use the small source avatar only in the author header; do not reuse it decoratively.

Verify and deliver

For --source-only, use the separate verification and delivery checklist in source-only.md, not the visual-render checklist below.

For the normal rendering mode, require all of the following before reporting completion:

  1. qa-report.json has zero failures.
  2. manifest.json records the requested template and sunset when no template was passed.
  3. All PNGs are 1080×1440 and the normalized selected text is completely covered in order.
  4. source-label is empty and visually zero-sized on every frame.
  5. No Quote text, Quote media, or excluded Thread node appears in the outputs.
  6. The ZIP contains only numbered final PNGs, and its entries match current PNG hashes.
  7. Inspect contact-sheet.png visually, then inspect the densest text frame and every media frame at full size.

Unless --images-only was explicitly requested, also require:

  1. Every MP4 has one 1080×1440 H.264 video stream at 30fps. It has one audio stream if and only if at least one selected non-Quote native video has a valid source audio stream; otherwise it has zero audio streams.
  2. The frame count and duration exactly match the fixed-reading-v1 plan in video.md, including the complete probed visual duration of every native video page.
  3. Text and photo reading holds are completely static; added motion appears only inside each four-frame page transition. Native video pages may contain only their source motion, with no added shake, pan, zoom, crop, or loop.
  4. The complete MP4 decodes without errors, and manifest/QA hashes match the delivered file.
  5. For every native video page, QA proves that the downloaded MP4 fully decodes, records whether its source has audio, and confirms that transition-free near-start, middle, and near-end source frames match their corresponding embedded frames in the final timeline. For a source-audio page, QA proves the complete transition-free source interval plus every four-frame transition against an independently rebuilt source-audio timeline, and verifies the full sample-accurate complement outside permitted source-audio ranges. For a source-silent page, QA proves that the matching interval is silent. No final audio may appear outside source-audio video-page intervals, and the manifest must bind the artifact to current script/test hashes and FFmpeg/ffprobe versions.

Return links to index.html, contact-sheet.png, the final ZIP, and every verified MP4. State the selected template, frame count, routed input type, and any quote_only exclusions. Omit the MP4 only for an explicit --images-only request.

Boundaries

  • Read only public X data anonymously through FxTwitter; do not use X login state or cookies.
  • Accept runtime media only from HTTPS pbs.twimg.com or video.twimg.com, including every redirect hop. Native MP4 downloads must remain on exact host video.twimg.com. Reject local paths, file:/data: URLs, oversized responses, wrong MIME types, non-image signatures, and non-MP4 video signatures.
  • Fail closed when a Thread node has an invalid numeric status ID, the focal author identity is missing, or a Quote t.co URL cannot be resolved from top-level URL entities.
  • In --source-only, fail with x_article_route_required when any top-level node in the verified same-author chain signals an X Article, including a pure Article card excluded from ordinary text/media selection; this bridge must not turn an Article teaser into the source body.
  • Do not operate WeChat, Jianying, or any publishing UI.
  • Do not generate or add TTS, voice-over, BGM, or music. The only permitted audio is the original audio carried by a selected non-Quote native video, placed on that video's matching page timeline; do not synthesize an empty audio stream when none of the selected videos has audio.
  • Generate the fixed-timing video by default. Suppress it only through an explicit --images-only request; do not add other video pacing modes or free-form FFmpeg filters.
  • Do not delete prior outputs. If a target exists, let the script create a -run-N sibling.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Yichen X Slicer?

Wandelt ëffentlech X-Posts, Quote-Posts oder Threads vum selwechten Auteur a Bildsegmenter am Format 1080×1440 an MP4 ëm. Ënnerstëtzt och eng explizitt source-only Material-Iwwergab. Behält dat ausgewielt originellt Video an den dozougehéierenden Audio bäi; verëffentlecht näischt.

Firwat Yichen X Slicer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Yichen X Slicer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Yichen X Slicer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mcncarl/yichen-skills/tree/main/yichen-x-slicer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Yichen X Slicer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Yichen X Slicer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Yichen X Slicer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Yichen X Slicer gratis?

mcncarl huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇