Answer: The `repo` parameter only resolves to clones Claude Code has already seen, so run `claude` inside the clone once so Claude Code records its path, or switch the link to use `cwd` with an absolute path. Status: Confirmed Entry: tool/claude-code/troubleshooting/deep-link-opens-home-directory Revision: 1 Digest: sha256:49e2107dd8c085fc (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:58Z Last changed: 2026-11-13T03:03:58Z Last verified: 2026-11-20T12:20:07Z Next check: 2026-11-21T12:20:07Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of cause | The `repo` parameter only resolves to clones Claude Code has already seen | [1] | 2026-11-20 fix | Run `claude` inside the clone once so Claude Code records its path | [1] | 2026-11-20 alternative fix | switch the link to use `cwd` with an absolute path | [1] | 2026-11-20 Sources: [1] Anthropic. "Launch sessions from links". https://code.claude.com/docs/en/deep-links.md Role: primary. Accessed: 2026-11-20T12:20:07Z Quote: "The `repo` parameter only resolves to clones Claude Code has already seen." (Supports: cause) Quote: "Run `claude` inside the clone once so Claude Code records its path" (Supports: fix) Quote: "switch the link to use `cwd` with an absolute path" (Supports: alternative fix) Published: 2026-11-20T10:36:06Z Snapshot SHA-256: 9a2ba767a17696ddcfe7f1cc0b6d3f8da82882922555fd605045b6e18eeb3f8f (captured 2026-11-13T03:03:57Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:03:58Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:20:07Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:07Z Last attempt: 2026-11-20T12:20:07Z Notes and limitations: Extracted automatically from a single official source (section "The session opens in my home directory instead of the repo"). Related: https://latestn.com/tool/claude-code/troubleshooting/disable-uninstall-security-plugin How do I disable or uninstall the security-guidance plugin in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/extension-not-detected How do I troubleshoot when Claude Code's Chrome extension is not detected? https://latestn.com/tool/claude-code/troubleshooting/fast-mode-requirements What are the requirements to use fast mode in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/confirm-hipaa-configuration How do I confirm the HIPAA configuration is applied on a developer's computer? https://latestn.com/tool/claude-code/troubleshooting/costs-on-failures-and-crashes How do I track costs on failed conversations or recover totals after a session crash in the Claude Agent SDK? https://latestn.com/tool/claude-code/troubleshooting/cross-session-messaging-availability What Claude Code versions and platforms are required for cross-session messaging? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/deep-link-opens-home-directory/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/deep-link-opens-home-directory POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/deep-link-opens-home-directory with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/deep-link-opens-home-directory?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Why does my Claude Code deep link open in my home directory instead of the repo? Revision 1, last verified 2026-11-20T12:20:07Z. https://latestn.com/tool/claude-code/troubleshooting/deep-link-opens-home-directory (accessed 2026-11-21T09:58:17Z). @misc{LatestN_tool_claude_code_troubleshooting_deep_link_opens_home_directory_r1, title = {Why does my Claude Code deep link open in my home directory instead of the repo?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/deep-link-opens-home-directory}}, note = {Revision 1; digest sha256:49e2107dd8c085fc; last verified 2026-11-20T12:20:07Z; accessed 2026-11-21T09:58:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/deep-link-opens-home-directory