Documentation Update: Missing CLI Slash Commands and Flags

Resolved 💬 7 comments Opened Aug 25, 2025 by coygeek Closed Jan 9, 2026

Title: Documentation Update: Missing CLI Slash Commands and Flags

Labels: documentation, enhancement

Body

Overview

This issue identifies a number of discrepancies between the current functionality of the Cloud Code CLI (as of v1.0.90) and the official documentation available at docs.anthropic.com. Several slash commands and command-line flags are available to users but are not documented, which can lead to confusion and prevent users from discovering useful features.

This analysis is based on a cross-reference between the output of claude --help, the interactive / command list, and the documentation content as of today.

Missing Slash Commands

The following slash commands are available in the CLI but are not listed on the Slash Commands documentation page:

  • /bashes - List and manage background bash shells.
  • /context - Visualize current context usage. (Referenced in changelog for v1.0.86)
  • /export - Export the current conversation to a file or clipboard. (Referenced in changelog for v1.0.44)
  • /ide - Manage IDE integrations and show status.
  • /install-github-app - Set up Claude GitHub Actions for a repository.
  • /migrate-installer - Migrate from global npm installation to local installation.
  • /output-style & /output-style:new - Set or create a custom output style. (Referenced in changelog for v1.0.81)
  • /release-notes - View release notes.
  • /security-review - Complete a security review of pending changes.
  • /upgrade - Upgrade to a different plan.

Recommendation: Add these commands to the main table on the slash-commands.md page with brief descriptions of their purpose.

Missing CLI Flags

The following command-line flags are available in claude --help but are not documented on the CLI Reference page:

  • -d, --debug [filter]
  • Description: Enable debug mode with optional category filtering (e.g., "api,hooks" or "!statsig,!file").
  • --mcp-debug
  • Description: [DEPRECATED. Use --debug instead] Enable MCP debug mode (shows MCP server errors).
  • --replay-user-messages
  • Description: Re-emit user messages from stdin back on stdout for acknowledgment (only works with --input-format=stream-json and --output-format=stream-json).
  • --mcp-config <configs...>
  • Description: Load MCP servers from JSON files or strings (space-separated).
  • --fallback-model <model>
  • Description: Enable automatic fallback to specified model when default model is overloaded (only works with --print).
  • --settings <file-or-json>
  • Description: Path to a settings JSON file or a JSON string to load additional settings from.
  • --ide
  • Description: Automatically connect to IDE on startup if exactly one valid IDE is available.
  • --strict-mcp-config
  • Description: Only use MCP servers from --mcp-config, ignoring all other MCP configurations.
  • --session-id <uuid>
  • Description: Use a specific session ID for the conversation (must be a valid UUID).
  • -v, --version
  • Description: Output the version number.
  • -h, --help
  • Description: Display help for command.

Recommendation: Add these flags to the table on the cli-reference.md page.

Action Items
  1. Update the slash-commands.md documentation to include the missing commands.
  2. Update the cli-reference.md documentation to include the missing CLI flags.
  3. Perform a general review of related pages (e.g., settings.md, mcp.md) to ensure consistency with the newly documented features.

Updating the documentation will significantly improve the user experience and ensure that all available features are discoverable. Thank you

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