agentwares

Which Model — AI skill for Claude Code

AI community

Which model actually answered your coding agent, from your own machine: Claude Code and Codex transcripts read locally for model switches and the notices before them, reasoning-token spikes at fixed v.

How to install Which Model

This entry records only its repository, not the path inside it, so there is no exact command to give. Open agentwares/which-model and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Which Model does

Which model actually answered your coding agent, from your own machine: Claude Code and Codex transcripts read locally for model switches and the notices before them, reasoning-token spikes at fixed values, and context-ceiling changes. Sends nothing.

Alternatives in AI

  • AI Review Local — Run AI code review locally using Codex CLI or OpenAI API before opening a PR 387 ★
  • Syrtis — AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph 368 ★
  • TokenBar — AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph 299 ★

README

which-model

**Which model actually answered your coding agent, from your own machine.**

npx --allow-git=root github:agentwares/which-model

![which-model on synthetic history](https://raw.githubusercontent.com/agentwares/which-model/main/docs/screenshot.svg)

The picture is the real output of `npx --allow-git=root github:agentwares/which-model demo`, which runs on synthetic history generated for the demo, not anyone's usage. It is regenerated by `pnpm screenshot` and a test fails if it drifts from what the CLI prints.

which-model reads the transcripts Claude Code and Codex already keep on your machine and tells you:

  • which models answered, by day and by session;
  • switches nothing you did explains: a Claude Code session whose responses moved to another model with no /model from you, and what the transcript records just before it (a fallback notice the client wrote, a client update, or nothing), plus how many responses and hours the other model then served;
  • the reasoning-token distribution per model, with spikes at fixed values such as the 516 / 1,034 / 1,552 clusters people found in Codex;
  • step changes in reasoning tokens per response, tokens per task, the largest prompt of the day and Claude Code's auto-compaction point, and every change in the context window Codex reports, with the date and the client version where each starts.

It is MIT, makes no network request, has no telemetry and needs no account. Its output holds model ids, client versions, dates, counts and session ids, never a prompt, a response, a file path or a project name, so you can paste it into an issue as it is.

Commands

npx --allow-git=root github:agentwares/which-model                       # all history on this machine
npx --allow-git=root github:agentwares/which-model --since 30d           # or --since 2026-07-01, --since 12w
npx --allow-git=root github:agentwares/which-model --session 1a2b3c4d    # one session in order (