crabbox-apps
Skill này làm gì
Skill hướng dẫn một agent AI khởi chạy một app native hoặc web trên máy Crabbox tạm thời và hiển thị cho bạn xem. Nó dành cho những ai muốn chạy hoặc xem một app trên một máy riêng.
Khi nào nên dùng
- ✓Khi bạn muốn mở một app trên máy tạm thời và xem nó ngay trong chat.
- ✓Khi bạn cần kiểm thử một app desktop native hoặc một app web trên một máy sạch.
- ✓Khi bạn muốn agent điều khiển một app trên máy tạm thời đó trong lúc bạn theo dõi.
Liên kết skill
https://github.com/openclaw/openclaw/blob/main/extensions/crabbox/skills/crabbox-apps/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Mở ứng dụng web của tôi trong Crabbox và cho tôi xem trang chủ trong thanh bên.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra xem đã có môi trường nào chưa, sau đó tạo hoặc tái sử dụng một máy phù hợp. Skill cài đặt hoặc build app, khởi chạy nó và mở giao diện trong thanh bên của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Apps in Crabbox
"Open in Crabbox and show me" means launch the working application and open its view in the requesting user's chat side panel. Finish both operations.
Use the enabled crabbox tool to inspect the current attachment before creating
one. Reuse that environment for follow-ups. profiles discovers configured
profiles; choose one compatible with the application. Native desktop viewing
and CUA require a desktop-enabled profile. Never silently substitute another OS
for an application that requires a particular platform.
create attaches the machine to this conversation without moving the agent or
its primary workspace. For an open-and-show request with the screen capability
available, pass presentation: "desktop" for a native app or
presentation: "portal" for a web app. This opens the right sidebar with machine
startup progress before provisioning finishes. Its result identifies the
environment. Use exec for commands on that environment; the ordinary shell still has its existing target.
Copy or recreate the task's required files explicitly. Do not assume the local
project was synchronized.
Native apps
- Install or build the app using remote
execas needed. - Launch it with
execandbackground: true. Retain itsprocessIdfor status, logs, and stop. Do not detach a shell process to escape lifecycle ownership. - When the
computertool is available, select the returnedenvironmentIdand observe the application. CUA operates on the same desktop shown by VNC. - When the
screentool is available, calldesktop_showwith thatenvironmentIdanddock: "right". Verify the app is ready before claiming success. An allocated machine or a blank desktop alone is insufficient.
Web apps
- When the
portaltool is available, open a portal for the environment and application's port usingenvironmentId. Keep its portal ID and public URL. - Start the web server with remote
exec,background: true, and the application'sPORTandPUBLIC_URLset explicitly. Verify it responds. - When the
screentool is available, useportal_showwith the returnedportalIdanddock: "right". Show the web application directly in the portal. - For CUA testing, use the attached environment's browser against the same server. The remote browser and the user's portal have separate cookies and browser state; do not assume they share a login or page navigation.
If an essential tool or desktop capability is unavailable, report the missing capability and the actual completed state. A portal that the user's browser cannot reach is not a completed preview. Preserve the separate-origin portal transport; never expose arbitrary application scripts on the Gateway origin.
Apps that call a model API
Cloud-agent inference already uses Gateway-held authentication. An application inside the lease making its own API calls needs a separate protected route. For an exclusively owned coordinator-backed Linux lease, use the host CLI:
openclaw crabbox run --id <lease-id> --model <provider/model> -- <command> <args>
Run from the credential-owning host and the local project directory that owns
the lease. Prepare source and dependencies first: the command skips sync and
hydration, and its bridge permits only the model host. A lease ID does not
override Crabbox's repository claim. Require no active egress session and a
Crabbox binary supporting egress run --upstream-proxy-env. Crabbox owns the
foreground bridge, remote command, and session cleanup.
The provider must have a configured API-key SecretRef and an OpenAI-compatible
HTTPS endpoint on port 443. Auth-profile/OAuth credentials, custom headers, and
request transport overrides are unsupported. The CLI injects a sentinel as
OPENAI_API_KEY, plus OPENAI_BASE_URL, OPENAI_MODEL, proxy settings, and
public CA trust. The actual key and upstream proxy credentials stay on the host.
Use a client that honors the proxy and CA environment; Node.js needs
NODE_USE_ENV_PROXY support, while Python's default urllib.request opener
honors the environment. Custom SDK clients may need explicit proxy/trust setup.
Keep this command alive for the full app lifetime. Do not detach the app or
copy a key into the box. Ordinary tool exec and background do not acquire
this model grant. Cancellation revokes access before cleanup; if settlement is
uncertain, inspect the named session and remote process before reusing the lease.
Câu hỏi thường gặp
Skill có chạy app trên mọi hệ điều hành không?
Không. Skill giữ đúng nền tảng mà app cần và không tự động chuyển sang hệ điều hành khác.
Skill có sao chép các file dự án cục bộ của tôi không?
Không. File không được đồng bộ tự động, nên các file cần thiết phải được sao chép hoặc tạo lại trên máy.
Có thể tái sử dụng một máy cho các yêu cầu tiếp theo không?
Có. Skill kiểm tra kết nối hiện tại và tái sử dụng môi trường đó cho công việc tiếp theo.
Chi tiết
Mô tả gốc của tác giả
Use when asked to open, run, test, or show an app in Crabbox, including native desktops, web previews, and computer use on a temporary machine.
repo: openclaw/openclaw
Độ phổ biến
- Sao GitHub
- 394k
- Vị trí xếp hạng
- #16
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
discrawl
394kCho phép agent của bạn tìm kiếm và tóm tắt kho lưu trữ tin nhắn Discord trên máy, kiểm tra độ mới của dữ liệu và đọc tin nhắn trực tiếp.
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
Skill tương tự
wizard
310kHướng dẫn bạn qua các bước thiết lập chỉ bạn mới làm được, như thêm thông tin xác thực hoặc đổi cài đặt bảng điều khiển, bằng một script có hướng dẫn.
git-guardrails-claude-code
310kThiết lập một hook an toàn chặn các lệnh git rủi ro, như push, hard reset và xóa nhánh buộc, trước khi chúng kịp chạy.
setup-pre-commit
310kThiết lập các kiểm tra tự động để định dạng, kiểm tra kiểu và chạy kiểm thử mã của bạn mỗi lần commit bằng git.