立体物をthree.jsで作成し、あらゆる角度から確認できるビューアーに表示します。OBJ + MTLやGLBで保存し、他の3D制作ソフトへ持ち込めます。
- 立体物を作って全方向から確認したいとき
- Blenderで編集するモデルの作成
- シルエットや素材の見え方の確認
図解やデータ可視化、操作できる教材などをHTMLで作り、チャット内のウィジェットや単独で開く画面として見せるためのスキルです。
How to render rich interactive HTML widgets inline in the chat or as standalone artifacts. Use this skill when you want to show the user diagrams, data visualizations, interactive controls, educational walkthroughs, or any rich visual content beyond plain text and markdown.
実行スコア 未検証
インストール方法を見るチャット内に埋め込むウィジェットや、サイドペインで開くHTML画面を作り、文章だけでは伝えにくい情報を視覚的に示します。図解、データ可視化、操作できるコントロール、学習用の手順表示などに使えます。HTMLファイルは自己完結型で作成し、必要に応じてチャット内への埋め込みも行います。小さくまとまる内容はチャット内に、大きなダッシュボードやシミュレーション、アプリの試作などは単独の画面にする使い分けが示されています。テーマ変数を使って、表示先の配色に合わせたデザインにもできます。
図や操作を交えて説明したいとき、数値や関係性を視覚的に確かめたいときに向いています。短い説明に添える小さな教材から、画面を広く使う可視化や試作品まで、内容に合う形で提示できます。
HTMLの作成には write_to_file を使います。外部CDNはコンテンツセキュリティポリシー(CSP)で制限され、Tailwind CSSは指定された gstatic のスクリプトのみ利用できます。チャット内の埋め込み表示は高さ500pxの範囲で、画面全体に依存する高さ指定は避ける必要があります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。
点数には入れていません。 2026年10月30日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
You can render custom, rich, interactive user interfaces (inline widgets or larger artifacts) directly in the chat. This is a great way to communicate complex information to the user, generate rich visualizations, and even create small interactive experiences for the user.
Create the HTML Artifact: Use write_to_file to save a self-contained
.html file (using Tailwind CSS and inline JavaScript) to the artifact
directory. Set UserFacing: true in ArtifactMetadata.
Embed Inline (optional): Include the <agent-embed> tag in your chat
response, if you decide this html artifact should be rendered inline in the
conversation:
<agent-embed src="file:///<artifact_path>/widget.html"></agent-embed>
External Assets & Tailwind CSS: All external CDNs are blocked by CSP,
except for one allowlisted gstatic Tailwind dependency that you CAN and
SHOULD use to style your artifacts. Include the following script tag in
your <head> to enable Tailwind:
<script src="https://www.gstatic.com/antigravity/web/dev/tailwindcss.min.js"></script>
Use Provided Theme Variables: The iframe injects the app's semantic
design-system tokens, so widgets automatically match the host theme and the
user's custom colors. Surfaces (--background, --content, --card,
--sidebar), borders (--border), text (--foreground,
--muted-foreground, --placeholder), and accents
(--primary/--primary-foreground, --secondary/--secondary-foreground,
--accent) are all available. Typography is applied for you on the document
body — you do not need to set a font, and never use sub-12px micro-text
(text-[10px], text-[11px], or CSS font-size below 12px; keep
text-xs / 12px as the minimum floor unless the user asks).
Text & Surface Colors: Use semantic variables (bg-[var(--card)],
text-[var(--foreground)], text-[var(--muted-foreground)])
instead of hardcoded dark/light utility classes (e.g., bg-slate-900,
text-white) to ensure high contrast across both light and dark themes.
Do Not Declare Local Fallbacks on :root: Never define local color
fallbacks on :root in a <style> block; the host environment manages
theme variables dynamically.
HTML Boilerplate Template: Recommended base template:
<!DOCTYPE html>
<html>
<head>
<script src="https://www.gstatic.com/antigravity/web/dev/tailwindcss.min.js"></script>
</head>
<body class="bg-transparent text-[var(--foreground)] antialiased p-5">
<div class="bg-[var(--card)] text-[var(--foreground)] border border-[var(--border)] rounded-xl p-5 shadow-sm">
<h2 class="text-[var(--foreground)] font-semibold text-lg">Title</h2>
<p class="text-[var(--muted-foreground)] text-sm">Description</p>
<!-- Interactive content goes here -->
</div>
</body>
</html>
General styling: Aim for a clean, premium aesthetic. For <canvas>,
check document.documentElement.classList.contains('light') to adapt
colors.
Default to artifact only — reference the HTML artifact in your response and let the user open it in the side pane. Consider inlining when the widget is compact (comfortably under 500px tall) and directly illustrates the surrounding explanation (e.g., a small educational widget, plot, or diagram). Larger, more complex content (data dashboards, simulations, app prototypes) should stay artifact-only. Always follow the user's explicit preference if stated.
When embedding inline in chat (<agent-embed>), style widgets as native chat
components:
<body class="bg-transparent ..."> so the widget blends seamlessly into the chat container.bg-[var(--background)]).For inline embeds, it is important to think small and compact.
Inline embeds only have a 500px height viewport. Past that the widget scrolls inside a small box and the user sees only a fragment of what you built, so don't build inlined widgets that are too tall.
height attribute on <agent-embed>. It is ignored.After generating the artifact, consider whether it is sufficiently compact to be useful inline and adjust if needed.
[!IMPORTANT] Never size an inline widget relative to the viewport: no
h-screen,min-h-screen,100vh, orheight: 100%on a top-level
container. The frame's viewport is derived from your content, so these feed
themselves and the widget collapses to a sliver. Use padding for breathing
room instead.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
立体物をthree.jsで作成し、あらゆる角度から確認できるビューアーに表示します。OBJ + MTLやGLBで保存し、他の3D制作ソフトへ持ち込めます。
Chrome DevTools MCPでWebページのアクセシビリティを監査し、見出し構造、ラベル、キーボード操作、フォーカス、タップ領域、色のコントラストに関する問題を調べます。
個人用のタスク一覧に、やることや期限、返答待ち、作業が止まる理由を記録します。進捗や依存関係を更新し、重複や完了済みの項目も整理するスキルです。
作業の目標と完了条件を整理し、必要に応じて複数のエージェントへ分担します。進捗報告、成果の検証、PRのマージまで、プロジェクトとして進行を管理します。
Antigravityのカスタマイズの種類や読み込み順、検出場所を説明し、スキル、ルール、プラグイン、フック、MCPサーバーの作成方法を案内します。
再生・一時停止や時間位置の指定ができるアニメーションをHTMLページとして制作します。場面の長さや速度を調整し、横長・縦長の動画書き出しに備えます。