ClaudeCodeMod

All shelves / Mods / Workflow

snippets

By Singh-AP

snippets is a Claude Code workflow mod by Singh-AP.

Keeps saved prompts and drops one into the prompt box with /snip, with the branch, the date, and your last selection filled in.

Draws

Install

The marketplace name is awesome-claude-mods.

In Claude Code
/plugin marketplace add Singh-AP/awesome-claude-mods
/plugin install snippets@awesome-claude-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.0
License
MIT
Repo stars
3
Last change
2026-10-04

What it can reach

  • Draws in the session
  • Calls another program on this machine

Claude Code 2.1.287 or later. /snip <name> expands a saved snippet into the prompt box and stops; if you've typed a draft, it goes in at the cursor. The author says nothing is sent until you press Enter, so you can edit the text first, which is what makes it different from a custom slash command. Placeholders fill in {{args}}, the text after the name, {{branch}}, the current git branch, {{date}}, and {{selection}}, what you last selected with the mouse, which needs the fullscreen terminal. A line whose placeholders all come out empty is dropped. Five starters come with it: review, explain, tests, commit-msg, and plan. /snip lists the snippets, /snip save <name> <text> saves or replaces one, /snip show prints the raw template, and /snip rm removes one, starters included. Snippets live in the mod's own store, ~/.claude/plugins/store/snippets_*.json, so they follow you into every project. In claude -p, where there is no prompt box, the expanded text is printed instead.

The marketplace, awesome-claude-mods, also holds bash-guard, files-touched, cost-meter, and other mods. This one installs on its own. Filling the prompt box from prompts you saved is why this page files it under workflow. next-steps, by hamzafer, draws two or three likely next prompts after each turn, and 1, 2, or 3 drafts one. prompt-polish, by VedantAndhale, rewrites the draft in the prompt box when you press Improve, with one model call. This one fills the box from your own saved prompts, with no model call.

Demo

snippets in a real Claude Code session
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/snip

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /snipPut a saved prompt in the prompt box (/snip <name>), or list, save, show, rm

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
Singh-AP
Category
Workflow
Marketplace
awesome-claude-mods
Repo
Singh-AP/awesome-claude-mods
Folder
mods/productivity/snippets
Version
1.0.0
License
MIT
Repo stars
3
Last change
2026-10-04
Language
TypeScript
Files
6

Other mods in Workflow

answer-paneVedantAndhaleDraws explain, plan, and ELI5 pages in a side pane, with decision buttons on a plan and Respond filling the prompt box.plan-progresszycckDraws live progress bars above the prompt, one row per task with its stages, steps, and the subagents under it.open-askserikdarlingdataDraws each question the session is waiting on in a band above the prompt, with the recommended answer, until you answer or drop it.conversation-atlasNeelAPatelOpens a side pane that maps the session: the goal, the current path, detours, decisions, open questions, and what to resume next.asideJayDoubleuOpens a pane beside the transcript where you ask about the session so far, answered by a tool-less fork that writes nothing back.shared-sessionParadigm-StudyHolds a commandDraws a Share control above the prompt so a teammate can join the session from their own Claude Code and see each turn as it happens.transcripted-liver3dbarsHolds a commandDraws the meeting Transcripted is recording above the prompt, with notes, a question aimed at you, and a wrap-up when the call ends.speckit-companionalfredoperezDraws a band above the prompt for the Spec Kit run you are following, and a pane of its steps, times, documents, and tasks.xcode-modsartemnovichkovDraws an Xcode band above the prompt and a pane for build, run, and tests, plus a canvas of SwiftUI preview snapshots.seo-cockpitAgriciDanielHolds a commandDraws a live audit band and a cockpit of Search Console, rankings, and Core Web Vitals, and holds a paid SEO API call that would pass the day's cap.codebuildSingh-APOpens a pane to build the repo on AWS CodeBuild, with the phase, a live log, and a status line while the build runs.claude-councilhexOpens a pane of answers from several outside coding agents side by side, then a synthesis of where they agree.
All 396 in Workflow