AGENT SKILL
wayshot
Use this skill when the user wants to take a screenshot on a wlroots Wayland compositor (sway, river, Hyprland) — full screen, region, or piped to stdout.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- wayshot
- description
- Use this skill when the user wants to take a screenshot on a wlroots Wayland compositor (sway, river, Hyprland) — full screen, region, or piped to stdout.
03 SKILL.md 正文
wayshot Plugin
wayshot captures screenshots on Wayland via the zwlr_screencopy_v1 protocol. It writes png files to cwd, streams to --stdout, supports -s/--slurp geometry regions, -o output picker, --cursor, and jpeg/webp/png extensions.
Commands
Capture
wayshot screen capture— All outputs → png file in cwdwayshot screen stdout— png bytes to stdout (pipe to file or wl-copy)wayshot screen region— Region from a slurp geometry stringwayshot screen output— Interactively pick an outputwayshot _ _— Passthrough (--file,--extension,--cursor,-llist outputs)
Usage Examples
- "Take a screenshot of all my monitors"
- "Screenshot just this region: 100,200 800x600"
- "Pipe a screenshot straight into the clipboard"
- "Save a jpeg screenshot to a file"
Installation
cargo install wayshot
Examples
wayshot # ./<timestamp>.png
wayshot -s "$(slurp)" # interactive region
wayshot --stdout > /tmp/shot.png
wayshot --stdout | wl-copy # straight to clipboard
wayshot --extension jpeg -f shot.jpeg
wayshot -o # pick an output
Key Features
- Fast, dependency-light Rust implementation for wlroots compositors
--stdoutstreaming makes it pipe/script friendly- slurp integration for region selection;
-ofor multi-monitor picking - Multiple output formats: png, jpeg, webp, ppm, qoi
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57