Skip to main content

Daily usage workflow

Minimal operating checklist for daily coding with the LiteLLM proxy stack.

Start of day

With --restart always enabled, Docker usually auto-recovers your proxy. In most cases you only need one command.

claude-nim

Operational commands

Keep these commands handy for restart, inspection, and session recovery.

# Launch commands
claude-nim
docker start litellm-nim
docker logs litellm-nim

# Management commands
docker stop litellm-nim
docker restart litellm-nim
claude-nim --resume <id>

Inside Claude Code

Commands available in the Claude Code session

Once you're inside Claude Code (after running claude-nim), you can use these commands:

CommandDescription
/modelSwitch between Sonnet / Opus / Haiku model slots
/compactFree up context when sessions get slow
/initGenerate CLAUDE.md for your project (recommended)
/clearClear conversation history, start fresh
/resume [session]Resume a previous conversation
/export [filename]Export conversation as text
/diffView uncommitted changes interactively
/doctorDiagnose installation issues
/contextVisualize context usage
/costShow token usage statistics
/btw <question>Ask a quick side question
/tasksList and manage background tasks
Ctrl+BBackground running tasks
Ctrl+OToggle transcript viewer
Ctrl+RReverse search command history
! <command>Run bash command directly

Complete Reference

All Claude Code commands

Type / inside Claude Code to see all available commands, or use the quick reference below.

Session Management

/resume [session]Resume a previous conversation by ID or name
/export [filename]Export conversation as plain text
/compact [instructions]Compress conversation to free context
/branch [name]Create a conversation branch at this point
/clearClear conversation history and start fresh
/exitExit the CLI (alias: /quit)
💻

Development Workflow

/batch <instruction>Run parallel agents for large-scale changes
/simplify [focus]Auto-review code for quality improvements
/security-reviewAnalyze changes for security vulnerabilities
/diffView uncommitted changes interactively
/pr-comments [PR]Fetch and display PR comments
🔧

Debugging & Diagnostics

/doctorDiagnose and verify installation issues
/debug [description]Enable debug logging for troubleshooting
/contextVisualize context usage as a grid
/costShow token usage statistics
/usageShow plan usage limits and rate limits

Model & Performance

/model [model]Switch models without clearing context
/effort [level]Set model effort (low/medium/high/auto)
/fast [on|off]Toggle fast mode on or off
/effortShow current effort level
⚙️

Settings & Configuration

/configOpen settings interface (alias: /settings)
/themeChange color theme
/color [color]Set prompt bar color for session
/permissionsManage allow/ask/deny rules
/statusShow version, model, account info
🚀

Productivity & Utilities

/btw <question>Ask quick side question without cluttering context
/tasksList and manage background tasks (alias: /bashes)
/statsVisualize daily usage, sessions, streaks
/insightsGenerate session analysis report
/memoryEdit CLAUDE.md memory files

Session Management

Resuming previous work

List available sessions and resume where you left off:

ls ~/.claude/sessions/
claude-nim --resume <session-id>