Claude Code mod

spectra

KOZMOS Spectra: the context X-ray. The context window broken down by category as a heat grid with a ranked legend, context growth per turn, and an estimate of how many turns remain before auto-compact. /spectra toggles the sidebar.

21 starsContext & usage mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add ersinkoc/claude-mods
/plugin install spectra@kozmos

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
Pane
Hooks
session.startcommand.runturn.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
mods/spectra
Marketplace
kozmos
Author
KOZMOS
License
MIT
Last updated
20 October 2026

FAQ

What is spectra?

KOZMOS Spectra: the context X-ray. The context window broken down by category as a heat grid with a ranked legend, context growth per turn, and an estimate of how many turns remain before auto-compact. /spectra toggles the sidebar. It is a mod for Claude Code, from ersinkoc/claude-mods on GitHub.

What can the spectra mod access?

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

How do I install spectra?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add ersinkoc/claude-mods and then /plugin install spectra@kozmos.

Is spectra popular?

ersinkoc/claude-mods has 21 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 20 October 2026.

More context & usage mods

mosaic

21

ersinkoc/claude-mods

KOZMOS Mosaic: a GitHub-style activity calendar across sessions. 26 weeks of days colored by turns, tool calls, tokens or dollars, with the current and longest streak, the best day, totals and today's line. /mosaic toggles the sidebar.

Context & usage mods/plugin install

stamp

21

ersinkoc/claude-mods

KOZMOS Stamp: a receipt on every finished turn. The closing 'Baked for 42s' line becomes a compact row of duration, tool calls by family as colored chips, tokens in and out, the turn's cost and the context fill with its change. /stamp toggles it.

Context & usage mods/plugin install

epilogue

21

ersinkoc/claude-mods

KOZMOS Epilogue: a recap band after every turn. Duration, tool families as colored chips, files written, subagents spawned, tokens and estimated cost, the session cost delta and failed tools, with an optional AI one-liner. /epilogue opens the last 20 recaps.

Context & usage mods/plugin install

throttle

21

ersinkoc/claude-mods

KOZMOS Throttle: a car dashboard above the prompt. Speedometer of output tokens per second, fuel gauge of the 5-hour limit, temperature of the context, an odometer of session dollars, and check-engine, fuel and overheat lamps. /throttle toggles it.

Context & usage mods/plugin install

compass

21

ersinkoc/claude-mods

KOZMOS Compass: the single most useful hint under the prompt. In order: the 5-hour limit near its end with its reset, a context window near full, agents still working, uncommitted changes after edits, a draft left waiting; otherwise the engine's own hint. /compass toggles it.

Context & usage mods/plugin install

tokenomics

21

ersinkoc/claude-mods

KOZMOS Tokenomics: the cost lab. Session cost as the headline, an estimated split by model and by token type, cache hit ratio, burn per hour, cost per turn, a pace forecast and daily and weekly totals across sessions with a 14-day chart. /tokenomics toggles the sidebar.

Context & usage mods/plugin install

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