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
{
"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
global-shortcut-managersystem-services-integrationprocess