agent-browser
Use Agent Browser for real browser navigation, dynamic pages, and web interaction; also use it as a distinct browser-based path…
Create or update complete NextClaw Mini Apps by first choosing a Panel-only, Service-only, or Panel + Service composition, then choosing Portable WASI or native-process only when a Service exists. Use for applets, dashboards, local tools, AI-assisted interfaces, Service Actions,
$ npx -y skills add peiiii/nextclaw --skill nextclaw-app-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nextclaw-app-creatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Create or update complete NextClaw Mini Apps by first choosing a Panel-only, Service-only, or Panel + Service composition, then choosing Portable WASI or native-process only when a Service exists. Use for applets, dashboards, local tools, AI-assisted interfaces, Service Actions,
name: nextclaw-app-creator description: Create or update complete NextClaw Mini Apps by first choosing a Panel-only, Service-only, or Panel + Service composition, then choosing Portable WASI or native-process only when a Service exists. Use for applets, dashboards, local tools, AI-assisted interfaces, Service Actions, portable Components, or questions about NextClaw App capabilities and authoring requirements. description_zh: 创建或修改完整 NextClaw Mini App:先判断是纯 Panel、纯 Service 还是 Panel + Service,再仅对存在的 Service 选择 Portable WASI 或 native-process。适用于小应用、dashboard、本地工具、AI 辅助界面、Service Actions、可移植 Component,或询问 NextClaw App 能力与开发要求。
当用户说“做一个应用、小工具、dashboard、管理器、可视化、本地文件工具或 AI 辅助工具”时,先使用这个总入口。目标是按用户工作流确定应用边界和运行形态,再把字段细节交给单一专项 owner。
本 skill 只负责:
确定形态后必须继续读取对应专项 skill。不能只读本入口就猜 `panel-app.json`、`service-app.json`、WIT、MCP server 或 bridge API。
组件组成和 Service runtime 是两条正交维度,不是三个并列 App 类型。`Panel-only` 表示这个 Mini App 没有 Service;Portable WASI 与 native-process 只用于比较 Service 组件如何运行,也都可以出现在 Service-only 或 Panel + Service 包中。
适用于交互 UI、表单、列表、看板、图表、计算器或轻量 dashboard,且不需要稳定持久化、本地文件、外部 API、系统命令或权限动作。
用户只需要可授权 actions、Resident 事件处理或 Provider 能力,不需要新建 UI。
用户需要完整小应用,且 UI 需要持久化、文件、网络、命令、Provider、AI slot 或其它宿主能力。
1. 先读取 `service-app-creator`,冻结 runtime、action、risk 和能力边界; 2. 再读取 `panel-app-creator`,实现 UI、action allowlist 和统一 bridge 调用; 3. Panel 不根据 Service runtime 分叉:Portable 与 native-process 都通过 `window.nextclaw.serviceActions.*` 调用。
涉及 Service 时,不再默认生成 Node MCP stdio。
开发机缺少 Rust 不是把安全边界静默降级为 native-process 的充分理由。若两种路径都会满足用户目标,可选择 native-process 快速本机闭环,但必须说明它不具备 Portable Runtime 的隔离与通用分发合同。
完整、可安装、可发布或长期维护的 Mini App 默认使用 schema v2 包根:
my-app/ ├── manifest.json ├── marketplace.json ├── panels/<panel-id>.panel/ # 可选 ├── service-components/<service-id>/ # 可选 ├── guest/ # Portable 源码,可选 └── tests/ # Service smoke,可选
根 manifest 的 `components` 是归属事实源;从包根运行当前形态适用的 `build/check/test/dev/call/pack/validate-publish`。
只有用户明确要临时、本机、不可发布的松散扩展时,才直接写 workspace:
不要先制造散落组件,再把组装完整包留给用户。只要目标已经是“完整 Mini App”或“以后要安装/分享”,从一开始就在包根工作。
明显包含多组件 UI、对话/Agent Run、列表筛选、图表、复杂表单、多个状态、TypeScript 类型或持续维护时,先读取 `panel-app-react-vite-creator`,再读取 `panel-app-creator` 处理 manifest、bridge、sandbox 和验收。默认工程栈是完整的 `React + Vite + TypeScript + Tailwind CSS + pnpm`。
极小、一次性、纯展示或简单表单使用轻量目录式 Panel,不为“像工程”创建 npm 工程。工程源码可以在包内或用户指定目录开发,但运行组件仍是静态 `.panel` 产物,宿主不运行 Vite dev server。
1. 读取 `panel-app-creator`; 2. 按 loose 或 package-root 边界创建 Panel; 3. 运行 `nextclaw app check <target> --json`; 4. 验收窄侧栏、宽屏、loading/empty/error 和核心交互。
1. 读取 `service-app-creator` 及其 Portable reference; 2. 运行 `doctor`,再使用 `nextclaw app create <app-dir> --template rust-wasi`; 3. 修改 schema v2 包内 Service、Guest、权限和 smoke fixture;若组成包含 Panel,再实现 Panel 与 action allowlist; 4. 从包根运行 `build → check → test → dev → call`; 5. 明确区分创作者工具链与最终用户运行依赖。
1. 读取 `service-app-creator` 及其 native-process reference; 2. 选择完整包或明确的 loose workspace 形态; 3. 实现 MCP stdio Service;若组成包含 Panel,再实现 Panel 与 action allowlist; 4. 运行 `check → dev → call`,核对 manifest 与 `tools/list`; 5. 披露宿主权限和外部依赖,不声称它是 WASI 沙箱。
验收通过后主动展示可见结果。Panel、编辑器、管理页、大表格和多页工作流使用 side panel;普通本地 HTML 用 `show_file(path, viewer="rendered")`;本地 dev server 用 `show_url(url)`。普通
Your long-term personal AI partner. NextClaw's mission is to be a good long-term partner to you. We are building toward a 1.0 that understands you, takes useful initiative, and continuously improves itself.
Use Agent Browser for real browser navigation, dynamic pages, and web interaction; also use it as a distinct browser-based path…
Turn a user request into a scheduled automation by configuring cron jobs, including session-bound follow-ups and periodic checks.
Use when the user asks to keep watching an external state, notify them when something changes or a condition is met, remember…
Use when deciding how to deliver an AI result: reply now, put durable news, reports, recommendations, or articles in the NextClaw…
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced…