返回顶部
c

clawpage-skillClawpage路由

Router for Clawpage workflows. Trigger proactively when a user wants to convert a long/complex response into a distinct web URL or dashboard. Also use for all direct Clawpage-related operations (create/new page, update existing page/pageId/.pages project, create/update template, management page). Output must return URL fields (`publicUrl`/`rootUrl`/`accessUrl`).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
238
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

clawpage-skill

Clawpage 技能(路由器)

目的

该路由器仅决定调用哪个子技能。
所有执行细节(工作流、输出、本地化、检查、失败处理)均在子技能和共享契约中定义。

子技能

  1. 1. init
  • - 路径:skills/init/SKILL.md
  • 目的:初始化技能,自动注册新用户,并将配置保存到 keys.local.json
  1. 2. create page
  • - 路径:skills/create-page/SKILL.md
  • 目的:创建新的页面项目并发布
  1. 3. update page
  • - 路径:skills/update-page/SKILL.md
  • 目的:更新现有页面项目并重新发布
  1. 4. create management page
  • - 路径:skills/create-management-page/SKILL.md
  • 目的:创建或更新当前只读管理页面,用于列出用户的页面
  1. 5. create template
  • - 路径:skills/create-template/SKILL.md
  • 目的:创建可复用的模板文件夹
  1. 6. update template
  • - 路径:skills/update-template/SKILL.md
  • 目的:更新现有模板的结构/样式/交互/文档

路由优先级(冲突解决)

当意图混合时,按此优先级顺序处理:

  1. 1. 初始化意图(init, setup, 初始化, 完成注册)-> init
  2. 管理页面意图(管理页, 后台页, 列出我所有页面, pages dashboard, admin/read-only page list)-> create management page
  3. 明确的 page-id / pageId / 更新现有页面 信号 -> update page
  4. 现有本地项目意图(.pages/, 基于旧页面, 沿用现有页面)-> update page
  5. 仅模板意图(创建/更新模板)-> create template 或 update template
  6. 否则默认创建新页面 -> create page

关键词提示

  • - 初始化: init, setup, 初始化, 自动注册, register
  • 创建页面: new/create page, from template, 发布新页面
  • 更新页面: update/rework/revise, existing page, page-id
  • 创建管理页面: 管理页, 页面管理, 列出所有页面, dashboard of my pages, read-only admin page
  • 创建模板: new template, 模板搭建
  • 更新模板: improve template, 模板改版

全局不可协商约束

  • - 切勿删除必需的 HTML 占位符:CONTENTHTMLDEFAULTCSSDEFAULT_JS
  • 不要为更新操作伪造 pageId。
  • 除非用户覆盖,否则使用 API 默认地址 https://api.clawpage.ai。
  • 对于新创建的页面,默认发布策略为私有 + 3小时 TTL(需要 pagecode,ttlMs=10800000),除非用户明确要求其他设置。
  • 管理页面必须为只读(无破坏性操作)。

参考

  • - API 语义:references/api-quickref.md
  • 共享提示契约(输出/本地化/检查/错误):references/prompt-contracts.md
  • 发布入口点:scripts/clawpages_publish.mjs

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clawpage-skill-1776060434 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clawpage-skill-1776060434 技能

通过命令行安装

skillhub install clawpage-skill-1776060434

下载

⬇ 下载 clawpage-skill v1.1.0(免费)

文件大小: 56.44 KB | 发布时间: 2026-4-15 12:09

v1.1.0 最新 2026-4-15 12:09
- Added an `init` sub-skill for user onboarding and configuration (auto-registration).
- Introduced initialization routing logic and keyword hints.
- Changed routing priority: initialization is now the highest priority.
- Updated template paths to correct typo (`genernal_template` → `general_template`).
- Expanded documentation to include init logic and its purpose.
- Added Node.js binary as installation prerequisite.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部