zen-open-source/pastelocal/paste-history
Claude Code and agent skill by zen-open-source/pastelocal
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Paste a previous clipboard entry from the user's local laptop history into this remote Grok session using PasteLocal (SSH tunnel preferred; relay for recent pushed items).
Install
npx vskill@latest install zen-open-source/pastelocal/paste-historySKILL.md
PasteLocal /paste-history — Grok Skill
Bring a previous entry from the laptop's clipboard history (text or screenshot) into the remote session. Supports --list + --index, --search + --id (Recall-powered), and relay fallback for recent items.
When to use
- User says "paste the previous screenshot", "grab that error from history", "the docker log I copied 5 minutes ago", "search my clipboard for the nginx config".
- The plain
/paste(latest only) is insufficient. - Works best over SSH tunnel; relay path provides recent auto-uploaded items.
Steps (execute in order)
- Try the SSH-tunnel path first (full history + search):
- Use
pastelocal-remote --listto see recent, thenpastelocal-remote --index N - Or better for agents:
pastelocal-remote --search "the docker volume error" --limit 5thenpastelocal-remote --id <stable-id> - The command prints a file path (and optional
.analysis.txtsidecar for images with VisionPaste).
- If the SSH path fails or in pure-relay multi-device setup (no direct tunnel):
- Use
pastelocal-remote --relay <url>(fetches the most recent pending item pushed via auto-upload or manual send). - Relay provides only the most recent pushed item via plain
--relay(advanced --list/--search/--id over relay not directly supported; use SSH for full history or ask user to push the desired item via relay send).
- 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: If image and analysis sidecar exists, read the
.analysis.txtfirst for OCR/description.
- Clean up: Immediately run
rm <path>and sidecar.
- Confirm with one short line:
- "Got it, image attached from history."
- "Got it, text attached from history."
- If via relay: "Got it via relay from recent history."
Tips for great UX
- Prefer
--id(from search) over--indexbecause list order can shift. --searchrequires[recall]enabled on the laptop daemon + embeddings.- Concealed items (password popups) are filtered and never appear in history or relay uploads.
- For named reusable items, suggest user saves with
pastelocal snippets save <name>and use/paste-snippetinstead. - Pairs with
/recallfor pure semantic search UX.
This is the Grok-native history equivalent. It prefers SSH for complete access and falls back gracefully for relay-based recent items.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/grok/paste-history/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zen-open-source/pastelocal/paste-history)