davepoon/buildwithclaude / plugins/all-skills/skills/ctrl-clip
ctrl-clip
Verified⧉ Copy a message to the system clipboard cleanly formatted — no blockquote pipes, no terminal bars, no Claude commentary. Use whenever you draft a message the user will paste (Slack, Teams, PR comment, email) to add a clickable "⧉ ctrl + click" copy link under it, and when the user says "/ctrl-clip", "copy that", "put it on the clipboard" (in any language). Optional argument picks the target format: slack (default), md, plain.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.8 KB |
| clip-setup.shexecutable | script | 8.3 KB |
| clip-url-handler.shexecutable | script | 925 B |
| clip.shexecutable | script | 1.8 KB |
clip-url-handler.sh
View on GitHub#!/usr/bin/env bash
# Desktop handler for ~/.cache/claude-clip/<id>.claudeclip files (opened by Ctrl+clicking a
# file:// link in Claude Code): copies the draft via clip.sh and shows a notification.
set -euo pipefail
clip_dir="$HOME/.cache/claude-clip"
notify() {
if command -v notify-send >/dev/null; then
notify-send -t 2500 -i edit-copy "⧉ Claude" "$1" || true
fi
}
# shellcheck disable=SC2174 # mode only matters when the dir is new
mkdir -p -m 700 "$clip_dir"
printf '%s invoked with: %s\n' "$(date -Is)" "${1:-}" >> "$clip_dir/handler.log"
path=${1:-}
path=${path#file://}
id=$(basename -- "$path" .claudeclip)
if [[ ! "$id" =~ ^[A-Za-z0-9_-]{1,64}$ || "$path" != "$clip_dir/$id.claudeclip" || -L "$path" ]]; then
notify "Invalid link"
exit 1
fi
if [[ ! -f "$path" ]]; then
notify "Draft '$id' not found"
exit 1
fi
result=$("$(dirname "$(readlink -f "$0")")/clip.sh" "$path")
notify "$result"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |