Token导航 LogoToken导航

Agent Skill · 开发

feature-video(专题视频)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

feature-video 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 7,104。

总安装 4,064周安装 166GitHub Stars 15,871下载 1,301核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feature-video(专题视频)
来源仓库:https://github.com/everyinc/compound-engineering-plugin
仓库路径:skills/feature-video
安装命令:
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill feature-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill feature-video

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

feature-video 录制浏览器交互视频并合成 MP4,支持 GitHub 上传和内嵌 PR 描述。适用于 Codex、Claude、Cursor、Gemini CLI,适合制作功能演示或审核视频时使用。依赖本地开发服务器、agent-browser 和 ffmpeg,需提前完成认证和环境准备。

安装前需确认权限范围和维护状态,注意涉及外部素材时需核对版权授权要求。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/feature-video

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/everyinc/compound-engineering-plugin --skill f…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

feature-video 怎么安装?

在终端执行 npx skills add https://github.com/everyinc/compound-engineering-plugin --skill feature-vid…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

feature-video 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

feature-video 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

feature-video 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

feature-video 用的人多吗?

公开数据是累计安装 4,064 次,近一周安装 166 次,下载 1,301 次,GitHub 15,871 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

feature-video 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 15,871 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
feature-video

专题视频 · 本页

4,06415,871操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Feature Video Walkthrough

Record browser interactions demonstrating a feature, stitch screenshots into an MP4 video, upload natively to GitHub, and embed in the PR description as an inline video player.

Prerequisites

  • Local development server running (e.g., bin/dev, npm run dev, rails server)
  • agent-browser CLI installed (load the agent-browser skill for details)
  • ffmpeg installed (for video conversion)
  • gh CLI authenticated with push access to the repo
  • Git repository on a feature branch (PR optional -- skill can create a draft or record-only)
  • One-time GitHub browser auth (see Step 6 auth check)

Main Tasks

1. Parse Arguments & Resolve PR

Arguments: $ARGUMENTS

