claudemods

All Claude Code modsWvduijn/wd-claude-mods

context-guard

A Claude Code mod in Wvduijn/wd-claude-mods

Live context meter above the prompt; asks Yes/No to save a handoff and clear when the window fills, and feeds that handoff into the next session

context-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

/plugin install context-guard --marketplace Wvduijn/wd-claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runswrites files, drives Claude, writes the prompt box, reads files, reads the transcript, reads mod state, persists state, draws

Validation

Passed on Claude Code 2.1.312

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
the system prompt
Hooks
session.start, command.run {command=handoff}, command.run {command=handoff-note}, command.run {command=handoff-status}, command.run {command=handoff-drop}, session.measure, prompt.context, ui.render {component=AbovePrompt}
API calls
$.clock.now, $.command.register, $.command.run, $.fs.read, $.fs.write, $.model.complete, $.model.fork, $.prompt.fill, $.session.cwd, $.session.id, $.session.messages, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.ui.log, $.ui.resolve, $.ui.toast
Validation on 2.1.312
Passed
Scanned revision
4895c1c69701
Marketplace warnings
wd-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for context-guard Validation badge for context-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Wvduijn--wd-claude-mods--context-guard-reach.svg)](https://mods.aidojo.si/mods/Wvduijn--wd-claude-mods--context-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Wvduijn--wd-claude-mods--context-guard-validates.svg)](https://mods.aidojo.si/mods/Wvduijn--wd-claude-mods--context-guard/)