Clipboard handler

From a5c-ai/babysitter · View interactive version

Clipboard handler is an AI agent skill from the GitHub repository a5c-ai/babysitter. Cross-platform clipboard operations for text, images, files, and rich content

How to use this skill

Skill file

clipboard-handler

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

Capabilities

Input Schema

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

Electron Example

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.