Skip to main content
A coding agent needs a machine where it can clone a repository, install dependencies, run commands, and return the result. An agent skill gives it a repeatable workflow for doing that on a Devbox. Namespace publishes Devbox skills in namespacelabs/agent-skills. A skill is an instruction pack for coding agents. It gives the agent a repeatable workflow for creating Devboxes, loading source code, running commands, and cleaning up after the task. For a worked example, see Testing with Devboxes and agent skills.

Install the skill

Install the skill in a project when you want the repository to carry the same agent instructions for everyone. Install it globally when you want to use the skill across projects from your own machine.
Run this from the project directory:

Get started with an agent

If you have never used a Devbox before, hand your agent the prompt below. It installs the skill first, so it works even if you skipped the step above, then walks the whole setup: CLI, login, a first Devbox, and how to open a shell in it. You will need to complete the login in your browser when the agent reaches that step.
Agent Prompt

Use the skill

Once the skill is installed, ask your agent for what you want in plain language and the skill supplies the commands. For anything that acts on your code, start the agent from the repository so it can see the files. The exact behavior depends on the agent and the project.
Agent Prompt
Logging in opens a browser. The agent hands that step to you, waits for the command to finish, then verifies the credential.

What the skill covers

The skill instructs the agent on the whole Devbox workflow:
  • Installing the Devbox CLI and logging in
  • Creating a Devbox, including picking an image and size
  • Loading source code and installing toolchains
  • Running commands with devbox exec, including detached runs and their logs
  • Sharing web work through devbox.so URLs
  • Tearing the Devbox down, or leaving it running when work continues

Next Steps

Devbox CLI

Install and authenticate the CLI the skill drives.

Executing Commands

Run commands and read their retained output.

Long Running Tasks

Keep a Devbox alive while an agent works.
Last modified on September 16, 2026