Skip to content
claude.dev BlogAddy Osmani

Claude Code mods intro: build a context monitor plugin

Getting started with Claude Code mods

This Claude Code mods guide builds a roughly 80-line Token Weather plugin from scratch that shows live context window usage above the prompt. It targets Claude Code 2.1.287 or later and covers event hooks, hot reload, state persistence, verification tests and plugin distribution.

Why it matters: A hands-on walkthrough that ties event hooks, state persistence and testing into reusable steps for customizing the Claude Code interface.

Read the original ↗Export Markdown