You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Browser does not open when launched via Claude Code skill (non-TTY environment) #154
When plannotator review is executed via a Claude Code skill (slash command /plannotator-review), the server starts and listens on a port correctly, but the browser does not automatically open.
Running the same command directly in the terminal works fine — the browser opens and navigates to the correct URL.
Steps to Reproduce
Install plannotator as a Claude Code plugin
Run /plannotator-review in Claude Code (which triggers the skill defined in plannotator-review.md)
The server starts and listens on a port (confirmed via lsof)
The browser never opens
Expected Behavior
The browser should open and navigate to the plannotator review UI, just like when running plannotator review directly in a terminal.
Actual Behavior
The server starts and listens on the port successfully
The browser does not open
Manually running open http://localhost:<port> works as a workaround
Root Cause Analysis
When Claude Code executes a skill command, it runs the process with:
It appears that plannotator's browser-opening logic is either:
Checking for a TTY and skipping open when none is detected, or
Failing silently when attempting to open the browser in this environment
Suggested Fix
Consider always attempting to open the browser regardless of TTY status, or provide a fallback that prints the URL to stdout so the calling agent can open it. For example:
Server running at http://localhost:51119
This would allow Claude Code (or any non-TTY caller) to detect the URL and open it.
Thanks for the report. I am consolidating the older backlog so related work has one current tracking issue.
This specific request is now tracked in #899 as part of the remote and multi-session session router work. During the June 13, 2026 older-than-two-month triage, I copied the relevant requirement from this issue into #899 and explained why it belongs with the related work.
I am closing this older issue so the backlog points at the current tracking issue. If there is a newer reproduction or a detail that is missing from #899, please comment there.
Activity
rerorero commentedon Feb 18, 2026
Could #163 be the cause?
materemias commentedon Feb 20, 2026
I am still experiencing this with v0.8.2
fix(opencode): notify URL in remote mode and add 10-min timeout
fix(browser): treat no-op BROWSER values as unset so headless session…
backnotprop commentedon Jun 13, 2026
Thanks for the report. I am consolidating the older backlog so related work has one current tracking issue.
This specific request is now tracked in #899 as part of the remote and multi-session session router work. During the June 13, 2026 older-than-two-month triage, I copied the relevant requirement from this issue into #899 and explained why it belongs with the related work.
I am closing this older issue so the backlog points at the current tracking issue. If there is a newer reproduction or a detail that is missing from #899, please comment there.