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.- Project
- Global
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.- Log me in
- Create a Devbox
- Run a command
- Run tests
- Copy local changes
Agent Prompt
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.soURLs - 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.