Babysitter screen-capture-api
Cross-platform screen and window capture for screenshots and recording
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/desktop-development/skills/screen-capture-api" ~/.claude/skills/a5c-ai-babysitter-screen-capture-api && rm -rf "$T"
manifest:
library/specializations/desktop-development/skills/screen-capture-api/SKILL.mdsource content
screen-capture-api
Implement cross-platform screen and window capture for screenshots and recording capabilities.
Capabilities
- Capture full screen
- Capture specific windows
- Capture screen regions
- Handle multiple displays
- Stream screen content
- Handle permissions
Input Schema
{ "type": "object", "properties": { "projectPath": { "type": "string" }, "framework": { "enum": ["electron", "native"] }, "captureTypes": { "type": "array" } }, "required": ["projectPath"] }
Electron Example
const { desktopCapturer } = require('electron'); async function captureScreen() { const sources = await desktopCapturer.getSources({ types: ['screen'], thumbnailSize: { width: 1920, height: 1080 } }); for (const source of sources) { const screenshot = source.thumbnail.toPNG(); // Save or use screenshot } }
Related Skills
power-management-monitor
processsystem-services-integration