# Navaris running commands

> Navaris running commands is an open-source agent skill for developer tools. Run one-shot commands and persistent terminal sessions inside a navaris sandbox. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/erans/navaris/tree/main/skills/navaris-running-commands
- **Repository:** https://github.com/erans/navaris
- **GitHub stars:** 11
- **License:** Apache-2.0
- **Skill name:** navaris-running-commands
- **Collection:** https://github.com/erans/navaris
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill teaches an agent to drive the navaris command-line client against a running sandbox. It covers three ways of executing work: one-shot exec with environment variables, working directory and timeout flags; persistent shell sessions that can be created, listed, inspected and destroyed; and attaching an interactive terminal over WebSocket, either to an existing session or to an auto-created tmux-backed one.

The guidance is organized as a decision aid. Short stateless commands go through exec, while long-running processes, multi-step work sharing environment or directory, and anything that must survive a client disconnect go through tmux-backed sessions. Workflows show creating a sandbox, waiting for it to reach the running state, and then executing or attaching.

It includes a table of common failure modes, such as sessions lost after a sandbox restart, exec timeouts that leave the remote process running, and authentication failures during attach, each with a suggested fix. Stdin is not forwarded by exec in the current version, so the skill suggests writing input to a file first. Requires the navaris CLI and a valid NAVARIS_TOKEN for attach.

## When your agent uses it

> Use when the user wants to run commands inside a navaris sandbox — one-shot exec, persistent interactive sessions, or attaching a terminal. Covers env/workdir/timeout on exec, session lifecycle, attach over WebSocket, and picking between exec and session.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/erans/navaris/tree/HEAD/skills/navaris-running-commands)
- [License: Apache-2.0](https://github.com/erans/navaris/tree/HEAD/skills/navaris-running-commands)

## Features

- **One-shot command execution:** Runs a single command in a sandbox with environment variables, working directory and timeout set.
- **Persistent shell sessions:** Creates, lists, inspects and destroys shell sessions backed by a raw pty or tmux.
- **Terminal attach:** Attaches an interactive terminal to an existing or newly created session over WebSocket.
- **Exec versus session guidance:** Explains when a stateless exec fits better than a reconnectable tmux session.
- **Sandbox readiness checks:** Shows waiting for the running state before exec or session creation.
- **Troubleshooting table:** Lists common errors such as missing sessions, timeouts and handshake failures with fixes.

## Good for

- Run a build script inside a sandbox with custom environment variables
- Start a long-running process and check on it later from a persistent session
- Open an interactive shell in a sandbox and reconnect after a dropped connection
- Install packages in a freshly created sandbox once it is running
- Diagnose why a command timed out or a session disappeared

## Install

### Claude Code

This skill ships in the `navaris-cli` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add erans/navaris
/plugin install navaris-cli@navaris
```

Or copy only this skill to `~/.claude/skills/navaris-running-commands`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/erans/navaris.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/navaris-running-commands &&
cp -R "$tmp/skills/navaris-running-commands" ~/.claude/skills/navaris-running-commands &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/navaris-running-commands` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/navaris-running-commands` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/erans/navaris.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/navaris-running-commands &&
cp -R "$tmp/skills/navaris-running-commands" ~/.agents/skills/navaris-running-commands &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/navaris-running-commands` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/navaris-running-commands` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/erans/navaris.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/navaris-running-commands &&
cp -R "$tmp/skills/navaris-running-commands" ~/.cursor/skills/navaris-running-commands &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/navaris-running-commands` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/erans/navaris.git --path skills/navaris-running-commands
```

Or copy the folder to `~/.gemini/skills/navaris-running-commands` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/navaris-running-commands`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/erans/navaris.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/navaris-running-commands &&
cp -R "$tmp/skills/navaris-running-commands" ~/.copilot/skills/navaris-running-commands &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/navaris-running-commands` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/erans/navaris.git
```

Then copy `navaris/skills/navaris-running-commands` into your agent's skills folder as `navaris-running-commands`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I use exec instead of a session?

Use exec for stateless commands that finish in seconds. Use a tmux-backed session for long-running processes, related commands sharing environment or directory, or when you need to reconnect after a client drop.

### Can I pipe input into an exec command?

Not in the current version. Stdin is not forwarded, so the skill suggests writing the input to a file inside the sandbox first and then running the consumer.

### Why does attach fail with a 401 error?

The attach WebSocket handshake needs a valid NAVARIS_TOKEN. The skill recommends checking the variable and running navaris project list to confirm authentication works.

### Do sessions survive a sandbox restart?

No. The skill states that restarting a sandbox exits all sessions regardless of backing, while tmux only helps with client disconnects.

### How do I install Navaris running commands in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/navaris-running-commands to use it in all your projects, or to .claude/skills/navaris-running-commands in one project. Or install the navaris-cli plugin, which includes it: /plugin marketplace add erans/navaris, then /plugin install navaris-cli@navaris.

### Does Navaris running commands run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Navaris running commands?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Navaris running commands?

The closest alternatives to Navaris running commands are Using navaris CLI, Navaris managing sandboxes, Navaris getting started, Navaris snapshots images async and Sandbox CLI sandbox.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Using navaris CLI](https://ai-powered.com/skills/using-navaris-cli): Using navaris CLI is an open-source agent skill for developer tools.
- [Navaris managing sandboxes](https://ai-powered.com/skills/navaris-managing-sandboxes): Navaris managing sandboxes is an open-source agent skill for developer tools.
- [Navaris getting started](https://ai-powered.com/skills/navaris-getting-started): Navaris getting started is an open-source agent skill for developer tools.
- [Navaris snapshots images async](https://ai-powered.com/skills/navaris-snapshots-images-async): Navaris snapshots images async is an open-source agent skill for developer tools.
- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.
- [Tangle sandbox](https://ai-powered.com/skills/tangle-sandbox): Tangle sandbox is an open-source agent skill for developer tools.
- [Neevcloud sandbox](https://ai-powered.com/skills/neevcloud-sandbox-computesdk): Neevcloud sandbox is an open-source agent skill for cloud and infrastructure.
- [Namespace sandbox](https://ai-powered.com/skills/namespace-sandbox): Namespace sandbox is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/navaris-running-commands
