Перейти к содержанию
Skillpedia
Деплой и облако (DevOps)394k · #16

crabbox-apps

Что он делает

Он ведет ИИ-агента через запуск нативного или веб-приложения на временной машине Crabbox и показ его вам. Он нужен тем, кто хочет запустить или посмотреть приложение на отдельной машине.

Когда использовать

  • ✓Когда хотите открыть приложение на временной машине и увидеть его в чате.
  • ✓Когда нужно протестировать нативное десктопное приложение или веб-приложение на чистой машине.
  • ✓Когда хотите, чтобы агент управлял приложением на временной машине, пока вы смотрите.

Ссылка на скилл

https://github.com/openclaw/openclaw/blob/main/extensions/crabbox/skills/crabbox-apps/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/openclaw/openclaw/blob/main/extensions/crabbox/skills/crabbox-apps/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Откройте мое веб-приложение в Crabbox и покажите мне главную страницу на боковой панели.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл проверяет наличие существующего окружения, затем создает или переиспользует подходящую машину. Он устанавливает или собирает приложение, запускает его и открывает его вид на боковой панели.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

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

  1. Install or build the app using remote exec as needed.
  2. Launch it with exec and background: true. Retain its processId for status, logs, and stop. Do not detach a shell process to escape lifecycle ownership.
  3. When the computer tool is available, select the returned environmentId and observe the application. CUA operates on the same desktop shown by VNC.
  4. When the screen tool is available, call desktop_show with that environmentId and dock: "right". Verify the app is ready before claiming success. An allocated machine or a blank desktop alone is insufficient.

Web apps

  1. When the portal tool is available, open a portal for the environment and application's port using environmentId. Keep its portal ID and public URL.
  2. Start the web server with remote exec, background: true, and the application's PORT and PUBLIC_URL set explicitly. Verify it responds.
  3. When the screen tool is available, use portal_show with the returned portalId and dock: "right". Show the web application directly in the portal.
  4. 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.

Частые вопросы

Будет ли он запускать приложение на любой операционной системе?

Нет. Он сохраняет платформу, которая нужна приложению, и не переключает систему без уведомления.

Копирует ли он мои локальные файлы проекта?

Нет. Файлы не синхронизируются автоматически, поэтому нужные файлы нужно скопировать или создать заново на машине.

Может ли он переиспользовать машину для последующих запросов?

Да. Он проверяет текущее подключение и использует то же окружение для дальнейшей работы.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
394k
Место в рейтинге
#16
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы