Skip to content

ythx-101/live-panel-skill

live-panel

Verified

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 视频或循环网页)时使用——终端里一直在跑的监控面板外观,固定布局、线上流动的数据包、滚动日志、翻转的计数器和状态条;不是静态图,也不是分步演示。

FileKindSize
SKILL.mdskill md11.2 KB
assets/fonts/Excalifont-OFL.txtmarkdown5.1 KB
assets/fonts/Excalifont-Regular-Latin.woff2binary24.4 KB
assets/fonts/SmileySans-OFL.txtmarkdown4.3 KB
assets/fonts/SmileySans-Oblique.woff2binary1.1 MB
assets/fonts/Xiaolai-OFL.txtmarkdown4.3 KB
assets/template.htmlother35.9 KB
assets/views/LUCIDE-LICENSE.txtmarkdown3.1 KB
assets/views/ROUGH-LICENSE.txtmarkdown1.0 KB
assets/views/excalidraw.jsscript50.0 KB
assets/views/funnel.jsscript15.5 KB
assets/views/loop.jsscript74.3 KB
assets/views/ring.jsscript15.2 KB
assets/views/sketchboard.jsscript18.7 KB
examples/agent-architecture/agent-architecture.mp4binary1.4 MB
examples/agent-architecture/config.jsonconfig37.1 KB
examples/agent-architecture/preview.webpbinary1.2 MB
examples/airbnb/airbnb.mp4binary1.9 MB
examples/airbnb/config.jsonconfig20.3 KB
examples/airbnb/preview.webpbinary1.4 MB
examples/codex-agents/codex-agents.mp4binary1.8 MB
examples/codex-agents/config.jsonconfig19.1 KB
examples/codex-agents/preview.webpbinary1.6 MB
examples/excalidraw-aqua/README.mdmarkdown760 B
examples/excalidraw-aqua/build_config.pyscript6.6 KB
examples/excalidraw-aqua/config-3x4.jsonconfig8.3 KB
examples/excalidraw-aqua/config-4x5.jsonconfig8.3 KB
examples/excalidraw-aqua/preview.webpbinary2.3 MB
examples/excalidraw-gardener/README.mdmarkdown671 B
examples/excalidraw-gardener/build_config.pyscript6.4 KB
examples/excalidraw-gardener/config-3x4.jsonconfig7.6 KB
examples/excalidraw-gardener/config-4x5.jsonconfig7.6 KB
examples/excalidraw-gardener/preview.webpbinary1.2 MB
examples/excalidraw-import/agent-loop.excalidrawother6.7 KB
examples/excalidraw-import/agent-loop.mp4binary1.6 MB
examples/excalidraw-import/config.jsonconfig3.9 KB
examples/funnel-karpathy/config.jsonconfig1.2 KB
examples/funnel/config.jsonconfig1.2 KB
examples/funnel/funnel.mp4binary1.1 MB
examples/funnel/preview.webpbinary475.3 KB
examples/hybrid-agent/README.mdmarkdown729 B
examples/hybrid-agent/config.jsonconfig6.2 KB
examples/loop-poteto/config.jsonconfig6.6 KB
examples/loop-poteto/loop-poteto.mp4binary2.1 MB
examples/loop-poteto/preview-dark.webpbinary638.3 KB
examples/loop-poteto/preview-light.webpbinary627.2 KB
examples/minimal/config.jsonconfig1.9 KB
examples/minimal/preview.webpbinary146.3 KB
examples/ring/config.jsonconfig940 B
examples/ring/preview.webpbinary150.9 KB
examples/ring/ring.mp4binary593.1 KB
references/config-schema.mdmarkdown4.9 KB
references/motion-grammar.mdmarkdown6.4 KB
references/verify-view.mdmarkdown3.3 KB
references/view-rules.mdmarkdown4.3 KB
references/views.mdmarkdown24.7 KB
scripts/check_frames.pyexecutablescript4.6 KB
scripts/excalidraw_import.pyscript14.7 KB
scripts/fetch_fonts.shexecutablescript528 B
scripts/livepanel.pyexecutablescript10.2 KB
scripts/render.pyexecutablescript3.8 KB
scripts/scaffold.pyexecutablescript25.0 KB
scripts/verify_view.pyscript28.5 KB

references/verify-view.md

View on GitHub
# verify_view.py — feature map (验收器功能地图)

`scripts/verify_view.py` is the acceptance gate for views (`{"type":"view"}` elements, see `references/views.md`).
A view is accepted only when this command exits 0. Taste is not checked here: that is the job of an adversarial
reviewer who looks at the screenshots it writes.

```bash
CHROME=$(command -v chromium || find / -name chrome-headless-shell -type f 2>/dev/null | head -1)
python3 scripts/verify_view.py --config examples/<kind>/config.json --chrome "$CHROME" --out /tmp/vv-<kind>   # all 6 combos
python3 scripts/verify_view.py --config ... --quick        # only 4:5 x light-pastel, for fast iteration
python3 scripts/verify_view.py --config ... --combos cur   # the config exactly as written
python3 scripts/verify_view.py --config ... --json         # JSON report on stdout (summary still on stderr)
```

Output: `<out>/<canvas>_<theme>/{config.json,shot_1.png,shot_2.png,shot_3.png}` and `<out>/report.json`.

| check | what it guarantees | typical failure message | fix |
| --- | --- | --- | --- |
| combos | the same config works at 4:5, 3:4, 1:1 and in terminal-dark and light-pastel (theme colour overrides are removed so the theme really switches) | any failure below, per combo | derive sizes from the rect (rule R8), use theme colour names only (R9) |
| schema | the view kind exists and has its required data (`nodes/edges`, `lanes/events`, non-increasing funnel `stages`, `root`, 3–8 ring `steps`, `cards`) | `stages[3].value=500 > stages[2].value=480` | fix the data, not the checker |
| check_frames | no text overflow / overlap / text over a foreign box / box overlap over ~60 sampled times, replay is byte-identical after seeking away, no page error | `text overlap: "生成补丁" x "Patched"` | `ctx.fit`, more spacing, hide minor labels by rule (R3, R14) |
| contrast | WCAG contrast of every marked text against its effective background: ≥ 4.5, or ≥ 3 for ≥ 20 px | `contrast 2.17 < 3 for text '390' (#5fbdb2 on #fcfcfb)` | text in `fg`/`dim`, colour carried by a swatch or bar instead (R4) |
| fill | the content of each view covers ≥ 70 % of its rect width and ≥ 60 % of its height, with balanced left/right margins | `fill: width 54% < 70%` | scale the layout to the rect (R7) |
| edges | sampled points of every `mark(...,'edge')` path stay out of every `mark(...,'box')` other than the two it connects | `edge #4 passes through box '工具'` | route around cards, end on borders (R5) |
| flicker | in an 8 s window sampled every 0.1 s, no marked node toggles visibility/colour twice within 0.4 s | `flicker: node 17 changes 0.2 s apart` | slower highlight, ≥ 0.8 s holds (R6) |
| views present | a config with view elements actually renders a `[data-view]` root | `unknown view kind "funnel"` | the `assets/views/<kind>.js` file must exist and parse (`node --check`) |

Known blind spots: beauty, hierarchy and motion quality (reviewer only); contrast over gradients or images is
approximate (the nearest opaque background is used); flicker looks at one 8 s window; packets and particles are
not marked and therefore not checked.

Proven on real output: the first draft of a funnel view was rejected for 7 label overlaps, 6 percentage pills
over a box and 5 value labels below 3:1 contrast — all real defects visible in its screenshot.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall