Skip to main content

Agent prompt

Manual

Requirements

  • Node.js 20.6+ on the Hermes host
  • The webcmd npm CLI, installed globally on the Hermes host
  • Hermes terminal toolset enabled (needed to run webcmd)
  • A browser runtime; confirm with webcmd doctor before browser work

Install and configure

Install Webcmd and its skills on the Hermes host:
When webcmd skills add prompts, choose the agents provider (installs into ~/.agents/skills/). Then make Hermes load those skills by adding the external skills directory to ~/.hermes/config.yaml:
Hermes then reads webcmd-usage and webcmd-browser as skills. Restart Hermes after changing config and confirm the skills are discoverable.

Override default tools

Hermes’ web surface spans three toolsets: web_search lives in web, not in browser, so disabling browser leaves search intact. Hermes toggles toolsets, not individual tools. There is no way to drop web_extract while keeping web_search, so leave the web toolset on and steer the agent with instructions instead. Add this to your Hermes system prompt or project instructions:
Use Webcmd (webcmd list, then webcmd --profile work session create "Work Project" and webcmd --profile work --session work-project-k7 browser tabs via the terminal toolset) for anything on the open web: fetching, authenticated third-party sites, multi-step automation. Prefer it over web_extract. Use the browser_* tools only for the app being edited — localhost dev server, console and network triage, visual checks. Keep using web_search and x_search to find URLs.
Also check the computer_use toolset. It drives the whole desktop rather than a browser, so it overlaps with Webcmd whenever it is aimed at a website. Disable it if the user does not need desktop control. Full override (opt-in). If the user never debugs local apps through Hermes’ browser, disable the toolset outright:
Or in ~/.hermes/config.yaml:
Recommended: use hermes tools disable browser so the terminal toolset stays available. Do not disable the terminal toolset — that is how Hermes runs webcmd.

Troubleshooting

See also