Communitygithub.com

DRNZY/brag-ultra

Turn any project, app, CLI tool, or website into a short, ultra-polished, shareable launch video and complete launch kit using Brag Ultra and Hyperframes. Supports multi-format responsive reflow (16:9, 9:16, 1:1), terminal/TUI recording, intelligent audio ducking (-12dB), kinetic shaders & grain, and full launch asset packaging. Reads project code and running instances directly.

brag-ultra 是什么?

brag-ultra is a Claude Code agent skill that turn any project, app, CLI tool, or website into a short, ultra-polished, shareable launch video and complete launch kit using Brag Ultra and Hyperframes. Supports multi-format responsive reflow (16:9, 9:16, 1:1), terminal/TUI recording, intelligent audio ducking (-12dB), kinetic shaders & grain, and full launch asset packaging. Reads project code and running instances directly.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DRNZY/brag-ultra/tree/main/skills/brag-ultra

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

/brag (Brag Ultra)

You built it. Now let's brag about it — in Apple-grade ultra fidelity.

Invocation dispatch (must happen first)

Before inspecting the project, parse the complete /brag invocation. If the invocation contains --voice, set voice.enabled = true. If --format or --kit is supplied, configure the rendering pipeline accordingly.

/brag transforms the current project (web app, mobile app, desktop GUI, CLI/TUI tool, or library) into an ultra-high-polish launch video and social launch kit.


What Brag Ultra does

  1. Inspects Project & Captures Real UI / CLI: Scans project code, architecture, and live instances. Captures real mobile emulators (adb), web pages (Puppeteer), desktop windows, or terminal sessions (asciinema / CSS terminal frame).
  2. Multi-Format Responsive Planning: Plans adaptive layouts for 16:9 Landscape (X, YouTube), 9:16 Vertical (TikTok, Reels, Shorts), and 1:1 Square (LinkedIn, Instagram).
  3. Apple-Grade Storyboarding & Scripting: Crafts a high-impact narrative with critically damped springs, kinetic shaders, SVG stroke tracing, and authentic project data.
  4. Intelligent Audio Mastering & Ducking: Automatically ducks background music by -12dB under voice narration (Kokoro TTS) with smooth 0.3s attack / 0.5s release curves and mixes impact-leveled SFX.
  5. Complete Launch Kit Delivery: Renders multi-format MP4s, extracts frame-0 baked poster JPGs, generates crisp two-pass animated preview GIFs, and outputs structured social copy & launch-metadata.json.

Parsing the invocation

The user may invoke with natural language or flags:

/brag
/brag --tone polished --format vertical
/brag --format all --kit --voice
/brag --tone chaotic --format square
/brag this CLI tool. Make it feel like an Apple developer keynote.

Supported Flags & Options

OptionValuesDefaultDescription
--tonepreset or freeform descriptionapple-keynote / inferredAesthetic & pacing style
--formatlandscape (16:9), vertical (9:16), square (1:1), alllandscapeVideo aspect ratio and CSS reflow target
--durationseconds (e.g. 15s, 20s)auto (15–25s)Total duration
--voiceflagnarration offOpt-in Kokoro voiceover with -12dB auto-ducking
--kitflagstandard renderGenerate full launch kit (MP4s, GIF, poster JPG, metadata JSON)
--terminalflagauto-detectedEnable CLI/TUI terminal playback & chrome
--no-musicflagmusic onDisable background music bed
--no-sfxflagsfx onDisable sound effects
--titlestringinferredCustom product title

When --format all or --kit is specified, generate all 3 aspect ratios (16:9, 9:16, 1:1) alongside the animated GIF and metadata bundle.


Core Pillars of Brag Ultra

1. Multi-Format Responsive Reflow