Parse the input:

  • First argument: PR number, "current" (defaults to current branch's PR), or path to an existing .mp4 file (upload-only resume mode)
  • Second argument: Base URL (defaults to http://localhost:3000)

Upload-only resume: If the first argument ends in .mp4 and the file exists, skip Steps 2-5 and proceed directly to Step 6 using that file. Resolve the PR number from the current branch (gh pr view --json number -q '.number').

If an explicit PR number was provided, verify it exists and use it directly:

gh pr view [number] --json number -q '.number'

If no explicit PR number was provided (or "current" was specified), check if a PR exists for the current branch:

gh pr view --json number -q '.number'

If no PR exists for the current branch, ask the user how to proceed. Use the platform's blocking question tool (AskUserQuestion in Claude Code, request_user_input in Codex, ask_user in Gemini):

No PR found for the current branch.

1. Create a draft PR now and continue (recommended)
2. Record video only -- save locally and upload later when a PR exists
3. Cancel

If option 1: create a draft PR with a placeholder title derived from the branch name, then continue with the new PR number:

gh pr create --draft --title "[branch-name-humanized]" --body "Draft PR for video walkthrough"

If option 2: set RECORD_ONLY=true. Proceed through Steps 2-5 (record and encode), skip Steps 6-7 (upload and PR update), and report the local video path and [RUN_ID] at the end.

Upload-only resume: To upload a previously recorded video, pass an existing video file path as the first argument (e.g., /feature-video.context/compound-engineering/feature-video/1711234567/videos/feature-demo.mp4). When the first argument is a path to an .mp4 file, skip Steps 2-5 and proceed directly to Step 6 using that file for upload.

1b. Verify Required Tools

Before proceeding, check that required CLI tools are installed. Fail early with a clear message rather than failing mid-workflow after screenshots have been recorded:

command -v ffmpeg
command -v agent-browser
command -v gh

If any tool is missing, stop and report which tools need to be installed:

  • ffmpeg: brew install ffmpeg (macOS) or equivalent
  • agent-browser: load the agent-browser skill for installation instructions
  • gh: brew install gh (macOS) or see https://cli.github.com

Do not proceed to Step 2 until all tools are available.

2. Gather Feature Context

If a PR is available, get PR details and changed files:

gh pr view [number] --json title,body,files,headRefName -q '.'
gh pr view [number] --json files -q '.files[].path'

If in record-only mode (no PR), detect the default branch and derive context from the branch diff. Run both commands in a single block so the variable persists:

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef -q '.defaultBranchRef.name') && git diff --name-only "$DEFAULT_BRANCH"...HEAD && git log --oneline "$DEFAULT_BRANCH"...HEAD

Map changed files to routes/pages that should be demonstrated. Examine the project's routing configuration (e.g., routes.rb, next.config.js, app/ directory structure) to determine which URLs correspond to the changed files.

3. Plan the Video Flow

Before recording, create a shot list:

  1. Opening shot: Homepage or starting point (2-3 seconds)
  2. Navigation: How user gets to the feature
  3. Feature demonstration: Core functionality (main focus)
  4. Edge cases: Error states, validation, etc. (if applicable)
  5. Success state: Completed action/result

Present the proposed flow to the user for confirmation before recording.

Use the platform's blocking question tool when available (AskUserQuestion in Claude Code, request_user_input in Codex, ask_user in Gemini). Otherwise, present numbered options and wait for the user's reply before proceeding:

Proposed Video Flow for PR #[number]: [title]

1. Start at: /[starting-route]
2. Navigate to: /[feature-route]
3. Demonstrate:
   - [Action 1]
   - [Action 2]
   - [Action 3]
4. Show result: [success state]

Estimated duration: ~[X] seconds

1. Start recording
2. Modify the flow (describe changes)
3. Add specific interactions to demonstrate

4. Record the Walkthrough

Generate a unique run ID (e.g., timestamp) and create per-run output directories. This prevents stale screenshots from prior runs being spliced into the new video.

Important: Shell variables do not persist across separate code blocks. After generating the run ID, substitute the concrete value into all subsequent commands in this workflow. For example, if the timestamp is 1711234567, use that literal value in all paths below -- do not rely on [RUN_ID] expanding in later blocks.

date +%s

Use the output as RUN_ID. Create the directories with the concrete value:

mkdir -p .context/compound-engineering/feature-video/[RUN_ID]/screenshots
mkdir -p .context/compound-engineering/feature-video/[RUN_ID]/videos

Execute the planned flow, capturing each step with agent-browser. Number screenshots sequentially for correct frame ordering:

agent-browser open "[base-url]/[start-route]"
agent-browser wait 2000
agent-browser screenshot .context/compound-engineering/feature-video/[RUN_ID]/screenshots/01-start.png
agent-browser snapshot -i
agent-browser click @e1
agent-browser wait 1000
agent-browser screenshot .context/compound-engineering/feature-video/[RUN_ID]/screenshots/02-navigate.png
agent-browser snapshot -i
agent-browser click @e2
agent-browser wait 1000
agent-browser screenshot .context/compound-engineering/feature-video/[RUN_ID]/screenshots/03-feature.png
agent-browser wait 2000
agent-browser screenshot .context/compound-engineering/feature-video/[RUN_ID]/screenshots/04-result.png

5. Create Video

Stitch screenshots into an MP4 using the same [RUN_ID] from Step 4:

ffmpeg -y -framerate 0.5 -pattern_type glob -i ".context/compound-engineering/feature-video/[RUN_ID]/screenshots/*.png" \
  -c:v libx264 -pix_fmt yuv420p -vf "scale=1280:-2" \
  ".context/compound-engineering/feature-video/[RUN_ID]/videos/feature-demo.mp4"

Notes:

  • -framerate 0.5 = 2 seconds per frame. Adjust for faster/slower playback.
  • -2 in scale ensures height is divisible by 2 (required for H.264).

6. Authenticate & Upload to GitHub

Upload produces a user-attachments/assets/ URL that GitHub renders as a native inline video player -- the same result as pasting a video into the PR editor manually.

The approach: close any existing agent-browser session, start a Chrome-engine session with saved GitHub auth, navigate to the PR page, set the video file on the comment form's hidden file input, wait for GitHub to process the upload, extract the resulting URL, then clear the textarea without submitting.

Check for existing session

First, check if a saved GitHub session already exists:

agent-browser close
agent-browser --engine chrome --session-name github open https://github.com/settings/profile
agent-browser get title

If the page title contains the user's GitHub username or "Profile", the session is still valid -- skip to "Upload the video" below. If it redirects to the login page, the session has expired or was never created -- proceed to "Auth setup".

Auth setup (one-time)

Establish an authenticated GitHub session. This only needs to happen once -- session cookies persist across runs via the --session-name flag.

Close the current session and open the GitHub login page in a headed Chrome window:

agent-browser close
agent-browser --engine chrome --headed --session-name github open https://github.com/login

The user must log in manually in the browser window (handles 2FA, SSO, OAuth -- any login method). Use the platform's blocking question tool (AskUserQuestion in Claude Code, request_user_input in Codex, ask_user in Gemini). Otherwise, present the message and wait for the user's reply before proceeding:

GitHub login required for video upload.

A Chrome window has opened to github.com/login. Please log in manually
(this handles 2FA/SSO/OAuth automatically). Reply when done.

After login, verify the session works:

agent-browser open https://github.com/settings/profile

If the profile page loads, auth is confirmed. The github session is now saved and reusable.

Upload the video

Navigate to the PR page and scroll to the comment form:

agent-browser open "https://github.com/[owner]/[repo]/pull/[number]"
agent-browser scroll down 5000

Save any existing textarea content before uploading (the comment box may contain an unsent draft):

agent-browser eval "document.getElementById('new_comment_field').value"

Store this value as SAVED_TEXTAREA. If non-empty, it will be restored after extracting the upload URL.

Upload the video via the hidden file input. Use the caller-provided .mp4 path if in upload-only resume mode, otherwise use the current run's encoded video:

agent-browser upload '#fc-new_comment_field' [VIDEO_FILE_PATH]

Where [VIDEO_FILE_PATH] is either:

  • The .mp4 path passed as the first argument (upload-only resume mode)
  • .context/compound-engineering/feature-video/[RUN_ID]/videos/feature-demo.mp4 (normal recording flow)

Wait for GitHub to process the upload (typically 3-5 seconds), then read the textarea value:

agent-browser wait 5000
agent-browser eval "document.getElementById('new_comment_field').value"

Validate the extracted URL. The value must contain user-attachments/assets/ to confirm a successful native upload. If the textarea is empty, contains only placeholder text, or the URL does not match, do not proceed to Step 7. Instead:

  1. Check agent-browser get url -- if it shows github.com/login, the session expired. Re-run auth setup.
  2. If still on the PR page, wait an additional 5 seconds and re-read the textarea (GitHub processing can be slow).
  3. If validation still fails after retry, report the failure and the local video path so the user can upload manually.

Restore the original textarea content (or clear if it was empty). A JSON-encoded string is also a valid JavaScript string literal, so assign it directly without JSON.parse:

agent-browser eval "const ta = document.getElementById('new_comment_field'); ta.value = [SAVED_TEXTAREA_AS_JS_STRING]; ta.dispatchEvent(new Event('input', { bubbles: true }))"

To prepare the value: take the SAVED_TEXTAREA string and produce a JS string literal from it -- escape backslashes, double quotes, and newlines (e.g., "text with \"quotes\" and\nnewlines"). If SAVED_TEXTAREA was empty, use "". The result is embedded directly as the right-hand side of the assignment -- no JSON.parse call needed.

7. Update PR Description

Get the current PR body:

gh pr view [number] --json body -q '.body'

Append a Demo section (or replace an existing one). The video URL renders as an inline player when placed on its own line:

## Demo

https://github.com/user-attachments/assets/[uuid]

*Automated video walkthrough*

Update the PR:

gh pr edit [number] --body "[updated body with demo section]"

8. Cleanup

Ask the user before removing temporary files. If confirmed, clean up only the current run's scratch directory (other runs may still be in progress or awaiting upload).

If the video was successfully uploaded, remove the entire run directory:

rm -r .context/compound-engineering/feature-video/[RUN_ID]

If in record-only mode or upload failed, remove only the screenshots but preserve the video so the user can upload later:

rm -r .context/compound-engineering/feature-video/[RUN_ID]/screenshots

Present a completion summary:

Feature Video Complete

PR: #[number] - [title]
Video: [VIDEO_URL]

Shots captured:
1. [description]
2. [description]
3. [description]
4. [description]

PR description updated with demo section.

Usage Examples

# Record video for current branch's PR
/feature-video

# Record video for specific PR
/feature-video 847

# Record with custom base URL
/feature-video 847 http://localhost:5000

# Record for staging environment
/feature-video current https://staging.example.com

Tips

  • Keep it short: 10-30 seconds is ideal for PR demos
  • Focus on the change: don't include unrelated UI
  • Show before/after: if fixing a bug, show the broken state first (if possible)
  • The --session-name github session expires when GitHub invalidates the cookies (typically weeks). If upload fails with a login redirect, re-run the auth setup.
  • GitHub DOM selectors (#fc-new_comment_field, #new_comment_field) may change if GitHub updates its UI. If the upload silently fails, inspect the PR page for updated selectors.

Troubleshooting

SymptomCauseFix
ffmpeg: command not foundffmpeg not installedInstall via brew install ffmpeg (macOS) or equivalent
agent-browser: command not foundagent-browser not installedLoad the agent-browser skill for installation instructions
Textarea empty after upload waitSession expired, or GitHub processing slowCheck session validity (Step 6 auth check). If valid, increase wait time and retry.
Textarea empty, URL is github.com/loginSession expiredRe-run auth setup (Step 6)
gh pr view failsNo PR for current branchStep 1 handles this -- choose to create a draft PR or record-only mode
Video file too large for uploadExceeds GitHub's 10MB (free) or 100MB (paid) limitRe-encode: lower framerate (-framerate 0.33), reduce resolution (scale=960:-2), or increase CRF (-crf 28)
Upload URL does not contain user-attachments/assets/Wrong upload method or GitHub changeVerify the file input selector is still correct by inspecting the PR page

平台分布

Codex

37.54%
按下载量换算488

Claude

31.41%
按下载量换算409

Cursor

17.39%
按下载量换算226

Gemini CLI

10.11%
按下载量换算132

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills