/). Type / in TUI mode to view available commands and select one to execute.
Quick Start
In TUI mode:-
Start Qoder CLI:
-
Type
/to view the command list -
Select a command and press Enter to execute:
/init, /review, /quest) can be executed in Headless mode:
Command Types
Qoder CLI commands are divided into two types:| Type | Description | Mode | Extensibility |
|---|---|---|---|
| TUI | Provides interactive UI (dialogs, list selection) | TUI | Built-in, not customizable |
| Prompt | Submits preset prompts to guide CLI tasks | TUI + Headless | User-customizable |
Built-in Commands
| Command | Type | Purpose |
|---|---|---|
/agents | TUI | Manage Subagent configurations |
/bashes | TUI | List and manage background tasks |
/clear | TUI | Clear conversation history and free up context |
/commands | TUI | Manage extend commands for current workspace |
/compact | Prompt | Summarize current session to compact the context, usage: /compact [instructions] |
/config | TUI | Manage Qoder CLI configurations |
/export [filename] | TUI | Export current session to a file, usage: /export [filename] |
/feedback | TUI | Submit feedback about Qoder CLI, usage: /feedback content |
/help | TUI | Show help and available commands |
/init | Prompt | Initialize a new AGENTS.md`file with codebase documentation |
/login | TUI | Sign in with your Qoder account |
/logout | TUI | Sign out of your Qoder account |
/mcp | TUI | List and manage mcp servers |
/memory | TUI | Edit memory files |
/model | TUI | List and manage settings of model level |
/quest | Prompt | Intelligent workflow orchestrator that guides users through feature development using specialized subagents |
/quit | TUI | Quit the program, equivalent to /exit |
/release-notes | TUI | View release notes |
/resume | TUI | Resume a previous conversation from history |
/review | Prompt | Review local pending git changes, usage: /review [instruction] |
/setup-github | TUI | Set up Qoder GitHub Actions |
/skills | TUI | Manage Skill commands for current workspace |
/status | TUI | Show Qoder CLI status |
/upgrade | TUI | Open browser to upgrade your Qoder account plan |
/usage | TUI | Show current plan usage summary |
/vim | TUI | Open external editor for input |
Creating Commands
Custom commands allow you to define frequently used prompts as Markdown files that Qoder CLI can execute. Commands are organized by scope (project-specific or personal).Method 1: AI-Assisted Generation (Recommended)
Use TUI’s built-in AI assistance to quickly generate command configurations:-
Run
/commandsin TUI to open the commands panel -
Press
Tabto switch to User or Project tab -
Select “Create new command…” and press
Enter -
Describe the command you want to create:
- Qoder CLI auto-generates the configuration file
-
Find the generated file for fine-tuning:
Method 2: Manual Configuration (Advanced)
Create Markdown configuration files directly for full control over command prompts.Configuration Format
Command files use Markdown format with YAML frontmatter and a system prompt:Field Reference
| Field | Required | Description |
|---|---|---|
name | Yes | Unique command name for /command-name invocation |
description | Yes | Command description, supports multi-line with YAML syntax |
Naming Conventions
- Use lowercase letters and hyphens (e.g.,
git-commit) - Avoid spaces or special characters
- Filename should match the
namefield
Example
A command for generating Git commit messages:Storage Locations and Priority
| Level | Path | Scope | Version Control |
|---|---|---|---|
| Project | .qoder/commands/<command_name>.md | Current project only | Recommended (team sharing) |
| User | ~/.qoder/commands/<command_name>.md | All projects | Not committed (personal) |
/quit to exit and restart qodercli to load new configurations.
Using Custom Commands
View Command Details
-
Run
/commandsin TUI to open the commands panel -
Press
Tabto switch between User and Project tabs -
Select a command and press
Enterto view details: -
Press
Escto exit the details view
Execute Commands
Type the command name (starting with/) in TUI. CLI auto-displays matching commands:
Enter to execute. CLI follows the command’s system prompt:
FAQ
Custom command not recognized
Problem: Created command doesn’t appear or execute in TUI Solution:- Check file path (
~/.qoder/commands/or.qoder/commands/) - Verify frontmatter format (starts and ends with
---) - Restart CLI (
/quitthen runqodercliagain)
Frontmatter parsing failed
Problem: YAML format is incorrect Solution:- Ensure frontmatter starts and ends with
--- - Use
|syntax for multi-linedescriptionfields - Check indentation (YAML is indentation-sensitive)