Generates animated architecture diagrams, agent trees, or monitoring panels from JSON config, outputting MP4 or interactive HTML with playback controls.
Ships in ni-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a description of a system into an always-running architecture diagram: one fixed page that looks like a monitoring panel of a running system. Every frame is a complete, readable diagram; what moves is system state, not decoration. Two built-in themes: terminal-dark (the original look) and light-pastel (white background, rounded pastel boxes - for infographics, e.g. Xiaohongshu). Canvas presets: 4:5 (X, 1200x1500), 3:4 (Xiaohongshu, 1080x1440), 1:1 (1080x1080). Intended as the base for posts on X and Xiaohongshu.
Credit. The look and the motion idea come from an architecture-diagram clip by @thedelost (a Codex agent-tree panel, generated with GPT and screen-recorded as a web page): https://x.com/thedelost/status/2105398038026195279 . It reached many people through a quote-post by @slashui: https://x.com/slashui/status/2105850132365443528 . This skill is an independent re-implementation of the method (the motion grammar was learned by analysing that clip).
examples/codex-agents/is a recreation of the original picture and stays the original author's design. Keep this credit when you publish output made with the skill's Codex example.
A single JSON config (schema: references/config-schema.md). It holds everything: canvas size, colours, boxes with lines of text, wires, packet paths, side-rail triggers, log wording, numbers. The template never needs editing. Start from the closest example: examples/codex-agents/config.json (terminal-dark, 4:5, recreation of @thedelost's picture), examples/airbnb/config.json (terminal-dark, Chinese content, figures from an interview) or examples/agent-architecture/config.json (light-pastel, 3:4, a static Xiaohongshu infographic made to move, original by 小红书 @林纾). Theme: theme.preset; canvas: canvas.preset. Positions are absolute canvas pixels, so another aspect ratio needs its own config.
If the content has one clear shape, use a {"type":"view"} element instead of placing boxes by hand (contract: references/views.md; gate: scripts/verify_view.py must PASS all 7 combos):
ring; stage-by-stage drop-off → funnel (both ready, see examples/ring/, examples/funnel/).loop (ready, see examples/loop-poteto/).nebula; work over time/parallel tracks → timeline; hierarchy → tree; a few watched numbers → kpi (planned, not in this version yet).excalidraw (ready, see examples/excalidraw-aqua/, examples/excalidraw-gardener/; run scripts/fetch_fonts.sh once for the CJK hand font). The user already has a .excalidraw file → python3 scripts/excalidraw_import.py file.excalidraw -o config.json first (keeps arrow bindings, writes nodes/edges/steps), then add notes and render.lane (running/done), gauge (bar that flips past a threshold), rail, counters, log, note, credit; python3 scripts/scaffold.py --example prints one - and run python3 scripts/scaffold.py --spec spec.json --out out/config.json. It does the pixel layout, wires, packets, rail arrows, log columns and text wrapping, and its output usually passes check_frames.py on the first run; then edit the output (or the spec) in small steps. For a layout it cannot express (a centre box with satellites, curved arrows, a recreated picture with its own geometry), copy the closest example to your output path with a shell command (cp examples/<closest>/config.json out/config.json), or write a short Python script that builds the dict and dumps the JSON; then change it in small edits. Never type a whole config into a single message or tool call: a 20-40 KB JSON in one write is the most common way an agent run dies before anything is saved. Have a runnable draft on disk by your fifth tool call at the latest, then work in a loop: change one to three boxes, run check_frames.py, read its PROBLEM lines, fix, repeat. Do not plan coordinates or count text widths in your reasoning: if you catch yourself doing pixel arithmetic for more than a few lines, stop and write the edit instead - long in-head layout planning is the other way runs die before saving anything. Place boxes on a pixel grid (x, y, w, h in canvas px); text lines flow inside boxes at one fixed line height. Put the credit/source line in the top-level credit key ("credit": {"text": "...", "y": ...}); a plain text element at the bottom is not read as the credit. Skim references/motion-grammar.md before choosing machines and periods; references/config-schema.md lists every key, so you rarely need to read assets/template.html.python scripts/render.py --config my.json --out my.mp4 needs Chrome/Chromium and ffmpeg (use --chrome / --ffmpeg to specify paths). On Windows first run python -m pip install -r requirements.txt in this skill directory; Chrome or Edge is detected in common locations. --html-out page.html also keeps the self-contained page.python3 scripts/check_frames.py --config my.json --out-dir frames --repeat samples ~120 time points, measures text overflow and overlaps from the DOM, exports PNGs and proves replay determinism. Open the PNGs and look: the checker catches geometry, not taste. Fix the config and repeat until it exits 0. For text overflows its box, take the cheapest fix - shorten the text, drop a size step, or widen that one box - rather than redesigning the layout; a config that passes beats a better one that is still being planned when time runs out.The page starts in automatic playback. 单步模式 loops the current animation segment until 下一步 or 上一步 is clicked; 自动播放 resumes the original loop. 速度 adjusts either playback mode from 0.25× to 2× without affecting MP4 rendering. 编辑文字 enables clicking text to edit it; edits are saved in the current browser and 下载 HTML creates a standalone copy containing them. The original JSON and MP4 are not rewritten. If browser storage is unavailable, download the HTML to keep changes. Recheck the layout after making text longer.
Step boundaries are inferred from a ring, funnel, loop with walks, excalidraw view, or the first cycle, triggers, or lane machine. For another layout, define actual animation phases in playback.steps as [{"label":"...","start":0,"end":2}, ...] (seconds); an animation without recognizable phases has one step. When asked for a step-by-step page, ensure its config has meaningful phases and a loop includes its walk order. Validate the interactive page by clicking through its steps and editing, refreshing, downloading, and reopening text, as well as the regular frame checks.
(Full text and rationale: references/motion-grammar.md.)
The page exposes window.seek(t). Every visual is a pure function of t (and a fixed integer seed for the few "random" picks): no wall clock, no Math.random, no CSS animation. The renderer calls seek(i/fps) and screenshots; check_frames.py --repeat seeks away and back and compares bytes. Opened in a normal browser (no ?manual), the same function is driven by requestAnimationFrame and loops.
assets/template.html and assets/interaction.js - the generic page and its controls. scripts/scaffold.py - short spec -> complete config (layout done for you). scripts/render.py - mp4. scripts/check_frames.py - checks + PNGs. scripts/livepanel.py - shared helpers (DevTools pipe on POSIX, WebSocket on Windows).references/motion-grammar.md, references/config-schema.md.examples/codex-agents/, examples/airbnb/, examples/agent-architecture/ - config, mp4 and an animated preview.webp. examples/ring/, examples/funnel/, examples/funnel-karpathy/ (log scale, mono palette), examples/loop-poteto/ (grouped loop with decisions) - view examples.assets/views/<kind>.js - one file per view; references/views.md, references/view-rules.md, references/verify-view.md; scripts/verify_view.py.For infographics keep the original colours and structure; motion is gentler: small packets drift along every arrow, state-bound arrows turn the accent colour and carry two packets, active boxes get a glow, lists (steps, tools) light one row at a time from one shared cycle machine so that everything on screen refers to the same step. Use container:true on boxes that hold other boxes so the checker does not call nested boxes overlapping, and inside:true on icon text placed on a box.
Always put the original author and link of any picture you re-animate or recreate in the video footer (credit) and in the post: the author's handle and the full URL exactly as the user gave it (e.g. 原图:小红书 @作者《标题》 https://... · 动态复刻,非原作者作品). A handle without the link, or a link without the handle, is not enough. When the user gives a source for a real figure (a report, an interview), name that source in credit too. State when a figure is simulated.
CITATION.cff (opens in a new tab)LICENSE (opens in a new tab)NOTICE (opens in a new tab)README.md (opens in a new tab)assets/fonts/Excalifont-OFL.txt (opens in a new tab)assets/fonts/Excalifont-Regular-Latin.woff2 (opens in a new tab)assets/fonts/SmileySans-OFL.txt (opens in a new tab)assets/fonts/Xiaolai-OFL.txt (opens in a new tab)assets/interaction.js (opens in a new tab)assets/template.html (opens in a new tab)assets/views/LUCIDE-LICENSE.txt (opens in a new tab)assets/views/ROUGH-LICENSE.txt (opens in a new tab)assets/views/excalidraw.js (opens in a new tab)assets/views/funnel.js (opens in a new tab)assets/views/loop.js (opens in a new tab)assets/views/ring.js (opens in a new tab)assets/views/sketchboard.js (opens in a new tab)examples/agent-architecture/config.json (opens in a new tab)examples/airbnb/config.json (opens in a new tab)examples/codex-agents/config.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/be-ambitious深化任务或提示词,保持原有目标与范围。重写前先说明:这个领域的顶尖专业人士 会做哪些用户尚未要求的事,会从什么最原始的材料入手,会使用哪些具体方法和工具, 以及除用户和模型之外,什么能证明结果正确。再将提示词改写为明确要求这些做法, 把以交付物名词为中心的要求改成具体动作和预期效果。 适用于 /be-ambitious、"be ambitious"、"make this prompt deeper"、 "what would an expert do here"、"raise the bar on this task"、 "rewrite my prompt like a pro would ask it",以及“深化这个任务”“专家会怎么做” “提高任务标准”“把提示词改成专业人士会提的要求”。不用于扩大范围、增加功能, 或仅调整提示词的语气和长度。
/ni-3d-model将用户给出的主题、对象或参考资产转成经过人工审核的多视图图片和可交付 GLB 3D 模型。用于“按主题做 3D 模型”“先出多视图再生成 GLB”“用混元 3D / Tripo 做模型”“把参考图变成带纹理的 GLB”“生成可放进项目的 3D 资产”等请求。流程强制包含两个人工门禁:出图前确认需求,出图后确认视觉与结构;未经当前门禁的明确确认,不得生成图片、上传 3D 服务、消耗额度或交付模型。支持参考模型风格对齐、多视图一致性、免费额度生成、GLB 下载、压缩、结构/材质/实际渲染验收。
/ni-article-image-gen为已经通过正文审稿的公众号文章生成一条封面图提示词,不直接生图。提示词必须围绕文章的核心判断和真实工程实体,不要添加正文没有的事实;只负责封面,不生成内文配图。
/ni-skill:ni-live-panelfrom ni-skill
npx claudepluginhub ttttstc/ni-skill --plugin ni-skillOther plugins' skills for the same job