Feature request: expose advisor invocations via hooks and/or status line JSON
Open 💬 1 comment Opened Jun 24, 2026 by GianluBandini
Summary
The advisor tool (backed by a stronger reviewer model) is completely invisible to Claude Code's extension system:
- Does not fire
PostToolUse(or any other hook event) - Does not appear in the session transcript (
.jsonl) - Does not appear in the status line JSON payload
This makes it impossible to build status line plugins, hooks, or other tooling that tracks advisor usage.
Desired behavior
At minimum, one of the following:
- Fire a
PostToolUsehook withtool_name: "advisor"(and ideallytool_inputcontaining the configured advisor model) so hooks can react to advisor calls - Include advisor state in the status line JSON — e.g. a top-level
advisorfield with{ model, call_count, last_called_at } - Log advisor calls to the transcript so they can be parsed by
Stophooks
Motivation
We investigated all available detection paths (hooks, transcript parsing, status line JSON inspection) and confirmed none work. The goal was to display the advisor model name + call count in a custom status line plugin — useful for understanding session context (how many times was the reviewer consulted, which model is backing it).
Environment
- Claude Code version: 2.1.187
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