Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
docs(skill): document the agent-browser → view_image chain for screenshots
0xallamab3da5c0b0e3
diff --git a/strix/skills/tooling/agent_browser.md b/strix/skills/tooling/agent_browser.mdindex bcf3ae27..4682adef 100644--- a/strix/skills/tooling/agent_browser.md+++ b/strix/skills/tooling/agent_browser.md@@ -236,14 +236,31 @@ only for simple expressions.### Screenshot+`agent-browser screenshot` writes a PNG to disk in the sandbox. The+shell command alone does **not** put the image into your context —+chain it with the SDK ``view_image`` tool to actually see it:++```bash+exec_command: agent-browser screenshot /workspace/page.png+view_image: {"path": "/workspace/page.png"}+```+```bashagent-browser screenshot # temp path, printed on stdout-agent-browser screenshot page.png # specific path+agent-browser screenshot page.png # specific path (relative to cwd)agent-browser screenshot --full full.png # full scroll heightagent-browser screenshot --annotate map.png # numbered labels + legend keyed to snapshot refs```-`--annotate` is designed for multimodal models: each label `[N]` maps to ref `@eN`.+`--annotate` is designed for multimodal models: each label `[N]` maps+to ref `@eN`. Take the annotated screenshot, then ``view_image`` it,+and you can correlate visual layout with snapshot refs.++Snapshots (`snapshot -i`) give you a compact text view that costs ~200-400+tokens; screenshots cost more. Use `snapshot` first; reach for+`screenshot + view_image` only when you actually need pixels (visual+layout questions, captchas, custom widgets where the accessibility+tree is incomplete).### Handle multiple pages via tabs