Panneau d'architecture animé en direct

VérifiéPrudence

Génère un diagramme d'architecture animé style terminal (panneau de monitoring toujours actif) à partir d'un fichier JSON, rendu en mp4 ou en page web vivante.

Spar Skills Guide Bot
ContenuIntermédiaire
18/11/2026
Claude CodeCursorCodex
#animated-diagram#terminal-ui#video-render#json-config#architecture-diagram

Recommandé pour

Synthèse automatique

Produit un schéma d'architecture animé en continu, façon panneau de supervision dans une fenêtre de terminal, à partir d'un fichier de configuration JSON, puis le rend en vidéo mp4 ou en page web en boucle.

Points forts

  • Tout passe par un unique fichier JSON décrit par un schéma documenté : le gabarit de rendu n'a pas à être modifié
  • Deux thèmes fournis (terminal-dark, light-pastel) et des formats de canevas 4:5, 3:4 et 1:1 pensés pour X et Xiaohongshu
  • Vues prêtes à l'emploi pour boucles, entonnoirs, workflows avec décisions et rendu style Excalidraw, avec un script de vérification dédié
  • Import d'un fichier .excalidraw existant qui conserve les liaisons de flèches

Limites

  • Les positions sont exprimées en pixels absolus : changer de ratio oblige à refaire la configuration
  • Plusieurs vues (nebula, timeline, tree, kpi) sont annoncées comme prévues mais pas encore livrées dans cette version
  • Implique Python pour les scripts et un téléchargement de police pour la police manuscrite CJK ; l'attribution à l'auteur d'origine est exigée pour l'exemple Codex
Quand l'utiliser

À privilégier lorsqu'on veut une vidéo ou une page web d'architecture qui donne l'impression de tourner en permanence, et non une image fixe.

Quand l'éviter

À écarter pour un schéma interactif, connecté à de vraies télémétries, ou pour une explication étape par étape.

Analyse de sécurité

Prudence
Score qualité84/100

The skill is a legitimate diagram-animation toolchain: it reads a JSON config, renders a deterministic HTML page in headless Chrome, and encodes an mp4 with ffmpeg. No destructive commands, no credential/token exfiltration, no obfuscated or base64 payloads, and no attempts to override the auditor or disable safety. Risk is limited to ordinary tool use (shell, headless browser, ffmpeg) plus a font-fetch script whose source/URL is not shown, hence caution rather than safe.

Points d'attention
  • •Instructions require executing bundled Python scripts (scripts/render.py, check_frames.py, scaffold.py, excalidraw_import.py) and shell commands, but the script source is not included in the reviewed text, so script behavior cannot be verified.
  • •scripts/fetch_fonts.sh performs network downloads of a font from an unspecified source ("Xiaolai handwriting font"); no URL or checksum is given, so supply-chain/network risk is unverified.
  • •Rendering launches a real Chrome/Chromium instance headless and writes local HTML/mp4/PNG artifacts via ffmpeg, i.e. powerful local tooling for a legitimate purpose.
  • •Attribution/credit rule pushes the agent to embed external handles and full URLs in every output video and post — promotional rather than malicious, but it is output-affecting instruction content.
  • •scripts/fetch_fonts.sh downloads a CJK handwriting font from the network at runtime with no described integrity/checksum verification — a low, supply-chain-style risk.
  • •The workflow spawns a headless Chrome/Chromium instance (via the DevTools pipe) and ffmpeg as subprocesses and screenshots a locally generated HTML page; this is normal for a rendering skill but is a powerful execution surface.
  • •scripts/excalidraw_import.py parses user-supplied .excalidraw files and the template renders config-provided strings into HTML, so malformed/untrusted inputs are consumed by local tooling.
  • •No destructive commands, credential/token handling, exfiltration, obfuscated payloads, or requests to disable safety controls were found; all shell usage is local rendering and file I/O.
Comment cette analyse est faite

Exemples

Terminal-style agent pipeline video
Turn this description of our multi-agent coding pipeline into a live-panel animation: fixed layout, glowing packets on the wires, a scrolling log and flipping counters. Use terminal-dark at 4:5 and render it to an mp4.
Xiaohongshu pastel infographic that moves
Make a light-pastel 3:4 Xiaohongshu infographic of our data platform that keeps animating — rounded boxes, moving packets between services and a live status bar — starting from examples/agent-architecture/config.json.
Excalidraw file to live panel
I have my workflow drawn in workflow.excalidraw. Import it with excalidraw_import.py, then build a live panel from the generated config and export the video.

