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 the Service component of a NextClaw Mini App, choosing between Portable Rust/WASI Components and native-process MCP services. Use after nextclaw-app-creator selects a Service-backed app, or when the user explicitly asks for Service Actions, portable components,
$ npx -y skills add peiiii/nextclaw --skill service-app-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/service-app-creatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Create or update the Service component of a NextClaw Mini App, choosing between Portable Rust/WASI Components and native-process MCP services. Use after nextclaw-app-creator selects a Service-backed app, or when the user explicitly asks for Service Actions, portable components,
name: service-app-creator description: Create or update the Service component of a NextClaw Mini App, choosing between Portable Rust/WASI Components and native-process MCP services. Use after nextclaw-app-creator selects a Service-backed app, or when the user explicitly asks for Service Actions, portable components, local files, external APIs, commands, Resident events, or capability Providers. description_zh: 创建或修改 NextClaw Mini App 的 Service 组件,并在 Portable Rust/WASI Component 与 native-process MCP 服务之间选择。适用于 nextclaw-app-creator 判断应用需要 Service 后,或用户明确要求 Service Actions、可移植组件、本地文件、外部 API、命令、Resident 事件或能力 Provider。
本 skill 是 Service 运行形态、`service-app.json`、Service Action、risk 和验证入口的唯一 owner。若用户表达的是“做一个完整 NextClaw 小应用”,先由 `nextclaw-app-creator` 判断是否还需要 Panel;本 skill 不拥有 Panel UI 或 bridge 字段。
不要再把所有 schema v2 Service 都等同于 `command/args + MCP stdio + native-process`。当前 NextClaw 同时支持:
满足以下条件时选择 Portable:
选择后必须读取 [`references/portable-wasi-service-app.md`](references/portable-wasi-service-app.md),不能凭本入口猜 WIT、manifest、生命周期或构建命令。
以下情况选择 native-process:
选择后必须读取 [`references/native-process-service-app.md`](references/native-process-service-app.md)。不能仅因开发机暂时缺少 Rust,就把需要可移植或受限能力边界的应用静默降级为宿主进程。
必须准确区分创作者与最终用户:
如果用户目标明确要求 Portable,但工具链检查失败,保留已创建的源码和失败证据,说明缺少的开发依赖;未经授权不要自动安装 Rust,也不要把未构建源码说成可交付应用。
Service 应位于应用包根:
my-app/ ├── manifest.json ├── marketplace.json ├── panels/<panel-id>.panel/ # 可选 ├── service-components/<service-id>/ │ └── service-app.json └── ...runtime-specific sources and artifacts
根 `manifest.json.components` 是组件归属的事实源。Portable 使用 `runtime.profile: wasi`;native-process 使用 `runtime.profile: native-process`。适用的 `build/check/test/dev/call/pack/validate-publish` 命令都从包根运行。
仅 native-process MCP Service 可以继续落在 NextClaw workspace 的 `service-apps/<app-id>/`。默认 workspace 是 `~/.nextclaw/workspace`,但能读取配置时以 `agents.defaults.workspace` 为准。不要把 loose workspace 目录说成完整可发布包。
完整 schema v2 包从包根运行:
nextclaw app check <app-dir> --json
nextclaw app dev <app-dir> --json
nextclaw app call <app-dir> <action-name> --input '{}' --jsonPortable 分支还必须运行 `build` 和 `test`;native-process 分支必须验证 MCP `tools/list` 与 manifest actions 对齐。一个包有多个 Service 时,为 `dev/call` 提供 `--component <service-id>`。
调用带写入、外部访问或危险副作用的 action 前需要用户授权;默认只抽测无副作用的 read action 或专用 smoke fixture。修改普通组件后不要求重启 NextClaw 宿主。live native-process runtime 需要刷新时只运行 `nextclaw app restart <service-id> --json`,不要重启整个产品。
完成后返回使用了哪种 runtime、为什么、创作者工具链状态、实际验证范围,以及最终用户是否需要额外运行时依赖。
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…