Loading...
Loading...
Copy Claude's last response as a beautiful terminal-style image to your clipboard. Use when you want to share Claude's output in Slack, docs, or presentations.
npx skill4agent add chyroc/claude-copy-as-image copy-as-image/TMPFILE="/tmp/claude-response-$(date +%s%N).md"
SKILL_DIR="${CLAUDE_SKILL_DIR}"
cat > "$TMPFILE" << 'CLAUDE_EOF'
<paste the full text of the chosen response here>
CLAUDE_EOF
cd "$SKILL_DIR/scripts" && \
(test -d ../node_modules || npm install --prefix .. --omit=dev 2>/dev/null) && \
node copy-as-image.mjs "$TMPFILE"
rm -f "$TMPFILE"osascriptxclipxsel