Skip to main content
Slash commands are shortcuts that start with / and perform specific actions inside a Claude Code session. Jinzo supports both built-in commands and custom commands you define yourself.

Built-in Commands

CommandDescription
/compactSummarize and compress conversation history to free up context
/clearClear conversation and start a fresh session
/helpShow available commands and usage information
/resumeOpen session picker to resume a previous conversation
/renameGive the current session a memorable name
/modelSwitch model or adjust effort level
/agentsView and create subagents
/configOpen configuration settings

Custom Commands

Custom commands are Markdown files that define reusable prompts. The filename becomes the command name.

Locations

LocationScope
.jinzo/commands/Project commands — shared via git
~/.claude/commands/Personal commands — available across all projects

Creating a Command

Create a .md file in one of the command directories: .jinzo/commands/review.md:
---
description: Review code changes for issues
allowed-tools: Read, Grep, Glob
---

Review the recent code changes. Check for:
- Security vulnerabilities
- Performance issues
- Missing error handling
Provide findings as a numbered list with severity ratings.
Then invoke it in a session:
/review

Arguments

Commands support positional arguments with $1, $2, etc., and $ARGUMENTS for the full argument string: .jinzo/commands/fix-issue.md:
---
argument-hint: [issue-number]
description: Fix a GitHub issue
---
Fix issue #$1. Check the issue description and implement the necessary changes.
/fix-issue 142

File References and Shell Output

Commands can include file contents with @ and shell output with !: .jinzo/commands/commit.md:
---
allowed-tools: Bash(git add:*), Bash(git commit:*)
description: Create a git commit
---
## Context
- Current status: !`git status`
- Current diff: !`git diff HEAD`
## Config
- Package: @package.json
Create a commit with an appropriate message based on the changes.

Namespacing

Organize commands in subdirectories:
.jinzo/commands/
├── frontend/
│   ├── component.md      # /component
│   └── style-check.md    # /style-check
├── backend/
│   └── api-test.md       # /api-test
└── review.md             # /review

Frontmatter Options

FieldDescription
descriptionWhat the command does (shown in help)
allowed-toolsComma-separated list of tools the command can use
argument-hintUsage hint shown when listing commands
modelOverride the model for this command