Skip to content
cccskills
FreePublished on GitHub

daytona

Set up and troubleshoot Daytona sandbox environments, which provide isolated spaces for running applications. The skill covers CLI authentication, persistent desktop and server sandboxes, diagnostic logs, shared secrets storage, snapshot refreshes, and environment deletion.

OriginalShow the original description

Daytona CLI setup, sandbox debugging, keep a sandbox alive, secrets volume, snapshot refresh. Use when Daytona itself is the problem, not for running tests (see run-tests).

See how to install

Good for

  • Troubleshooting Daytona authentication and organization selection
  • Keeping an Electron or server sandbox available for debugging
  • Preparing shared secrets storage for sandboxes
  • Refreshing snapshots and deleting finished sandboxes

Files included (1)

  • SKILL.md3.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Daytona

Use this skill for Daytona infrastructure, not test placement.

Setup

Install the Daytona CLI with brew install daytonaio/cli/daytona, then authenticate:

daytona login

Which identity the CLI uses

  • Environment key. The CLI uses DAYTONA_API_KEY only when DAYTONA_API_URL=https://app.daytona.io/api is also set; with the key alone it silently falls back to the saved profile. Scope the team key (Infisical dev, /openwork-ops) to one command: DAYTONA_API_URL=https://app.daytona.io/api DAYTONA_API_KEY="$(infisical secrets get DAYTONA_API_KEY --env dev --path /openwork-ops --plain --silent)" <command>.
  • Saved profile. Otherwise the active profile in $DAYTONA_CONFIG_DIR/config.json (default: macOS ~/Library/Application Support/daytona/, Linux ~/.config/daytona/, Windows %APPDATA%\daytona\). Point DAYTONA_CONFIG_DIR at an empty directory to test the not-logged-in path without touching the real profile.
  • Never run daytona login --api-key on someone's machine for a one-off task. It overwrites their profile, and with it their browser login, for every tool. A key printed as *not found* (Infisical CLI 0.28.x exits 0 on a missing secret) is not a key.
  • Personal-organization trap. A browser login may default to the person's personal organization: a 10 GiB total memory cap and none of the team's warm snapshots, so multi-sandbox previews fail with a memory-limit error. pnpm world plan <world> --place daytona prints the identity and organization in use and warns on a personal one.
  • Version warning. "Daytona CLI is on vX and API is on vY" on every call is a warning, usually not the cause of a failure; fix it with brew upgrade daytonaio/cli/daytona.

To run tests, just use pnpm evals:e2e <slug> — it picks Daytona automatically when the CLI is authenticated. --local forces local; --daytona requires Daytona and fails when it is unavailable.

For a PR preview that should open inside Codex and support named scenarios, use preview-my-work. It composes the same maintained world and Daytona primitives with scoped ownership and teardown.

Long-lived manual Electron sandbox

Run bash .devcontainer/test-on-daytona.sh <ref>. The maintained helper uses the reusable desktop snapshot, starts XFCE/noVNC, Vite, and Electron, and prints the sandbox and preview URLs. Keep that sandbox for exploration or debugging instead of reproducing its provisioning commands.

Long-lived manual server sandbox

Run bash .devcontainer/test-server-on-daytona.sh <ref>. It starts the separate MySQL, Den API, and Den Web sandbox and prints public URLs for a desktop sandbox to consume. Use this helper rather than assembling the server manually.

Debugging

Inspect /tmp/start-vnc.log, /tmp/vite.log, /tmp/electron.log, and /tmp/den-api.log in the relevant sandbox. Electron CDP is port 9825; get CDP and noVNC URLs with:

daytona preview-url <sandbox> -p 9825
daytona preview-url <sandbox> -p 6080

Secrets

bash .devcontainer/setup-daytona-secrets-volume.sh <local-env> <name>.env

Electron sandboxes mount the reusable secrets volume at /daytona-secrets.

Snapshot refresh

bash .devcontainer/create-daytona-openwork-snapshot.sh
bash .devcontainer/create-daytona-openwork-server-snapshot.sh

Teardown

daytona delete <sandbox>

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

add-a-feature

FreeSummary

Manage OpenWork feature releases with feature flags, switches that control access to new behavior. Register features before coding, release them by organization and deployment, prepare a global shutdown option, and remove temporary flags after rollout.

  • Registering a feature before implementation
  • Releasing a feature to selected organizations
  • Separating cloud and self-hosted availability
different-ai/openwork24.2KUpdated Oct 18, 2026

Connect OpenCode browser tools to a locally running OpenWork Electron app to inspect its UI, enter a task, and check the response. This skill supports exploration and debugging through CDP, Chrome's remote control protocol.

  • Connecting browser tools to a local Electron development app
  • Inspecting screen state during debugging
  • Entering a task in the composer and running it
different-ai/openwork24.2KUpdated Oct 18, 2026

Check added lines in a change for information identifying customers, prospects, partners, or outside individuals. Report locations and generic remediation without reproducing identities, and escalate cases where the information is already public.

  • Checking changes for customer and partner identities
  • Reviewing documents and test data for identifying details
  • Reporting disclosure locations without repeating identities
different-ai/openwork24.2KUpdated Oct 18, 2026

Connects supported AI clients, including Claude Code and Codex, to OpenWork through MCP, a protocol for accessing external tools. It guides account sign-in and verifies that tools for finding and running organization capabilities are available.

  • Connecting an AI client to OpenWork organization resources
  • Signing in and verifying available MCP tools
  • Switching organizations or troubleshooting authentication
different-ai/openwork24.2KUpdated Oct 18, 2026

Review an outside contributor’s pull request before running its code. Identify concealed behavior, obfuscated code, risky dependencies, and build hooks, with file locations and specific checks for maintainers to follow up.

  • Screening an outside contributor’s pull request before execution
  • Checking encoded code and unexplained network calls
  • Reviewing dependency changes and installation scripts
different-ai/openwork24.2KUpdated Oct 18, 2026

create-plugin

FreeSummary

Create an OpenCode plugin for OpenWork with custom tools and hooks, which run code at specific events. The skill builds the plugin file and adds its entry to the project configuration.

  • Adding custom tools to OpenWork
  • Creating a plugin to save and list notes
  • Running custom code before or after tool execution
different-ai/openwork24.2KUpdated Oct 18, 2026

See all skills by different-ai

Report a problem with this skill