85453da49f
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
Docs / Validate docs (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Sync skills to ClawHub / Publish changed skills (push) Waiting to run
regression / regression-shards (style-16-prod style-9-prod style-17-prod iframe-render-compat variables-prod mp4-h265-sdr, shard-4) (push) Has been cancelled
regression / regression-shards (style-4-prod style-11-prod style-2-prod animejs-adapter typegpu-adapter parallel-capture-regression, shard-5) (push) Has been cancelled
regression / regression-shards (style-7-prod style-8-prod style-10-prod css-spinner-render-compat webm-transparency mp4-h264-sdr webm-vp9, shard-3) (push) Has been cancelled
regression / regression-shards (sub-composition-video style-18-prod raf-ball-render-compat font-variant-numeric sub-comp-t0 sub-comp-id-selector, shard-7) (push) Has been cancelled
Windows render verification / Detect changes (push) Has been cancelled
Windows render verification / Preflight (lint + format) (push) Has been cancelled
Windows render verification / Render on windows-latest (push) Has been cancelled
Windows render verification / Tests on windows-latest (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Fallow audit (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Producer: integration tests (push) Has been cancelled
CI / Producer: unit tests (push) Has been cancelled
CI / File size check (push) Has been cancelled
CI / Test: skills (push) Has been cancelled
CI / Skills: manifest in sync (push) Has been cancelled
CI / CLI: npx shim (macos-latest) (push) Has been cancelled
CI / CLI: npx shim (ubuntu-latest) (push) Has been cancelled
CI / CLI: npx shim (windows-latest) (push) Has been cancelled
CI / SDK: unit + contract + smoke (push) Has been cancelled
CI / Test: runtime contract (push) Has been cancelled
CI / Studio: load smoke (push) Has been cancelled
CI / Smoke: global install (push) Has been cancelled
CI / CLI smoke (required) (push) Has been cancelled
CI / Semantic PR title (push) Has been cancelled
Player perf / Detect changes (push) Has been cancelled
Player perf / Preflight (lint + format) (push) Has been cancelled
Player perf / player-perf (push) Has been cancelled
Player perf / Perf: drift (push) Has been cancelled
Player perf / Perf: fps (push) Has been cancelled
Player perf / Perf: parity (push) Has been cancelled
Player perf / Perf: scrub (push) Has been cancelled
Player perf / Perf: load (push) Has been cancelled
preview-regression / Detect changes (push) Has been cancelled
preview-regression / Preflight (lint + format) (push) Has been cancelled
preview-regression / Preview parity (push) Has been cancelled
preview-regression / preview-regression (push) Has been cancelled
regression / regression (push) Has been cancelled
regression / Detect changes (push) Has been cancelled
regression / Preflight (lint + format) (push) Has been cancelled
regression / regression-shards (hdr-regression style-5-prod style-3-prod mov-prores, shard-1) (push) Has been cancelled
regression / regression-shards (overlay-montage-prod style-12-prod chat missing-host-comp-id png-sequence portrait-edge-bleed, shard-6) (push) Has been cancelled
regression / regression-shards (style-13-prod style-6-prod vignelli-stacking gsap-letters-render-compat audio-mux-parity, shard-8) (push) Has been cancelled
regression / regression-shards (style-15-prod hdr-hlg-regression style-1-prod many-cuts vfr-screen-recording render-symlinked-assets, shard-2) (push) Has been cancelled
151 lines
6.5 KiB
Plaintext
151 lines
6.5 KiB
Plaintext
---
|
|
title: Google Antigravity
|
|
description: "Set up HyperFrames in Google Antigravity — install skills, author compositions, and render video from the agent-first IDE."
|
|
---
|
|
|
|
Google Antigravity is Google's agent-first IDE built on VS Code. Its agent discovers and loads HyperFrames skills automatically based on your prompts, so you get correct compositions without memorizing framework internals.
|
|
|
|
## Install skills
|
|
|
|
Install the HyperFrames skill package into your project:
|
|
|
|
```bash
|
|
npx skills add heygen-com/hyperframes
|
|
```
|
|
|
|
This places skill directories inside `.agents/skills/` at your workspace root — the location Antigravity scans for workspace-scoped skills.
|
|
|
|
<Tip>
|
|
If you want the skills available across all your Antigravity projects, install them to the global scope instead:
|
|
|
|
```bash
|
|
npx skills add heygen-com/hyperframes --agent antigravity --global
|
|
```
|
|
|
|
Global skills live in `~/.gemini/antigravity/skills/` and load in every workspace.
|
|
</Tip>
|
|
|
|
Verify the skills are installed:
|
|
|
|
```bash
|
|
ls .agents/skills/
|
|
```
|
|
|
|
You should see directories like `hyperframes/` (the entry skill), `hyperframes-core/`, `hyperframes-animation/`, `hyperframes-cli/`, and others — each containing a `SKILL.md` that the agent reads on demand.
|
|
|
|
## How skills work in Antigravity
|
|
|
|
Antigravity uses **semantic matching** — when you type a prompt, the agent compares it against the `description` field of every available skill and loads the ones that are relevant. You don't need to invoke skills with a slash command (though you can reference them by name for precision).
|
|
|
|
| You say | Agent loads |
|
|
|---|---|
|
|
| "Create a 10-second product intro with captions" | `hyperframes`, `hyperframes-core` |
|
|
| "Add a GSAP scale-pop to the title" | `hyperframes-animation` |
|
|
| "Use Tailwind for styling" | `hyperframes-core` |
|
|
| "Transcribe this audio and add captions" | `media-use` |
|
|
| "Add a shimmer sweep transition" | `hyperframes-registry` |
|
|
|
|
The skill is only injected into the agent's context window when it matches — this keeps the context clean and focused.
|
|
|
|
<Note>
|
|
For the best results, mention "HyperFrames" or "composition" in your prompt so the agent matches the right skills immediately instead of guessing at generic web-video conventions.
|
|
</Note>
|
|
|
|
## Create and preview a video
|
|
|
|
<Steps>
|
|
<Step title="Scaffold a project">
|
|
Open Antigravity's integrated terminal and run:
|
|
|
|
```bash
|
|
npx hyperframes init my-video
|
|
cd my-video
|
|
```
|
|
|
|
The wizard walks you through example selection and media import. Skills are installed automatically inside the new project.
|
|
</Step>
|
|
|
|
<Step title="Start the preview server">
|
|
```bash
|
|
npx hyperframes preview
|
|
```
|
|
|
|
This launches the HyperFrames Studio in your browser with hot reload — edits to `index.html` appear instantly.
|
|
</Step>
|
|
|
|
<Step title="Prompt the agent">
|
|
In Antigravity's agent sidebar, describe the video you want:
|
|
|
|
> Create a 15-second dark-themed product intro for my SaaS app with a fade-in title, hype-style captions, and a flash transition to the CTA.
|
|
|
|
The agent reads the HyperFrames skill, writes valid HTML with `data-*` attributes and GSAP timelines, and saves it to your project files. The preview updates automatically.
|
|
</Step>
|
|
|
|
<Step title="Iterate">
|
|
Talk to the agent like a video editor — don't re-prompt from scratch:
|
|
|
|
> Make the title 2x bigger and swap the transition to a whip pan.
|
|
|
|
> Add a lower third at 0:03 with my name.
|
|
|
|
> Replace the background with assets/hero.mp4.
|
|
</Step>
|
|
|
|
<Step title="Render">
|
|
```bash
|
|
npx hyperframes render --output output.mp4
|
|
```
|
|
</Step>
|
|
</Steps>
|
|
|
|
## Using multiple agents in Manager view
|
|
|
|
Antigravity's [Manager view](https://antigravity.google/docs/agent) lets you orchestrate multiple agents in parallel. For complex multi-scene videos, you can split the work:
|
|
|
|
- **Agent 1:** Author the intro scene and transitions
|
|
- **Agent 2:** Generate TTS narration and caption timing
|
|
- **Agent 3:** Build the data visualization scene
|
|
|
|
Each agent picks up the relevant HyperFrames skills independently. Merge the output into a single `index.html` with `data-composition-src` references when all agents finish.
|
|
|
|
## MCP alternative
|
|
|
|
If you prefer zero-install cloud authoring, Antigravity supports remote MCP servers. Add the HyperFrames MCP connector to author and render compositions without the CLI — see [Antigravity's MCP documentation](https://antigravity.google/docs/mcp) for the exact setup steps in your version, then use the server URL:
|
|
|
|
```
|
|
https://mcp.heygen.com/mcp/hyperframes
|
|
```
|
|
|
|
Authorize via OAuth with your HeyGen account when prompted. See the [HyperFrames MCP guide](/guides/mcp) for full details on tools and prompting. The MCP handles rendering in the cloud; the CLI gives you local control.
|
|
|
|
## Agent instruction files
|
|
|
|
HyperFrames projects created with `npx hyperframes init` scaffold both `CLAUDE.md` and `AGENTS.md` automatically — these give the agent additional composition context beyond what the skills provide.
|
|
|
|
- **`AGENTS.md`** — the cross-agent convention. Antigravity reads this regardless of which model you've selected (Gemini, Claude, or others).
|
|
- **`CLAUDE.md`** — read when Antigravity's agent uses a Claude model (Sonnet or Opus), providing Claude-specific project instructions.
|
|
|
|
## Tips
|
|
|
|
- **Mention the skill by name when precision matters.** "Using the hyperframes skill, add a grain overlay" is more reliable than "add a grain overlay" when the agent has many skills loaded.
|
|
- **Use `npx hyperframes lint` before rendering.** The linter catches structural issues (missing `class="clip"`, unregistered timelines, muted video violations) that the agent might miss on complex edits.
|
|
- **Install registry blocks for advanced effects.** Run `npx hyperframes add shimmer-sweep` to install pre-built blocks, then ask the agent to wire them into your composition.
|
|
- **Keep the preview server running.** Antigravity's file watcher + HyperFrames' hot reload means you see every agent edit in real time.
|
|
|
|
## Next steps
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="Prompting guide" icon="message" href="/guides/prompting">
|
|
Vocabulary and patterns that produce better compositions.
|
|
</Card>
|
|
<Card title="Catalog" icon="grid-2" href="/catalog/blocks/data-chart">
|
|
50+ ready-to-use blocks the agent can install and wire.
|
|
</Card>
|
|
<Card title="GSAP Animation" icon="wand-magic-sparkles" href="/guides/gsap-animation">
|
|
Motion principles and timeline authoring.
|
|
</Card>
|
|
<Card title="Pipeline guide" icon="list-check" href="/guides/pipeline">
|
|
The 7-step structure agents follow for multi-beat videos.
|
|
</Card>
|
|
</CardGroup>
|