技能图谱SKILLSGROVE
技能图谱/视频制作/mattivilola/brag-codex/brag

brag

安装

$npx skills add https://github.com/mattivilola/brag-codex --skill brag
$git clone --depth 1 https://github.com/mattivilola/brag-codex.git /tmp/brag-codex && mkdir -p ~/.claude/skills && cp -r /tmp/brag-codex/skills/brag ~/.claude/skills/brag
请帮我安装这个 Agent Skill:https://github.com/mattivilola/brag-codex/tree/da5c32439c0d9e1396ffb25870d934d46f5bcabd/skills/brag ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITTurn the current project website or app into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag", "use $brag", "let's brag about this", "make a launch video", "turn this into a video", or wants to share what they built. Reads the project code directly, no live URL or screenshots needed.
以下 SKILL.md 内容转载自 mattivilola/brag-codex(提交 da5c324),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Matti Vilola 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

/brag

You built it. Now let's brag about it.

/brag turns the current project website or app into a short, polished, shareable launch video using Hyperframes. It is narrow, opinionated, and fun.

What this skill does

  1. Reads the current project code to understand the app.
  2. Plans a short brag concept specific to this project.
  3. Scripts and storyboards the video.
  4. Hands a focused composition brief to Hyperframes.
  5. Validates, renders, and writes share copy.

Parsing the invocation

The user may invoke with natural language or flags:

/brag
/brag --tone chaotic
/brag --tone polished --format vertical
/brag this. Make it feel like a ridiculous startup launch.

Parse these options:

Option Values Default
--tone preset or freeform description inferred
--format landscape, vertical, square landscape
--duration seconds auto (15-25s)
--no-music flag music on
--no-sfx flag sfx on
--title string inferred from project

Tone can be a preset (default, polished, yc-parody, chaotic, deadpan, cinematic, app-store) or a creative direction such as "fake Series A launch from 2016", "museum exhibit", or "overproduced mobile game ad".

When the user gives freeform tone direction, map it to the nearest preset for pacing and structure, but preserve the user's direction in the plan and composition brief.


Output directory

By default, output goes to brag-output/. To avoid overwriting previous runs, use a timestamped directory:

brag-output-2026-05-04-143022/

Use a timestamp when:

  • The user explicitly asks for a new run without overriding previous results
  • A brag-output/ directory already exists in the project

Generate the timestamp at the start of the run (YYYY-MM-DD-HHmmss) and use it consistently for all output paths in that run: plan, brief, composition, render, and share copy.


Step 1: Inspect the project

Read: references/step-1-inspect.md

Scan the project directory and extract the information needed to plan the brag video.

Gate: You can answer all 9 questions in the brag planning rubric.


Step 2: Plan and storyboard

Read: references/step-2-plan.md

Write <output-dir>/brag-plan.md (where <output-dir> is brag-output/ or the timestamped variant chosen above). Answer the planning rubric. Commit to a creative angle. Write the beat-by-beat storyboard including scenes, text, timing, transitions, and SFX cues.

When music is selected, include a compact Music cue guidance section: read the bundled track's cue preset from assets/music/cues/ if present, otherwise note cues will be detected at composition time (any track now supports beat sync — see references/audio.md). Cue metadata is optional timing guidance only: story, readability, pacing, and product clarity stay primary.

Gate: <output-dir>/brag-plan.md exists with a full storyboard. Scene durations sum to 15–25 seconds.


Step 3: Hand off to Hyperframes

Read: Any available Hyperframes skill, local Hyperframes instructions, or project Hyperframes docs if present. Read: references/step-3-compose.md Read: references/audio.md

Write the composition brief and use Hyperframes to create the video implementation in <output-dir>/composition/.

/brag owns the product angle, source material, storyboard, tone, format, audio selection, music cue guidance, and delivery expectations. Hyperframes owns the concrete composition structure, exact animation timing, animation mechanics, runtime choices, linting rules, and render workflow.

Gate: npx hyperframes lint passes with zero errors inside <output-dir>/composition/.


Step 4: Validate, render, and deliver

Read: references/step-4-deliver.md

Validate, preview, render to <output-dir>/brag.mp4, and write <output-dir>/share-copy.txt.

Gate: <output-dir>/brag.mp4 exists. Share copy is written.


Tone system

Seven tone presets ship with /brag. Each changes scripting energy, pacing, typography personality, and transition style. Presets are defaults, not limits.

Full definitions: references/tones.md

Tone Energy One-liner
default Playful, clean, postable The good-vibes default
polished Serious, elegant For projects that are not jokes
yc-parody Deadpan startup energy Fake seriousness applied to absurd projects
chaotic Fast, loud, aggressive Over-the-top and unhinged
deadpan Calm, dry, understated The joke is that nothing is a joke
cinematic Dramatic, trailer-scale Big motion, bigger claims
app-store Smooth, feature-card clean Corporate but not boring

Always allow a freeform creative direction to refine or override the preset.


Creative laws

These apply to every brag video regardless of tone.

Short. 15–25 seconds. Not one second more without a reason.

Readable. Keep the pace high through motion and cuts, never by flashing text. Every line a viewer must read holds long enough to read it (short label ~0.8s settled; a sentence ~0.3s per word). Fast-in, then hold — never fast-in, then gone.

Specific. The video must feel like it was made for this exact project, not any project.

Show the thing. At least one scene must display actual UI, copy, or a key visual from the product. No abstract filler.

No generic SaaS language. "Streamline your workflow" is banned. Use the project's actual copy and claims.

The hook is everything. The first 2 seconds determine whether someone keeps watching. Plan the hook before anything else.

Funny earns its place. Humor should come from the project's absurdity, not from trying to be funny.

Pattern:

Hook (2-3s) → Reveal (2-4s) → 2-3 sharp highlights (5-12s) → Punchline/outro (2-4s)

Adapt this. Not every project needs exactly 3 highlights. The pattern is a starting shape, not a template.

查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Matti Vilola

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
查看 NOTICE 声明
# Notice

This repository is a Codex-compatible clone/adaptation of the original `latent-spaces/brag` project:

- Upstream repository: https://github.com/latent-spaces/brag
- Upstream commit used: `9b5a758fb1c0f68cab124ccb4b960864ea03235a`
- Upstream author metadata: Shunit Haviv, latent-spaces

The original repository did not include a top-level license file in the fetched commit. Do not assume redistribution or relicensing terms for copied upstream content until they are verified.

Bundled media attribution from upstream:

- Music: ende.app "Happy Beats / Business Moves"
- Sound effects: Kenney.nl
- Video generation workflow: Hyperframes
- Example demo sites: Impeccable