保利威直播
保利威官方 skill。通过 npm 发布版 polyv-live-cli 管理保利威云直播服务。用于查询或管理直播频道、推流地址和状态、商品、优惠券、回放、文档、场次、聊天、签到、问答、问卷、抽奖、打赏、观众、观看条件、白名单、平台设置、播放器、卡片推送、推广渠道、转播频道、AI 数字人、监控面板、场景初始化和直播统计。 Skill: 保利威直播 Owner: polyv Summary: 保利威官方 skill。通过 npm 发布版 polyv-live-cli 管理保利威云直播服务。用于查询或管理直播频道、推流地址和状态、商品、优惠券、回放、文档、场次、聊天、签到、问答、问卷、抽奖、打赏、观众、观看条件、白名单、平台设置、播放器、卡片推送、推广渠道、转播频道、AI 数字人、监控面板、场景初始化和直播统计。 Tags: latest:1.0.9 Version history: v1.0.9 | 2026-06-27T09:42:32.642Z | user - 移除 skill-card.md 文件。 - 在主文档中新增“本地图片与公网 URL”说明,明确图片参数需先上传为公网 URL,再用于各配置。 - 高频任务路由补充 web image-upload 相关内容,强化本地图片上传指引。 - 细化图片上传命令格式及常见类型举例,便于实际操作
Rank
62
Safety
84
Downloads
1.2k
Updated
Oct 10, 2026
Version
1.0.9
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.2K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.0.9release · observed Jun 27, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s172qmy2h5hp9cytnyn19hnaxh88rp40:polyv-live-cli- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-polyv-polyv-live-cli/snapshot"
Documentation
CLAWHUB
153,350 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: polyv-live-cli description: 保利威官方 skill。通过 npm 发布版 polyv-live-cli 管理保利威云直播服务。用于查询或管理直播频道、推流地址和状态、商品、优惠券、回放、文档、场次、聊天、签到、问答、问卷、抽奖、打赏、观众、观看条件、白名单、平台设置、播放器、卡片推送、推广渠道、转播频道、AI 数字人、监控面板、场景初始化和直播统计。 allowed-tools: Bash(npx --yes polyv-live-cli@latest:*) --- # 保利威云直播 CLI 以 npm 发布版 CLI 为准。不要根据旧示例、缓存文档、历史记忆或其他非发布版资料推断命令语法;只要能访问 npm,就先用发布版 `--help` 校验。 ## CLI 前缀 本文档和 `references/` 中的 `<CLI>` 表示: ```bash npx --yes polyv-live-cli@latest ``` 执行命令前必须把 `<CLI>` 展开为上面的真实命令;不要直接执行字面量 `<CLI>`。如果 npm latest help 与 reference 冲突,必须以 npm latest 的 `<CLI> ... --help` 为准。 ## 入口校验 先确认 npm 发布版命令面: ```bash <CLI> --version <CLI> --help ``` `<CLI> --version` 应返回当前 npm latest 版本。 每次处理某个命令族前,先运行最相关 help: ```bash <CLI> <command> --help <CLI> <command> <subcommand> --help ``` 不要根据本地源码、旧示例、缓存文档或记忆推断 npm latest 语法。 ## 认证预检 除 `--help`、`--version`、`account` 和 `use` 外,直播 API 命令通常需要账号配置。 执行业务命令前先检查: ```bash <CLI> account current <CLI> account list ``` 缺少账号或默认账号时,停止并请用户提供凭据。不要回显 AppSecret。用户明确请求推流地址/推流密钥时,可以返回 `stream get-key -o json` 的推流凭证,但提醒只提供给可信推流端。 ## 任务路由 自然语言任务先读 `references/task-routing.md`。如果仍不确定命令路径,再读 `references/command-index.md`,然后用对应 help 校验真实参数。 高频路由: - 频道基础、状态、角色、装修、分发、MR、频道 token:`channel` - 推流地址、直播状态、断流恢复、推流开关:`stream` - 本地图片上传为公网图片 URL:`web image-upload` - 观看页菜单、分享、退出跳转、页面信息、观看页打赏:`web` - 播放器 Logo、水印、暖场、片头、暂停页:`player` - 观看条件、鉴权、白名单观看:`watch-condition`、`whitelist` - 回放、录制文件、合并、转码、断点续录:`playback`、`record` - 文档、课件、多媒体资源关联:`document` - 场次、外部 ID、场次统计:`session`、`statistics` - 聊天消息、聊天开关、在线人数、禁言、踢人:`chat` - 抽奖、签到、问答、问卷、打赏:`lottery`、`checkin`、`qa`、`questionnaire`、`donate` - 互动脚本、互动监听、任务奖励、点赞/奖励:`interaction` - 商品、优惠券、商品标签、商品统计/设置:`product`、`coupon` - 卡片推送、推广渠道、转播频道:`card-push`、`promotion`、`transmit` - 观众、用户自定义字段、邀请榜单:`viewer`、`custom-field`、`invite-sales` - 平台/账号/全局设置、分组账号、伙伴账号:`platform`、`global`、`user`、`group`、`partner` - 素材库、WebApp、机器人、财务/审核、AI 数字人:`material`、`webapp`、`robot`、`finance`、`ai` ## 风险规则 只读命令如 `list`、`get`、`detail`、`status`、`export` 通常可以直接执行。写入或影响生产状态的命令必须先确认,或者在用户已经明确授权时使用命令支持的 `--force`。 下列动词默认视为高风险:`create`、`add`、`update`、`delete`、`remove`、`clear`、`batch-delete`、`enable`、`disable`、`start`、`stop`、`end`、`push`、`send`、`import`、`apply`、`register`、`allocate`、`merge`、`transcode`、`resume`、`cancel`。 测试写入类真实命令时,优先临时创建频道或测试对象,结束后清理;不要默认修改用户长期使用的频道,除非用户明确指定并授权。 ## 输出规则 做数据提取、对比、报告或后续脚本处理时,优先使用 JSON: ```bash <CLI> channel list -o json ``` 示例里的 `<频道ID>`、`<商品ID>`、`<回放ID>`、`<账号名>` 都是占位符。不要直接执行 reference 中的示例 ID。 ## 本地图片与公网 URL 很多图片参数只接受可公网访问的 HTTP(S) URL,不接受本地文件路径。用户提供本地图片、截图或附件,并要求设置频道封面、直播引导图、播放器 logo、暖场图、广告图、打赏图标、邀请卡、菜单图片、管理员/助教头像等图片类配置时,先用通用上传命令得到图片 URL,再把返回的 URL 用到目标命令。 通用上传命令: ```bash <CLI> web image-upload --type <图片类型> --files <本地图片路径> --force -o json ``` 返回值是图片 URL 数组;单图场景通常取第一个 URL。`--type` 必须按用途选择并用 `web image-upload --help` 校验,常见值包括 `coverImage`、`splashImage`、`logoImage`、`warmImage`、`adImage`、`startAdImage`、`stopAdImage`、`goodImage`、`invitationImage`、`menuImage`、`adminAvatar`、`assistantAvatar`、`authCodeImage`。 示例流程:用户给
_meta.json
{
"ownerId": "kn74gkj5m1rk89yf5beneexwsd82b5h7",
"slug": "polyv-live-cli",
"version": "1.0.9",
"publishedAt": 1782553352642
}references/ai.md
# AI 功能 命令族:`ai` 用途:AI 数字人、AI 视频生产、PPT 文件、TTS 音色。 执行前必须先运行: ```bash <CLI> ai --help ``` help 描述:Manage AI features for live streaming (管理AI功能) ## 直接子命令 - `ai digital-human`: Manage AI Digital Humans (管理AI数字人) - `ai video-produce`: Manage AI video production tasks, PPT files, and TTS voices ## 使用规则 - 需要输出给用户或后续处理时,优先加 `-o json` 或 `--output json`,但必须以 help 是否支持为准。 - 写入、删除、推送、启停、导入、批量处理类子命令必须先确认;命令支持 `--force` 时,只有用户明确授权才使用。 - 参数名、短参数和必填项必须从最深层 `--help` 获取,不要从本文件猜测。
references/authentication.md
# 身份认证配置
保利威直播 CLI 支持命令行凭证、账号配置和环境变量。客户环境优先使用账号配置或环境变量,避免把密钥写入脚本和文档。
## 常用认证方式
### 账号配置
```bash
<CLI> account add production \
--app-id your-app-id \
--app-secret your-app-secret \
--user-id your-user-id
<CLI> account set-default production
<CLI> account current
<CLI> account list
```
移除账号:
```bash
<CLI> account remove old-account
<CLI> account remove old-account --force
```
### 环境变量
```bash
export POLYV_APP_ID="your-app-id"
export POLYV_APP_SECRET="your-app-secret"
export POLYV_USER_ID="your-user-id"
<CLI> channel list
```
### 单次命令指定账号或凭证
```bash
<CLI> channel list -a production
<CLI> --appId <id> --appSecret <secret> --userId <userId> channel list
```
`-a/--account` 用于指定已存在的账号配置;根级凭证参数放在 CLI 前缀后、业务命令前。需要长期切换账号时,优先使用 `account set-default` 或 `use`,再执行业务命令。
## 推荐流程
1. 使用 `account add` 添加客户账号。
2. 使用 `account set-default` 设置默认账号。
3. 使用 `account current` 或 `account list` 确认当前账号。
4. 再执行频道、商品、统计等业务命令。
```bash
<CLI> account add customer-prod \
--app-id "$POLYV_APP_ID" \
--app-secret "$POLYV_APP_SECRET" \
--user-id "$POLYV_USER_ID"
<CLI> account set-default customer-prod
<CLI> account current
<CLI> channel list -o json
```
## CI/CD 示例
```yaml
env:
POLYV_APP_ID: ${{ secrets.POLYV_APP_ID }}
POLYV_APP_SECRET: ${{ secrets.POLYV_APP_SECRET }}
POLYV_USER_ID: ${{ secrets.POLYV_USER_ID }}
steps:
- name: 列出频道
run: <CLI> channel list -o json
```
## 安全建议
- 不要把 AppID、AppSecret、UserID 提交到 Git。
- 给不同客户、环境分别配置账号名称,避免误操作生产资源。
- 客户交付文档中使用占位符,不写真实凭证。
- 执行删除、初始化、推送等高风险命令前,先用 `account current` 确认当前账号。
## 故障排除
### 认证配置不完整
```bash
<CLI> account current
<CLI> account list
```
如果没有默认账号,执行:
```bash
<CLI> account set-default <账号名称>
```
也可以在单次命令中用 `-a <账号名称>` 指定已存在账号,或先用 `use <账号名称>` 切换当前终端会话账号。
### 凭证无效
- 确认 AppID、AppSecret、UserID 是否来自同一保利威账号。
- 确认客户账号具备对应 API 权限。
- 如密钥已轮换,重新执行 `account add` 或更新环境变量。references/card-push.md
# 卡片推送 管理直播间的卡片配置,并在直播中推送或取消推送卡片。 ## 当前 npm 命令面 ```bash <CLI> card-push list --channelId <频道ID> <CLI> card-push create --channelId <频道ID> ... <CLI> card-push update --channelId <频道ID> --cardPushId <卡片ID> ... <CLI> card-push push --channelId <频道ID> --cardPushId <卡片ID> <CLI> card-push cancel --channelId <频道ID> --cardPushId <卡片ID> <CLI> card-push delete --channelId <频道ID> --cardPushId <卡片ID> ``` `card-push` 使用 camelCase 参数,例如 `--channelId`、`--cardPushId`、`--imageType`、`--showCondition`。 ## 列出卡片 ```bash <CLI> card-push list --channelId <频道ID> <CLI> card-push list --channelId <频道ID> -o json ``` ## 创建卡片 手动推送卡片: ```bash <CLI> card-push create \ --channelId <频道ID> \ --cardType common \ --imageType giftbox \ --title "限时优惠" \ --link "https://shop.example.com/promo" \ --duration 10 \ --showCondition PUSH ``` 观看时长触发卡片: ```bash <CLI> card-push create \ --channelId <频道ID> \ --cardType common \ --imageType redpack \ --title "新手红包" \ --link "https://shop.example.com/redpack" \ --duration 15 \ --showCondition WATCH \ --conditionValue 30 \ --conditionUnit SECONDS ``` ## 更新卡片 ```bash <CLI> card-push update \ --channelId <频道ID> \ --cardPushId 123 \ --title "更新后的标题" \ --duration 20 ``` ## 推送、取消、删除 ```bash <CLI> card-push push --channelId <频道ID> --cardPushId 123 <CLI> card-push cancel --channelId <频道ID> --cardPushId 123 <CLI> card-push delete --channelId <频道ID> --cardPushId 123 ``` ## 常用参数 | 参数 | 说明 | | --- | --- | | `--channelId` | 频道 ID | | `--cardPushId` | 卡片推送 ID,更新、推送、取消、删除时使用 | | `--cardType` | `common` 或 `qrCode` | | `--imageType` | `giftbox`、`redpack`、`custom`、`weixinWork` | | `--title` | 卡片标题,最多 16 个字符 | | `--link` | 点击跳转链接 | | `--duration` | 倒计时秒数,支持 `0`、`5`、`10`、`20`、`30` | | `--durationPosition` | `bottom` 或 `top` | | `--showCondition` | `PUSH` 手动推送,`WATCH` 观看时长触发 | | `--conditionValue` | 观看时长触发值 | | `--conditionUnit` | `SECONDS` 或 `MINUTES` | | `--countdownMsg` | 倒计时文案,最多 8 个字符 | | `--enterEnabled` | `Y` 或 `N` | | `--linkEnabled` | `Y` 或 `N` | | `--redirectType` | `iframe` 或 `tab` | ## 使用注意 - `push` 会影响观众端展示,执行前确认频道 ID 和卡片 ID。 - `delete` 为删除配置操作,执行前建议先 `list` 核对。 - 写脚本时使用 `-o json`,避免依赖表格列宽。
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/polyv/skills/polyv-live-cli",
"sourceUrl": "https://clawhub.ai/polyv/skills/polyv-live-cli",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T23:40:06.218Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-polyv-polyv-live-cli/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-polyv-polyv-live-cli/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T23:40:06.218Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.2K downloads",
"href": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceUrl": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T23:40:06.218Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.9",
"href": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceUrl": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-27T09:42:32.642Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-polyv-polyv-live-cli/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-polyv-polyv-live-cli/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.9",
"description": "- 移除 skill-card.md 文件。 - 在主文档中新增“本地图片与公网 URL”说明,明确图片参数需先上传为公网 URL,再用于各配置。 - 高频任务路由补充 `web image-upload` 相关内容,强化本地图片上传指引。 - 细化图片上传命令格式及常见类型举例,便于实际操作。 - 其余基本规则与参考文档路由保持一致,暂无其它重大变更。",
"href": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceUrl": "https://clawhub.ai/polyv/polyv-live-cli",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-27T09:42:32.642Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
