herdr-preview

Installation
SKILL.md

Herdr localhost previews

Use the bundled Node.js client at scripts/herdr-preview.mjs, resolved relative to this skill's directory. It talks only to the local private broker socket; no bot token or gateway credential belongs in this skill, a project, or command output. Node.js 22+ is required.

Commands

node /path/to/herdr-preview/scripts/herdr-preview.mjs open http://localhost:5173 --name "Notes"
node /path/to/herdr-preview/scripts/herdr-preview.mjs list
node /path/to/herdr-preview/scripts/herdr-preview.mjs close PREVIEW_ID

All commands return JSON. Use the installed herdr-preview wrapper instead if available.

open registers the page in the current Herdr workspace and requests that connected Herdr web clients open it. Reopening the same origin in the same workspace updates the existing preview rather than duplicating it. A path such as http://localhost:5173/settings is allowed.

close removes the preview and revokes its proxy access. It does not stop the dev server, terminate an agent, or close a terminal. The interface's close button has the same effect. Use an ID returned by open or list; do not guess IDs or close unrelated previews.

Workflow

Installs
1
First Seen
Oct 5, 2026