OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add ziniao-open/skills --skill ziniao-page
Use when a request concerns a webpage running inside an already-opened 紫鸟/ZClaw store browser, including navigation, inspection, interaction, extraction, or screenshots. If the task starts by identifying or opening a store, use ziniao-store first.
npx skills add ziniao-open/skills --skill ziniao-page
本技能负责已打开紫鸟店铺浏览器中的通用网页资源操作,不负责店铺生命周期,也不定义用户的业务流程。
store-id,必要时指定 target-id。ziniao-cli page <command> --help 为准。ziniao-store,不要自行猜测店铺 ID。ziniao-shared 的诊断规则,不在本技能重复维护环境修复流程。store-id;页面命令通常都需要它。--help。ziniao-shared/doctor。target-id 和稳定 CSS selector 已知时,直接复用并执行必要操作;不要为每一步重复读取页面。page content --content-format structured;只需 URL/title 时也可使用 page exec。page content、page query 或 page exec 分析 DOM,再使用 page input / page click --selector。page snapshot 和当前页面 ref。page snapshot 不是通用页面状态检查命令。不得为了验证店铺窗口、读取 URL/title/target-id、操作已知 selector、普通搜索或结果验证而调用 snapshot;页面未变化时也不得重复创建 snapshot/ref。snapshot ref 只属于当前店铺、tab 和页面,页面导航或刷新后不得复用。
输入后提交只能选择一种方式:使用 page input --submit 后等待并验证结果,或不传 --submit 再执行提交按钮的 page click --wait-nav;不得重复提交。
page upload 时必须读取。ziniao-store:需要确定或打开店铺时使用。ziniao-shared:仅在环境、配置、认证或 Bridge 诊断时读取。