snippet-shelf

Reviewed at commit 39335b2

Save and copy short code or command snippets.

Made by
Yash Thakker
What we checked

Opens a pane via /snippet-shelf where you save short code or command snippets per workspace, copy one to the clipboard with a button, or delete it. Snippets are stored locally. It reads no files and prompts, runs no programs and makes no network calls.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (per-workspace key prefix from the cwd, loads items, registers the /snippet-shelf command), command.run (optionally saves the argument as a snippet, opens the pane) and ui.render for the Pane. Uses $.store.keys/get/set/delete (last 100 items, max 4000 characters each), $.clock.now, $.ui.copy (only when you press Copy) and $.ui.invalidate. Snippets are only displayed and copied, never executed. No network, file or process access; ui.js only holds pure text helpers.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of snippet-shelf
Made this mod? Add a badge to your README

modsforClaude badge for snippet-shelf

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/snippet-shelf.svg)](https://modsforclaude.com/mods/snippet-shelf/)

← All mods