AGENT SKILL

host-screen

Explicitly authorized one-shot screenshots of the server computer, not the browser or phone.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 62
Forks
4

01 前言 Front Matter

name
host-screen
type
loadable
tools
list_displays screenshot
description
Explicitly authorized one-shot screenshots of the server computer, not the browser or phone.

03 SKILL.md 正文

Host screen capture

These tools access the computer running Ensemble. Loading this skill grants host-screen authority; ordinary file access, code-tools and browser access do not imply it. Safe mode refuses both tools. OS screen-recording permission is also required. Do not elevate privileges or bypass permission.

Use screenshot with no selection to capture the whole primary display (display 0). Its only selection argument is optional display: a nonnegative zero-based integer; omitted means display 0. Use list_displays only when another display needs identifying. There is no window or rectangle selection and no need to measure windows. Removed rectangle arguments refuse rather than silently expand capture. The current backend is macOS-only; other platforms fail explicitly.

A screenshot returns actual bounded, resized PNG pixels with original and prepared dimensions through the normal tool-image path. A filename or text description is not a screenshot. Model tool-image capability is checked before capture. Temporary files and the native helper are owned and joined on cancellation and failure. An observation delay may return a Job; use its handle to collect the result. Stopping observation does not cancel capture; explicit Job cancellation does.

Capture only the whole display the human authorized. No background monitoring or speculative private-window capture. Announce native tests and agree synthetic content/display first. This needs no Chrome picker and does not capture the requesting phone. macOS permission must be handled by the human; preflight refuses without opening a permission prompt or changing settings.

04 同仓库更多 Skills