Skip to content

a5c-ai/babysitter / library/specializations/desktop-development/skills/clipboard-handler

clipboard-handler

Verified

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

FileKindSize
README.mdmarkdown449 B
SKILL.mdskill md1.5 KB
---
name: clipboard-handler
description: Cross-platform clipboard operations for text, images, files, and rich content
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [clipboard, cross-platform, desktop, copy-paste, files]
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:desktop-development]
  skillAreas: [skill-area:desktop-system-integration, skill-area:desktop-ui-frameworks]
  roles: [role:desktop-developer, role:fullstack-engineer]
  workflows: [workflow:feature-development, workflow:release-management]
---

# 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
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall