claude-code - 💡(How to fix) Fix [DOCS] Terminal output docs missing remote-host behavior for `owner/repo#N` links [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52610Fetched 2026-04-24 06:02:32
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/fullscreen

Section/Topic

Use the mouse section, specifically the part that explains which kinds of terminal output become clickable links

Current Documentation

The current docs describe clickable URLs, file paths, and the footer PR link, but not owner/repo#N shorthand links in Claude's output:

  • Click a URL or file path to open it. File paths in tool output, like the ones printed after an Edit or Write, open in your default application. Plain http:// and https:// URLs open in your browser.

When working on a branch with an open pull request, Claude Code displays a clickable PR link in the footer (for example, "PR #446"). The link has a colored underline indicating the review state:

The GHES docs also explain host detection in other contexts, but not for output shorthand links:

Once your admin has connected the GHES instance, no developer-side configuration is needed. Claude Code detects your GHES hostname automatically from the git remote in your working directory.

What's Wrong or Missing?

Changelog v2.1.119 says: owner/repo#N shorthand links in output now use your git remote's host instead of always pointing at github.com.

That behavior is not documented on the terminal/UI pages. The docs do not explain:

A. that Claude output can render owner/repo#N issue/PR references as clickable links

B. that the generated link target now follows the repository host inferred from the current git remote, which matters for GitHub Enterprise Server and other non-github.com remotes

Without this, GHES users have no documentation telling them that shorthand links in Claude output should now open against their own Git host instead of always opening github.com.

Suggested Improvement

Add a short note to the terminal interaction docs (likely fullscreen and/or interactive-mode) documenting output shorthand links.

Suggested content outline:

  • owner/repo#123 references in Claude output can be clickable in terminals that support link handling
  • These links use the host from the current repository's git remote when Claude can infer it
  • On GHES, that means links can open on the organization's GHES hostname instead of github.com
  • Cross-reference the GHES page so enterprise users know this behavior is supported there too

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/fullscreenDocuments which terminal output links are clickable today
https://code.claude.com/docs/en/interactive-modeDocuments the clickable PR footer link, but not shorthand links in normal output
https://code.claude.com/docs/en/github-enterprise-serverDocuments git-remote host detection for GHES workflows and is the natural place to mention host-aware shorthand links

Total scope: 3 pages affected

Source: Changelog v2.1.119

Exact changelog entry: owner/repo#N shorthand links in output now use your git remote's host instead of always pointing at github.com

extent analysis

TL;DR

Add documentation for owner/repo#N shorthand links in terminal output to explain their clickability and host inference from the git remote.

Guidance

  • Review the suggested improvement outline to ensure it covers all necessary points, including clickability, host inference, and GHES support.
  • Update the fullscreen and/or interactive-mode documentation pages to include the new information, following the suggested content outline.
  • Cross-reference the GHES page to provide a clear connection between the feature and its support in enterprise environments.
  • Verify the changes by checking the affected pages (fullscreen, interactive-mode, and github-enterprise-server) for accuracy and consistency.

Example

No code snippet is necessary for this documentation update, but the suggested content outline can serve as a starting point for the new documentation:

  • owner/repo#123 references in Claude output can be clickable in terminals that support link handling
  • These links use the host from the current repository's git remote when Claude can infer it
  • On GHES, that means links can open on the organization's GHES hostname instead of github.com
  • Cross-reference the GHES page for more information on git-remote host detection for GHES workflows

Notes

The update should be applied to the three affected pages to ensure consistency and completeness of the documentation.

Recommendation

Apply the workaround by adding the suggested documentation to the affected pages, as this will provide the necessary information for users to understand the feature and its behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Terminal output docs missing remote-host behavior for `owner/repo#N` links [1 participants]