> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# deepline doctor

> Verify CLI, skills, auth, workspace, and API connectivity.

## doctor

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline doctor [options]

Verify CLI, skills, auth, workspace, and API connectivity.

Options:
  --scope <scope>  Expected setup scope: global or local (default: "global")
  --json           Emit one JSON result envelope
  -h, --help       display help for command
```

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Explanation:
  Purpose:
    Read-only diagnosis of the local install: CLI version, skills, auth,
    workspace, and API connectivity, with suggested repairs.
  When:
    When something local is wrong (skills missing, auth file odd). Doctor is
    stricter and exits 7
    when any check fails, which is common in sandboxes with no skills on disk.
  Input:
    --scope global|local. --json.
  Output (JSON):
    Check results with status and repair hints. Exit 7 means at least one
    check failed; the JSON says which.
  Cost:
    Free.
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.