skills/clip/SKILL.md
Copy a previous Claude suggestion (code block, command, or text) to the macOS clipboard via `pbcopy`. Triggered by `/clip` with an optional selector argument.
npx skillsauth add jcalixte/dotfiles skills/clipInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Copy a relevant prior suggestion from the current conversation into the macOS clipboard.
/clip (with or without an argument).Only consider prior assistant turns in this conversation as the source — never the user's own messages, and never content from files unless the user explicitly asks for that.
/clip has an argument, treat it as a selector and pick the matching suggestion (e.g. /clip the docker command, /clip the second function, /clip the SQL query).Strip surrounding prose — copy only the raw payload (the code, the command, the value), not Claude's explanation around it. If the user explicitly wants the prose too, include it.
Use the Bash tool with a quoted heredoc so nothing in the content is expanded by the shell:
pbcopy <<'CLIP_EOF'
<content goes here verbatim>
CLIP_EOF
Use a delimiter unlikely to appear in the content (CLIP_EOF is fine for almost everything).
Confirm in one short line what was copied — describe it, don't paste it back. Examples:
docker compose up command (1 line)."parseConfig function (24 lines)."Default to pbcopy (macOS). If on Linux, fall back to xclip -selection clipboard or wl-copy; on Windows, clip.exe. Only switch if pbcopy isn't available.
development
Deep thinking session that builds the project's ubiquitous language, challenges your plan against the existing domain model, and sharpens terminology. Updates CONTEXT.md (and ADRs when warranted) inline as decisions crystallise. Use when stress-testing terminology against the existing glossary. For goal-driven design decomposition (Goal → Function → How → Component, with critical performance budget and explicit tradeoffs), run `/qfd` instead.
development
Goal-driven design cascade (QFD) — Goal → Function → How → Component, with critical performance budget and explicit tradeoffs. Challenges terminology against CONTEXT.md inline; lands decisions in DESIGN.md (and ADRs when warranted). Use when designing a new feature, an architectural shift, or any non-trivial change that benefits from a goal-first decomposition.
development
Web development. Use it when implementing code for webapps. In VueJS, TypeScript, HTML or css/scss.
tools
Translate into English