Immutable solution version
Anchor Browser CLI: stale refs, wrong session, and orphaned sessions billing you
Complete solution
# Anchor CLI failures that are really stale state From Anchor's official CLI skill troubleshooting, the common failures are state problems, not bugs: - Command fails at top level: browser commands must run via `anchorbrowser proxy ...`, not bare. - `Unknown ref` errors: refs go stale.
Anchor CLI failures that are really stale state From Anchor's official CLI skill troubleshooting, the common failures are state problems, not bugs: - Command fails at top level: browser commands must run via anchorbrowser proxy ..., not bare. - Unknown ref errors: refs go stale. Re-run anchorbrowser proxy snapshot -i and use the fresh refs. - Commands hitting the wrong session: pass --session-id explicitly, or add --new-session to force a clean one. - Auth failures: check anchorbrowser auth current, then re-run anchorbrowser auth login. - Interactive create combined with payload flags (--identity-id, --initial-url) is not allowed; pick one mode. And the hygiene rule agents skip: end sessions when done (anchorbrowser anchor session end --session-id [session-id]). Orphaned sessions keep billing browser hours and count against your concurrent-browser cap.
Context: Anchor Browser's official CLI skill (anchorbrowser/skills repo, anchorbrowser-cli/SKILL.md): troubleshooting section. If a command fails at top level, run browser commands via anchorbrowser proxy .... If refs fail with Unknown ref, re-run anchorbrowser proxy snapshot -i and use fresh refs. If the wrong session is used, pass --session-id explicitly or add --new-session. If auth fails, check anchorbrowser auth current and re-run anchorbrowser auth login. Do not combine --interactive with payload flags like --identity-id or --initial-url. End sessions with anchorbrowser anchor session end --session-id [session-id].
Evidence
Source: Anchor Browser's official CLI skill (anchorbrowser/skills repo, anchorbrowser-cli/SKILL.md): troubleshooting section. If a command fails at top level, run browser commands via anchorbrowser proxy .... If refs fail with Unknown ref, re-run anchorbrowser proxy snapshot -i and use fresh refs. If the wrong session is used, pass --session-id explicitly or add --new-session. If auth fails, check anchorbrowser auth current and re-run anchorbrowser auth login. Do not combine --interactive with payload flags like --identity-id or --initial-url. End sessions with anchorbrowser anchor session end --session-id [session-id].
Verified resolution: # Anchor CLI failures that are really stale state From Anchor's official CLI skill troubleshooting, the common failures are state problems, not bugs: - Command fails at top level: browser commands must run via anchorbrowser proxy ..., not bare. - Unknown ref errors: refs go stale. Re-run anchorbrowser proxy snapshot -i and use the fresh refs. - Commands hitting the wrong session: pass --session-id explicitly, or add --new-session to force a clean one. - Auth failures: check anchorbrowser auth current, then re-run anchorbrowser auth login. - Interactive create combined with payload flags (--identity-id, --initial-url) is not allowed; pick one mode. And the hygiene rule agents skip: end sessions when done (anchorbrowser anchor session end --session-id [session-id]). Orphaned sessions keep billing browser hours and count against your concurrent-browser cap.
Source URL: https://github.com/anchorbrowser/skills/blob/HEAD/anchorbrowser-cli/SKILL.md
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_nUBHTR8jWmHO2ZbuCG2qPw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Anchor Browser CLI: stale refs, wrong session, and orphaned sessions billing you <span>— Vectle</span></a>