clipboard-win

Read and write Windows clipboard content in Rust applications.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/cecon123/tg-remote-bot --skill clipboard-win
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clipboard-win
Source: https://github.com/cecon123/tg-remote-bot/tree/main/.agents/skills/clipboard-win
Command: npx skills add https://github.com/cecon123/tg-remote-bot --skill clipboard-win

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Windows clipboard access and manipulation for Rust applications, enabling read/write of text, images, and helper data without manual UI interaction.

Core Features & Use Cases

  • Simple API for reading and writing clipboard data across common formats (Unicode text, HTML, Bitmap, FileList)
  • Optional clipboard monitoring and scoped locking to ensure safe, deterministic operations
  • Low-level raw bindings and helper utilities for advanced use cases like clipboard format registration

Quick Start

Install the clipboard-win crate and read clipboard text using formats::Unicode.

Frequently Asked Questions about clipboard-win

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and write Windows clipboard data in Rust?

Read and write Windows clipboard data in Rust using simple APIs for common formats like Unicode text, HTML, and bitmaps. The clipboard-win crate provides getters and setters to programmatically manipulate clipboard content without manual UI interaction.

Can I monitor Windows clipboard events in Rust?

Yes, you can monitor Windows clipboard events in Rust using an optional monitor feature. This functionality allows your application to handle clipboard events and manage error handling safely during operations.

What clipboard formats are supported for Rust Windows applications?

Supported clipboard formats for Rust Windows applications include Unicode text, HTML, bitmap, and FileList. These formats enable applications to copy and paste text, images, and helper data across the Windows environment.

How do I ensure safe clipboard operations in Rust?

Ensure safe clipboard operations in Rust using scoped locks and optional clipboard monitoring. These mechanisms provide deterministic operations and reusable APIs, preventing conflicts during concurrent read and write processes.

Does clipboard-win provide low-level raw bindings for advanced use cases?

Yes, clipboard-win provides low-level raw bindings for advanced use cases like clipboard format registration. These helper utilities allow developers to interact directly with the Windows clipboard beyond standard text and image formats.