Ctrl Clip logo

Ctrl Clip

CommunityPopular
davepoon
ctrl-clip

⧉ 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.

Overview

Publisherdavepoon
Repositorybuildwithclaude
Skill namectrl-clip
Stars
3.5K
Forks
509
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by davepoon on GitHub. Read the source before you install it.

Installation

Install the Ctrl Clip AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/davepoon/buildwithclaude.git /tmp/buildwithclaude
mkdir -p .claude/skills
cp -r /tmp/buildwithclaude/plugins/all-skills/skills/ctrl-clip .claude/skills/ctrl-clip
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ctrl Clip in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ctrl Clip on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ctrl Clip is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

⧉ ctrl-clip

Source: https://github.com/geanruca/ctrl-clip (MIT). Also installable as a Claude Code plugin: /plugin marketplace add geanruca/ctrl-clip then /plugin install ctrl-clip@ctrl-clip. Usage: /ctrl-clip [slack|md|plain] [what to copy].

Put text on the user's clipboard so it pastes cleanly. The built-in /copy copies the raw markdown of the last response — blockquotes turn into >/ pipes and the commentary comes along. This skill copies only the content meant to be pasted, reformatted for its destination.

1. Decide WHAT to copy

Arguments: $ARGUMENTS

  • If the arguments describe the content ("the Slack reply", "the PR description", "the second draft"), copy that.
  • Otherwise copy the most recent drafted message in the conversation (a Slack reply, comment, email, PR text). If the last response had no draft, copy the whole last response.
  • Copy only the draft — never your own framing ("Here's a draft:", "Let me know if…", labels, explanations).
  • Keep the wording verbatim. Reformat, don't rewrite. Don't translate.

2. Format for the target

First word of the arguments selects the format; default is slack.

slack (default — also Teams, WhatsApp, chat)

  • No blockquotes (>), no headings (#), no tables, no horizontal rules.
  • Tables → one line per row: Label: value, value.
  • Bold: *text* (single asterisks). Italic: _text_. Keep inline `code` and fenced blocks.
  • Bullets with - ; blank line between paragraphs.
  • Links as bare URLs.

md (PR descriptions, Azure DevOps / GitHub comments, docs)

  • Keep standard Markdown (headings, **bold**, lists, tables, code fences).
  • Still no blockquotes unless the content genuinely quotes someone.

plain (email body, forms, anything without markup)

  • No markup at all: strip *, _, backticks, #. Bullets become - .
  • Tables → Label: value lines.

3. Copy

  1. Write the formatted text with the Write tool to clip.txt in the session scratchpad directory (fall back to /tmp/claude-clip.txt if there is none). Using a file avoids every shell quoting problem with $, backticks and quotes.
  2. Run:
    ${CLAUDE_SKILL_DIR}/clip.sh <that file>
    The script strips leftover >// markers and trailing whitespace, then copies via wl-copy, xclip, xsel, pbcopy, or OSC 52 (in that order).

4. Confirm

Reply with a single line: the script's ⧉ Copied … output plus the format used, e.g. ⧉ Copied 6 lines / 412 chars (slack). Do not echo the copied text again. If the script fails, show its error line.

Inline ⧉ copy link (whenever you draft a message to paste)

Every draft the user will paste somewhere gets a clickable copy icon (, two overlapping squares) labeled ctrl + click, as a reminder of how to trigger it.

<CLIP_DIR> below is the absolute path of ~/.cache/claude-clip, for example /home/alice/.cache/claude-clip. The "Drafts to paste" rule loaded at session start spells it out. If that rule is not in your context, run ${CLAUDE_SKILL_DIR}/clip-setup.sh once: it registers the Ctrl+click handler if needed and prints CLIP_DIR=…. Never write ~ or $HOME into a path or link — neither is expanded.

  1. Write the formatted text (section 2, no blockquote markers) with the Write tool to <CLIP_DIR>/<id>.claudeclip. <id> is a short unique slug matching [A-Za-z0-9_-]{1,64}, e.g. slack-33247-review.
  2. In the response, show the draft as a blockquote — every line prefixed with > , blank lines as >. The bar is how the user sees exactly what gets copied; nothing else goes inside it.
  3. Right under the blockquote, on its own line: [⧉ ctrl + click](file://<CLIP_DIR>/<id>.claudeclip)

The user Ctrl+clicks the link (a plain click does nothing). If copying breaks, check <CLIP_DIR>/handler.log first — no entry means the click never reached the handler.

Why file://: Claude Code's fullscreen TUI refuses clicks on non-allowlisted schemes (custom claude-clip:// links are never dispatched), but it opens local file:// links with xdg-open. *.claudeclip is registered as application/x-claude-clip, whose default app is clip-url-handler.sh: it copies the file via clip.sh and shows a desktop notification.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ctrl Clip AI skill do?

⧉ 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.

Why use Ctrl Clip on TypingMind?

Because you install it once and use it with any model. Ctrl Clip is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ctrl Clip in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/davepoon/buildwithclaude/tree/main/plugins/all-skills/skills/ctrl-clip. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ctrl Clip?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ctrl Clip?

As many as you like. As long as a model supports skills, you can use Ctrl Clip with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ctrl Clip AI skill free?

Yes. It is published on GitHub by davepoon under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