Skip to content

[FEATURE] Non-interactive mode for claude doctor #26487

Description

@andybergon

claude doctor exists as a CLI subcommand but requires interactive input (an Enter press) to complete. This makes it unusable from scripts, hooks, or from within a running Claude Code session (nested sessions are blocked).

It'd be great if it could run fully non-interactively, e.g.:

claude doctor --no-input     # run checks, print results, exit 0/1
claude doctor --json         # structured output for scripting

My use case: I have hooks/scripts that modify settings.json and want to validate the config afterward without opening a separate interactive session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions