In Claude Code, resolves next to itself and runs it on . The hook does not block the prompt: it supplies the report through with an instruction to print it verbatim inside a fenced code block. Do exactly that, and do not calculate, recompute or re-round the numbers yourself. In Gemini CLI, direct the user to for current session token usage or for session statistics. Gemini custom commands are prompts; they cannot invoke the built-in command or read its live session metrics. Never read Claude Code transcripts as Gemini usage. In other hosts, use a native usage report if one is available; other…