claudemods

All Claude Code modsfabioivan/claude-code-mods

ctx-bytes-guard

A Claude Code mod in fabioivan/claude-code-mods

Compacta sozinho ao fim do turno quando o payload da conversa passa de 16 MB, inclusive em sessões headless (-p / SDK). Com o synapse-rate-limit instalado, os limites aparecem na linha dos MB.

ctx-bytes-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install ctx-bytes-guard --marketplace fabioivan/claude-code-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 runsdrives Claude, reads the transcript, reads mod state, draws

Validation

Passed

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
prompt.submit, turn.complete
API calls
$.command.run, $.session.compact, $.session.messages, $.session.usage, $.state.get, $.state.set, $.ui.toast
Validation
Passed
Scanned revision
b328d3573a19
Marketplace passed
fabioivan-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.

More from fabioivan/claude-code-mods

Badge for your README

Reach badge for ctx-bytes-guard Validation badge for ctx-bytes-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/fabioivan--claude-code-mods--ctx-bytes-guard-reach.svg)](https://mods.aidojo.si/mods/fabioivan--claude-code-mods--ctx-bytes-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/fabioivan--claude-code-mods--ctx-bytes-guard-validates.svg)](https://mods.aidojo.si/mods/fabioivan--claude-code-mods--ctx-bytes-guard/)