Token导航 LogoToken导航

Agent Skill · 开发

alibabacloud-bailian-videoanalysis(阿里巴巴云百联视频分析)

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

alibabacloud-bailian-videoanalysis 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 13,365。

总安装 927周安装 39GitHub Stars 80下载 324核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:alibabacloud-bailian-videoanalysis(阿里巴巴云百联视频分析)
来源仓库:https://github.com/aliyun/alibabacloud-aiops-skills
仓库路径:skills/alibabacloud-bailian-videoanalysis
安装命令:
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-bailian-videoanalysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-bailian-videoanalysis

这个 Skill 是做什么的

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

用于视频智能分析,包括镜头切分、ASR 转录、标题生成与思维导图提取。基于 Bailian Video Analysis Light Application 提供服务。输出语言优先匹配用户输入或环境 locale,默认为中文。需上传视频至 OSS 并获取 URL,确保文件可访问且符合版权要求。

alibabacloud-bailian-videoanalysis 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/alibabacloud-bailian-videoanalysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alibabacloud-bailian-videoanalysis 怎么安装?

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

alibabacloud-bailian-videoanalysis 支持哪些 AI 工具?

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

alibabacloud-bailian-videoanalysis 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alibabacloud-bailian-videoanalysis 是免费的吗?

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

alibabacloud-bailian-videoanalysis 用的人多吗?

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

alibabacloud-bailian-videoanalysis 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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有提醒
alibabacloud-bailian-videoanalysis

阿里巴巴云百联视频分析 · 本页

92780接触敏感数据未明确有提醒

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

SKILL.md 原文

Bailian Video Analysis

This skill provides video analysis functionality based on Alibaba Cloud Bailian Video Analysis Light Application. It uses the Bailian (QuanMiaoLightApp) API for intelligent video comprehension, including shot analysis, ASR transcription, title generation, caption extraction, and mind mapping.

Architecture: CLI (Credential Chain) + OSS (File Storage) + Bailian Workspace + Quanmiao Video Analysis Service + Python SDK Scripts


Output Language Policy

Detection Priority: User input language → Environment language → Default: Chinese (中文)

Apply to: All user-facing messages, summaries, error explanations, and interactive prompts.

Keep original language: Code snippets, API responses, file paths, technical identifiers, HTTP status codes.


Installation

1. Python Dependencies

python -m pip install -r scripts/requirements.txt
# On some systems, use pyhon3 instead of python

2. Alibaba Cloud CLI

Pre-check: Aliyun CLI >= 3.3.1 required Run aliyun version to verify >= 3.3.1. If not installed or version too low, see references/cli-installation-guide.md for installation instructions. Then [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation.
AI-Mode Configuration for aliyun CLI When using the aliyun CLI in this skill, you MUST configure AI-Mode settings: ``bash # Enable AI-Mode (required before using CLI commands) aliyun configure ai-mode enable # Set User-Agent for tracking (required) aliyun configure ai-mode set-user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis # Update plugins to latest versions (recommended) aliyun plugin update ` **Note:** After completing your tasks, you can disable AI-Mode: `bash aliyun configure ai-mode disable ``

3. Important Prerequisite: Activate Bailian and Video Analysis Service

Before using this skill, you must first activate the Video Analysis service in the Alibaba Cloud Bailian console!

  1. Visit Bailian Video_Analysis page
  2. Click the "Paid activation" button
  3. Confirm activation and wait for the service to take effect (usually 1-2 minutes)

4. Important Prerequisite: Guide Users to Grant Permissions in Alibaba Cloud Access Control and Bailian

Before using this skill, you must grant the following permissions to the previously configured AK, otherwise calls will fail and may cause 403 errors

1) RAM Permission Grant

See references/ram-policies.md for the full list of required RAM permissions and authorization instructions.

[MUST] Permission Failure Handling: When any command or API call fails due to permission errors at any point during execution, follow this process: 1. Read references/ram-policies.md to get the full list of permissions required by this SKILL 2. Use ram-permission-diagnose skill to guide the user through requesting the necessary permissions 3. Pause and wait until the user confirms that the required permissions have been granted
2) Bailian Workspace Permission Grant
  1. Visit Alibaba Cloud Bailian Permission Management
  2. If the RAM user corresponding to the AK does not exist, click "Add User" in the upper right corner of the page, select the corresponding RAM user and click confirm to add.
  3. There is a 30s effective time after configuration, please wait patiently for a while.

