Communitygithub.com

ZURAVFX/zura-premiere-reels

安装或修复本地的 Zura Premiere Reels MCP 及 Premiere 连接器,当用户要求设置 Zura Premiere Reels 时使用。

zura-premiere-reels 是什么?

此技能用于在 Windows 上安装或修复 Zura Premiere Reels MCP 和 Premiere 连接器。它通过已安装插件的记录来查找设置脚本,确保不使用过时的缓存副本。该脚本会使用插件自带的 MCP 源,仅在需要时通过 winget 安装 Node.js LTS,构建并安装本地 MCP,安装并自动启动 CEP 面板,并移除任何重复的独立 Codex MCP 条目,以确保插件拥有连接控制权。安装完成后,用户需要手动重启 Premiere 和 Codex,并且不要在全新对话成功调用 MCP 之前声称 Codex 已连接。如果遇到安全提示或安装失败,技能会停止并要求用户直接解决,不会自行点击通过或安装上游 npm 包。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ZURAVFX/zura-premiere-reels/tree/HEAD/plugins/zura-premiere-reels/skills/setup-zura-premiere-reels

在你喜欢的 AI 中提问

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

文档

设置 Zura Premiere Reels

当用户要求安装、设置或修复 Zura Premiere Reels 时(包括在一次性 GitHub 安装过程中),运行此设置。在 Windows 上,直接运行打包的安装程序;不要切换到上游 npm 包或使用 Computer Use。

  1. 使用已安装的插件记录查找其设置脚本,以便在更新后不会选择旧的缓存副本。运行以下 PowerShell 命令:

    $codex = Get-Command codex.cmd -ErrorAction SilentlyContinue
    if (-not $codex) { $codex = Get-Command codex -ErrorAction SilentlyContinue }
    if (-not $codex) { throw "Codex CLI 未在 PATH 中找到。" }
    $pluginList = (& $codex.Source plugin list --json | ConvertFrom-Json)
    if ($LASTEXITCODE -ne 0) { throw "无法读取已安装的 Codex 插件列表。" }
    $installed = @($pluginList.installed | Where-Object { $_.name -eq "zura-premiere-reels" -and $_.enabled })
    $oaPlugin = @($installed | Where-Object { $_.marketplaceName -eq "oa-motion-software" })
    if ($oaPlugin.Count -eq 1) { $plugin = $oaPlugin[0] }
    elseif ($installed.Count -eq 1) { $plugin = $installed[0] }
    else { throw "请先启用一个已安装的 Zura Premiere Reels 插件,然后再运行设置。" }
    $setup = Join-Path $plugin.source.path "scripts\setup-zura-premiere-reels.ps1"
    if (-not (Test-Path -LiteralPath $setup -PathType Leaf)) { throw "已安装的 Zura 插件设置脚本未在 $setup 找到。" }
    & powershell.exe -NoProfile -ExecutionPolicy Bypass -File $setup
    if ($LASTEXITCODE -ne 0) { throw "Zura Premiere Reels 设置失败,退出代码为 $LASTEXITCODE。" }
    
  2. 等待安装程序完成。它使用此插件自带的 MCP 源,仅在需要时通过 winget 安装 Node.js LTS,构建并安装本地 MCP,安装并自动启动 CEP 面板,并移除任何重复的独立 Codex MCP 条目,以便插件拥有连接控制权。

  3. 确认安装程序报告成功,并且 zura-premiere-mcp 可在 PATH 上找到。在全新对话成功调用 MCP 之前,不要声称 Codex 已连接。

  4. 不要自动重启 Premiere 或 Codex。如果必须重启 Premiere 才能加载面板,或者因为安装过程中安装了 Node.js 而必须重启 Codex,请告知用户。不要要求他们重复安装。

如果 PowerShell 或 Windows 弹出安全提示,请停止并让用户直接解决。不要点击通过安全提示。如果设置失败,请报告失败步骤和具体错误,然后停止,而不是安装上游包。

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

相关技能