# One-Line Install Card — effect skill for code & terminal

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

A single install command types into a small terminal card, prints a success check, and holds.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Code & terminal](https://varg.ai/how-to/browse/skills/code.md)
- **Slug:** `one-line-install-card`
- **Status:** live
- **Publisher:** Magic UI (community)
- **License:** MIT
- **Source:** https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/terminal.tsx
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** ffmpeg, HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Terminal](https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/terminal.tsx) by magic-ui, MIT. The write-up and recipes below are varg's.

Compact terminal (or pill) with `npx … add` typing, a green ✓ line, and a copy icon; centered with lots of air.

**When:** End of a developer video, right before or as the CTA.

**Watch out:** Do not show a multi-step install; one copyable line or link to docs.

**Timing:** Typing 60–80 ms/char, ✓ line after 0.4 s, hold 2–3 s.

**Also called:** install command, npx line, get started command

### In FFmpeg

```bash
-vf "drawtext=fontfile=JetBrainsMono.ttf:text='$ npx skills add varg-ai':x=(w-tw)/2:y=h/2:fontsize=48:fontcolor=white:box=1:boxcolor=0x111111@0.9:boxborderw=28"
```

### In HyperFrames

```bash
npx hyperframes add code-snippet-apple-terminal-pro
```
Set the command text in the block variables; keep it on one line.

### In Remotion

```tsx
// npx shadcn@latest add @magicui/terminal  (drive typing from frame, not timers)
const n = Math.floor(interpolate(frame,[0,cmd.length*2],[0,cmd.length],{extrapolateRight:'clamp'}));
```

### In CapCut

Text → monospace font on a dark rounded shape; Animation In "Typewriter" 1–1.5 s; add a ✓ text line 0.4 s later.

### Ready-made components

- [Terminal](https://skills.varg.ai/component/magicui.terminal/) (magic-ui): npx shadcn@latest add @magicui/terminal
- [Code Snippet - Apple Terminal Pro](https://skills.varg.ai/component/hf.code-snippet-apple-terminal-pro/) (hyperframes): npx hyperframes add code-snippet-apple-terminal-pro
- [Typing Text](https://skills.varg.ai/component/animata.typing-text/) (animata): npx shadcn@latest add https://animata.design/r/text/typing-text.json

### Where this comes from

- [charmbracelet/vhs: terminal recordings as code (TypingSpeed, Sleep)](https://github.com/charmbracelet/vhs)

## Use when

- End of a developer video, right before or as the CTA.

## Not for

- Do not show a multi-step install; one copyable line or link to docs.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/419ca5b56dc4/lib-magic-ui-terminal.mp4 — Preview of the Terminal component that builds this take (credit: Captured from the library’s own demo page (Magic UI), https://magicui.design/docs/components/terminal)

## More code & terminal skills

- [Editor Types the Code](https://varg.ai/how-to/skills/editor-types-the-code.md): Syntax-highlighted code types into an editor window with a caret riding the frontier.
- [Red/Green Diff Collapse](https://varg.ai/how-to/skills/red-green-diff.md): Removed lines flash red and collapse away while added lines expand in green.
- [Spotlight One Line of Code](https://varg.ai/how-to/skills/spotlight-one-line.md): A highlight band sweeps onto the one line that matters while the rest of the file dims.
- [Code Morphs Between Versions](https://varg.ai/how-to/skills/code-morphs-versions.md): One snippet transforms into the next: shared tokens glide to new positions, removed ones fade, new ones fade in.
- [Terminal Session Run](https://varg.ai/how-to/skills/terminal-session-run.md): A terminal types a command, then streams real-looking log output with green checks.
- [Camera Scrolls a Long File](https://varg.ai/how-to/skills/camera-scrolls-long-file.md): The view scrolls through a long file and stops with the target line centered and lit.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
