Fixes a real user frustration: with the dashboard daemon installed and http://localhost:24842/token-optimizer bookmarked, /token-optimizer and /token-dashboard kept opening file:// paths anyway. The bookmarked URL was never the entry point.
What changed
- Audit dashboard mirrors to the persistent path.
/token-optimizerstill writes its audit result to the coord-path so each run keeps a self-contained artifact, but it now also writes the same HTML to~/.claude/_backups/token-optimizer/dashboard.html. The live daemon immediately serves the fresh audit content. - URL-first browser open. When the daemon identity probe passes, the skill opens
http://localhost:24842/token-optimizerinstead of a throwawayfile://path. Falls back tofile://only when the daemon is unreachable. - Version badge on the Overview tab. Shows which Token Optimizer wrote the HTML and when, so stale-cache confusion becomes visible at a glance.
- View-source hint. A one-line note under the Overview header says whether you are viewing the live URL or a local file, with a
setup-daemonpointer when you are onfile://.
Upgrade
/plugin update token-optimizer, then hard-reload the dashboard tab (Cmd-Shift-R / Ctrl-Shift-R). Next time you run /token-optimizer or /token-dashboard with the daemon live, the browser lands on your bookmark URL.
Setup a bookmarkable URL if you don't have one yet
python3 $MEASURE_PY setup-daemon
macOS (launchd), Windows (Task Scheduler), and Linux (systemd --user) all supported since v5.3.5.