Back to Docs
Navigation

shot-annotated

Take a screenshot with green @N badges overlaid on every interactive element (buttons, links, inputs). Useful for AI agents to identify clickable targets.

Usage

$ cdpilot shot-annotated [<output-path>]

Arguments

NameRequiredDescription
output-pathoptionalFile path for the annotated screenshot

Examples

Take an annotated screenshot

$ npx cdpilot shot-annotated

Save annotated screenshot to a custom path

$ npx cdpilot shot-annotated /tmp/annotated.png