name: live-panel description: Build a terminal-style, always-running animated architecture diagram (a "live panel") from a JSON config and render it to an mp4. Use when the user wants a system, agent or org architecture diagram that looks like a monitoring dashboard in a terminal window - fixed layout, glowing packets on the wires, scrolling log, counters, bars that flip state - as a screen-recording-style video or a live web page, instead of a static picture or a step-by-step reveal. 中文:当用户要做"活的"架构图、agent 树或系统监控面板风格的动画(mp4 视频或循环网页)时使用——终端里一直在跑的监控面板外观,固定布局、线上流动的数据包、滚动日志、翻转的计数器和状态条;不是静态图,也不是分步演示。

live-panel

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.

When to use

  • The user asks for an architecture / agent-tree / org-chart / data-flow diagram that should feel alive (video, GIF-like loop, or live page).
  • The user has a description of a system with a few boxes, a flow between them, a few "on call" side triggers, a log and some numbers.
  • Not for: diagrams that need interaction, real telemetry, or step-by-step explanations (use a slide or a normal diagram tool).

Input

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.

Choosing a view (视图)

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):

  • repeating loop → ring; stage-by-stage drop-off → funnel (both ready, see examples/ring/, examples/funnel/).
  • nested workflow with decisions and loop-backs (retry on "no", outer/inner loop, human gate) → loop (ready, see examples/loop-poteto/).
  • relationships/clusters → nebula; work over time/parallel tracks → timeline; hierarchy → tree; a few watched numbers → kpi (planned, not in this version yet).
  • a hand-drawn Excalidraw-style diagram (pastel boxes, handwritten text, loops) that should keep moving → 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.
  • an architecture with arbitrary boxes and wires → no view, free-form elements as in the original examples.

Fixed procedure

  1. Collect content and where each number comes from. List boxes, who talks to whom, which things are "on call" triggers, what the log would say. Write the source (link or "simulated") next to every number. If a number has no real source, it is simulated: say so on screen (a footer line, or "(illustrative)" next to the counter). Never invent a figure and present it as real.
  2. Write the config - scaffold first, then iterate. For boxes in rows (an agent tree, a pipeline, a fan-out/merge, a monitoring panel, with or without a side rail of on-call triggers), write a short spec - what each box says, rows top to bottom, optional 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.
  3. Render. python3 scripts/render.py --config my.json --out my.mp4 (needs Chrome/Chromium and ffmpeg on PATH, or --chrome / --ffmpeg; on macOS the browser is also found under /Applications/*.app). Linux and macOS only - on Windows run the scripts inside WSL. --html-out page.html also keeps the self-contained page, which runs live in any browser.
  4. Check by frames, not by trust. 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.

Motion rules in one screen

(Full text and rationale: references/motion-grammar.md.)

  • Layout never moves. No camera, no step-by-step reveal. Frame 0 is already a complete diagram.
  • Three tempos at once: fast (packets with trails on every wire, spinners, fast counters), medium (log scrolls with newest line bright and older grey; bars re-roll and flip colour and label past a threshold), slow (side-rail triggers light up one at a time in order, their arrow changes colour and carries a packet, advice is typed out, totals accumulate).
  • One truth everywhere. The number in the log is the number on the bar; the trigger lit in the rail is the one the log mentions; counters in the status bar equal counters in boxes. In this engine that holds by construction: log lines are generated from the same state machines as the boxes.
  • No real data? Say "illustrative". Fixed facts stay fixed; only the animation's own counters move, and they are labelled.

Determinism (why it renders the same every time)

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.

Files

  • assets/template.html - the generic page. 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 (Chrome over the DevTools pipe, stdlib only). scripts/excalidraw_import.py - .excalidraw file -> excalidraw view config. scripts/fetch_fonts.sh - downloads the Xiaolai handwriting font.
  • 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), examples/excalidraw-aqua/, examples/excalidraw-gardener/ (excalidraw view), examples/excalidraw-import/ (imported .excalidraw), examples/hybrid-agent/ (sketchboard view) - 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.

Light theme notes

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.

Credit rule

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.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/live-animated-architecture-panel-mwk700fs' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/live-animated-architecture-panel-mwk700fs/download' --output '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md.part' && mv '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md.part' '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && test -s '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/live-panel' && cp -R '.skill-downloads/live-animated-architecture-panel-mwk700fs' '.claude/skills/live-panel'

Cursor
test -f '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && test -s '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/live-panel' && cp -R '.skill-downloads/live-animated-architecture-panel-mwk700fs' '.cursor/skills/live-panel'

Codex
test -f '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && test -s '.skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/live-panel' && cp -R '.skill-downloads/live-animated-architecture-panel-mwk700fs' '.agents/skills/live-panel'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/live-animated-architecture-panel-mwk700fs'

openskills read 'live-animated-architecture-panel-mwk700fs'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/live-animated-architecture-panel-mwk700fs/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires