Copy text to clipboard with optional rich formatting. An agent skill from CodeAlive-AI/ai-driven-development.

MITAuto-check passed

Install Clipboard

skills CLI
$ npx skills add CodeAlive-AI/ai-driven-development --skill clipboard -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CodeAlive-AI/ai-driven-development clipboard --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-development.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/clipboard .claude/skills/clipboard && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clipboard
GitHub stars
155
Token cost
~816 tokens
SKILL.md length
345 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Copy text to clipboard with optional rich formatting. An agent skill from CodeAlive-AI/ai-driven-development.

  • Works in 6 steps: Identify the most recent text block the… → If ambiguous, ask what to copy → Use single-quoted heredoc delimiters… → …
  • Copy to clipboard
  • SKILL.md covers Plain Text Copy (Default), Rich Text Copy (Formatted), When to Use Rich vs Plain and Rules
  • Calls swift

What it does

Clipboard is an agent skill from CodeAlive-AI/ai-driven-development. Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Slack and LinkedIn. The repository describes itself as: Practices, protocols, and skills for AI-driven software development. Skills and safety hooks for Claude Code, Codex, OpenCode, Cursor, Antigravity, and any agent supporting the… The licence is MIT.

When your agent uses it

  • Copy to clipboard

Example prompts

  • “copy to clipboard”
  • “copy that”
  • “pbcopy”
  • “/clipboard”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify the most recent text block the user wants copied (message, code block, drafted text, etc.)
  2. If ambiguous, ask what to copy
  3. Use single-quoted heredoc delimiters ('CLIPBOARD', 'CLIPBOARD_HTML', 'CLIPBOARD_TEXT') to prevent shell expansion
  4. For rich copy, convert markdown-style content to proper HTML (use , , , /, -, , etc.). Do NOT use for Slack/chat targets — use…
  5. Always provide a plain text fallback alongside HTML
  6. Confirm success after copying, noting whether plain or rich format was used

What it can do on your machine

Read from SKILL.md and the folder at commit 25b7b1d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • swift

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Clipboard loads about 816 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 345 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~816

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CodeAlive-AI/ai-driven-development at commit 25b7b1d, republished under its MIT licence (© CodeAlive-AI). 345 words, ~816 tokens.

Download SKILL.mdSave it as .claude/skills/clipboard/SKILL.md (or your agent's skills folder).
name
clipboard
description
Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

Clipboard

Copy the most recent relevant text block from the conversation to the macOS system clipboard.

Plain Text Copy (Default)

Use a heredoc to safely handle special characters (quotes, apostrophes, backticks, dollar signs):

bash
cat <<'CLIPBOARD' | pbcopy
<text to copy>
CLIPBOARD

Rich Text Copy (Formatted)

Use when the user wants formatting preserved for pasting into Slack, Word, Google Docs, Notion, etc. Sets both HTML and plain text on the clipboard via Swift, so the receiving app picks the richest format it supports.

Step 1: Write the HTML content to a temp file:

bash
cat <<'CLIPBOARD_HTML' > /tmp/_clipboard_rich.html
<html><body>
<h2>Title</h2>
<p>Paragraph with <b>bold</b> and <i>italic</i>.</p>
<ul><li>Item one</li><li>Item two</li></ul>
</body></html>
CLIPBOARD_HTML

Step 2: Write the plain text fallback to a temp file:

bash
cat <<'CLIPBOARD_TEXT' > /tmp/_clipboard_rich.txt
Title

Paragraph with bold and italic.

- Item one
- Item two
CLIPBOARD_TEXT

Step 3: Set clipboard with both HTML and plain text using Swift:

bash
swift -e '
import AppKit

let html = try Data(contentsOf: URL(fileURLWithPath: "/tmp/_clipboard_rich.html"))
let text = try String(contentsOfFile: "/tmp/_clipboard_rich.txt", encoding: .utf8)

let pb = NSPasteboard.general
pb.clearContents()
pb.setData(html, forType: .html)
pb.setString(text, forType: .string)
'

Step 4: Clean up temp files:

bash
rm -f /tmp/_clipboard_rich.html /tmp/_clipboard_rich.txt

When to Use Rich vs Plain

  • Rich (HTML): User says "copy formatted", "copy as rich text", "copy for Slack/LinkedIn/Word/Docs/Notion", or the content has meaningful formatting (bold, headers, lists, code blocks). This is also the correct way to copy for Slack and LinkedIn — they accept HTML rich text from clipboard and render it with proper formatting (bold, lists, code, etc.). Do NOT use Slack mrkdwn or markdown syntax for clipboard copy — use HTML rich text instead, it works universally.
    • ⚠️ Slack does NOT render HTML <table> tags. Tables pasted into Slack appear as a broken mess of text. Instead of <table>, present tabular data as plain-text lines (e.g. Label: value per line, or use <pre> for aligned columns). This also applies to LinkedIn and most chat apps.
  • Plain: Default for code snippets, terminal output, simple text, or when user says "copy to clipboard" without formatting context

Rules

  1. Identify the most recent text block the user wants copied (message, code block, drafted text, etc.)
  2. If ambiguous, ask what to copy
  3. Use single-quoted heredoc delimiters ('CLIPBOARD', 'CLIPBOARD_HTML', 'CLIPBOARD_TEXT') to prevent shell expansion
  4. For rich copy, convert markdown-style content to proper HTML (use <b>, <i>, <code>, <ul>/<li>, <h1>-<h6>, <pre>, etc.). Do NOT use <table> for Slack/chat targets — use line-per-row text instead.
  5. Always provide a plain text fallback alongside HTML
  6. Confirm success after copying, noting whether plain or rich format was used

© CodeAlive-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/clipboard of CodeAlive-AI/ai-driven-development.

Open the folder on GitHubat commit 25b7b1d

Compare with similar skills

Clipboard next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clipboard compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clipboard this skillCodeAlive-AI/ai-driven-development155—~816Automated safety check: PassMIT
Changelog Social RecapFlorianBruniaux/claude-code-ultimate-guide6.1k—~1.8kAutomated safety check: NotesCC-BY-SA-4.0
Socialite Developmenthexlet-volunteers/hexlet-sicp1145 repos~1.2kAutomated safety check: PassMIT
Pastecoreyhaines31/makerskills844—~1.7kAutomated safety check: NotesMIT
Outreachyc-software/recruiting116—~3kAutomated safety check: NotesNone
Community Seeding Planminhnv0807/ai-business-skills608—~3.2kAutomated safety check: PassMIT

Similar skills

  • Changelog Social Recap

    FlorianBruniaux/claude-code-ultimate-guide

    Turns CHANGELOG.md entries for a release or a week into LinkedIn, Twitter/X, newsletter and Slack posts in French and English.

    6.1k GitHub stars~1.8k tokensUpdated yesterday
    Writing & ContentAuto-check: notes
  • Socialite Development

    hexlet-volunteers/hexlet-sicp

    Manages OAuth social authentication with Laravel Socialite. An agent skill from hexlet-volunteers/hexlet-sicp.

    114 GitHub starsUsed in 5 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Paste

    coreyhaines31/makerskills

    When you want to clean and reformat content (usually from your terminal) for pasting into Slack, Notion, Twitter/X, LinkedIn, email, GitHub, or plain text.

    844 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check: notes
  • Outreach

    yc-software/recruiting

    Draft personalized cold outreach to a candidate the hiring manager hasn't contacted yet.

    116 GitHub stars~3k tokensUpdated 1 mo ago
    Sales & SupportAuto-check: notes
  • Community Seeding Plan

    minhnv0807/ai-business-skills

    Plans honest participation in outside communities such as Reddit, Discord and Facebook Groups, with a rules-based community list, roster, posts, replies and calendar.

    608 GitHub stars~3.2k tokensUpdated 25 days ago
    Marketing & SEOAuto-check passed
  • Meeting Brief

    gooseworks-ai/goose-skills

    Daily meeting preparation system that checks your calendar each morning, deeply researches external attendees (LinkedIn, company info, GitHub, past notes), and sends you personalized briefs via…

    1.2k GitHub starsUsed in 1 repo~2.3k tokens
    Productivity & AutomationAuto-check passed

More from CodeAlive-AI/ai-driven-development

All 22 skills in this repo
  • Investigating Repository History

    CodeAlive-AI/ai-driven-development

    Investigate GitHub repository history before risky code changes using git blame/log, GitHub PRs, review comments, squash/rebase/cherry-pick/rename heuristics, and cited evidence.

    155 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Plugins Management

    CodeAlive-AI/ai-driven-development

    Create, publish, delete, and submit plugins for coding agents (Claude Code, OpenCode, Devin CLI/Desktop).

    155 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check: notes
  • Semantic Scholar Deep

    CodeAlive-AI/ai-driven-development

    Deep research over the Semantic Scholar Graph API. An agent skill from CodeAlive-AI/ai-driven-development.

    155 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Windows QA Engineer

    CodeAlive-AI/ai-driven-development

    A skill your agent uses when testing Windows 11 desktop apps (WinForms/WPF/UWP) via UFO UIA/Win32 automation MCP.

    155 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Agentic Readiness

    CodeAlive-AI/ai-driven-development

    Audit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode.

    155 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Hooks Management

    CodeAlive-AI/ai-driven-development

    Manage hooks and automation for coding agents (Claude Code, Codex CLI, OpenCode, Devin CLI/Desktop).

    155 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check: notes

Works with

Questions about Clipboard

What does Clipboard do?

Copy text to clipboard with optional rich formatting. An agent skill from CodeAlive-AI/ai-driven-development. Clipboard is an agent skill from CodeAlive-AI/ai-driven-development. Copy text to clipboard with optional rich formatting.

When should I use Clipboard?

Clipboard fits situations like: copy to clipboard.

How do I install Clipboard in Claude Code?

Run `npx skills add CodeAlive-AI/ai-driven-development --skill clipboard -a claude-code`. Or copy the skill folder (skills/clipboard in CodeAlive-AI/ai-driven-development) into .claude/skills/clipboard in your project. Claude Code loads it when a task matches its description.

How do I install Clipboard in Codex?

Run `npx skills add CodeAlive-AI/ai-driven-development --skill clipboard -a codex`. Or copy the skill folder (skills/clipboard in CodeAlive-AI/ai-driven-development) into .agents/skills/clipboard in your project. Codex loads it when a task matches its description.

Can I use Clipboard in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CodeAlive-AI/ai-driven-development --skill clipboard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clipboard, .gemini/skills/clipboard, .github/skills/clipboard and .opencode/skills/clipboard in your project.

What does Clipboard need to run?

Going by SKILL.md and its folder, Clipboard needs the command-line tools its instructions call (swift).

Does Clipboard access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Clipboard safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Clipboard use?

Clipboard is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clipboard use?

About 816 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clipboard?

Skills that share tags, products or a category with Clipboard: Changelog Social Recap (FlorianBruniaux/claude-code-ultimate-guide, 6.1k stars), Socialite Development (hexlet-volunteers/hexlet-sicp, 114 stars), Paste (coreyhaines31/makerskills, 844 stars) and Outreach (yc-software/recruiting, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clipboard?

CodeAlive-AI (a GitHub organization) maintains it in CodeAlive-AI/ai-driven-development, which has 155 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.

Source: CodeAlive-AI/ai-driven-development on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.