jr-context

jr-context is a Claude Code mod by jrlprost that the context window in one quiet row above the prompt: a mini bar coloured by category, the fill and the window, turning into an alert when compaction is near. /jr-context hides or shows.

Updated 2026-10-25

What is jr-context?

jr-context is a Claude Code mod by jrlprost that the context window in one quiet row above the prompt: a mini bar coloured by category, the fill and the window, turning into an alert when compaction is near. /jr-context hides or shows. It is listed under Context & memory and has 4 GitHub stars.

TypeClaude code mod
Authorjrlprost
Repositoryjrlprost/claude-code-mods
Popularity4 GitHub stars
CategoryContext & memory
SecurityLow risk (100/100)
Rank#1,563 of 9,397 Claude Code mods; #157 in Context & memory
LicenseMIT
Last commit2026-10-25
Hooks6 events
Seesevery tool call
Draws onPane, AbovePrompt

Is jr-context safe to install?

jr-context scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install jr-context?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/jrlprost/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/jr-context
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add jrlprost/claude-code-mods && claude plugin install jr-context@claude-code-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs jr-context for you:

Install the "jr-context" Claude Code mod from https://github.com/jrlprost/claude-code-mods/tree/main/plugins/jr-context. Run claude plugin validate on it first and show me what it can access before you enable it.

More from jrlprost/claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • jr-awake: Keeps the Mac awake while Claude works, shared by every session on the machine, and warns before the next sleep. (Review before installing)
  • jr-badge: A coloured project badge and its branch, on the right above the prompt, so you always know which window you are typing i (Review before installing)
  • jr-cache-clock: A toast 30 seconds before the prompt cache goes cold, and on /jr-cache-clock a quiet countdown above the prompt: how lon (Low risk)
  • jr-commit-coach: Nudges you toward small atomic commits: when uncommitted changes pass a threshold, a band and a toast suggest a split by (Low risk)
  • jr-decisions: A decision journal per project: /jr-decisions or a prompt starting with "decision:" records one, /jr-decisions lists the (Review before installing)
  • jr-deploy-guard: Production deploys and pushes to main always come to you for confirmation, even when your rules allow them. Optional: no (Low risk)
  • jr-deslop: Flags AI-writing tells (em dashes, "delve", "not X, but Y", stock openers...) in the prose files Claude writes. A toast (Low risk)
  • jr-dictation: Fixes what dictation mishears ("cloud code" → Claude Code) before Claude reads your prompt, and shows each fix in your p (Low risk)