agentleFS
WaniWani-AIWaniWani-AI/sdk/.agents/skills/copy/SKILL.md

copy

Skill17 starsChanged 5 months agoMITView on GitHub

Copy text to the user's clipboard. Use when the user wants to copy generated content, summaries, or any text to their clipboard.

  • Installs packages

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo, commit and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • iamladiSkill

    seo

    Comprehensive programmatic SEO (pSEO) skill for auditing, architecting, and scaling to 100k+ pages. Covers metadata, schemas, internal linking, content strategy, and Core Web Vitals. Use when planning or auditing SEO at scale.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check the OS before copying:

    line 42
  2. Distinctive:

    Always confirm to the user that content was copied

    line 62

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Copy to Clipboard Skill

Copy text content to the user's system clipboard.

Platform Detection

Detect the platform and use the appropriate command:

  • macOS: pbcopy
  • Linux: xclip -selection clipboard (or xsel --clipboard)

Usage

For multi-line content, use a heredoc with the appropriate clipboard command:

macOS:

cat <<'EOF' | pbcopy
Your content here
Multiple lines supported
EOF

Linux:

cat <<'EOF' | xclip -selection clipboard
Your content here
Multiple lines supported
EOF

Cross-Platform Detection

Check the OS before copying:

if [[ "$OSTYPE" == "darwin"* ]]; then
  # macOS
  cat <<'EOF' | pbcopy
content
EOF
elif command -v xclip &> /dev/null; then
  # Linux with xclip
  cat <<'EOF' | xclip -selection clipboard
content
EOF
else
  echo "No clipboard utility found"
fi

Important Notes

  • Always confirm to the user that content was copied
  • For large content, consider showing a preview before copying
  • On Linux, xclip may need to be installed (apt install xclip)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.