
Clipboard Manager
- 94 installs
- 84 repo stars
- Updated January 28, 2026
- aidotnet/moyucode
clipboard-manager is a Claude Code skill that copies and pastes text and files to and from the system clipboard via a Python CLI.
About
clipboard-manager is a Claude Code skill that copies and pastes text and files to and from the system clipboard. A developer runs scripts/clipboard_manager.py with copy or paste, optionally reading from or writing to a file. It wraps the pyperclip library for programmatic clipboard operations.
- Copies and pastes text and files to and from the system clipboard
- Runs via a bundled scripts/clipboard_manager.py CLI
- Built on the pyperclip library (BSD-3-Clause)
Clipboard Manager by the numbers
- 94 all-time installs (skills.sh)
- Ranked #251 of 550 CLI & Terminal skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
clipboard-manager capabilities & compatibility
- Capabilities
- clipboard copy · clipboard paste
- Pricing
- Free
What clipboard-manager says it does
Copy and paste text and files to system clipboard with history tracking and format conversion.
python scripts/clipboard_manager.py copy "Hello World"
npx skills add https://github.com/aidotnet/moyucode --skill clipboard-managerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 94 |
|---|---|
| repo stars | ★ 84 |
| Last updated | January 28, 2026 |
| Repository | aidotnet/moyucode ↗ |
What it does
Copy and paste text or file content to and from the system clipboard via a CLI script.
Who is it for?
Programmatic copy and paste between the clipboard and files.
Skip if: Cross-device clipboard sync or GUI clipboard history browsing.
When should I use this skill?
A developer needs to copy or paste text or file content via the command line.
What you get
Text or file content copied to or pasted from the system clipboard.
- Clipboard content copied or pasted to a file
Files
Clipboard Manager Tool
Description
Copy and paste text and files to system clipboard with history tracking and format conversion.
Trigger
/clipboardcommand- User needs clipboard operations
- User wants to copy/paste programmatically
Usage
# Copy text to clipboard
python scripts/clipboard_manager.py copy "Hello World"
# Copy file content
python scripts/clipboard_manager.py copy --file document.txt
# Paste from clipboard
python scripts/clipboard_manager.py paste
# Paste to file
python scripts/clipboard_manager.py paste --output output.txtTags
clipboard, copy, paste, text, utility
Compatibility
- Codex: ✅
- Claude Code: ✅
#!/usr/bin/env python3
"""
Clipboard Manager Tool
Based on: https://github.com/asweigart/pyperclip
Usage:
python clipboard_manager.py copy "Hello World"
python clipboard_manager.py paste
"""
import argparse
import sys
from pathlib import Path
def get_clipboard():
"""Get clipboard content."""
try:
import pyperclip
return pyperclip.paste()
except ImportError:
# Fallback for Windows
try:
import subprocess
result = subprocess.run(['powershell', '-command', 'Get-Clipboard'],
capture_output=True, text=True)
return result.stdout.strip()
except:
return None
def set_clipboard(text):
"""Set clipboard content."""
try:
import pyperclip
pyperclip.copy(text)
return True
except ImportError:
# Fallback for Windows
try:
import subprocess
subprocess.run(['powershell', '-command', f'Set-Clipboard -Value "{text}"'],
check=True)
return True
except:
return False
def main():
parser = argparse.ArgumentParser(description="Clipboard operations")
subparsers = parser.add_subparsers(dest='command', required=True)
# Copy
p_copy = subparsers.add_parser('copy', help='Copy to clipboard')
p_copy.add_argument('text', nargs='?', help='Text to copy')
p_copy.add_argument('--file', '-f', help='File to copy')
# Paste
p_paste = subparsers.add_parser('paste', help='Paste from clipboard')
p_paste.add_argument('--output', '-o', help='Output file')
args = parser.parse_args()
if args.command == 'copy':
if args.file:
with open(args.file, 'r', encoding='utf-8') as f:
text = f.read()
elif args.text:
text = args.text
else:
text = sys.stdin.read()
if set_clipboard(text):
print(f"✓ Copied {len(text)} characters to clipboard")
else:
print("Error: Failed to copy to clipboard", file=sys.stderr)
sys.exit(1)
elif args.command == 'paste':
content = get_clipboard()
if content is None:
print("Error: Failed to read clipboard", file=sys.stderr)
sys.exit(1)
if args.output:
with open(args.output, 'w', encoding='utf-8') as f:
f.write(content)
print(f"✓ Pasted to {args.output}")
else:
print(content)
if __name__ == "__main__":
main()
Related skills
FAQ
What can it copy and paste?
Text and file content to and from the system clipboard.
What library is it based on?
The pyperclip library (BSD-3-Clause).