clipboard

clipboard is a skill for Claude Code, Codex from fmind/dot. It costs 29 tokens per session (573 once invoked), scanned A, original, MIT.

A small utility that copies the last requested deliverable from the conversation to the computer's clipboard.

In plain words
What is it for?
It is for copying a specific recent result in plain text, including code without its surrounding Markdown fence when appropriate.
Why use it?
It avoids manually selecting and copying code, commands, drafts, tables, or other requested output, while leaving out unrelated assistant text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for copying a specific recent result in plain text, including code without its surrounding Markdown fence when appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmind/dot/clipboard
Install

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.

Any agent
npx skills add fmind/dot --skill clipboard
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

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

agentmods badge for clipboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/clipboard/github.svg)](https://agentmods.dev/skills/fmind/dot/clipboard)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/clipboard"><img src="https://agentmods.dev/badge/skills/fmind/dot/clipboard/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.

agentmods 80×15 button for clipboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmind/dot/clipboard"><img src="https://agentmods.dev/badge/skills/fmind/dot/clipboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00573
Opus 5.5 $0.00012 $0.00229
Sonnet 5.5 $0.00006 $0.00115
Haiku 4.5 $0.00003 $0.00057

Measured 5d ago against content hash c56d4d04c04c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clipboard 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/copy.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/clipboard/SKILL.md · 40 lines

What it actually says

Clipboard

/clipboard copies the latest requested deliverable; optional arguments select a specific output or format.

Workflow

  1. Select the deliverable verbatim: draft, prompt, command, snippet, table, or test output—without assistant preambles, tool logs, or surrounding code fences (unless Markdown was requested). Never regenerate or guess missing context; ask if multiple outputs fit.

  2. Pipe UTF-8 stdin to scripts/copy.py via python3 -I and structured stdin or a single-quoted heredoc (never shell interpolation or argv). Pipe from a 0600 scratch file (< "$file") if the payload contains CLIPBOARD_PAYLOAD or exceeds 1 MiB (which belongs in a file anyway); pass --keep-final-newline when a trailing newline is part of the deliverable:

    python3 -I ~/.agents/skills/clipboard/scripts/copy.py <<'CLIPBOARD_PAYLOAD'
    The selected deliverable goes here, unchanged.
    CLIPBOARD_PAYLOAD
    
  3. Confirm without repeating the payload: copy.py verifies the clipboard byte-for-byte across macOS (pbcopy) and Linux (wl-copy/xclip, 5s timeout). On failure, report the native diagnostic without retrying or claiming success.

Boundaries

  • Install backends only with consent: xclip or wl-clipboard matching the session; never sudo.
  • No OSC 52 in tool output: captured stdout may never reach the user's terminal.
  • Copy ≠ paste: replacing the clipboard never authorizes pasting or sending elsewhere.

Documentation

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 5d ago Changed c56d4d04c04c
  2. 7d ago Changed · +19 tokens per session 1c70cc7d7519
  3. 12d ago Changed · -2 tokens per session 9b69e149023f
  4. 15d ago Changed · +1 lines b27e31af1413
  5. 21d ago Changed 26bbff311e79
  6. 25d ago Changed scan B → A d24736d4b4db
  7. 1mo ago Changed 7be90b5fbb96
  8. 1mo ago Changed ab6f16a57b6e
  9. 2mo ago First seen · 39 lines · 12 tokens per session scan B ef97eae35399

Subscribe to this mod's changes

clipboard is a skill published in the GitHub repository fmind/dot (14 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 573 once invoked, about $0.0001 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-05.

Related

clipboard compared with skills from other repositories

clipboard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clipboardfmind/dotSkill14yesterdayMITA29Claude Code, Codex
google-workspace-clifmind/dotfilesSkill43mo agoMITA38Claude Code, Codex
handoverfmind/dotfilesSkill43mo agoMITA38Claude Code, Codex
dotfiles-bootstrapsebastienrousseau/dotfilesSkill85todayApache-2.0A89Claude Code, Codex
telegramlaurigates/dotfilesSkill10yesterdayMITA144Claude Code, Codex
python-stackfmind/dotfilesSkill43mo agoMITA41Claude Code, Codex
releasefmind/dotfilesSkill43mo agoMITA40Claude Code, Codex