clipboard-posting

clipboard-posting is a skill for Claude Code, Codex from ethanolivertroy/my-agent-stuff. It costs 61 tokens per session (530 once invoked), scanned A, original, MIT.

A set of instructions for copying prepared content to the clipboard in formats suited to destinations such as LinkedIn, X, or a terminal. It can preserve rich text where the destination supports it.

In plain words
What is it for?
Use it to copy text, Markdown, or HTML to the clipboard, prepare LinkedIn posts or articles, and stage plain text for X or other destinations.
Why use it?
It prevents formatting from being lost or copied in the wrong form. It also ensures that an already approved draft is reused without being silently rewritten.

Skill for Claude CodeCodex

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

Good fit Use it to copy text, Markdown, or HTML to the clipboard, prepare LinkedIn posts or articles, and stage plain text for X or other destinations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanolivertroy/my-agent-stuff/clipboard-posting
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 ethanolivertroy/my-agent-stuff --skill clipboard-posting
Clone the repo
git clone --depth 1 https://github.com/ethanolivertroy/my-agent-stuff

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-posting

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/clipboard-posting"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/clipboard-posting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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.00061 $0.00530
Opus 5.5 $0.00024 $0.00212
Sonnet 5.5 $0.00012 $0.00106
Haiku 4.5 $0.00006 $0.00053

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

Security

Grade A, and why

clipboard-posting 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 2mo 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.

skills/clipboard-posting/SKILL.md · 66 lines

What it actually says

Clipboard Posting

Use the copy_rich_clipboard tool for clipboard requests instead of explaining the workflow manually.

When to use

Trigger this skill when the user says things like:

  • "copy this to my clipboard"
  • "put this on my clipboard"
  • "copy it again"
  • "make this paste nicely into LinkedIn"
  • "prep this for X"
  • "open LinkedIn and stage the formatted version"

Workflow

  1. Identify the content to copy.

    • If the user already approved a draft in the conversation, use that exact draft.
    • If the user says "copy it again", reuse the most recent approved version.
    • Do not silently rewrite the content unless the user asks for edits.
  2. Choose the correct format.

    • markdown - default for rich-text paste targets like LinkedIn or other editors that preserve formatting.
    • html - use when the user already supplied HTML and wants that copied as-is.
    • text - use for plain-text destinations like X, terminals, or anywhere formatting should be stripped.
  3. Choose the destination behavior.

    • target: linkedin-article for the LinkedIn article composer.
    • target: linkedin-post for a normal LinkedIn post flow.
    • target: x for X compose.
    • target: none when the user only wants the clipboard updated.
    • If the user gives a specific URL to open, pass it via openUrl.
  4. Call the tool directly.

Tool examples

{
  "content": "# Draft post\n\nThis is ready to publish.",
  "format": "markdown",
  "target": "linkedin-article"
}
{
  "content": "Short plain-text post for X",
  "format": "text",
  "target": "x"
}

Notes

  • Prefer the tool over narrating manual clipboard steps.
  • Preserve links, bullets, and paragraph breaks for LinkedIn-style content.
  • Keep hashtags and URLs exactly as approved unless the user asks for changes.
  • If the user wants to do it manually inside Pi, mention the commands /copy-rich, /copy-linkedin, and /copy-x.
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. 2mo ago First seen · 66 lines · 61 tokens per session scan A 2c4f739ed08b

Subscribe to this mod's changes

clipboard-posting is a skill published in the GitHub repository ethanolivertroy/my-agent-stuff (11 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 530 once invoked, about $0.0002 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-08-30.