clipboard-handler

Cross-platform clipboard operations for text, images, files, and rich content

509 stars

Best use case

clipboard-handler is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Cross-platform clipboard operations for text, images, files, and rich content

Teams using clipboard-handler 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/clipboard-handler/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/desktop-development/skills/clipboard-handler/SKILL.md"

Manual Installation

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

How clipboard-handler Compares

Feature / Agentclipboard-handlerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Cross-platform clipboard operations for text, images, files, and rich content

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

# clipboard-handler

Implement cross-platform clipboard operations for text, images, files, and rich content.

## Capabilities

- Read/write text to clipboard
- Copy/paste images
- Handle file paths
- Support HTML/RTF content
- Monitor clipboard changes
- Clear clipboard

## Input Schema

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

## Electron Example

```javascript
const { clipboard, nativeImage } = require('electron');

// Text
clipboard.writeText('Hello World');
const text = clipboard.readText();

// Image
const image = nativeImage.createFromPath('/path/to/image.png');
clipboard.writeImage(image);

// HTML
clipboard.writeHTML('<b>Hello</b>');
```

## Related Skills

- `global-shortcut-manager`
- `system-services-integration` process

Related Skills

jwt-handler

509
from a5c-ai/babysitter

JWT creation, validation, and management for SDK authentication

electron-protocol-handler-setup

509
from a5c-ai/babysitter

Register and handle custom URL protocols (deep linking) across platforms for Electron applications

trap-handler-generator

509
from a5c-ai/babysitter

Generate trap handlers for cleanup, signal handling, and graceful shutdown in shell scripts.

mutually-exclusive-group-handler

509
from a5c-ai/babysitter

Generate logic for handling mutually exclusive argument groups with clear error messages and validation in CLI applications.

encoding-handler

509
from a5c-ai/babysitter

Handle text encoding across platforms including UTF-8, Windows codepages, and BOM handling.

cross-platform-path-handler

509
from a5c-ai/babysitter

Generate cross-platform path handling utilities for Windows, macOS, and Linux compatibility in CLI applications.

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.)

yolo

509
from a5c-ai/babysitter

Run Babysitter autonomously with minimal manual interruption.

user-install

509
from a5c-ai/babysitter

Install the user-level Babysitter Codex setup.

team-install

509
from a5c-ai/babysitter

Install the team-pinned Babysitter Codex workspace setup.

retrospect

509
from a5c-ai/babysitter

Summarize or retrospect on a completed Babysitter run.