Skip to content

snippets

Work fasterv0.1.0

Ticket suggestions, highlighting and text shortcuts in the input bar.

claude: snippets
What you are seeing Typing a prompt, ticket and file names are highlighted. The text ;;plan expands into a full planning request before it is sent.

Install

o-mods
  1. Add the o-mods collection (once):

    claude plugin marketplace add omeerdvrn/o-mods

  2. Install this mod:

    claude plugin install snippets@o-mods

Then run /reload-plugins in any open Claude Code session.

First time? Set up o-mods

Author
omeerdvrn
Version
0.1.0
License
MIT
Tags
prompt, autocomplete, snippets, linear, highlighting
Source on GitHub
Source on GitHub

The input bar, smarter.

  • Ticket typeahead: type a ticket id (ENG-, ENG-34) and your Linear issues show in the typeahead with their titles and status; take one with Tab or Enter. Your open issues, kept fresh every ten minutes.
  • Live highlighting as you type: your tickets bold in blue, other ticket ids in cyan, file paths in green, @mentions in purple, ;;snippets in amber, and anything that looks like a secret (API keys, tokens, private keys, password=…) in red, with a warning, before you send it.
  • Pasted image previews: paste an image and a small thumbnail shows above the input, labeled with its [Image #N] number; delete the tag and it goes, send and the row clears. Claude Code keeps pasted images to itself, so the mod saves a small copy from the clipboard the moment the tag appears, with a tiny helper compiled once from scripts/clipthumb.swift (about 0.15 s a paste; AppleScript fallback without Swift) into ~/Library/Caches/snippets/pasted. Pictures need a terminal that shows them (WezTerm, kitty, Ghostty, iTerm2); elsewhere it shows the tag as text.
  • Snippets: type ;;name and a space, and it expands. ;; alone lists them in the typeahead. Sent without the space, it expands too.
SnippetExpands to
;;mmiMerge origin main into this branch and resolve conflicts.
;;planA short plan first: files, approach, risks; wait for the go.
;;reviewReview this branch for bugs, edge cases and missing tests, by severity.
;;testsRun the tests and fix failures the changes caused.
;;prOpen a PR with a clear title and a summary of what and why.
;;explainExplain how this works, step by step, naming files and functions.
;;tldrSummarize the last answer in three bullets.
;;contContinue where you left off.

/snippets lists them; /snippets add <name> <text> adds or changes one; /snippets remove <name> drops one.

Edit this page on GitHub