Skip to content

Guide · Agent skill

How to use the Run Dozzle Dev Instance agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The run-dev-instance skill is a set of instructions that teaches an AI coding agent how to start its own Dozzle development server and test a change by using the web interface. It is written for contributors to the Dozzle project who want an agent to check UI work in a browser, and for developers running several git worktrees of the same repository at once. After reading this guide you will know how to install the skill, how to ask for it in plain language, and how the agent avoids stopping someone else's server.

Run Dozzle Dev Instanceamir20/dozzle · MIT

Quick start

  1. 1Install the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/, or into a project's .claude/skills/ folder. Alternatively, upload it in the Claude apps under Settings, Capabilities, Skills.
  2. 2Check the requirements. Confirm you have the Dozzle repository, Bun, Make, the Go toolchain, air, Node with vite dependencies, and Docker available.
  3. 3Make a natural request. Ask the agent to test a UI change in the browser, for example by checking a layout or taking screenshots.
  4. 4Let the agent start its server. The agent runs make dev-auto in the background and reads the URL it prints, which is unique to the current checkout.
  5. 5Wait for readiness. The agent polls the port until the page responds instead of relying on a fixed delay.
  6. 6Drive and check the page. The agent uses the Chrome extension for a visible session or Playwright for scripted tests, and watches the console for errors.
  7. 7Stop only its own server. When finished, the agent stops only the process on its own port and leaves other worktrees' servers running.

What the skill makes the agent do

Dozzle is a log viewer for Docker containers. When a change needs checking by hand, such as clicking through the UI, taking screenshots, or driving the page with Chrome or Playwright, the agent needs a running instance to point at. This skill tells the agent how to start one.

The skill assigns the instance a port derived from the current checkout's path. If that port is taken, it moves forward until it finds a free one. Each worktree therefore keeps the same URL, and several worktrees can run at once without clashing. The skill also states that the agent should never assume the default port 3100 is its own, and should never stop an instance it did not start.

Install the skill

Option one: download the ZIP from this page and unzip it into ~/.claude/skills/ to make the skill available in all your projects. To limit it to one project, unzip it into that project's .claude/skills/ folder instead.

Option two: in the Claude apps, open Settings, go to Capabilities, and upload the skill under Skills.

Ask for it with a natural request

You do not need to type the skill name. The skill's description tells the agent when to use it, so ask for what you need in ordinary words. The skill is meant for requests where Dozzle must be running in a browser to test a change by hand.

Examples of requests that match its purpose: asking the agent to start Dozzle and check that a new button works in the browser, to take screenshots of a UI change, or to drive the page with Chrome or Playwright and report console errors.

  • Check my UI change in the browser and tell me if the layout breaks.
  • Start a Dozzle dev instance and take screenshots of the container list.
  • Use Playwright to click through the settings page and report any console errors.

Start and wait for the server

The skill starts the dev server with make dev-auto, which runs air and vite with hot reload. The command prints the URL before anything else, in this form: the Dozzle port, then the vite and agent ports in brackets. To find the URL without starting anything, the agent can run the port script with the json flag.

For a one-off check of code that is already written, the skill suggests a production build instead, which has no vite part. The agent waits for the port to respond rather than sleeping for a fixed time.

  • Hot reload suits active iteration on a change.
  • A production build is steadier for a single check.
make dev-auto

Drive the page and watch for errors

For a visible session where you want to watch, the skill uses the Chrome extension. For anything scripted or repeatable, it uses Playwright from node_modules with browsers already cached. The skill notes that Playwright is also the only way to simulate a broken clipboard, a missing API, or an offline stream.

The agent should watch the browser console for errors throughout the test, not only at the end.

Stop only the server you started

The skill says to kill only the process the agent started, either the background task or the process listening on its own port. Other ports are left alone. If a port the agent wanted is taken by another worktree, the agent should not free it, because the port script has already moved to the next free one.

lsof -tiTCP:$PORT -sTCP:LISTEN

Overrides and other ports

The variables DOZZLE_PORT, VITE_PORT and AGENT_PORT override the ports for make dev, make dev-auto, bun run preview and bun run agent:dev. Plain make dev still uses 3100, 5173 and 7007, which are the ports a person starting the server by hand expects. The Go server finds the Vite address through viteDevURL() in internal/web/index.go, so setting VITE_PORT is enough.

What people use it for

  • Checking that a new settings panel renders correctly in the browser before a pull request.
  • Taking screenshots of a UI change for a review comment.
  • Running a scripted Playwright test that simulates a broken clipboard or an offline stream.
  • Running the same UI check in two git worktrees at once without port conflicts.

Frequently asked questions

What is the run-dev-instance skill?

It is an agent skill, a set of instructions for an AI coding agent, that tells the agent how to start a Dozzle development server on a port unique to the current code checkout. The agent then uses that server to test UI changes in a browser.

How do I install the run-dev-instance skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project. You can also upload it in the Claude apps under Settings, Capabilities, Skills.

What do I need to use this skill?

The skill requires Bun, Make, the Go toolchain, air, Node with vite dependencies for the frontend, and Docker. Chrome extension or Playwright with cached browsers is optional, for driving the UI.

Is this skill free and what is its licence?

The source repository, amir20/dozzle, is licensed under MIT. This page does not state any price for the skill, so check the directory listing for that detail.

Does the skill access the network?

The listing states that the skill does not use the network, but it does run scripts, including local build and dev tooling. Review the scripts before running the skill on sensitive machines.

Can I use this skill to just view container logs?

No. The skill is for developing Dozzle itself and testing changes. If you only want to view container logs, use Dozzle as an installed application rather than this development skill.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits contributors to the Dozzle project who want an agent to verify UI changes in a browser, especially when several git worktrees run at the same time. It is not suited to people who just want to read container logs or run a production install. If you lack the Dozzle repository or the Go, Bun and Docker tooling, pick a different approach.

Download the skill