Code Execution

Executes Python and Node.js code in sandboxed project workspaces, plus permission-gated remote SSH commands.

rotoslider 18d986b 3 files · 16.3 KB Updated

File contents

Code Execution (Sandbox)

When to Use

  • Run Python/Node.js code → execute_code
  • Initialize project → create_venv (do this BEFORE installing packages)
  • Install packages → install_package
  • Shell commands → run_command
  • Remote SSH command → run_ssh_command (only when Remote SSH is enabled for this Choom)
  • Copy files workspace ↔ remote host → ssh_copy_file (direction: "pull" remote→workspace, "push" workspace→remote; binary-safe scp)

Important

  • Timeout: default 30s, max 120s
  • Python venvs auto-activated if present
  • Output truncated at 50KB per stream
  • Always create venv/project before installing packages
  • Remote SSH uses existing non-interactive OpenSSH keys and known hosts; never request passwords or bypass host verification

rotoslider/choom/tree/main/nextjs-app/skills/core/code-execution commit 18d986b620

Frequently asked questions

npx skillmds@latest add rotoslider/code-execution