clipboard

Copy recent conversation text to the macOS clipboard with rich formatting.

119|10|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/CodeAlive-AI/ai-driven-development --skill clipboard-codealive-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clipboard
Source: https://github.com/CodeAlive-AI/ai-driven-development/tree/main/skills/clipboard
Command: npx skills add https://github.com/CodeAlive-AI/ai-driven-development --skill clipboard-codealive-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Copying the right content from a chat or document to your clipboard usually takes extra steps and risks losing formatting, especially when you need rich text for apps like Slack or Word.

Core Features & Use Cases

  • Plain text copying (safe heredoc): Copies the most recent relevant block as plain text via pbcopy, handling special characters reliably.
  • Rich text copying (HTML + plain fallback): Preserves formatting by setting both HTML and plain text on the clipboard so receiving apps can render the richest supported format.
  • Format-aware guidance: Helps you choose plain vs rich based on what you are copying and where you will paste it (e.g., Slack, Docs, Notion), including cautions like avoiding HTML tables for Slack.

Quick Start

Ask the AI to copy formatted content from the conversation to your clipboard for pasting into Slack or another document editor.

Frequently Asked Questions about clipboard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy rich text from a chat to my macOS clipboard for Slack?

Copying rich text to the macOS clipboard for Slack uses a temp HTML file to set both .html and .string clipboard types. This preserves formatting so receiving apps render the richest supported format automatically.

Can I copy code snippets and terminal output as plain text via pbcopy without breaking special characters?

Copying plain text via pbcopy uses safe heredoc handling to reliably process special characters in code snippets and terminal output without breaking formatting or escaping issues.

Does pasting HTML tables into Slack work when copying rich text to the clipboard?

Pasting HTML tables into Slack does not work properly when copying rich text to the clipboard. Format-aware guidance warns against using HTML tables for Slack and recommends plain text or simpler formatting instead.

What is the difference between plain text and rich text clipboard copying on macOS?

Plain text copying uses pbcopy with safe heredoc handling for code snippets, while rich text copying uses Swift with a temp HTML file to set both .html and .string clipboard types so apps like Notion or Word preserve formatting.

Can I use this clipboard copying approach for documents and notes apps like Notion and Word?

Copying rich text to the clipboard works for documents and notes apps like Notion and Word by setting both HTML and plain text fallback types, allowing the receiving app to render the richest supported format automatically.