screen-capture-api

Cross-platform screen and window capture for screenshots and recording

509 stars

Best use case

screen-capture-api is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Cross-platform screen and window capture for screenshots and recording

Teams using screen-capture-api should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/screen-capture-api/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/desktop-development/skills/screen-capture-api/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/screen-capture-api/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How screen-capture-api Compares

Feature / Agentscreen-capture-apiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Cross-platform screen and window capture for screenshots and recording

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "framework": { "enum": ["electron", "native"] },
    "captureTypes": { "type": "array" }
  },
  "required": ["projectPath"]
}
```

## Electron Example

```javascript
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`
- `system-services-integration` process

Related Skills

screen-reader

509
from a5c-ai/babysitter

Screen reader compatibility, testing, and optimization.

screenshot-comparison

509
from a5c-ai/babysitter

Visual regression testing through screenshot capture and comparison. Pixel-diff analysis, responsive screenshot capture across viewports, and visual change reporting with highlighted differences.

packet-capture

509
from a5c-ai/babysitter

Expert skill for packet capture and analysis using libpcap/Wireshark. Execute tcpdump/tshark commands, write BPF filter expressions, analyze pcap files, decode protocol layers, calculate statistics, and generate Wireshark dissectors.

screen-effects

509
from a5c-ai/babysitter

Full-screen effect skill for damage indicators.

screenplay-formatting

509
from a5c-ai/babysitter

Format screenplays to industry standard using Fountain markup for professional presentation

motion-capture-analyzer

509
from a5c-ai/babysitter

Motion capture data processing and analysis skill for gait analysis and biomechanical studies

resume-screening

509
from a5c-ai/babysitter

Intelligent resume parsing and candidate screening with bias-reduction capabilities

performance-baseline-capturer

509
from a5c-ai/babysitter

Capture performance baselines before migration for regression comparison and SLA verification

Findings Capture

509
from a5c-ai/babysitter

Capture and persist research findings, discoveries, and decision rationale to findings.md.

cog-braindump-capture

509
from a5c-ai/babysitter

Capture raw thoughts with automatic domain classification and vault routing

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)