PasteLocal /paste-snippet — Grok Skill
SkillDev toolsPaste a named snippet previously saved from the user's local laptop clipboard into this remote Grok session using PasteLocal (SSH 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-snippet — 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-snippet/SKILL.md and read by ahel’s review.
Fetch and paste a user-saved named snippet (text or image) that was previously captured with pastelocal snippets save <name> on the laptop.
When to use
- User refers to "my deploy command snippet", "the api-key template", "that standard header I saved as 'license'".
- Replaces typing or copy-paste from notes; snippets survive clipboard churn.
pastelocal-remote --snippet NAMEworks over SSH (preferred); for relay setups use plain--relayfor recent auto-uploaded items (direct --snippet + --relay not supported in dispatch).
Steps (execute in order)
-
If user did not provide a name: list available snippets first.
- SSH:
pastelocal-remote --list-snippets - Suggest common ones the user may have: deploy, header, license, etc.
- SSH:
-
Run the fetch:
- SSH path:
pastelocal-remote --snippet <name> - Relay path (multi-device without SSH): recent auto-uploaded items via plain
pastelocal-remote --relay <url>(full --snippet + --relay combo not supported in current remote dispatch; copy snippet locally then send via relay or use SSH for direct daemon access).
- SSH path:
-
On any failure (non-zero exit): Report the exact stderr verbatim and stop.
-
Read the file using Read tool on the returned path.
-
Clean up with
rm <path>(and sidecar if present). -
Confirm:
- "Pasted snippet '' (text attached)."
- "Pasted snippet '' (image attached)."
Tips for great UX
- Snippets are stored locally on the laptop daemon (not in relay inbox unless explicitly sent).
- For relay-heavy workflows, the user can
pastelocal relay senda snippet or enable auto-upload and copy the snippet locally first. - Combine with
/pastefor ad-hoc and/paste-historyfor time-based recall. - User manages snippets with
pastelocal snippets save|list|delete <name>on laptop.
This completes the trio of clipboard ingestion skills (/paste + /paste-history + /paste-snippet) for Grok.
Signals
- GitHub stars
- 87
- Forks
- 8
- Last commit
- May 2026
Advanced
- Catalog kind
- skill
- Gateway key
paste-snippet- Source
- github.com/zen-open-source/pastelocal