Claude Installation
/help Get usage help
/config Open the Settings interface (Config tab)
/doctor Checks the health of your Claude Code installation
/exit Exit the REPL
Claude Setup
/model Select or change the AI model
/output-style [style] Set the output style directly or from a selection menu
This changes how Claude Code communicates with you
1. Default ? Claude completes coding tasks efficiently and provides concise responses
2. Explanatory Claude explains its implementation choices and codebase patterns
3. Learning Claude pauses and asks you to write small pieces of code for hands-on practice
/login Switch Anthropic accounts
/privacy-settings View and update your privacy settings (Shows nothing for me)
/terminal-setup
This command configures a convenient Shift+Enter shortcut for multi-line prompts. However, I get this error on WSL: “Terminal setup cannot be run from wsl-Ubuntu”.
Solution: You can use backslash + return to add newlines.
claude --dangerously-skip-permissions
Delphi Project Setup
/add-dir Add additional working directories
/init Initialize project with CLAUDE.md guide
/export [filename] Export the current conversation to a file or clipboard
/permissions View or update permissions. Example:
- 2. Bash(cmd.exe /c “c:\\Projects\\MyProject\\Build.cmd”)
3. Bash(cmd.exe /c “C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\MSBuild.exe /version”)
4. Bash(compgen:*)
5. Bash(find:*)
6. Bash(mount:*)
7. Bash(xargs basename:*)
8. Read(//mnt/c/Projects/LightSaber AI Client/**)
9. Read(//mnt/c/Projects/LightSaber/**)
/memory Edit CLAUDE.md memory files
/clear Clear conversation history
/compact [instructions] Compact conversation with optional focus instructions. Warning: This takes credits! ⚠⚠⚠⚠⚠
Session – Working with Claude Code
/review Request code review
/rename <name> Rename the current session for easier identification
/resume [session] Resume a conversation by ID or name, or open the session picker
/rewind Rewind the conversation and/or code
Stats and costs
/usage For subscription plans only: show plan usage limits and rate limit status
/cost Show token usage statistics. See cost tracking guide for subscription-specific details.
/stats Visualize daily usage, session history, streaks, and model preferences
/status Open the Settings interface (Status tab) showing version, model, account, and connectivity
/statusline Set up Claude Code’s status line UI
/context Visualize current context usage as a colored grid
This is the output I got:
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛀ ⛁ claude-sonnet-4-5-20250929 · 161k/200k tokens (80%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System prompt: 2.9k tokens (1.4%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System tools: 15.3k tokens (7.6%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Messages: 97.5k tokens (48.8%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛶ ⛶ ⛶ Free space: 39k (19.6%) ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛝ Autocompact buffer: 45.0k tokens (22.5%) ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝
Git / Plugins
/pr-comments View pull request comments
/ide Manage IDE integrations and show status – No IDE plugin found for Delphi.
Others
/sandbox Enable sandboxed bash tool with filesystem and network isolation for safer, more autonomous execution
/security-review Complete a security review of pending changes on the current branch
/todos List current TODO items
/vim Enter vim mode for alternating insert and command modes
Cool tricks
- While the AI is thinking, you can type the next prompt without waiting for the first prompt to finish.
- You can use the
#symbol to add memory super fast. Like “always use enter after then” and it’ll automatically save that to the most relevant file.
Prompts
To include all content of a file into a conversation use the @ symbol:
> Explain the logic in @singleton.pas
For full Claude Code tutorial see this:
Pingback: Trying out Claude Code for Delphi – Delphi, in all its glory