brag
它能做什么
这项技能让 AI 读取项目代码,并使用 Hyperframes 把应用转换为一段简短、便于分享的发布视频。适合希望用精致视频分享自己作品的开发者。
适用场景
- ✓你想要一段展示刚做好的网站或应用的简短发布视频的时候。
- ✓你想用精致视频而不是截图来分享项目的时候。
- ✓你想让视频包含旁白的时候,完整版本支持这一功能。
技能链接
https://github.com/latent-spaces/brag/blob/main/skills/brag/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这个项目制作成一段简短的发布视频,让我可以分享。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会读取项目代码,规划简短的构思,编写脚本和分镜,然后用 Hyperframes 制作视频。它基于代码工作,不需要在线网址。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/brag
You built it. Now let's brag about it.
Invocation dispatch (must happen first)
Model check. If you are Claude Opus 5.5 and the invocation doesn't ask for the full workflow (--full, "use the full brag") or for voiceover (--voice, which brag-slim doesn't do), switch to brag-slim: read <skill-dir>/slim.md (the /brag-slim skill, bundled here) and follow it for the rest of this run instead of this file. Pass along the user's input, and pass any other options (--no-music, --title, …) as plain-language direction. Tell the user in one line first, e.g. "You're on Opus 5.5, so I'm using /brag-slim: I build the whole video myself. Say 'use the full brag' to switch back." If you are any other model, or can't tell which model you are, skip this check.
Before inspecting the project, parse the complete /brag invocation. If the
invocation contains --voice, set voice.enabled = true. Enable narration
only for that run. Do not enable narration automatically and do not fall back
to the normal no-voice workflow.
/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
- Reads the current project code to understand the app.
- Plans a short brag concept specific to this project.
- Scripts and storyboards the video.
- Hands a focused composition brief to Hyperframes.
- 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 |
--voice |
flag | narration off |
Voice is opt-in. If --voice is present, use Kokoro via Hyperframes and do
not add any provider-selection logic. The voice workflow is intentionally
single-provider.
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.
Narration guidance
When --voice is enabled, write narration that complements the visuals, does
not simply read visible text, matches scene pacing, sounds natural and
conversational, and moves smoothly between scenes. Keep the script concise and
specific to the product so the voice feels like part of the edit rather than a
separate narration track.
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.
Skill directory
<skill-dir> is the directory containing this SKILL.md. Claude Code prints it as "Base directory for this skill" when the skill loads; for other agents it's wherever the skill was installed. Bundled assets are under <skill-dir>/assets/ and scripts under <skill-dir>/scripts/. Don't guess an install path: a plugin install, a ~/.claude/skills/ copy, and this repo all put it somewhere different.
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
常见问题
网站需要处于在线状态吗?
不需要。它直接读取项目代码,因此不需要在线网址或截图。
它能添加旁白吗?
可以,只要你启用语音选项即可。旁白只在该次运行中开启。
有更轻量的版本吗?
有。技能可以将部分 AI 模型切换到更轻量的版本,一次完成视频的构建。
详情
作者的原始描述
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/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.
repo: latent-spaces/brag
热度
- GitHub 星标
- 20k
- 排名
- #10391
- 许可证
- MIT
- 更新时间
- 2026/10/23
评论
- …