youfang — Claude Code plugin: what it does, how to install
youfang is a Claude Code plugin that converts architecture diagrams into Keynote-style Magic Move slide decks. Builds a single offline HTML file where shared elements morph between views.
MIT ★ 741 updated 2026-11-11
/plugin marketplace add MiniMax-AI/mcode-stack
/plugin install youfang@mcode-stackWhat youfang does
The stack includes the magic-move-deck skill, structuring workflows into titles, overviews, localized zoom-ins, and closing summaries. Shared containers and text labels match by name across slides to fly and resize. The tool renders a single test slide across four aesthetics (hand-drawn, minimal, dark neon, and neo-brutalist) so you select a visual identity before it builds the full 1920×1080 deck.
Setup requires Python 3 alongside Playwright's Chromium build. Network access is needed during diagram generation to pull rough.js from jsDelivr, though the compiled presentation is entirely self-contained. Exporting optional 1080p or 4K video runs strictly through a local ffmpeg binary.
What it helps with
- Convert system architecture flowcharts into interactive HTML slide decks
- Animate shared diagram blocks between steps using Magic Move transitions
- Preview technical presentations across four preset visual styles
- Render animated slide sequences into 1080p or 4K video clips
Example prompts for the agent
- Turn our backend architecture diagram into a magic-move-deck presentation
- Generate style previews for this data pipeline slide deck
- Compile the service walkthrough into an offline HTML presentation and export a video
How to install youfang
Plugin marketplace
/plugin marketplace add MiniMax-AI/mcode-stack/plugin install youfang@mcode-stackStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about youfang
How to install youfang in Claude Code?
Run both commands inside your Claude Code session: /plugin marketplace add MiniMax-AI/mcode-stack followed by /plugin install youfang@mcode-stack.
What does youfang do?
It turns architecture flowcharts into a single 1920×1080 HTML file where diagram labels and containers smoothly morph across slides instead of fading.
What is required to run youfang?
You need Python 3, Playwright with Chromium installed, network access during rendering, and ffmpeg if you plan to export video files.
Source text
youfang · MIT
# youfang The stack of Youfang, an engineer on MiniMax Code: one skill that turns an architecture or flow walkthrough into a Keynote-style **Magic Move** slide deck. Every slide is a diagram seen through a camera, and the boxes, labels and titles two slides share morph and fly instead of cross-fading. The agent first renders one sample slide in each of four styles; you pick one and it builds the whole deck in that style. | A · Hand-drawn | B · Minimal | | --- | --- | |  |  | | **C · Dark neon** | **D · Neo-brutalist** | |  |  | ## Install In Claude Code, one command installs this stack. In a shell: ```bash claude plugin install youfang --marketplace MiniMax-AI/mcode-stack ``` Inside a session: ```bash /plugin install youfang --marketplace MiniMax-AI/mcode-stack ``` Older Claude Code can add the marketplace first, then install: ```bash /plugin marketplace add MiniMax-AI/mcode-stack /plugin install youfang@mcode-stack ``` In Codex, add the marketplace, then install from the Plugins Directory or the CLI: ```bash codex plugin marketplace add MiniMax-AI/mcode-stack codex plugin add youfang@mcode-stack ``` In MiniMax Code, copy this whole directory into the local plugin directory shown by `mcode plugin marketplace list`, or copy the skill into `~/.agents/skills/`. See the [repository README](../../README.md#quick-start). | Skill | What it does | | --- | --- | | [`magic-move-deck`](skills/magic-move-deck/SKILL.md) | Plan the storyline (cover → overview → per topic: zoom into its region, detail diagram, three spotlights → overview → closing card), draw one detail diagram, render it in four styles for you to choose, then draw the remaining diagrams in that style and build one offline 1920×1080 HTML deck. Shared elements are matched by name across slides. Screenshots every slide and transition to check the result; optional 4K / 1080p video with background music. | A complete example deck (a RAG knowledge assistant, 19 slides) with its sources, configuration and previews is in [`skills/magic-move-deck/examples/rag-assistant/`](skills/magic-move-deck/examples/rag-assistant/). ## Requirements - Python 3 and Playwright's Chromium: `pip install playwright && playwright install chromium`. - `ffmpeg`, only for video export. - Network access while diagrams are rendered (rough.js from jsDelivr). The built deck is a single file that works offline. - Fonts: Times New Roman and a Songti font for the hand-drawn style (shipped with macOS and Windows); the other styles use the system UI font with PingFang SC, Microsoft YaHei or Noto Sans SC for Chinese. How this fits into a working day: [`WORKFLOW.md`](WORKFLOW.md). Third-party credits: [`NOTICE.md`](NOTICE.md).
© Youfang (MiniMax Code team) · MIT · MiniMax-AI/mcode-stack