HTML
できること
このスキルは、現在のセッションの結果を、一つのきれいにデザインされた Web ページに変換します。分析や回答を、共有できる洗練されたバージョンにしたい人向けです。
使う場面
- ✓このチャットでの分析を、共有できる Web ページにしたいとき。
- ✓プレーンテキストではなく、デザインされたレポートがほしいとき。
- ✓外部サイトから何も読み込まない、一つの HTML ファイルがほしいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/HTML/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この分析を、チームと共有できるデザインされた HTML ページにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、あなたの内容を決まった構造に当てはめ、固定のレンダラーがレイアウト、書体、色を適用します。結果は、フォントとスタイルを内蔵した一つの HTML ファイルになり、共有可能なページとして公開されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
HTML
Turns whatever the session just produced into one self-contained, designed HTML file and publishes it as an Artifact. Deterministic split: the model's only job is distilling the session output into a typed content JSON and picking a design register; Tools/Render.ts owns every layout, typography, and color decision. Output is Artifact-CSP safe: inline CSS, fonts embedded as data URIs from local font files, zero external requests. The renderer command, block types and register table live in Intents/Render.md.
Ideal State
- Any session output becomes one self-contained, Artifact-safe HTML file that makes zero external requests and renders for the owner.
- Layout, typography and color come entirely from
Tools/Render.tsregisters; the model supplies only typed content JSON, so no hand-styled one-off ships. - The artifact is verified before hand-off — published through the Artifact tool and pixel-checked.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Render | /HTML, "HTML artifact", "render this as HTML" |
Intents/Render.md |
Data & Config
No user configuration: registers are defined in Tools/Render.ts, which embeds fonts found in ~/Library/Fonts, /Library/Fonts or /System/Library/Fonts/Supplemental (macOS font folders; with none present it falls back to system font stacks). Publishing needs the Claude Code Artifact tool and its artifact-design skill; without them Render.ts still writes the local HTML file.
Gotchas
- DOM-render screenshot pipelines drop CSS pseudo-element generated content (counters,
::beforelabels render in the browser but vanish from DOM-render captures, and they're invisible to text extraction). Render.ts therefore emits all numbering and labels as real DOM text. Never add CSS counters to a register. (Discovered 2026-07-11.) - Artifacts block all external requests — a Google Fonts
<link>fails silently and you get the fallback stack. Embed via data-URI@font-face(Render.ts does this when the register's font file exists locally) or design on system stacks. - The artifact viewer wraps your file in its own document skeleton — emit
<title>+<style>+ body content only; no<!doctype>/<html>/<head>/<body>tags. - A published artifact is private to its owner's claude.ai account — verifying it in a browser signed into a different account/org 404s. Verify the render by serving the HTML file locally and capturing that; verify publication via the Artifact tool's
listaction. - Numbered section markers must mean something. Render.ts numbers sections (document order — legitimate). Don't number list items unless the content is a true sequence; use
listblocks with bold lead-ins instead.
Examples
Example 1: After a research or red-team session
User: "/HTML"
→ Render intent
→ The session's findings, quotes and sources are published as a `dossier` artifact, its local render pixel-checked, and the URL handed over with a one-line description
Example 2: Different subject, different register
User: "render the quarterly cost analysis as HTML"
→ Render intent
→ A `ledger` artifact with tables and callouts, the register that fits a cost report
よくある質問
ページはインターネットから何か読み込みますか?
いいえ。外部へのリクエストは行わず、フォントとスタイルはファイルに埋め込まれます。
デザインは誰が管理しますか?
固定のレンダラーがレイアウト、タイポグラフィ、色を管理するため、どのページも一貫したスタイルに従います。
共有の前にページは確認されますか?
はい。ページは、視覚的なチェックを含めて、渡される前に検証されます。
詳細
作者による元の説明
Renders the current session output as a self-contained, designed HTML artifact via a deterministic renderer that owns all layout from typed JSON. USE WHEN /HTML, HTML artifact, render this as HTML, make this an HTML page, artifact of this analysis, designed HTML output. NOT FOR ISAs (ISARender.ts is the canonical ISA renderer), deployed sites or web apps, web UI design systems (Webdesign), static images or diagrams (Art), or writing the analysis itself.
repo: danielmiessler/LifeOS
人気
- GitHubのスター
- 20k
- ランキング
- #10429
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。