/review and 100xprompt expands it into the full prompt. Built-in commands cover the common jobs out of the box, and you author your own by dropping a single file into your project or home directory.
The payoff: your best prompts become reusable, shareable, and discoverable - right where you work, with autocomplete to find them.
See how a slash command works
A slash command is a saved prompt template with a short name. Type/ in the prompt and 100xprompt shows a menu of every available command with autocomplete. Pick one, add any arguments, and its template expands into a complete prompt that 100xprompt acts on.
Use a built-in command
100xprompt ships with a set of ready-to-use commands. Type/ to see them alongside any custom or plugin-provided commands.
| Command | What it does |
|---|---|
/init | Scans your project and creates or updates an AGENTS.md so 100xprompt understands your codebase, conventions, and workflows. |
/review | Reviews your changes and flags issues. Accepts an optional target - commit, branch, or pr - and defaults to your uncommitted work. |
/compact | Condenses the current session’s history into a compact summary so a long conversation keeps going without losing the thread. Takes optional instructions on what to preserve. |
/summarize | Summarizes the session so far, with optional guidance on focus. |
/remember | Reviews what 100xprompt has learned about your work and promotes durable project rules into your AGENTS.md. |
/memory | Reports the state of long-term memory. Pass consolidate to merge and prune stored memories. |
/advisor | Gets a second opinion on the current approach from a stronger model. |
Build a custom command
A custom command is a single Markdown file. The file name becomes the command name -deploy.md becomes /deploy - optional frontmatter tunes how it runs, and the body is the prompt template.
deploy.md
Frontmatter fields
Everything in the frontmatter is optional. Include only what you need.| Field | Purpose |
|---|---|
description | A short summary shown next to the command in the / menu. Write it so you can pick the right command at a glance. |
agent | Run the command as a specific agent, giving it that agent’s persona and tool permissions. |
model | Pin the command to a particular model, regardless of your session default. |
subtask | When true, the command runs as a self-contained subtask so its work stays isolated from the main conversation. |
Write the prompt template body
Everything below the frontmatter is the prompt that gets sent. Write it exactly as you’d phrase the request yourself - clear, specific, and outcome-first. This is the text that expands when you invoke the command.Leave slots with argument placeholders
Make a command reusable by leaving slots for input you fill in at call time.$ARGUMENTS
Captures everything you type after the command name as a single block. Best when the input is free-form.
$1, $2, $3…
Positional placeholders for structured input.
$1 is the first word after the command, $2 the second, and so on./triage checkout high customers can't apply coupons fills $1 with checkout, $2 with high, and $ARGUMENTS with the full trailing text.
Pull in files and shell output
Two references let a command pull in real context at the moment it runs, so the prompt is never stale.- File references (@)
- Shell references (!)
Prefix a path with Paths are resolved relative to your project. Use
@ to attach that file or directory to the prompt. 100xprompt reads it in when the command runs.@~/notes.md to reference a file in your home directory.Choose where command files live
100xprompt looks for command files in two places. The format is identical in both - only the reach differs.Project commands
Put files under
.100xprompt/command/ in your project. These travel with the repo, so everyone on the team gets the same commands. Ideal for project-specific workflows.Global commands
Put files under
.100xprompt/command/ in your home directory. These are available in every project - perfect for your personal go-to prompts.Create your own command
Suppose you write the same standup update every morning. Turn it into a command so a single/standup drafts it from today’s commits.
Create the command file
In your project, add
.100xprompt/command/standup.md. The file name sets the command name - this one becomes /standup.Add frontmatter (optional)
Give it a description so it reads well in the menu, and pin a model or agent if you want:
Write the prompt template
Below the frontmatter, write the instruction - pulling in live context with a shell reference and leaving a slot for your notes:
Invoke it
Back in 100xprompt, type
/ and start typing standup. Autocomplete surfaces your new command with its description. Select it, add any notes after the name, and press enter.Find commands in the menu
Every command - built-in, custom, Skill-provided, or plugin-provided - appears in the same/ menu with autocomplete.
- Type
/to open the menu and see everything available. - Keep typing to filter by name; fuzzy matching finds partial matches fast.
- Read the description shown beside each entry to pick the right one.
- Add arguments after the name before you submit.
A well-written
description is what makes a command discoverable months later. Treat it as the command’s headline.Tips and limits
Keep names short and memorable
Keep names short and memorable
You’ll type these often. Prefer
/triage over /investigate-a-reported-bug. Group with subfolders rather than long hyphenated names.Lead the template with the outcome
Lead the template with the outcome
Start the body with what you want produced. A command is only as good as the prompt inside it - the clearer the instruction, the better the result.
Prefer project commands for team workflows
Prefer project commands for team workflows
If a command encodes how your team ships, reviews, or releases, keep it in the repo under
.100xprompt/command/ so everyone shares one source of truth.Watch out for name clashes
Watch out for name clashes
If a custom command shares a name with a built-in, the menu shows just one entry, so a collision can quietly replace what you expected. When the
/ menu doesn’t surface the command you had in mind, pick a distinct name - or namespace it in a subfolder - to keep both discoverable.Related
- Skills: package reusable expertise that 100xprompt loads just in time and surfaces in the same
/menu. - Terminal: where you type slash commands and watch them expand and run.
- Workflows: chain commands and steps into repeatable, automated engineering workflows.
Skills
Package reusable expertise that 100xprompt loads just in time - and surfaces in the same
/ menu.Terminal
Where you type your slash commands and watch them expand and run.
Workflows
Chain commands and steps into repeatable, automated engineering workflows.