Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cyanheads/clipboard-mcp-server --skill clipboard-guidegit clone --depth 1 https://github.com/cyanheads/clipboard-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cyanheads/clipboard-mcp-server/clipboard-guide)<a href="https://agentmods.dev/skills/cyanheads/clipboard-mcp-server/clipboard-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/clipboard-mcp-server/clipboard-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cyanheads/clipboard-mcp-server/clipboard-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/clipboard-mcp-server/clipboard-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.01817 |
| Opus 5.5 | $0.00040 | $0.00727 |
| Sonnet 5.5 | $0.00020 | $0.00363 |
| Haiku 4.5 | $0.00010 | $0.00182 |
Grade A, and why
clipboard-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scope
The clipboard_* tools reach the clipboard of the machine the server process runs on. That is the user's own clipboard only when the server runs locally, inside their desktop session; a server reached over HTTP on another host reads that host's clipboard.
What the user last copied can be a password or a token. Read the clipboard when the task is about it, and quote back only what the task needs.
Copied files read as their paths only: the files format lists the absolute paths, which belong to the machine the server runs on. The server never opens a file, so its contents are out of reach.
When clipboard_write is missing from the tool list, the deployment is read-only (CLIPBOARD_READ_ONLY). Tell the user writing is disabled; there is no other write path.
Identifiers
| Identifier | Comes from | Carries |
|---|---|---|
Format name (text, html, rtf, image, files) |
clipboard_inspect's availableFormats, or the format a clipboard_read response reports |
Which representation to read |
itemCount, item |
itemCount on every clipboard_inspect and clipboard_read response; item is a 0-based index below it |
One item of a multi-item clipboard, read alone |
nextOffset |
The previous clipboard_read response; absent once complete is true |
Where the next slice starts |
representationId |
Every clipboard_read response | The value, format, and item a slice was cut from; the same token on any slice of an unchanged value |
Gates
- Name the format the user means. "auto" ranks files first and an image next: it returns the copied files' paths whenever any are present, and an image whenever one is, even beside HTML and text. Office-style apps can publish a rendered picture of a selection, and a file manager publishes a file's icon beside its path. When the user wants the table, the prose, or the markup, read "html" or "text" explicitly; keep "auto" for "what did I copy?".
- Files are paths, never contents. A "files" read is the absolute paths, one per line, on the server's machine; they open from a shell or another tool on that machine and nowhere else. A path holding a line break (on Linux, also non-UTF-8 bytes) is left out, and the notice counts it. A file URL that names no local path, such as a web URL, is not a file, and inspection lists no "files" for it.
- Count the items before trusting a multi-item read. On macOS
itemCountabove 1 means several items (images multi-selected in Photos, files copied in Finder). Withoutitem, "text" joins every item's text, "rtf" is one document built from every item holding text, HTML, or RTF, "html" comes from the first item that has it, "image" from the first item holding a PNG (else the first holding another image type), and "files" lists every item; the notice says which, and an item read is the way to know exactly which item a value came from. Passitemto read one alone, and on every continuation of a chunked read, since changing it fails asrepresentation_changed. Anitemat or pastitemCountfailsformat_unavailable. Linux and Windows hold one item. - "Nothing readable" is not "nothing copied."
primaryFormat: "empty"with a non-emptyrawTypeslist means something is on the clipboard in types this server cannot return: a file URL that names no local path, an app-private type, or on Linux an image offered only as JPEG or BMP (onlyimage/pngcounts there). Describe whatrawTypesshows instead of telling the user the clipboard is empty. - Text, HTML, and RTF arrive as the source's bytes decoded as UTF-8. HTML a source published as UTF-16 comes out garbled; switch formats when content reads as noise. On macOS an "rtf" read returns
public.rtfas written; with none, it converts a flat RTFD copy (com.apple.flat-rtfd) to RTF, which is the one RTF read that is not the source's bytes, and an RTFD it cannot decode isformat_unavailable. Prefer "html" or "text" unless the user needs RTF itself. - Writing destroys everything but plain text. clipboard_write, clear included, replaces every representation, copied files among them.
previousContentrestores plain text up to 512 KB and nothing else: an image, copied files, the HTML or RTF of a rich copy, and longer text are gone. Write only when the user asked for the clipboard to change; when clipboard_inspect shows an image, files, or rich content they have not said to discard, confirm first. - Exact characters need "text". On macOS and Windows an "html" write also publishes a tag-stripped plain-text fallback that keeps line breaks and tab-separates table cells but drops list markers and numbering, and on Linux a plain-text paste can receive the raw markup. Write "text" whenever the paste target may be plain text and the exact characters matter (commands, code, numbered lists).
- Continue from
nextOffset, never a computed offset. Text, HTML, and RTF slices end on whole UTF-8 characters, so a slice can run up to 3 bytes short of the limit andnextOffsetis not offset + limit. An offset that lands mid-character drops that character's bytes without an error. - Image size is the PNG's, not the inspected type's. The 5 MB read limit applies to the PNG clipboard_read produces. macOS always re-encodes it, and Windows does whenever it comes from a bitmap, so its size can differ from every image size clipboard_inspect lists (
public.png,public.tiff, a device-independent bitmap). Read, and letcontent_too_large(its data carriesbytesandlimit) decide whether to slice. - A whole image costs about 2.7 times its PNG size in response. It arrives as an image block and again as base64 in the structured result, so a 4 MB screenshot is a response of about 10.7 MB. When the client caps tool-result size below that, read it in slices.
- A sliced image cannot be viewed. Only a whole image arrives as an image block. Slices are PNG byte chunks, worth fetching only when a code tool can decode and join them into a file. Without one, tell the user the image is over the limit and ask them to save it as a file instead.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed · +3 lines · +5 tokens per session e3d5c612fb31
- 1mo ago First seen · 52 lines · 94 tokens per session scan A 1dc8f6d97f15
clipboard-guide is a skill published in the GitHub repository cyanheads/clipboard-mcp-server (3 stars, last pushed 8d ago), licensed Apache-2.0. It adds 99 tokens to every session and 1,817 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.
clipboard-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clipboard-guidecyanheads/clipboard-mcp-server | Skill | 3 | 8d ago | Apache-2.0 | A | 99 | Claude Code |
| macos-guidecyanheads/macos-mcp-server | Skill | 4 | 8d ago | Apache-2.0 | A | 94 | Claude Code |
| job-description-analyzerNatsummerance/readMD | Skill | 26 | 1mo ago | MIT | A | 20 | Claude Code, Codex |
| resume-bullet-writerNatsummerance/readMD | Skill | 26 | 1mo ago | MIT | A | 18 | Claude Code, Codex |
| resume-quantifierNatsummerance/readMD | Skill | 26 | 1mo ago | MIT | A | 17 | Claude Code, Codex |
| resume-version-managerNatsummerance/readMD | Skill | 26 | 1mo ago | MIT | A | 16 | Claude Code, Codex |
| create-tab-configwarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 44 | Claude Code, Codex |