Authentication

Pre-check: Alibaba Cloud Credentials Required Security Rules: - NEVER read, echo, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN) - NEVER ask the user to input AK/SK directly in the conversation or command line - NEVER use aliyun configure set with literal credential values - ONLY use aliyun configure list to check credential status ``bash aliyun configure list ` Check the output for a valid profile (AK, STS, or OAuth identity). **If no valid profile exists, STOP here.** 1. Obtain credentials from [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak) 2. Configure credentials **outside of this session** (via aliyun configure in terminal or environment variables in shell profile) 3. Return and re-run after aliyun configure list` shows a valid profile

Parameter Confirmation

IMPORTANT: Parameter Confirmation — Before executing any command or API call, confirm user-provided or customizable parameters (video source, OSS bucket, oss object key). System-auto-resolved parameters (workspace_id, default OSS bucket) do NOT require explicit confirmation unless the user wants to override them.
ParameterTypeDescriptionDefault / Resolution
video_sourceRequiredLocal file path OR downloadable video URLN/A (user must provide)
workspace_idAuto-resolvedBailian workspace IDAuto-detected(user may override)
ossBucketOptionalOSS bucket name for file uploadAuto-detect from first available bucket; user may specify (e.g. --ossBucket my-bucket)
ossObjectKeyOptionalOSS object key for the uploaded file/temp/quanmiao/YYYYMMDD/filename
expireSecondsOptionalTemporary URL expiration time (seconds)14400 (4 hours)

Confirmation Workflow:

  1. Auto-detection first: The skill will auto-detect workspace_id and ossBucket when possible
  2. User override: If user wants to specify custom values, confirm before using
  3. Local vs URL: Confirm whether user is providing a local file path or a public URL

Core Workflow

⚠️ CRITICAL: Cloud API Mandatory — This skill MUST use Bailian (QuanMiaoLightApp) API for video analysis. Local tools (ffmpeg, whisper, OpenCV, ffprobe, mediainfo, etc.) are FORBIDDEN. If API calls fail due to credentials or permissions, follow Permission Failure Handling process — DO NOT fall back to local analysis.

Step 1: Environment Check

Run python scripts/check_env.py to verify:

  • Python packages are installed
  • Credentials are configured via default credential chain

If check_env.py fails or returns {"ready": false}:

  • Packages missing → Run python -m pip install -r scripts/requirements.txt
  • Credentials missing or invalid → Follow Permission Failure Handling process:

1. Read references/ram-policies.md to get required permissions 2. Use ram-permission-diagnose skill to guide user through permission request 3. Wait for user confirmation before proceeding 4. DO NOT proceed with local analysis tools

Expected output: {"ready": true} indicates environment is properly configured.

Step 2: Get Workspace ID

Do not ask the user for workspace_id upfront. Always auto-fetch available workspaces first:

aliyun modelstudio list-workspaces --user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis

Workspace selection logic:

  • Single workspace returned → use it directly, no need to prompt the user
  • Multiple workspaces returned → display a numbered list and proceed with the following:

1. Default behavior: Use the first workspace in the list automatically to avoid unnecessary interaction 2. User explicitly requests selection: If the user says "let me choose workspace", "show me the workspace list", or similar, present the full list and ask them to pick one

  • No workspaces returned → inform the user that no Bailian workspace is available, guide them to create one at the Bailian Console
  • Record user selection in the session to avoid repeated inquiries

Step 3: Upload File(video_source) to OSS

Based on the input resource type from Input Resource Validation:

Case A: User provided a downloadable URL → Verify URL accessibility: Test if the URL is downloadable using appropriate method for your OS → Skip this step. Use the video_source as file_url in Step 4.

Case B: User provided a local file path → Auto-detects OSS bucket、Upload local file to OSS and get a temporary URL(file_url) for Step 4:

  • (1) Auto-detect or use user-specified OSS bucket:

