PasteLocal /paste — Grok Skill
SkillMediaPaste the latest image or text from the user's local laptop clipboard into this remote Grok session using PasteLocal (SSH tunnel or relay).
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the PasteLocal /paste — Grok Skill skill
What this skill tells your AI
The instructions your AI receives, as published by zen-open-source/pastelocal in skill/grok/paste/SKILL.md and read by ahel’s review.
Bring your laptop's clipboard (especially screenshots) into a remote machine where Grok is running.
When to use
- User says "paste the screenshot", "grab what's on my clipboard", "show me the image from my laptop", etc.
- Works over existing SSH (preferred) or the experimental relay.
Steps (execute in order)
-
Try the SSH-tunnel path first (fastest, most common):
- Run
pastelocal-remotevia the Bash tool. - It will print a file path on success (e.g.
/home/user/.cache/pastelocal/pastelocal-abc123.png).
- Run
-
If the SSH path fails or user explicitly wants relay (no direct tunnel or multi-device scenario):
- Run
pastelocal-remote --relay <url>(user must provide the relay URL or it is in their config). - Or
pastelocal-remote --relay http://localhost:7332 --listto see options, then fetch a specific one. - The command still prints a file path.
- Run
-
On any failure (non-zero exit): Report the exact stderr to the user verbatim and stop. Do not retry or guess.
-
Read the file using your Read tool on the exact path returned.
-
VisionPaste enrichment (v2 proactive & cached): If the clipboard item was an image/screenshot and the local daemon has
[vision]analysis configured (e.g. tesseract OCR), a companion sidecar file with the same base name but.analysis.txtsuffix will exist next to the image (e.g....-abc123.analysis.txt). Read it too — it contains pre-extracted OCR text and/or a natural-language description (now produced proactively by watcher for instant availability). Present this rich text context to the model first (before or alongside the image); it dramatically improves token efficiency and accuracy for code, errors, UI, diagrams etc. The image remains available via your vision capabilities for anything the text missed. -
Clean up: Immediately run
rm <path>and (if present)rm <analysis-sidecar>(use Bash) so temp files do not linger. -
Confirm with one short line:
- Image: "Got it, image attached from your laptop clipboard."
- Text: "Got it, text attached from your laptop clipboard."
- If it came via relay: "Got it via relay, image attached."
Tips for great UX
- If the user has multiple devices paired via relay, you may need to ask "which one?" and use
--list. - With VisionPaste enabled on the user's daemon, screenshots arrive with rich OCR + description context already attached — use it immediately instead of spending extra turns on vision analysis.
- For repeated use, suggest the user saves a named snippet locally with
pastelocal snippets save my-design.
This skill is the Grok-native equivalent of the Claude ~/.claude/commands/paste.md. It prefers the zero-config SSH experience when available.
Signals
- GitHub stars
- 87
- Forks
- 8
- Last commit
- May 2026
Advanced
- Catalog kind
- skill
- Gateway key
paste-zen-open-source- Source
- github.com/zen-open-source/pastelocal