Community생산성 & 협업github.com

html-dashboard

패턴 라이브러리를 사용하여 시각적으로 뛰어난 HTML(라이브 브라우저-클로드 연결이 있는 대화형 대시보드 또는 정적 보고서/다이어그램)을 생성하고, 항상 내구성 있는 로컬 사본을 유지하며 로컬 HTML 파일과 claude.ai 아티팩트 중에서 결정합니다.

html-dashboard란 무엇인가요?

html-dashboard 스킬은 패턴 라이브러리를 기반으로 시각적으로 매력적인 HTML 페이지를 생성하는 AI 어시스턴트 스킬입니다. 정적 모드와 대화형 모드, 두 가지 모드를 제공합니다. 정적 모드는 보고서, 다이어그램, 비교 분석, 일회성 데이터 뷰 등에 적합하며, 로컬 파일로 저장되어 언제든지 다시 열어볼 수 있습니다. 대화형 모드는 로컬호스트 서버를 통해 브라우저와 클로드 간의 양방향 실시간 연결을 제공하여 장기 실행 워크플로우 추적, 진행 상황 모니터링 등에 유용합니다. 이 스킬은 사용자의 의도에 따라 로컬 HTML 파일과 클로드.ai 아티팩트 중 적절한 출력 형식을 결정하며, 모든 아티팩트는 반드시 로컬 디렉토리(`docs/dashboards/` 또는 `~/dashboards/`)에 내구성 있는 사본을 저장하여 아티팩트 URL이 만료되더라도 데이터가 손실되지 않도록 합니다. 또한 현재 세션의 대시보드 요청(`/dashboard of this session`, `/dash`)을 처리하여 대화 내용을 기반으로 한 실시간 진행 상황, 의사 결정, 미해결 항목을 시각화합니다. 패턴은 Mermaid 다이어그램(순서도, 시퀀스, 아키텍처, 상태), 상태 카드, 진행률, 데이터 테이블, 지표, 차트, 비교/의사결정 매트릭스, 단계별 내러티브 등 다양한 유형을 포함하며, 필요에 따라 패턴을 추가하거나 수정할 수 있습니다. 안전을 위해 서버는 POST 요청에서 JWT 및 API 키를 자동으로 숨기며, 로컬호스트에만 바인딩됩니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hagaybar/claude-toolkit/tree/HEAD/skills/html-dashboard

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서


name: html-dashboard description: Generate visually compelling HTML — interactive dashboards with a live browser↔Claude link, or static reports/diagrams — from a pattern library, and decide between a local HTML file and a claude.ai Artifact, always keeping a durable local copy. Use when the user wants to track a multi-step or long-running workflow, monitor live progress, understand a flow or architecture ("how does X work?"), compare options or review a decision, or present complex/tabular data clearly; and before publishing any Artifact page (report, explainer, diagram, chart). Also use when the user asks for a dashboard of THIS session ("/dashboard of this session", "/dash", "lay out where we are"). Triggers: dashboard, diagram, flowchart, visualize, "show me", "lay this out", track progress, compare options, artifact, HTML page.

HTML Dashboard

Turn an idea into a styled HTML artifact from a library of patterns. Two modes:

  • Static — pick a pattern, fill it, write the file into the current repo, open it. No server. For reports, diagrams, comparisons, one-shot data views.
  • Interactive — same, plus a localhost server giving a live two-way browser↔Claude link (the operator pings; you reply inline).

Local file or Artifact?

Decide first. The user wants pages they can come back to; claude.ai Artifact links have gone dead before, because their source sat in a session scratchpad that was later wiped.

NeedOutput
Live tracking, two-way pings, long-running workLocal, interactive mode (below)
A page the user will reopen, or that belongs with a repoLocal, static mode (below)
A polished one-off visual: explainer, rich chart, design-heavy page, something to shareArtifact, following the artifact-design skill
UnsureLocal static; offer the Artifact in one line

Every Artifact keeps a durable local source. Write its HTML to the durable folder (in a repo: docs/dashboards/; elsewhere: ~/dashboards/), never to the scratchpad, and publish from that path. Then add one line to ARTIFACTS.md in the same folder: - YYYY-MM-DD · <file>.html · <artifact URL> · <one-line purpose>. On a republish, edit that same file. If the URL stops working, the page is still on disk and can be opened or republished.

When to suggest it

Offer a dashboard/diagram (don't wait to be asked) when the user wants to: track a multi-step or long workflow, monitor live progress, understand a flow or architecture, compare options, or present complex/tabular data. Suggest, then let the user accept. Never start a server unprompted.

Dashboard of this session

When the user asks for a dashboard of the current conversation (its work, decisions, progress, open items), the conversation itself is the source. (This replaces the retired session-dash plugin's /dash, 2026-11-24.)

  1. Plan first, silently: pick the pattern from patterns/INDEX.md that fits, a title, and a kebab-case file name.
  2. Interview only when needed: ask at most 2 short multiple-choice questions (2–4 options each, with AskUserQuestion), and only where the dashboard's purpose, audience or scope is genuinely unclear from the conversation. Zero questions is the best answer when it is clear.
  3. Build it static: fill every slot with real content from the conversation; remove the comms <script> and the /assets/* links, inline the styles it needs (Mermaid may load from cdn.jsdelivr.net).
  4. Scrub before saving: no secret values, API keys, tokens, passwords, personal emails or patron data; replace any token-shaped string (Alma l7xx… keys, JWTs eyJ….eyJ….…, GitHub ghp_…/github_pat_…, sk-ant-…, AWS AKIA…/ASIA…, private-key blocks) with [redacted].
  5. Save durably (see "Local file or Artifact?") and tell the user the path.

Choosing a pattern

Read patterns/INDEX.md and match intent → pattern. The catalog covers diagrams (flowchart/sequence/architecture/state, via Mermaid), dashboards (status-cards/progress), data (table/metrics/chart), comparison (side-by-side/decision-matrix), and narrative (stepper).

Workflow — static

  1. Copy the chosen pattern to the repo as <topic>.html (default location: docs/dashboards/, or the dir that fits — see references/building-html.md).
  2. Fill every <!-- SLOT: ... -->. Remove the comms <script> if present.
  3. Open it (python3 -m http.server in that dir, or a file:// path).
  4. Offer to commit it (it's a per-repo, committable artifact).

Workflow — interactive

  1. Copy the chosen interactive pattern to the repo as <topic>-dash.html (the -dash.html suffix is what the server auto-discovers).
  2. Fill slots; keep the /assets/comms.js + /assets/base.css links.
  3. Start the server (it auto-picks a free port if 8765 is taken):
    DASH_DIR=docs/dashboards DASH_PORT=8765 python3 ~/.claude/skills/html-dashboard/engine/server.py
    
    Tell the user the URL printed on stderr.
  4. Run the watcher to receive the operator's pings:
    DASH_SERVER=http://localhost:<port> bash ~/.claude/skills/html-dashboard/engine/watch.sh
    
  5. On a ping, act, then reply inline:
    DASH_SERVER=http://localhost:<port> bash ~/.claude/skills/html-dashboard/engine/reply.sh <elementId|-> <info|success|warn|error|question> "text"
    
    Relaunch the watcher for the next ping.

Safety

  • The server redacts JWTs and Alma API keys from every POST before persisting.
  • Never write real operator-supplied identifiers into committed HTML (R9-style discipline). The redactor is a safety net, not a license.
  • Localhost-bind only.

Adding a pattern

Drop a new <name>.html in patterns/ (follow an existing exemplar) and add a row to patterns/INDEX.md. No code changes needed.

관련 스킬