Add clipboard image helper scripts to enable easy image paste functionality
in Claude Code CLI using the Z.AI vision MCP server.
Features:
- clippaste-image: Simple clipboard image extractor (Wayland/X11)
- clipimage-paste: Advanced handler with JSON/base64/watch modes
- IMAGE-PASTE-README.md: Complete documentation
Integration:
- Works with Ctrl+V in Claude Code CLI
- Automatic Wayland (wl-paste) and X11 (xclip) detection
- Z.AI MCP server provides 8 vision analysis tools
Usage:
clippaste-image # Paste to temp file
clippaste-image ~/screenshot.png # Paste to specific file
clipimage-paste --json # Get JSON with metadata
clipimage-paste --watch # Watch for new images
Co-Authored-By: Claude <noreply@anthropic.com>
Found and copied original files from ~/.claude installation:
- hooks/ - Original Qwen and Ralph hook scripts with full functionality
- commands/ - Original command definitions (brainstorm, write-plan, execute-plan)
- bin/ralphloop - Original 223-line Python wrapper (6,290 bytes)
- scripts/sync-agents.sh - Original sync script with GitHub/Gitea backup
- templates/ - Original config templates from working installation
- plugins/ - Original comprehensive plugin README
Files sourced from:
- ~/.claude/skills/skills/hooks/
- ~/.claude/skills/skills/commands/
- ~/.claude/skills/skills/templates/
- /home/uroma/obsidian-web-interface/bin/ralphloop
- ~/.claude/agents/sync-agents.sh
These are the production files from the working Claude Code
installation, replacing the placeholder files I created earlier.
Co-Authored-By: Claude <noreply@anthropic.com>
Added all directories and files expected by supercharge.sh:
- hooks/ (5 hook scripts for session management and AI consultation)
- commands/ (3 custom slash commands: brainstorm, write-plan, execute-plan)
- plugins/ (plugin references for glm-plan, rust-analyzer, marketplaces)
- bin/ralphloop (Ralph Orchestrator wrapper for autonomous iteration)
- scripts/sync-agents.sh (agent synchronization script)
- templates/ (config templates: settings, hooks, config.json)
This completes the repository structure so supercharge.sh can install
all components without warnings.
Co-Authored-By: Claude <noreply@anthropic.com>