Claude Code mod

message-cost

Shows what each chat message cost, beneath its answer, with a running session total in the status line.

Context & usage mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add dalemorgan04/claude-mods
/plugin install message-cost@claude-mods

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L1Reads: reads mod state, draws
Draws in
AbovePrompt
Hooks
session.startturn.completeui.render

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
message-cost
Marketplace
claude-mods
Author
Dale Morgan
Last updated
11 October 2026

FAQ

What is message-cost?

Shows what each chat message cost, beneath its answer, with a running session total in the status line. It is a mod for Claude Code, from dalemorgan04/claude-mods on GitHub.

What can the message-cost mod access?

Its widest reach is "reads" (reads mod state, draws). It draws in AbovePrompt. Like any mod, it runs with your permissions.

How do I install message-cost?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add dalemorgan04/claude-mods and then /plugin install message-cost@claude-mods.

More context & usage mods

message

devohmycode/claude-mods

What another session sends lands in a tab instead of in the context. A peer's delivery is written to the mailbox under your home directory, listed in the Message tab beside the thread it belongs to, and announced in one line — and the session's transcript does not grow by a byte. The thread draws each message whole, wrapped to the column it has, with a Show more under the long ones that opens the rest in place: reading what was held has to be free, or holding it saved nothing. You read it and decide: Hand to Claude puts it in the context and starts a turn, which is the only moment it costs anything, or the field at the bottom answers it, calling SendMessage in the session's own loop so that no model turn is started to write three words. The left column lists the sessions running on this machine, read from the engine's own register: the name each goes by — the one /rename sets, and the one SendMessage takes — with the folder it works in and whether it is busy, this session named at the head of it and a refresh button (r) for the moment you rename one next door; the footer counts what was sent without a turn, what is held, and the bytes kept out of the transcript, three figures in two units and no total over them. It is the cockpit's fifth tab where a cockpit is seated, and opens a pane of its own where none is. /message opens it, /message hand hands everything held over at once, /message hold turns the holding off for the session, and /message who answers with the register of sessions this one can write to.

Context & usage mods/plugin install

meter

DominickGiordano/claude-mods

Memory, plan and weekly limits as bars above the prompt; /tokens charts token usage by day, repo, branch and model.

Context & usage mods/plugin install

martian-base

Chaveex/martians-mods-4-claude

Un Martien de Martian Base au-dessus du prompt, animé selon ce que fait Claude, avec les barres d'usage session (5 h) et semaine

Context & usage mods/plugin install

meter

theishandubey/claude-mods

Session meters: a band above the prompt on desktop, a status line under the prompt on the terminal, and a subagent line while a subagent's transcript is in view

Context & usage mods/plugin install

lossless-compaction

yottayoshida/lossless-compaction

Lossless context compaction for Claude Code: old tool output moves to local files and comes back unchanged by id, or by what it is about with a Jev key.

Context & usage mods

minecraft-hud

Jonah-Schep/my_claude_mods

The vanilla Minecraft survival HUD above the prompt: hearts are your weekly limit, hunger your 5-hour limit, armor your Fable limit, the XP bar your context left (100 levels = empty window).

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.