技能圖譜SKILLSGROVE
技能圖譜/影片製作/maystudios/claude-skills/meta-muse-video-analysis

meta-muse-video-analysis

安裝

$npx skills add https://github.com/maystudios/claude-skills --skill meta-muse-video-analysis
$git clone --depth 1 https://github.com/maystudios/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/meta-muse-video-analysis ~/.claude/skills/meta-muse-video-analysis
請幫我安裝這個 Agent Skill:https://github.com/maystudios/claude-skills/tree/25145cf85b0709dcc2f7a40a7035c7527c137a6c/meta-muse-video-analysis ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITAnalyze local video files with the fixed Meta Model API model Muse Spark 1.2 Contributor and a user-defined prompt. Use when Codex or Claude Code is asked to inspect, summarize, transcribe, timestamp, inventory, review, or extract information from a video and the META_MUSE_KEY Windows environment variable is available.
以下 SKILL.md 內容轉載自 maystudios/claude-skills(提交 25145cf),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Sven Maibaum (maystudios) 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Meta Muse Video Analysis

Analyze one local video with scripts/analyze_video.py. Keep the model fixed; never add or substitute a model selector.

Workflow

  1. Resolve the user's video to an absolute local path.
  2. Preserve the user's analysis prompt verbatim unless they ask for prompt improvement.
  3. Confirm that META_MUSE_KEY exists without printing its value.
  4. Run:
python "<skill-directory>\scripts\analyze_video.py" "C:\absolute\path\video.mp4" --prompt "Describe the requested analysis"

For long or multiline prompts, write the prompt to a temporary UTF-8 text file and use --prompt-file. Use --output when the user requests a saved result:

python "<skill-directory>\scripts\analyze_video.py" "C:\absolute\path\video.mp4" --prompt-file "C:\absolute\path\prompt.txt" --output "C:\absolute\path\analysis.md"
  1. Return the analysis or link the saved output. Surface API errors exactly enough to diagnose access, quota, format, or region issues, but never expose the API key.

Operational rules

  • Read the API key only from META_MUSE_KEY.
  • Use only muse-spark-1.2-contributor through https://api.meta.ai/v1.
  • In Codex, run the script with network approval. The key may be visible only in the approved outside-sandbox process; never copy it into command arguments or output.
  • Check the model catalog before upload. If Contributor access is absent, stop without uploading and never fall back to standard muse-spark-1.2.
  • Upload the video through the Files API and attach it to a Responses API request.
  • Delete the remote file after the response, including after failures. Use --keep-upload only when the user explicitly asks to retain it.
  • Do not silently preprocess, transcode, shorten, or split the video. If Meta rejects its format or size, report that limitation and ask before transforming the source.
  • Treat Contributor uploads as externally shared data. Warn before sending secrets, private customer material, unreleased footage, or other sensitive content unless the user has already confirmed that the Contributor data terms are acceptable.
  • Do not print, log, persist, or copy the API key.

CLI reference

analyze_video.py VIDEO (--prompt TEXT | --prompt-file FILE)
                 [--output FILE] [--json] [--keep-upload]
                 [--timeout SECONDS]

If neither prompt option is supplied, the script reads redirected stdin or asks interactively. --json emits a machine-readable result envelope. Progress and warnings go to stderr; the analysis goes to stdout.

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Sven Maibaum (maystudios)

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.