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:

  1. Fire a PostToolUse hook with tool_name: "advisor" (and ideally tool_input containing the configured advisor model) so hooks can react to advisor calls
  2. Include advisor state in the status line JSON — e.g. a top-level advisor field with { model, call_count, last_called_at }
  3. Log advisor calls to the transcript so they can be parsed by Stop hooks

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

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