Analyze video
Qwen Omni'yi kullanarak bir video veya görüntü dosyasını analiz edin
Kaynak: davepoon/claude-code-subagents-collection · MIT
Qwen Omni'yi kullanarak bir video veya görüntü dosyasını analiz edin
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/analyze-video/raw -o .claude/commands/analyze-video.mdHedef dosya: .claude/commands/analyze-video.md
Analyze a video or image file using the Qwen Vision Bridge.
$1 — path to the video or image file$ARGUMENTS minus $1) — optional analysis prompt. If not provided, use a general analysis prompt appropriate to the file type.Verify the file exists at the given path. If not, search the current directory and workspace for a matching filename.
Check that DASHSCOPE_API_KEY is set:
echo $DASHSCOPE_API_KEY | head -c 5
If empty, tell the user to run /qwen-setup first.
Ensure dashscope is installed:
python3 -c "import dashscope" 2>&1
If missing, install it: pip install dashscope --break-system-packages
Run the bridge:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/qwen-vision/scripts/qwen_bridge.py" "$1" "prompt here" --fps 2
Present the analysis to the user in a clean, readable format. If the user's prompt implies structured output (classification, comparison, scoring), format accordingly.
Ask if the user wants to:
--save-context)If the user provides a directory path or glob pattern instead of a single file, write a batch script following the pattern in ${CLAUDE_PLUGIN_ROOT}/skills/qwen-vision/references/batch-pattern.md and run it.