Skip to content
cccskills
FreePublished on GitHub

host-code-execution

Guide shell, Python, and Node.js execution on the computer running a connected A0 CLI. It explains session reuse, interactive input, output retrieval, and recovery steps when execution permissions, timeouts, or disconnections interrupt the work.

OriginalShow the original description

Guide safe use of code_execution_remote for shell-backed execution on the connected A0 CLI host. Use when the user asks for their computer, local terminal, CLI host, remote shell, not Docker, or host-side Python/Node/terminal commands.

Works withDocker
See how to install

Good for

  • Run shell commands on the connected A0 CLI host
  • Execute Python or Node.js on the host
  • Retrieve output or answer an interactive program
  • Handle disabled execution or connection failures

Files included (1)

  • SKILL.md2.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Host Code Execution

Boundary

Use code_execution_remote only for shell-backed execution on the machine where A0 CLI is running. Shells, runtimes, and paths belong to the CLI host, not the Agent Zero server or Docker container.

If the task belongs inside Agent Zero's own runtime, use the normal server-side execution tool instead.

Browser boundary: do not use shell launchers such as xdg-open, sensible-browser, open, start, or Python webbrowser.open as a fallback for requests to use/control/open a page in the host browser. Use the browser tool instead; if it reports missing Chrome remote-debugging consent, stop and relay the chrome://inspect/#remote-debugging instructions.

Access Modes

  • Remote execution can be disabled locally in the CLI. If the tool returns a disabled/no-client error, explain the required CLI toggle instead of falling back to the server runtime.
  • Read&Write local file access allows mutating runtimes such as terminal, python, and nodejs.
  • Read only local file access blocks mutating runtimes. runtime=output and runtime=reset remain available for existing sessions.

Runtimes

  • Use runtime=terminal for shell commands, runtime=python for Python snippets, and runtime=nodejs for Node.js snippets.
  • Reuse the same integer session while continuing a workflow; session state is local to the CLI frontend.
  • Use runtime=output when a previous command is still running or returned before the shell reached a prompt.
  • Use input_remote with keyboard and the same session to answer an interactive program.
  • Use runtime=reset when a session is stuck and no replacement command needs to run yet.
  • Use reset: true with runtime=terminal, python, or nodejs when a session is stuck and the next command should run immediately in a clean shell.
  • Match the remote host shell syntax. A Windows CLI may need PowerShell syntax even when Agent Zero runs on Linux.

Failure Handling

  • If no CLI is connected, ask the user to connect A0 CLI to this Agent Zero instance.
  • If execution is disabled, tell the user to enable remote execution in the CLI.
  • If mutating runtimes are blocked, tell the user to switch local file access to Read&Write with F3.
  • If a request times out or the CLI disconnects, poll once if a session may still be running; otherwise summarize the failure and wait for reconnection.

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

a0-create-agent

FreeSummary

Create specialized Agent Zero profiles by defining their roles, working methods, and delegation criteria. The skill prepares configuration files and instructions, with optional custom tools, extensions, and model preset selection when needed.

  • Create a specialist agent for data analysis
  • Define when to delegate work to an agent
  • Customize an agent's workflow and response format
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-create-plugin

FreeSummary

Build, improve, review, or troubleshoot Agent Zero plugins for local use or community distribution. Follow plugin structure and installation rules, verify behavior in the target runtime, and prepare repository and Plugin Index contributions when requested.

  • Building an Agent Zero plugin for local use
  • Reviewing an existing plugin's structure and behavior
  • Investigating plugins that fail to load or run
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-development

FreeSummary

Operate Agent Zero projects, chats, and tasks, or develop new tools, extensions, and API features. The skill guides work through existing APIs, relevant documentation, current source code, and checks appropriate to the change.

  • Manage Agent Zero projects and chats
  • Develop custom tools and extensions
  • Add API endpoints or WebUI features
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-manage-plugin

FreeSummary

Find Agent Zero plugins that match a task, compare candidates and their requirements, and manage installation, updates, settings, activation, and removal. It also supports security scans and checks the resulting plugin state through framework management APIs.

  • Find and compare plugins for a specific task
  • Review service, credential, and cost requirements before installation
  • Scan, install, or update a plugin
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

Automate web page tasks such as clicking, filling forms, uploading and downloading files, and taking screenshots. Work across tabs using a browser on the connected host machine or inside a Docker container.

  • Filling web forms and selecting options
  • Uploading or downloading files through websites
  • Capturing screenshots to inspect page appearance
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

Create, edit, and install extensions for Agent Zero Browser, including extensions from Chrome Web Store. It guides permission reviews and checks for suspicious behavior, with new extensions built as readable files that users can inspect.

  • Create a browser extension for a specific website
  • Modify an existing extension
  • Install an extension from Chrome Web Store
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

See all skills by agent0ai

Report a problem with this skill