Claude Code mod
nextcost
See what your next message costs: a live band above the prompt with the prompt-cache countdown, the re-warm price, session cost, context and your 5h/7d limits.
Install
/plugin marketplace add HMarzban/claude-mod
/plugin install nextcost@hossein-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads files, reads env vars, reads settings, reads mod state, persists state, draws
- Sees
- classic hooks, every prompt, compaction
- Draws in
AbovePrompt- Hooks
session.startsession.endclassic.SessionStartturn.startprompt.submitturn.completeturn.stepsession.compactsession.measurecommand.runui.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.
Details
- Repository
- HMarzban/claude-mod
- Folder
plugins/nextcost- Marketplace
hossein-mods- Author
- Hossein Marzban
- Website
- hmarzban.github.io/nextcost
- License
- MIT
- Last updated
- 1 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is nextcost?
See what your next message costs: a live band above the prompt with the prompt-cache countdown, the re-warm price, session cost, context and your 5h/7d limits. It is a mod for Claude Code, from HMarzban/claude-mod on GitHub.
What can the nextcost mod access?
Its widest reach is "writes or runs" (runs processes, reads files, reads env vars, reads settings, reads mod state, persists state, draws). It sees classic hooks, every prompt, compaction. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install nextcost?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add HMarzban/claude-mod and then /plugin install nextcost@hossein-mods.
Is nextcost popular?
HMarzban/claude-mod has 5 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 1 November 2026.
More context & usage mods
flow
5Ying-Kai-Liao/flow
Claude Code agents that work like a company, with Jev picking the right model for each task to keep cost down.
opm
5harshadmadaye/OPM
An opinionated engineering workflow for Claude Code: brainstorm -> plan -> TDD execution with fresh-context subagents -> verification -> captured learnings. Lean reviewers, stack-specific patterns for TypeScript/React, Python and Flutter, and six light safety hooks.
effort-cycle
5Anerco/claude-code-effort-cycle
Change Claude Code's effort level per agent: Ctrl+↑ and Ctrl+↓ step the main thread or the subagent in view, shown as a colored meter in the footer (‹ › to click on hover) and in the tasks list's subagent rows
squad-chat
5chrisluo5311/squad-chat
The all-in-one Claude Code plugin. Talk with your squad, share code, and keep live rooms (usage, git, weather, lo-fi and more) next to your session. Zero tokens, zero leaks to Claude.
cache-keeper
5ahmadhammoud56/MOAA
Shows when this chat's prompt cache goes cold and what re-warming costs; keeps it warm on request; suggests a strata handoff when a cold cache meets a full context
usage-hud
5lucassimzq/claude-usage-mod
A pixel Clawd above your prompt whose mood follows your context, session and weekly usage
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.