What
Claude Code now registers as a claude-cli:// URI scheme handler, allowing external applications and web pages to open Claude Code with a specific working directory and pre-filled prompt.
Details
- Auto-registers the protocol handler on macOS (via an
.appbundle), Linux (via.desktopfile andxdg-mime), and Windows (via registry entries) - Deep links can specify
cwd(working directory),repo(GitHub-styleowner/repo), andquery(pre-filled prompt) parameters - Input is validated: paths must be absolute, control characters are rejected, and length limits are enforced
- Users see a notification that the session was opened by a deep link and are prompted to review any pre-filled prompt before submitting
- Can be disabled via the
disableDeepLinkRegistrationsetting - Controlled by the
tengu_lodestone_enabledfeature flag
Evidence
Deep link handler (search for "claude-cli://", "Claude Code URL Handler", "tengu_lodestone_enabled")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Added disableDeepLinkRegistration setting to prevent claude-cli:// protocol handler registration