技能 pexoai-agent
📦

pexoai-agent

中风险 ⚡ 包含脚本⚙️ 外部命令🌐 网络访问📁 文件系统访问🔑 环境变量

使用Pexo Agent创建AI短视频

制作AI短视频耗时较长,且需要专业的视频剪辑技能。本技能可连接Pexo的AI视频平台,让您只需描述需求即可创建专业视频。

支持: Claude Codex Code(CC)
⚠️ 67
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“pexoai-agent”。 为我的新咖啡店制作一段15秒的产品视频,风格要温馨有吸引力。

预期结果:

该技能创建一个项目,将请求提交至Pexo,约15分钟后返回一个可下载的MP4视频URL,展示一段带有转场和背景音乐的专业剪辑咖啡店推广视频。

正在使用“pexoai-agent”。 [上传一张跑鞋照片] 使用这张鞋子照片制作一段30秒的Instagram Reel,展示其动态效果。

预期结果:

该技能将鞋子图片作为参考素材上传,将创意简报发送至Pexo,最终交付一段30秒竖屏格式视频,展示鞋子在各种动态场景中的效果并配有文字叠加。

安全审计

中风险
v56 • 5/27/2026

This skill is a legitimate API client for the Pexo AI video generation service. It uses shell scripts to communicate with pexo.ai's REST API, requiring network access, API credentials, and local script execution. The static analyzer flagged a high number of findings (537) due to the combination of these risk factors, but most are expected patterns for a CLI API client. Key confirmed risks are: external API calls to a third-party service, credential access (PEXO_API_KEY), and local file operations. No evidence of malicious intent or obfuscation was found. The skill is safe to publish with MEDIUM risk level and appropriate user warnings.

13
已扫描文件
2,153
分析行数
12
发现项
56
审计总数

高风险问题 (2)

API Credential Access via Environment Variable
The skill reads PEXO_API_KEY from ~/.pexo/config or environment variables and uses it in Authorization headers for all API calls. This is required for the skill to function but means the API key is accessible to the AI agent and any process that can read the config file or environment.
External Network Communication to Third-Party API
All shell scripts make HTTPS requests to pexo.ai API endpoints. The base URL is configurable via PEXO_BASE_URL. This is the core functionality of the skill but involves data leaving the user's environment.
中风险问题 (3)
Shell Script Execution via Command Substitution
The skill uses shell command substitution ($(...)) extensively in bash scripts to call the Pexo API. This is the intended operation of the skill but means the AI agent executes arbitrary shell commands. Arguments are validated in some cases (file existence, asset ID format) but not universally sanitized.
Hidden File Access for Configuration
The skill reads configuration from ~/.pexo/config, a hidden file in the user's home directory. This is standard CLI tool behavior but grants filesystem access to credential-containing files. The config file stores the PEXO_API_KEY in plaintext.
Temporary File and Directory Operations
The skill creates temporary files using mktemp and stores downloaded assets in ~/.pexo/tmp/. These operations are standard for CLI tools but do involve writing to the filesystem.
低风险问题 (2)
Hardcoded URLs in Documentation and Scripts
Multiple hardcoded URLs reference pexo.ai domains. These are legitimate service endpoints being documented, not malicious exfiltration targets. The URLs point to the service API, help guides, and project pages.
Standard Device File Access in Scripts
Some scripts redirect output to /dev/null, which is a standard shell scripting pattern for suppressing output. This is not a security concern.

风险因素

⚡ 包含脚本 (10)
⚙️ 外部命令 (16)
🌐 网络访问 (12)
📁 文件系统访问 (12)
🔑 环境变量 (11)

检测到的模式

Shell Command Substitution with Variable Interpolation
审计者: claude 查看审计历史 →

质量评分

64
架构
100
可维护性
87
内容
47
社区
26
安全
91
规范符合性

你能构建什么

社交媒体内容创作

内容创作者描述一个TikTok或Instagram Reel创意,该技能处理从构思到可下载视频文件的完整视频制作流程。

产品营销视频

营销人员上传产品图片并描述其推广视频愿景,该技能使用上传的素材作为参考来创建视频。

教育讲解视频

教育工作者或培训师描述想要直观展示的概念,该技能生成一段适合分享的简短动画讲解视频。

试试这些提示

基础视频请求
制作一个关于[主题]的短视频,控制在30秒以内。
带参考素材的视频
[上传产品照片] 使用这些图片作为参考创建一段推广视频,时长15秒,竖屏格式。
视频修改请求
将视频中的背景音乐换成更有活力的曲子,并缩短开场部分,保留相同的画面内容。
多素材完整工作流
创建一个60秒的品牌视频,16:9格式。我有一个开场片段和一个Logo图片需要加入。视频应以专业风格介绍我们的新产品功能。

最佳实践

  • 向Pexo发送请求时,逐字复制用户的原始需求。添加您自己的创意细节会降低视频质量。
  • 每次状态轮询之间至少等待60秒,以避免触发重复的视频制作。
  • 以纯文本形式发送完整的视频下载URL,包含所有查询参数,确保链接能正常使用。

避免

  • 添加用户未提及的时长、风格或画面比例等细节,这会覆盖Pexo的专业判断。
  • 在项目处于WAIT状态时调用pexo-chat.sh,这会触发重复的视频制作并浪费积分。
  • 截断视频下载URL中的查询参数,这会导致403禁止访问错误。

常见问题

什么是Pexo Agent?
Pexo Agent是一个连接到Pexo AI视频平台的技能。您描述想要的视频内容,该技能负责其余工作:创建项目、上传素材、提交请求以及交付最终视频。
使用此技能需要什么条件?
您需要从pexo.ai获取PEXO_API_KEY,并将其设置为环境变量。您的系统还需要安装curl、jq和file命令。
视频创作需要多长时间?
标准短视频制作大约需要15到20分钟。更复杂或更长的视频可能需要额外时间。
支持哪些视频格式和画面比例?
该技能支持16:9(横屏)、9:16(竖屏)和1:1(正方形)三种画面比例,时长范围为5到120秒。
视频创建完成后还能修改吗?
可以。使用修改工作流向同一项目发送您的反馈意见,Pexo将根据您的修改更新视频。
积分用完了怎么办?
该技能会自动检测积分不足错误,并提供通过Pexo网站购买更多积分的操作指引。