No awkward black bars or naive letterboxing. The composition reflows intelligently:

  • 16:9 Landscape (1920x1080): Side-by-side split layouts, duo device frames, widescreen terminal views.
  • 9:16 Vertical (1080x1920): Centered vertical stack, full-height mobile device frames, large font clamps, strict safe zones (padding top/bottom for platform overlays).
  • 1:1 Square (1080x1080): Tight focused crop, centered hero card, high-contrast typography.

2. Intelligent Audio Mastering & Voiceover Ducking

  • Background music automatically ducks by -12dB whenever voice narration or dialogue plays.
  • Ducking curve: 0.3s smooth attack before speech, 0.5s release after speech.
  • Master limiter and volume normalization: SFX punch through at 0.60–0.85 without digital clipping.

3. Terminal / CLI / TUI Screen Capture

  • Dedicated support for terminal tools (pluvia, hyperindex, omnihud, token-trimmer, etc.).
  • Replays live commands with realistic human typing cadence (40–90ms jitter), ANSI syntax colors, and synchronized keypress audio (keyboard/keypress-*.wav).
  • High-res SVG / Canvas terminal frame with Apple traffic-light window chrome and titanium border.

4. Kinetic Shader & Motion Polish

  • Film Grain Texture: Subtle SVG feTurbulence / canvas noise (3–5% opacity) eliminating color banding and adding cinematic warmth.
  • Chromatic Aberration: Micro RGB-split on high-velocity cuts and slam impacts.
  • Spring Physics: GSAP critically damped curves (ease: "expo.out", ease: "power4.out", or mass: 1, stiffness: 120, damping: 14).
  • SVG Stroke Tracing: Animated path drawing (stroke-dashoffset) for logos, architectural nodes, and UI outlines.

5. Complete Launch Kit Generation

Produces a turnkey release directory:

  • brag.mp4 / brag-16x9.mp4, brag-9x16.mp4, brag-1x1.mp4
  • brag.gif (Two-pass palette-optimized 30fps animated preview for GitHub READMEs & Discord embeds under 10MB)
  • brag.jpg (High-res poster frame, baked directly into frame 0 of the MP4)
  • share-copy.txt (Concise single-post caption)
  • share-copy-variants.md (Customized captions for X/Twitter, LinkedIn, Reddit, Product Hunt)
  • launch-metadata.json (OpenGraph, Twitter card tags, keywords, timestamps)

Output Directory

Default output goes to brag-output/ (or timestamped brag-output-YYYY-MM-DD-HHmmss/ if existing):

brag-output/
  brag.mp4                     # Primary rendered video
  brag-16x9.mp4                # 16:9 Landscape render (if multi-format)
  brag-9x16.mp4                # 9:16 Vertical render (if multi-format)
  brag-1x1.mp4                 # 1:1 Square render (if multi-format)
  brag.jpg                     # High-res poster frame (baked into frame 0)
  brag.gif                     # High-res animated GIF preview
  brag-plan.md                 # Storyboard & creative plan
  composition-brief.md         # Hyperframes brief
  share-copy.txt               # Primary post caption
  share-copy-variants.md       # Multi-platform post copy
  launch-metadata.json         # OpenGraph & social metadata
  composition/                 # Hyperframes source project

Workflow Steps


Tone Presets

Full definitions in references/tones.md:

ToneEnergyOne-Liner
apple-keynoteQuiet confidence, tactile physics, sublime restraintFlagship Apple product reveal aesthetic
defaultPlayful, clean, postableGood-vibes consumer & creative showcase
polishedSerious, elegant, high-craftPremium developer tool or enterprise product
yc-parodyDeadpan startup energySerious delivery of audacious or quirky concepts
chaoticFast, loud, unhingedHigh-velocity hype reel
deadpanCalm, dry, understatedMinimalist timing where restraint is the punchline
cinematicDramatic, blockbuster-scaleBig motion, orchestral/synth swells, trailer pacing
app-storeSmooth, feature-card cleanCrisp UI walkthrough with tactile micro-interactions

相关技能