Skip to content
Development
Skill

/txt-copy

Copy generated text content to clipboard. Use when user asks to "copy this", "copy to clipboard", "save to clipboard", or after creating emails, messages, letters, or other text content that needs to be shared.

From plugin
cc-thingz
49216 skills2 agents1 command

Claude Code

$ npx -y skills add umputun/cc-thingz --skill txt-copy --agent claude-code

SKILL.md

txt-copy.SKILL.md
name: txt-copy
description: Copy generated text content to clipboard. Use when user asks to "copy this", "copy to clipboard", "save to clipboard", or after creating emails, messages, letters, or other text content that needs to be shared.
allowed-tools: Bash

Copy Text to Clipboard

Copy generated text content to clipboard via a timestamped temp file.

Activation Triggers

  • "copy this", "copy to clipboard", "save to clipboard"
  • "copy the email", "copy the message", "copy the letter"
  • After generating text content when user indicates they want to use it
  • "I need to paste this", "put it in clipboard"

Workflow

1. Identify the text content to copy (from recent generation or user-specified)

2. Write to timestamped temp file:

tmpfile="/tmp/claude-txt-copy-$(date +%s).txt"
cat > "$tmpfile" << 'EOF'
<content here>
EOF

3. Copy to clipboard and remove temp file:

if [[ "$OSTYPE" == "darwin"* ]]; then
    pbcopy < "$tmpfile"
elif command -v xclip &> /dev/null; then
    xclip -selection clipboard < "$tmpfile"
elif command -v xsel &> /dev/null; then
    xsel --clipboard --input < "$tmpfile"
else
    echo "No clipboard tool found" >&2
fi
rm -f "$tmpfile"

4. Confirm to user: "Copied to clipboard (N characters)"

Notes

  • Use `cat` with heredoc and single-quoted EOF to preserve exact content
  • Temp file uses timestamp to avoid collisions across invocations
  • Temp file is removed after clipboard copy
Read more
@umputun
Ships withcc-thingz

Things to make Claude Code even better — hooks, skills, and commands, organized as a marketplace of independent plugins. This is an unapologetically opinionated set.

49216 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
492
Star history of umputun/cc-thingz on GitHub, a chart by star-history.com

Other skills on cc-thingz.

brainstorm

brainstorm

Use before any creative work or significant changes. Activates on "brainstorm", "let's brainstorm", "deep analysis", "analyze…

@umputun@umputunInstall Skill
exec

exec

Execute plan tasks sequentially using subagents. Use when user says 'exec', 'execute plan', 'run plan', or wants to implement a…

@umputun@umputunInstall Skill
last-tag

last-tag

Show commits since the last tag in a formatted table. Use when user asks "what changed since last release", "commits since last…

@umputun@umputunInstall Skill
new

new

Use when user asks to create a release, cut a release, or publish a version. Auto-detects GitHub vs GitLab vs Gitea, calculates…

@umputun@umputunInstall Skill
git-review

git-review

Interactive git diff annotation review. Generates a cleaned-up diff, opens in editor for user annotations, and addresses feedback…

@umputun@umputunInstall Skill
pr

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or…

@umputun@umputunInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about txt-copy.

Which coding agents can use txt-copy?
txt-copy installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.