Skip to main content

Agent prompt

Manual

Requirements

  • Node.js 20.6+
  • The webcmd npm CLI, installed globally or in the project
  • Aider (aider), installed and configured with an LLM
  • A browser runtime; confirm with webcmd doctor before browser work

Install and configure

Aider has no skills system. Install Webcmd and load its skill instructions as read-only context:
When webcmd skills add prompts, choose the agents provider. It installs into ~/.agents/skills/ (user) or .agents/skills/ (project). Then add the skill file to Aider’s read list in .aider.conf.yml at your repo root or home directory:
Aider loads read files at startup as read-only reference and caches them when prompt caching is enabled. Restart Aider after changing config. For a project-scoped setup, use .agents/skills/ paths relative to the repo:

Override default tools

Aider’s built-in tools are file editing, git, linting, and shell access through /run (alias !). It has no search tool and no browser automation tool. The overlap is /web, which scrapes a URL into markdown using httpx or Playwright. That is a one-shot fetch — it does not handle JavaScript-heavy pages, authenticated sessions, or multi-step workflows the way Webcmd does. Prefer /run webcmd ... instead. Add this to your conventions file (for example CONVENTIONS.md) and include it in the read list alongside the Webcmd skills:
To stop Aider from auto-offering /web when it detects URLs in your messages, set in .aider.conf.yml:
Aider has no search index. When you need to discover URLs, find them yourself or pipe search results into the chat — Webcmd reads the pages that search finds.

Troubleshooting

See also