agent-browser
Use Agent Browser for real browser navigation, dynamic pages, and web interaction; also use it as a distinct browser-based path…
Validate, package, and submit schema v2 NextClaw Mini Apps with Panel-only, Service-only, or Panel + Service composition, supporting Portable WASI and native-process Service runtimes. Use when the user asks to publish, submit, list, or share an App in the Marketplace, including
$ npx -y skills add peiiii/nextclaw --skill nextclaw-app-publisher --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nextclaw-app-publisherContext preview
The summary Claude sees to decide when to auto-load this skill.
Validate, package, and submit schema v2 NextClaw Mini Apps with Panel-only, Service-only, or Panel + Service composition, supporting Portable WASI and native-process Service runtimes. Use when the user asks to publish, submit, list, or share an App in the Marketplace, including
name: nextclaw-app-publisher description: Validate, package, and submit schema v2 NextClaw Mini Apps with Panel-only, Service-only, or Panel + Service composition, supporting Portable WASI and native-process Service runtimes. Use when the user asks to publish, submit, list, or share an App in the Marketplace, including account readiness, universal or targeted artifacts, metadata, and review-status handling. description_zh: 校验、打包并提交纯 Panel、纯 Service 或 Panel + Service 组成的 schema v2 NextClaw Mini App,并支持 Portable WASI 与 native-process 两种 Service runtime。适用于用户要求发布、提交、上架或分享应用,以及处理账户就绪、通用或定向制品、元数据和审核状态。
把已经完成开发和验证的 schema v2 Mini App 提交到 NextClaw Marketplace。对外只使用 `nextclaw app ...`;不要要求用户安装或调用 `napp`,也不要暴露 registry URL、token 或内部 bundle mode。
先独立判断包的组件组成:
只有后两种组成需要继续判断 Service runtime。Panel-only 与 Portable WASI、native-process 不是同一层的三个选项:前者描述组件组成,后两者只描述 Service 如何运行。
| Service runtime | 根 runtime profile | distribution | 发布边界 | | --- | --- | --- | --- | | 不适用(Panel-only) | `panel-only` | 通常 `universal` | 普通审核 | | Portable Rust/WASI | `wasi` | 纯可移植资源使用 `universal` | 按声明能力审核 | | native-process | `native-process` | 自包含时可通用;含平台原生资源时使用 `targeted` | 高权限人工审核 |
不要按“包里存在 Service”就推断为 native-process。判断以 `service-app.json` 为准:
不能只改 `runtime.profile` 来改变真实安全边界。WASI 包必须有合法 Component、匹配 WIT/manifest action 合同和宿主能力声明;native-process 包必须如实保留宿主进程、权限与外部依赖。
有效包至少包含:
如果用户只有散落的 loose Panel/native Service,先按 `nextclaw-app-creator` 的 package-root 合同组装到 workspace `app-packages/<username>.<app-name>/`。复制组件时保留原开发目录,根 manifest 成为发布包组件归属的事实源。
nextclaw account status --json
未登录时运行 `nextclaw login`,让用户完成浏览器登录。缺少 username 时,引导用户在平台账号页设置,或在用户明确给出后运行 `nextclaw account set-username <username>`。不要索取、拼接或回显原始 token。
个人 App id 使用账户 username scope,例如 `alice.notes`。
所有包先从完整包根运行:
nextclaw app check <app-dir> --json
含 Service 的包再运行 `dev`;Portable Service 还必须先运行 `build` 并执行 smoke fixture:
nextclaw app build <app-dir> --json nextclaw app test <app-dir> --json nextclaw app dev <app-dir> --json
native-process Service 不运行 Portable `build/test`,但必须运行 `dev` 验证真实 MCP discovery。Panel-only 包不运行 `dev`。
存在无需敏感输入且无副作用的 read action 时,用 `nextclaw app call` 抽测一个。除非用户已授权,不调用写文件、外部访问或危险 action。
纯 Portable 或其它 universal App:
nextclaw app pack <app-dir> --out dist/<app-name>.napp --json nextclaw app validate-publish <app-dir> --json
包含平台原生资源的 targeted App:
nextclaw app pack <app-dir> --target linux-x64-gnu --out dist/linux-x64-gnu.napp --json nextclaw app pack <app-dir> --target darwin-arm64 --out dist/darwin-arm64.napp --json nextclaw app validate-publish <app-dir> --artifacts dist --json
`distribution.targets` 与 `--artifacts` 中的 canonical target 文件必须精确一致。不要给 universal App 传原生 target,也不要给 targeted App 混入 `universal.napp`。
修复全部 error。Warning 先用普通语言解释影响;只有用户确认后才在发布命令加入 `--allow-warnings`。不得通过删除权限、伪造 runtime 或漏传 artifact 绕过校验。
nextclaw app publish <app-dir> --json
targeted App 使用已经校验的 artifacts:
nextclaw app publish <app-dir> --artifacts dist --json
不传 token、API base、registry 或分发 mode;它们由 NextClaw 登录态与内置发布链路负责。
社区 native-process Service 会进入高权限人工审核;Portable Service 也必须按实际文件、网络、secret、Provider 和 AI slot 请求接受审核。不要承诺自动通过。
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…