shared-clipboard

shared-clipboard is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 71 tokens per session (1,676 once invoked), scanned A, original, MIT.

A shared text store for saving and retrieving code, URLs, configuration values, SQL queries, and notes across sessions, devices, and agents.

In plain words
What is it for?
Use it as a cross-session clipboard, scratchpad, or handoff area for storing, searching, tagging, piping, and retrieving text.
Why use it?
It prevents useful snippets and temporary information from being lost when you switch sessions or pass work between tools.

Skill for Claude CodeCodex

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

Good fit Use it as a cross-session clipboard, scratchpad, or handoff area for storing, searching, tagging, piping, and retrieving text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/shared-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 JansenAnalytics/claudex --skill shared-clipboard
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

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 shared-clipboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/shared-clipboard.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/shared-clipboard)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/shared-clipboard"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/shared-clipboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00071 $0.01676
Opus 5 $0.00036 $0.00838
Sonnet 5 $0.00014 $0.00335
Haiku 4.5 $0.00007 $0.00168

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

Security

Grade A, and why

shared-clipboard scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/clip.cjs), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `command` | Starts with curl/docker/git/npm/etc. |
skills/shared-clipboard/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shared Clipboard

Cross-session key-value snippet store. Share text, code, URLs, configs, SQL queries, and notes between agents, sessions, devices, and humans.

Binary: ~/bin/clip (or node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/shared-clipboard/scripts/clip.cjs) Database: ~/.clipboard/clips.db (SQLite)

Quick Reference

# Store and retrieve
clip set mykey "some value"
clip get mykey

# With tags for organization
clip set db-conn "postgres://user:pass@host/db" --tag config,secrets
clip set deploy-cmd "docker compose up -d" --tag commands,prod

# Pipe in/out (stdin/stdout)
echo "complex value" | clip set mykey
clip get mykey | pbcopy          # or pipe to any command
cat query.sql | clip set last-query --tag sql

# List and search
clip list                        # all clips, most recent first
clip list --tag config           # filter by tag
clip list --search postgres      # search keys + values
clip tags                        # list all tags with counts

# Stack (anonymous, LIFO)
clip push "quick thought"
clip peek                        # view without removing
clip pop                         # retrieve and remove

All Commands

Core Operations

Command Description
clip set <key> <value> Store a value. Pipe stdin if no value arg. Auto-detects content type.
clip get <key> Retrieve value. Raw output (pipeable). Fuzzy-matches if key not found.
clip del <key> Delete a key (fails if pinned).
clip append <key> <value> Append text to existing clip (newline-separated).

Organization

Command Description
clip list [--tag T] [--search Q] [--all] List clips with optional filters.
clip tags Show all tags with counts.
clip pin <key> Pin clip (protects from garbage collection).
clip unpin <key> Remove pin.

Stack (Anonymous LIFO)

Command Description
clip push <value> Push onto anonymous stack.
clip pop Pop most recent stack item (removes it).
clip peek View top of stack without removing.

Read the full file on GitHub · 199 lines

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. 4d ago First seen · 199 lines · 71 tokens per session scan A d26d57a99a86

Subscribe to this mod's changes

shared-clipboard is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 71 tokens to every session and 1,676 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.