본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)22k · #10147

render-html-report

하는 일

차트, 대시보드 또는 스타일이 적용된 요약이 담긴 독립형 웹 페이지 하나를 만들어, Screenpipe 뷰어에서 표시할 수 있게 합니다. 글 대신 시각적 보고서를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓평문 요약 대신 차트나 대시보드를 원할 때.
  • ✓Screenpipe 뷰어에서 페이지로 열리는 스타일 보고서가 필요할 때.
  • ✓요청이 평문이나 원시 데이터인 경우. 이때는 일반 메모가 더 적합합니다.

스킬 링크

https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-core/assets/skills/render-html-report/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-core/assets/skills/render-html-report/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Screenpipe에서 제 한 주를 앱별 사용 시간을 보여 주는 간단한 차트가 있는 한 페이지짜리 시각 보고서로 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

뷰어에서는 외부 링크가 차단되므로, 에이전트는 스타일과 스크립트가 내장된 HTML 파일 하나를 씁니다. 파일에 표시를 붙여 뷰어가 렌더링된 페이지로 보여 주게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

render an html report

screenpipe's in-app viewer can render a standalone .html file as a live page (charts, dashboards, styled reports) — but only when you opt in and keep the file self-contained. Otherwise it shows as raw source.

the two rules

  1. Opt in. The first line of the file must be the marker:

    <!-- screenpipe:render=human -->
    

    (or <meta name="screenpipe:render" content="human"> inside <head>). Without it the file shows as source, not a rendered page.

  2. Self-contained — no network. It renders in a locked-down sandbox with zero network access. So:

    • inline all CSS in a <style> tag and all JS in a <script> tag;
    • embed any images as data: URIs;
    • no external <script src> / <link rel=stylesheet> / CDN, no fetch, no forms that POST.

    Anything that touches the network is silently blocked — a CDN-loaded chart library renders blank. Draw charts with inline SVG or plain HTML/CSS bars instead (see the template).

how the user sees it

Write the file (e.g. ./output/report.html), then link it with an absolute path from your note or notification — e.g. [open report](/Users/me/.../output/report.html). The user clicks it; the viewer offers "preview rendered"; it renders inside the sandbox. Only standalone .html / .htm files render — HTML pasted inside a markdown note does not.

The viewer matches the host light/dark theme; if you care about dark mode, style with @media (prefers-color-scheme: dark).

template (copy, then fill in with real data)

<!-- screenpipe:render=human -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
  body { margin: 0; padding: 24px; font-family: system-ui, -apple-system, sans-serif; }
  h1 { font-size: 20px; margin: 0 0 4px; }
  .sub { color: #666; font-size: 13px; margin: 0 0 20px; }
  .cards { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
  .card { flex: 1; min-width: 120px; background: #f4f4f5; border-radius: 10px; padding: 12px 14px; }
  .card .label { font-size: 12px; color: #666; }
  .card .value { font-size: 24px; font-weight: 600; }
  .bar { fill: #3b82f6; }
  .axis { fill: #999; font-size: 11px; }
</style>
</head>
<body>
  <h1>daily focus report</h1>
  <p class="sub">where your time went today</p>

  <div class="cards">
    <div class="card"><div class="label">tracked</div><div class="value">6.4h</div></div>
    <div class="card"><div class="label">top app</div><div class="value">vs code</div></div>
    <div class="card"><div class="label">meetings</div><div class="value">3</div></div>
  </div>

  <!-- inline SVG chart — no chart library (CDNs are blocked in the sandbox) -->
  <svg viewBox="0 0 400 180" width="100%" role="img" aria-label="hours per app">
    <rect class="bar" x="20"  y="40"  width="50" height="120"></rect>
    <rect class="bar" x="90"  y="80"  width="50" height="80"></rect>
    <rect class="bar" x="160" y="110" width="50" height="50"></rect>
    <rect class="bar" x="230" y="130" width="50" height="30"></rect>
    <text class="axis" x="45"  y="174" text-anchor="middle">code</text>
    <text class="axis" x="115" y="174" text-anchor="middle">chrome</text>
    <text class="axis" x="185" y="174" text-anchor="middle">slack</text>
    <text class="axis" x="255" y="174" text-anchor="middle">mail</text>
  </svg>
</body>
</html>

checklist before you save

  • first line is <!-- screenpipe:render=human -->
  • all CSS/JS inline; all images are data: URIs
  • no CDN / <script src> / fetch / forms
  • linked from the note or notification with an absolute path
자주 묻는 질문

온라인 차트 라이브러리를 쓰면 안 되나요?

뷰어가 네트워크 접근을 막기 때문에, 온라인 라이브러리를 쓰면 차트가 빈 화면으로 보입니다. 차트는 내장 그래픽으로 그립니다.

보고서는 어떻게 여나요?

메모에서 파일 링크를 클릭한 뒤, 렌더링된 미리보기 옵션을 고르면 됩니다.

보고서는 실시간 데이터로 업데이트되나요?

아닙니다. 새 데이터를 가져올 수 없으므로 페이지에는 파일에 쓰인 내용만 나옵니다.

상세 정보

작성자의 원본 설명

Produce a human-facing visual report — a chart, dashboard, scorecard, or styled summary — that renders as a live page in the screenpipe viewer instead of plain text. Use when the task asks for a visual/graphical output rather than a plain note; do NOT use for plain text or raw data (prefer a markdown note for those).

repo: screenpipe/screenpipe

인기도

GitHub 스타
22k
순위
#10147
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