Cancorteaw App
/install cancorteaw-app
cancorteaw-app
Local Expo / React Native app builder runner for my OpenClaw server.
This skill is a controlled runner that only executes an allowlisted script:
/home/patron/apps/_bin/appctl
and that script is restricted to operate under:
/home/patron/apps/\x3Cproject>.
What it does
This skill wraps appctl to provide a safe, repeatable workflow:
- Create a new Expo app scaffold under
/home/patron/apps/\x3Cname> - Add a screen file under
/home/patron/apps/\x3Cname>/app/\x3CScreen>.tsx - Start a web preview (
expo start --web) bound to127.0.0.1on a chosen port - Check status of the preview process
Commands
1) Create a new app
Command:
new \x3Cname>
Example:
new demoapp
Result:
- Creates
/home/patron/apps/demoapp - Initializes git (best-effort)
- Uses
npx create-expo-appin non-interactive mode
2) Add a screen
Command:
add-screen \x3Cname> \x3CscreenName> \x3Ctitle>
Example:
add-screen demoapp Settings "Settings"
Result:
- Writes:
/home/patron/apps/demoapp/app/Settings.tsx - Makes a git commit (best-effort)
3) Start web preview
Command:
preview \x3Cname>
Environment:
EXPO_PORT(optional): override preview port
Default:19006
Example:
preview demoappEXPO_PORT=19010 preview demoapp
Result:
- Starts
npx expo start --web --port \x3Cport> - Writes logs to:
/home/patron/apps/_logs/\x3Cname>.preview.log - Writes pid to:
/home/patron/apps/_state/\x3Cname>.pid - Writes port to:
/home/patron/apps/_state/\x3Cname>.port
4) Status
Command:
status \x3Cname>
Example:
status demoapp
Result:
- Prints RUNNING with URL if process is alive
- Otherwise prints STOPPED
Safety / Guardrails
- The runner is allowlisted: only
node,npm,npx,git,bash,python3can be invoked. - All project paths are constrained to
/home/patron/apps. - Preview binds to
127.0.0.1(loopback). Expose it externally only via explicit SSH tunnel if desired. - Telemetry is disabled for Expo in preview (
EXPO_NO_TELEMETRY=1).
Troubleshooting
- If
previewsays running but page doesn’t load: check the log file in/home/patron/apps/_logs/. - If a port is busy: set
EXPO_PORTto a free port and re-runpreview. - To stop preview:
kill $(cat /home/patron/apps/_state/\x3Cname>.pid)(if pid exists).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cancorteaw-app - 安装完成后,直接呼叫该 Skill 的名称或使用
/cancorteaw-app触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cancorteaw App 是什么?
Manage Expo React Native apps on OpenClaw: create apps, add screens, start web previews on localhost, and check preview status safely within /home/patron/apps. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 618 次。
如何安装 Cancorteaw App?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cancorteaw-app」即可一键安装,无需额外配置。
Cancorteaw App 是免费的吗?
是的,Cancorteaw App 完全免费(开源免费),可自由下载、安装和使用。
Cancorteaw App 支持哪些平台?
Cancorteaw App 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cancorteaw App?
由 cancorleone(@cancorleone)开发并维护,当前版本 v0.1.1。