Home > Features > Slash-Command Prompts

Slash-Command Prompts: Type // to Insert Any Prompt in Any AI Chat

Updated July 2026 · 9 min read

If you've ever typed / in Slack or Notion and watched a menu pop up, you already understand the mechanic this page is about — just aimed at a different problem. Instead of inserting an emoji or a table, typing // in ChatGPT, Claude or Gemini opens a small palette of your own saved prompts and drops the one you pick straight into the chat box. No copy-paste, no tab switching, no retyping the same instructions you've already written a hundred times.

This is what "slash-command prompts" means in practice, why it beats the tools people currently duct-tape together for the same job, and exactly how it works across the ten AI sites PromptDock supports.

What slash-command prompts actually are

A slash command is a short trigger — usually a symbol plus a letter or two — that a piece of software watches for while you type, and reacts to instantly. Discord uses / for bot commands. Notion uses / to insert blocks. Superhuman uses keyboard shortcuts for canned email replies. The underlying idea is always the same: stop making the user navigate a menu, and let a trigger they can type without thinking bring the menu to them.

Applied to AI chat, a slash-command prompt is a saved piece of text — a full prompt, an instruction, a template — that you can summon and insert by typing a trigger inside the message box itself. PromptDock uses // specifically because it's a sequence nobody types by accident in normal conversation with an AI, so it never fires when you don't want it to. The moment you type the second /, a small dropdown appears right above your cursor, filtered live as you keep typing.

The result is that your best prompts stop being something you remember, search for, or keep in a separate document. They become something you invoke — the same way a keyboard shortcut is faster than clicking through a menu, once your fingers learn it.

Why text expanders and clipboard managers fall short in AI chats

Plenty of people try to solve this with tools that weren't built for it, and the seams show up fast:

The common failure: every one of these tools treats the AI chat box like any other text field. It isn't — it's a rich editor that behaves differently, and it's also the single place where you retype the same instructions most often. A tool built specifically for that box, rather than adapted to it, behaves differently in a good way.

How the // palette works: type, pick, insert

The whole interaction is designed to take about two seconds, with no mouse required:

  1. Type // anywhere in the chat box.PromptDock's content script is watching the input in real time. The instant it sees //, a dropdown renders directly above your cursor — not in a separate popup window, not requiring you to click the extension icon.
  2. Keep typing to filter.Every character you type after // narrows the list live, matching against prompt titles and descriptions. Two or three letters is usually enough to get your target prompt to the top.
  3. Arrow down, hit Enter.Use / to move the selection, or just click. Hitting Enter inserts the full saved prompt in place of what you typed, cursor positioned and ready — no leftover // characters, no manual cleanup.

Pinned prompts float to the top of the unfiltered list, so the two or three prompts you use every single day are the first thing you see even before you type a filter letter. Folders and tags organize the rest, so a 60-prompt library doesn't turn into a scroll-fest.

Templates with {{variables}} you fill in on the fly

A saved prompt that never changes is useful. A saved prompt with blanks you fill in each time is far more useful, because it turns one entry in your library into an unlimited number of variations. PromptDock supports this with a simple {{variable}} syntax:

Saved templateWhat happens on insert
Write a LinkedIn post about {{topic}} for {{audience}}PromptDock prompts you for topic and audience as it inserts, then drops in the completed text.
Summarize this in {{number}} bullet points, tone: {{tone}}Fill in "5" and "casual" once, reuse the same template for every summary you ever need again.
Act as a {{role}} and review this for {{focus_area}}One code-review prompt becomes a security review, a performance review, or a style review just by changing two words.

This is the piece a plain text expander can't really replicate without a lot of manual macro-scripting — and it's the difference between "I have a folder of prompts" and "I have a small library of tools that adapt to whatever I'm doing today."

Works everywhere: the 10 supported AI platforms

The single biggest limitation of most prompt tools is that they're built for one site. PromptDock's // palette and your saved library are the same across all ten of the platforms it supports:

ChatGPTClaudeGeminiPerplexityDeepSeekGrokMicrosoft CopilotMistral (Le Chat)PoeGoogle AI Studio

Save a prompt once — from any of the ten, or by right-clicking selected text on any page and choosing "Save to PromptDock" — and it's available with // in all of them. If you draft in ChatGPT, fact-check in Perplexity, and do a final pass in Claude, your prompt library follows you across that whole workflow instead of living in just one of those tabs. For a deeper look at why keeping prompts trapped in a single chat history is such a common pain point, see reusing prompts across ChatGPT, Claude and Gemini.

Keyboard shortcut alternative

Typing // is the fast path, but it's not the only path. PromptDock also opens the exact same palette with a configurable keyboard shortcut, which matters in a couple of real situations: if you're deep in a sentence that happens to contain a double slash for some other reason, or if you simply prefer a modifier-key habit like the command palettes in VS Code or Raycast. Either way you land in the identical searchable list — the trigger is just a preference, not a different feature.

CTA + comparison vs. generic text expanders

Here's the honest side-by-side, because "slash commands" as a concept is not unique to PromptDock — what differs is whether the tool was actually built for AI chat boxes or adapted to them after the fact:

PromptDockGeneric text expanderNotes app + copy-paste
Built for AI chat editorsYes — purpose-built for ChatGPT/Claude/Gemini's rich editorsNo — built for ordinary web forms, glitches in contenteditable boxesN/A, manual
Fill-in-the-blank templatesYes, native {{variables}}Only with manual macro scriptingManual editing every time
Works across 10 AI sites, one libraryYesDepends on the site's editorYes, via copy-paste
Account requiredNeverUsually, for cloud syncDepends on the app
Where data lives100% local on your deviceUsually the vendor's cloudDepends on the app
PriceFree tier, $19 once for Pro$3–8/month, ongoingFree (if you already use the app)
100% local storage No account, ever Free plan forever 7-day full-Pro trial on install
Try the // palette yourself: PromptDock is free to install, stores everything locally on your device (no account, nothing uploaded), and works in ChatGPT, Claude, Gemini, Perplexity, DeepSeek, Grok, Copilot, Mistral, Poe and AI Studio. Every install also unlocks all Pro features — unlimited prompts, {{variables}}, sync — free for 7 days. Add to Chrome — it's free →

FAQ

Does ChatGPT have slash commands built in?

Not for personal reusable prompts. ChatGPT has no native // or /command system for inserting your own saved text — that functionality comes from an extension like PromptDock, which adds the // trigger directly inside the chat box.

Is // a real slash command or just a text trick?

It's a real command palette, not a text-replacement macro. PromptDock's content script watches the chat input, detects // as you type, and renders a searchable dropdown of your saved prompts right there — nothing is sent anywhere, and the palette disappears once you pick or cancel.

Why not just use a text expander like Text Blaze?

Generic text expanders are built for ordinary web forms, and AI chat boxes are rich contenteditable editors that commonly break their expansion logic. PromptDock's palette is purpose-built for these specific editors, so insertion is reliable, and it also supports fill-in-the-blank templates and folders that expanders don't.

Can I use a different trigger than //?

Yes. If // ever conflicts with something you type naturally, PromptDock also opens the same palette with a configurable keyboard shortcut, so you're never stuck with only one way in.

Do slash-command prompts work in Claude and Gemini too, or just ChatGPT?

The same // palette and the same saved library work in ChatGPT, Claude, Gemini, Perplexity, DeepSeek, Grok, Microsoft Copilot, Mistral, Poe and Google AI Studio — ten sites total, all from one extension install. See the full breakdown in how PromptDock compares to AIPRM and other ChatGPT-only tools.