promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Aider

/web

Scrapes a web page, converts it to markdown, and sends it as a message in the chat.

/web <URL> fetches a web page, converts its content to markdown, and adds it as a chat message, so the model can use, e.g., external documentation or web-based error reports as context. Images on the page can also be picked up, provided the model supports image input.

โœ… WHEN TO USE IT?

Provide external API documentation as context for an integration

/web https://docs.example.com/api/v2 before a question about correct endpoint usage

Bring in an error message/issue discussion found on the web

/web <GitHub issue URL>, to bring a known solution in as context for your own bug

โ›” WHEN NOT TO?

The page requires login or is heavily JavaScript-driven/interactive

/web scrapes static page content; content behind logins or loaded purely dynamically is often not captured correctly.

Better: Copy the relevant text manually and paste it via /paste or directly into the chat input

The web page is very long and only a small section is relevant

The full page as markdown takes up unnecessary context (tokens).

Better: Manually copy and paste only the relevant excerpt instead of the whole page via /web

SOURCES