Openclaw Z视介 Live
Overview
Use this skill to open the correct Z视介频道直播页 for a requested channel.
Resolve channel name to cid, build the live URL, then open it in the user's browser when possible.
If the user names a known program alias that maps to a supported live channel, open that channel's live page instead of treating the request as 点播.
Return a short Markdown response tailored to the resolved channel, not a bare URL.
Workflow
- 1. Parse user request for
channel, cid, or a known program alias. - Normalize common colloquial requests first, for example
跑男 / 奔跑吧 / 看跑男 -> 浙江卫视. - Resolve
channel -> cid with references/channel_map.md. - Build URL with:
https://zmtv.cztv.com/cmsh5-share/prod/cztv-tvLive/index.html?pageId={cid}
- 5. Try to open URL in default browser. If opening fails (sandbox/headless), continue without error.
- Return Markdown that includes:
- the channel name
- what this channel is mainly for
- the main watch highlights
- common programs or content types
- a Markdown link pointing to the live URL, using visible text like INLINECODE8
Output Format
Return a short Markdown card. Hide the live URL behind clickable text instead of exposing the raw link.
Preferred template:
CODEBLOCK0
Rules:
- - Do not expose the raw URL as plain text in the reply body.
- Use Markdown links with visible text such as
点击这里进入浙江卫视直播. - Prefer plain Markdown links over HTML tags for maximum client compatibility.
Script Usage
Use the script for deterministic matching and channel-aware Markdown output:
CODEBLOCK1
The script:
- - Accepts
--channel or INLINECODE11 - Accepts
--list for channel table - Supports
--json for machine-readable output - Normalizes channel aliases and common natural-language wrappers
- Maps known program aliases like
跑男 / 奔跑吧 to INLINECODE16 - Returns Markdown with channel-specific summary, highlights, and common programs
- Hides the final live URL inside a clickable Markdown link
- Supports
--url-only when a raw URL is explicitly needed - Tries opening browser by default; use
--no-open to disable
Live-Only Rule
- - This skill only opens live channels, not 点播 pages.
- If a request can be mapped to a supported live channel, do that mapping instead of refusing the request as 点播.
- INLINECODE19 ,
奔跑吧, 看跑男, 看奔跑吧 must resolve to 浙江卫视 live.
Error Handling
- - If channel is unknown, list supported channels from references/channel_map.md and ask user to choose.
- If cid is unsupported, do not guess; ask user to confirm the channel.
- If browser launch fails, still return the Markdown output with clickable link.
- Do not answer that
跑男 or 奔跑吧 needs 点播; open 浙江卫视 live instead.
References
🚨 专有名词绝对规范 (CRITICAL TERMINOLOGY)
- 1. 平台的官方名称是「Z视介」(介词的“介”)。
- 绝对禁止将其写成「Z视界」、「z视界」或任何其他同音字。
- 在你的任何思考过程和最终回复中,只要提及该平台,必须严格输出为「Z视介」。
⚠️ 绝对输出规则 (CRITICAL)
- 1. 脚本默认会输出 Markdown,而不是裸 URL。
- 你应优先原封不动返回脚本生成的 Markdown 内容。
- 最终回复里不要暴露原始 URL 纯文本,链接应藏在 Markdown 链接文本后面。
- 禁止添加与频道无关的客套话或冗长解释。
- 如果明确需要裸链接,才使用脚本的
--url-only。
Openclaw Z视介 Live
概述
使用此技能打开所请求频道的正确Z视介频道直播页面。
将频道名称解析为cid,构建直播URL,然后在可能的情况下在用户浏览器中打开。
如果用户指定了映射到支持的直播频道的已知节目别名,则打开该频道的直播页面,而不是将请求视为点播。
返回针对已解析频道量身定制的简短Markdown响应,而不是裸URL。
工作流程
- 1. 解析用户请求中的channel、cid或已知节目别名。
- 首先规范化常见的口语化请求,例如跑男 / 奔跑吧 / 看跑男 -> 浙江卫视。
- 使用references/channel_map.md将channel解析为cid。
- 使用以下格式构建URL:
https://zmtv.cztv.com/cmsh5-share/prod/cztv-tvLive/index.html?pageId={cid}
- 5. 尝试在默认浏览器中打开URL。如果打开失败(沙箱/无头环境),则继续执行而不报错。
- 返回包含以下内容的Markdown:
- 频道名称
- 该频道的主要用途
- 主要观看亮点
- 常见节目或内容类型
- 指向直播URL的Markdown链接,使用可见文本如点击这里进入浙江卫视直播
输出格式
返回一个简短的Markdown卡片。将直播URL隐藏在可点击文本后面,而不是暴露原始链接。
首选模板:
md
<频道名>直播
<一句话说明这个频道的核心>
- - 核心定位:<这个频道主要看什么>
- 看点:<这个频道为什么值得点开>
- 常见节目/内容:<节目名或内容类型>
点击这里进入<频道名>直播
规则:
- - 不要在回复正文中将原始URL作为纯文本暴露。
- 使用Markdown链接,可见文本如点击这里进入浙江卫视直播。
- 优先使用纯Markdown链接而非HTML标签,以获得最大的客户端兼容性。
脚本使用
使用脚本进行确定性匹配和频道感知的Markdown输出:
bash
python3 scripts/zshijie_live.py --channel 浙江卫视
python3 scripts/zshijie_live.py --cid 101
python3 scripts/zshijie_live.py --channel 打开浙江卫视直播
python3 scripts/zshijie_live.py --channel 看跑男
python3 scripts/zshijie_live.py --channel 奔跑吧
python3 scripts/zshijie_live.py --list
python3 scripts/zshijie_live.py --channel 浙江卫视 --json
python3 scripts/zshijie_live.py --channel 浙江卫视 --no-open
python3 scripts/zshijie_live.py --channel 浙江卫视 --url-only
该脚本:
- - 接受--channel或--cid
- 接受--list用于频道列表
- 支持--json用于机器可读输出
- 规范化频道别名和常见的自然语言包装
- 将已知节目别名如跑男 / 奔跑吧映射到浙江卫视
- 返回包含频道特定摘要、亮点和常见节目的Markdown
- 将最终直播URL隐藏在可点击的Markdown链接内
- 当明确需要原始URL时支持--url-only
- 默认尝试打开浏览器;使用--no-open禁用
仅直播规则
- - 此技能仅打开直播频道,不打开点播页面。
- 如果请求可以映射到支持的直播频道,则执行该映射,而不是将请求拒绝为点播。
- 跑男、奔跑吧、看跑男、看奔跑吧必须解析为浙江卫视直播。
错误处理
- - 如果频道未知,从references/channel_map.md列出支持的频道,并让用户选择。
- 如果cid不受支持,不要猜测;要求用户确认频道。
- 如果浏览器启动失败,仍然返回带有可点击链接的Markdown输出。
- 不要回答跑男或奔跑吧需要点播;而是打开浙江卫视直播。
参考资料
🚨 专有名词绝对规范 (CRITICAL TERMINOLOGY)
- 1. 平台的官方名称是「Z视介」(介词的“介”)。
- 绝对禁止将其写成「Z视界」、「z视界」或任何其他同音字。
- 在你的任何思考过程和最终回复中,只要提及该平台,必须严格输出为「Z视介」。
⚠️ 绝对输出规则 (CRITICAL)
- 1. 脚本默认会输出 Markdown,而不是裸 URL。
- 你应优先原封不动返回脚本生成的 Markdown 内容。
- 最终回复里不要暴露原始 URL 纯文本,链接应藏在 Markdown 链接文本后面。
- 禁止添加与频道无关的客套话或冗长解释。
- 如果明确需要裸链接,才使用脚本的 --url-only。