- If user specifies --ossBucket <bucket_name>, attempt to use that bucket - If the specified bucket returns 403 AccessDenied or BucketAlreadyExists: DO NOT switch to another bucket automatically. Instead: 1. Inform the user that the specified bucket is not accessible 2. Follow the Permission Failure Handling process in RAM Policy section 3. Guide user to grant OSS bucket access permissions or specify an alternative bucket they own 4. Wait for user confirmation before proceeding - If no bucket specified, auto-detect from first available bucket

aliyun ossutil ls --user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis
  • (2) Upload file to OSS: Generate a unique key(oss_object_key) for the uploaded file.

IMPORTANT - Upload Path Restriction:

  • Default path: MUST use /temp/quanmiao/YYYYMMDD/filename format (auto-generated with current date)
  • Custom path: ONLY if user explicitly specifies a custom oss_object_key, otherwise always use default path
  • Security rule: NEVER upload files outside /temp/quanmiao/ prefix unless user explicitly requests it
aliyun ossutil cp <video_source> oss://{oss_bucket}/{oss_object_key} --user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis --region {oss_region}
  • (3) Generate temporary URL: Generate a temporary URL for the uploaded file using the ossutil sign command.

- --expireSeconds: Default 14400s (4 hours), confirm if different value needed

aliyun ossutil sign oss://{oss_bucket}/{oss_object_key} --expires-duration {expire_seconds} --user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis --region {oss_region}
  • (4) Verify URL accessibility: Test if the generated URL is downloadable using appropriate method for your OS

- Note: Prefer GET request over HEAD request for verification, as some OSS signature versions may reject HEAD requests.

Recommended validation URL downloadable methods:

  • macOS/Linux: curl -L --connect-timeout 10 --max-time 30 -o /dev/null -w "%{http_code}" <file_url> (returns HTTP status code)
  • Windows: Invoke-WebRequest -Uri <file_url> -Method Head -TimeoutSec 30 (PowerShell)

Validation criteria:

  • HTTP 200 → URL is valid and accessible, proceed to Step 4
  • HTTP 403/404 → URL expired or invalid, regenerate with ossutil sign
  • Other errors → Check network or OSS permissions

Step 4: Submit Video Analysis Task

⚠️ MANDATORY API CALL — You MUST call SubmitVideoAnalysisTask on QuanMiaoLightApp product (version 2024-08-01). Do NOT use videorecog, Mts, or any other product. Do NOT attempt local analysis.
API Selection Checklist — Before calling, verify: - ✅ Product: QuanMiaoLightApp (NOT videorecog, NOT Mts) - ✅ Version: 2024-08-01 - ✅ Action: SubmitVideoAnalysisTask - ✅ Parameters: workspace_id, file_url
python scripts/quanmiao_submit_videoAnalysis_task.py --workspace_id <workspace_id> --file_url <file_url>

Parameters requiring confirmation:

  • --workspace_id: From Step 2 (confirm with user)
  • --file_url: From Step 3 upload result or user-provided URL (confirm validity)

Error Handling:

  • If API returns 401 InvalidApiKey or 403 AccessDenied: STOP and follow Permission Failure Handling process
  • Do NOT attempt alternative APIs or local tools
  • Inform user: "Video analysis requires Bailian service activation and proper RAM permissions. Please follow the permission grant guide."

Returns task_id for polling.

Step 5: Poll for Task Result

⚠️ MANDATORY API CALL — You MUST poll GetVideoAnalysisTask on QuanMiaoLightApp product (version 2024-08-01) until status is SUCCESSED. Do NOT generate summary from local tools or filename inference.

Video analysis is asynchronous. Poll until completion:

Task Status: PENDING → RUNNING → SUCCESSED | FAILED | CANCELED

Variables:

  • result_json_path: ~/.quanmiao/videoanalysis/<video_filename_without_ext>_<task_id>.json
  • index_file: ~/.quanmiao/videoanalysis/index.jsonl

Polling Loop:

  1. Wait 10 seconds after submission
  2. Run: python scripts/quanmiao_get_videoAnalysis_task_result.py --workspace_id <workspace_id> --task_id <task_id> --save_path <result_json_path>
  3. Check the returned status field:

