capture-sslisted
Install: claude install-skill brennacodes/brenna-plugs
<references>
<reference name="screencapture-reference" path="references/screencapture-reference.md" />
<reference name="sips-reference" path="references/sips-reference.md" />
</references>
<purpose>
Capture a screenshot for the user. Parse their arguments, resolve the target, run the capture, post-process if needed, and display the result.
Read <reference name="screencapture-reference"/> and <reference name="sips-reference"/> for detailed flag and option information.
</purpose>
<steps>
<step id="load-config" number="1">
<description>Load Config</description>
<load-config>
<action>Read `.claude/screenshotr.local.md` to get the user's settings.</action>
<if condition="no-config">
<action>Tell the user: No configuration found. Please run `/setup-ss` first.</action>
<exit />
</if>
</load-config>
</step>
<step id="parse-arguments" number="2">
<description>Parse Arguments</description>
<action>Parse `$ARGUMENTS` to determine target type and options. Arguments can be positional or flags.</action>
<phase name="target-types" number="1">
Target types (first positional argument or inferred):
- `screen`, `fullscreen`, or no target specified -- fullscreen capture
- `window "App Name"` or `window AppName` -- capture a specific app's window
- `region x,y,w,h` -- capture a rectangular region
- `url "https://..."` -- open URL in browser, wait, capture the browser window
- `display N