Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

slide-panel

БесплатноЗапускает вложенные скриптыНе проверен

Make one "slide panel" — a web block laid out like a single PPT slide (header with avatar, author/org, repo link, ★ star badge and a one-line quote; left main…

tsaolот tsaol★ 69 звёзд на GitHub

Об этом скилле

slide-panel

One panel = one idea, the way one good slide is. Reference: liucao.me/rsi/talk/#c2 (autoresearch panel, then the DGM panel). Examples in example/ (autoresearch.json, dgm.json).

┌ avatar  Name · github.com/owner/repo · [★ 100.3k stars]
│         “one-line quote or paper title · arXiv id · org · date”
├──────────────────────────────┬───────────────────────────┐
│ main figure (the loop/arch)  │ small figure (result)     │
│ caption                      │ caption                   │
│ [lineage boxes, optional]    │ label │ key point         │
│ note under boxes             │ label │ key point         │
│                              │ label │ key point         │
├──────────────────────────────┴───────────────────────────┤
│ source line: figure origin + license + date of the star count │
└──────────────────────────────────────────────────────────┘

Files

  • panel.py — renders a spec. python3 panel.py spec.json --out x.html (standalone preview), --embed (style + div to paste), --embed --no-style (div only), --css (print CSS once), --theme light|dark. Python stdlib only. You can also import panel and call panel.css('dark') + panel.panel(spec) from a page build script (rsi/talk does this).
  • meta.py — verified header facts from the GitHub API: python3 meta.py repo owner/name --avatar img/owner.jpg → stars (+ "100.3k"), license, created date, owner name, today's date; saves the 160px avatar.
  • shot.js — node shot.js <file-or-url> [outdir]: desktop 1440 + phone 390 screenshots of the first .sp, fails on broken images, horizontal overflow or console errors.
  • example/ — two real specs (autoresearch, DGM). The images are not in this repo (third-party figures and an avatar): put your own files under example/img/ with the names the specs use before you render them.

Steps

  1. Collect facts, never from memory.
    • Stars, license, created date: run meta.py. Write the badge as ★ 100.3k stars and put "星标数为 YYYY-MM-DD 的数字" in the source line (stars change).
    • Paper title, authors, arXiv id, date: check the arXiv API (https://export.arxiv.org/api/query?id_list=<id>). The quote line can be the paper title + arXiv:<id> + org + date when the person has no famous quote.
    • Avatar: use only if you are sure the account is that person (big follower count, linked from the repo/paper). A grey default avatar or an unverified face → leave avatar out.
  2. Pick the two figures.
    • Left = how it works (loop / architecture). Right = what it achieved (result chart).
    • Take figures from the original source and note the license (arXiv page shows it, e.g. CC BY 4.0; repo README/LICENSE). If the user points at their own deck, use the deck's image (unzip the pptx, ppt/slides/_rels/slideN.xml.rels → ppt/media/imageK.png) and say where it comes from.
    • Keep images ≥ 900px wide for the left figure; PNG for line art.
  3. Write the spec (see the docstring in panel.py). Rules:
    • Main figure is a dense screenshot or table (e.g. an agent's run log) → "layout": "stack" (figure full width, points below in two columns) and "zoom": true on the figure.
    • Screenshots: crop out local paths, hostnames, account IDs before using them.
    • 2–4 points, label ≤ 6 Chinese characters / 2 words, point ≤ 1 line on desktop.
    • Points = the slide's takeaways (result, ablation, key design), not a summary of the paper.
    • Lineage boxes (left.chips) only when there is a family of methods (2–5 boxes).
    • No "为什么值得看 / why it matters" line unless the user asks (the user removed it once).
    • Explain concepts the audience needs before the panel, in the page text (e.g. Darwin's variation / selection / inheritance / diversity before the DGM panel), not inside it.
  4. Render and look. python3 panel.py spec.json --out /tmp/p.html && node shot.js /tmp/p.html /tmp then open both PNGs. Fix clipped text, empty right column, tiny figures.
  5. Embed or publish. Paste --embed output or import panel.py in the page build. Before anything goes public: scan for names the user does not want shown, customer info, hosts, account IDs; check every image loads on the live URL (lazy images: scroll first).

Style notes

  • Dark theme matches the liucao.me "control room" pages (amber accent #ffb020 on #111821); light theme uses #c45500 accent. Columns 1.15fr / 1fr, stack under 900px.
  • Text inside the spec may use <b>, <mark>, <a>; keep numbers exact and sourced.

Specs are trusted input. All text fields except link_text go into the HTML as they are (so <b> and <br> work); never render a spec from someone you don't trust.

Полный SKILL.md на GitHub

Установить slide-panel в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

example/autoresearch.jsonexample/dgm.jsonmeta.pypanel.pyshot.js

FAQ

Что делает скилл slide-panel?

Make one "slide panel" — a web block laid out like a single PPT slide (header with avatar, author/org, repo link, ★ star badge and a one-line quote; left main figure with optional lineage boxes; right small figure plus 2–4 key points; one source line). Use when the user wants a paper, repo, method or person introduced on a web page "like a PPT page" (e.g. the autoresearch / Darwin Gödel Machine blocks on liucao.me/rsi/talk/), or asks for the slide-panel style. Outputs a standalone HTML preview or an embeddable snippet; dark and light themes.

Как установить скилл slide-panel?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл slide-panel запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить slide-panel с