- SUCCESSED → Script auto-saves JSON to result_json_path, append entry to index_file, display saved locations, then proceed to Step 6 - FAILED or CANCELED → check error message, inform user, stop - PENDING or RUNNING → display any partial results available, wait 10s, repeat from step 2

  1. Max 180 retries (approximately 30 minutes)

When taskStatus = SUCCESSED:

  1. Append to index file (index_file): {"task_id": "<task_id>", "video_source": "<original_path_or_url>", "workspace_id": "<workspace_id>", "result_file": "<result_json_path>", "timestamp": "<ISO8601>"}
  2. Display saved locations:
✅ Files saved successfully:
- Raw JSON result: <result_json_path>
- Index updated: <index_file>

Parameters requiring confirmation:

  • --workspace_id: Same as Step 4 (confirm consistency)
  • --task_id: From Step 4 submission result (verify before polling)

Step 6: Summarize Video Content

CRITICAL: Use the results from Step 5 directly. Do NOT call the API again. Do NOT re-execute any analysis.

Extract data from the SUCCESSED response obtained in Step 5 and summarize according to user requirements.

Case A: If the user has a specific analysis request (e.g., "analyze the speaker's body language", "extract key business insights", "compare two people in the video"), base your answer primarily on:

  • payload.output.videoGenerateResults — scene-by-scene analysis, descriptions, interpretations
  • payload.output.videoAnalysisResult.text — visual shot analysis, object/person recognition, action detection Combine these fields to construct a targeted answer. Supplement with other fields (captions, mind map, title) as context if relevant.

Case B: If no specific request, use the standard output format: Title → Outline → Summary → Captions → Shot Analysis → Timeline → Token Usage


Important Constraints

  • Cloud-only: No local fallbacks (ffmpeg, whisper, etc.). If cloud API fails, follow Permission Failure Handling process.
  • Violation Consequence: Using local tools instead of QuanMiaoLightApp API will result in task failure.
  • Security: Never expose credentials in logs or prompts
  • Permissions: On auth errors, see ram-policies.md
  • Caching: Check ~/.quanmiao/videoanalysis/index.jsonl before re-analyzing same video

Success Verification

See references/verification-method.md for step-by-step verification commands and expected outcomes.


Cleanup

To clean up resources created by this skill:

Delete uploaded OSS objects:

aliyun ossutil rm oss://{oss_bucket}/{oss_object_key} --user-agent AlibabaCloud-Agent-Skills/alibabacloud-bailian-videoanalysis

Cleanup best practices:

  • Confirm bucket name and oss object key before deletion
  • Only delete objects with /temp/quanmiao/ prefix to avoid accidental data loss
  • Cached results at ~/.quanmiao/videoanalysis/ can be kept for future reference or deleted manually

Best Practices

  1. Always verify environment first — run check_env.py before any other operation to catch missing dependencies or credentials early.
  2. Auto-detect workspace_id — always fetch workspaces via list-workspaces; default to the first result, but present a selection list when the user explicitly asks to choose.
  3. Use default OSS settings — unless the user specifies a particular bucket, let the script auto-detect the bucket and generate the oss object key.
  4. Display partial results during polling — when task status is RUNNING, show available results (title, captions) to give the user real-time feedback.
  5. Save complete result for summary — when status becomes SUCCESSED, use the full result payload directly for Step 6 without re-calling the API.
  6. Respect URL expiration — temporary OSS URLs expire after expireSeconds (default 14400s); ensure the task is submitted before the URL expires.
  7. Handle permission errors gracefully — follow the Permission Failure Handling process in the RAM Policy section; never improvise credential fixes.

Command Tables

See references/related-commands.md for the full list of available scripts and their parameters.


Reference Links

ReferencePurpose
references/cli-installation-guide.mdInstalling and upgrading Aliyun CLI
references/ram-policies.mdRAM permission checklist and authorization guide
references/acceptance-criteria.mdAcceptance criteria and correct/incorrect usage patterns
references/related-commands.mdAvailable scripts and CLI command reference
references/verification-method.mdStep-by-step success verification commands

Troubleshooting

Common scenarios:


平台分布

Codex

33.42%
按下载量换算108

Claude

31.4%
按下载量换算102

Cursor

19.31%
按下载量换算63

Gemini CLI

9.8%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills