Session Commands
Session commands manage your current CLI-JAW conversation: viewing help, navigating commands, checking status, clearing history, compressing context, resetting state, and redirecting the agent mid-conversation. These are the commands you reach for most often during interactive use.
/ and can be typed directly in the chat input. You can also trigger them via natural language — CLI-JAW understands Korean and English equally. See the "~해줘" tips on each command below.Quick Reference
| Command | Description |
|---|---|
/help [command] | Show help for all commands or a specific command |
/commands | Open the command palette with fuzzy search |
/status | Display current session status and diagnostics |
/clear [all] | Clear conversation history / all: reset skills+employees+MCP |
/purge | Clear conversation + delete memory |
/compact [instructions] | Compress context while preserving key information |
/reset [confirm] | Bootstrap reset — conversation, memory, skills, employees, MCP |
/steer <prompt> | Redirect the agent to a new direction mid-conversation |
Commands in Detail
/help
Shows documentation for CLI-JAW commands. When called without arguments, it lists all available commands grouped by category. When a command name is provided, it shows detailed usage, arguments, and examples for that specific command.
Arguments:
| Argument | Required | Description |
|---|---|---|
command | No | Name of a specific command to get detailed help for (without the / prefix) |
/help
# Get detailed help for a specific command
/help compact
# Help for the steer command
/help steer
/help. CLI-JAW will detect your intent and show the relevant documentation./commands
Opens the command palette — an interactive, searchable list of every available slash command. The palette supports fuzzy matching, so you can type partial names to quickly find what you need. This is the fastest way to discover commands you have not used before.
The palette displays each command with its category, brief description, and keyboard shortcut (if one exists). Select a command to either execute it immediately or insert it into the input for further editing.
/commands
# In the palette, type to filter:
# "mod" → shows /model, /model-list
# "sk" → shows /skill, /skill load, /skill list
/status
Displays a comprehensive snapshot of your current session. This includes the active model and CLI backend, loaded skills, conversation token count, memory usage, active goals, connected integrations (Telegram, Discord, etc.), and server health. Useful for debugging or understanding why the agent is behaving a certain way.
Status fields include:
| Field | Description |
|---|---|
| Model | Currently active LLM (e.g., claude-opus-4-8, gpt-5.5) |
| CLI | Active CLI backend (Claude Code, Codex, etc.) |
| Skills | List of currently loaded skills with active/inactive state |
| Tokens | Current context window usage (used / max) |
| Goals | Active goals and their completion status |
| Integrations | Connected services (Telegram, Discord, Electron) |
| Memory | Memory index size and last sync timestamp |
| Uptime | How long the current session has been running |
/status
# Example output:
# Model: claude-opus-4-8 via Claude Code
# Skills: dev (active), github (active), memory (active) + 7 more
# Tokens: 42,318 / 200,000 (21%)
# Goals: 2 active, 1 completed
# Uptime: 1h 23m
/status. The agent will present the status in a readable format./clear
Clears the conversation history from the current session. This removes all previous messages from the context window, giving you a fresh start while keeping your loaded skills, memory, and session configuration intact.
With the all argument, it performs a deeper reset: skills are re-synced to defaults, employees are reset, MCP is re-synced, and the session state is cleared. Memory is still preserved.
Cleanup tiers (lightest to heaviest):
| Command | Conversation | Skills/Employees/MCP | Memory |
|---|---|---|---|
/clear | ✅ Deleted | Preserved | Preserved |
/clear all | ✅ Deleted | ✅ Reset | Preserved |
/purge | ✅ Deleted | Preserved | ✅ Deleted |
/reset confirm | ✅ Deleted | ✅ Hard reset | ✅ Deleted |
/clear
# Reset skills, employees, MCP, and session (memory kept)
/clear all
/clear. "스킬까지 초기화해줘" → /clear all./purge
Deletes conversation history and all structured memory (memory/structured/). Skills, employees, and configuration are preserved. Use this when you want the agent to forget everything it learned about you and your project in this instance, but keep the tools and integrations intact.
This is stronger than /clear (which keeps memory) but lighter than /reset confirm (which also wipes skills and employees).
/purge
/purge./compact
Compresses the current conversation context by summarizing previous exchanges while preserving key decisions, code changes, and important context. This is essential for long sessions where you are approaching the context window limit but do not want to lose the thread entirely.
The agent reads the full conversation, identifies critical information (decisions made, files modified, errors encountered, goals in progress), and produces a dense summary that replaces the full history. You can optionally pass instructions to guide what the summary should focus on.
Arguments:
| Argument | Required | Description |
|---|---|---|
instructions | No | Natural language guidance for what to prioritize in the summary (e.g., "keep the API decisions", "focus on the auth flow") |
/compact
# Compress with specific focus
/compact keep the database schema decisions and migration plan
# Compress focusing on errors and fixes
/compact focus on the bugs we found and how we fixed them
# Korean instructions work too
/compact API 설계 결정사항만 유지해줘
/compact. When you see token usage climbing past 60-70%, this is your best friend./reset
Performs a full bootstrap reset — the most destructive cleanup option. Clears conversation history, deletes all structured memory, hard-resets skills to factory defaults, resets employees, and re-syncs MCP. Only settings.json (server config, auth tokens, CLI subscriptions) survives.
Because this is destructive, the command requires confirm as an argument. Without it, the agent shows what will be deleted and asks you to confirm.
Arguments:
| Argument | Required | Description |
|---|---|---|
confirm | Yes | Required to execute. Without it, shows a confirmation prompt. |
What is deleted vs. preserved:
| Deleted (bootstrap reset) | Preserved |
|---|---|
| Conversation history | settings.json (ports, tokens, subscriptions) |
| Structured memory (memory/structured/) | — |
| All installed skills (hard reset to defaults) | — |
| Employee configurations | — |
| MCP state | — |
/reset
# Execute bootstrap reset immediately
/reset confirm
# Typical flow: instance is deeply broken, start from scratch
/reset confirm
"처음부터 다시 설정하자"
/reset confirm. For lighter cleanup, use /clear, /clear all, or /purge instead./steer
Redirects the agent mid-conversation without clearing history. Use this when the agent is heading in the wrong direction or you want to pivot to a different approach while keeping the existing context. The steer prompt is injected as a high-priority system-level instruction that overrides the agent's current trajectory.
This is more surgical than /clear — you keep the full conversation history and context, but the agent re-evaluates its approach based on your new direction. It is ideal for course corrections: "stop doing X, do Y instead."
Arguments:
| Argument | Required | Description |
|---|---|---|
prompt | Yes | A natural language instruction describing the new direction, approach, or constraint |
/steer stop using class components, use hooks instead
# Change language/framework
/steer switch to TypeScript for all new files
# Adjust behavior
/steer be more concise, skip explanations, just show code
# Korean works naturally
/steer 설명 생략하고 코드만 보여줘
# Pivot task direction
/steer 이 방식 말고 WebSocket으로 구현하자
/steer makes it explicit and forceful.When to Use Which
Choosing the right session command depends on how much state you want to preserve:
| Scenario | Command | Why |
|---|---|---|
| Conversation is too long, approaching token limit | /compact | Preserves key decisions while freeing tokens |
| Done with current topic, starting a new task | /clear | Fresh conversation, same workspace state |
| Want to reset skills/employees too, but keep memory | /clear all | Deeper cleanup without losing memory |
| Agent is going the wrong way | /steer | Course-correct without losing context |
| Want the agent to forget everything learned | /purge | Conversation + memory gone, tools stay |
| Instance is deeply broken, start from scratch | /reset confirm | Bootstrap reset — only settings.json survives |
| Cannot remember a command name | /commands | Searchable palette of everything available |
| Need to check token usage or loaded skills | /status | Session diagnostics at a glance |
| New to CLI-JAW, exploring features | /help | Documentation built into the chat |
Command Lifecycle
Session commands operate at different levels of the CLI-JAW stack:
/helpand/commandsare read-only — they display information without modifying state./statusreads from multiple subsystems (model, skills, memory, goals) and aggregates a snapshot./clearwipes the message buffer but leaves the session shell (skills, config, memory) intact./clear allalso resets skills, employees, and MCP./purgewipes messages and structured memory, but keeps skills and employees./compactrewrites the message buffer — it reads all messages, generates a summary, then replaces the history with the compressed version./steerinjects a priority instruction into the system context without touching the message history./reset confirmperforms a full bootstrap reset — messages, memory, skills (hard), employees, and MCP are all cleared. Only settings.json survives.
/clear. The slash commands exist for precision and speed, but CLI-JAW's intent detection handles the rest.