Document Byte Limits

•
91
•

Enforces strict byte ceilings on agent markdown context files across pre-commit hooks and CI pipelines.

Document Byte Limits protects agent token budgets and context windows by enforcing strict file size ceilings on harness configuration files like AGENTS.md, CLAUDE.md, GEMINI.md, and SKILL.md. By integrating directly into git pre-commit, pre-push, and continuous integration workflows, it ensures that instruction documents loaded on every model turn remain concise and high-signal, failing any build where non-exempt files exceed defined byte thresholds while supporting reasoned path-based exemptions.

주요 기능

01Enforces byte ceilings on AGENTS.md, CLAUDE.md, GEMINI.md, and SKILL.md files
0291 GitHub stars
03Integrates seamlessly with pre-commit, pre-push, and CI commit guard pipelines
04Supports granular path classes and reasoned exemption registries for oversized documents
05Offers staged mode verification to evaluate exact git tree snapshots prior to push
06Prevents context window bloat and optimizes prompt token consumption across agent harnesses

사용 사례

01Preventing context window degradation by blocking oversized instruction files at git commit time
02Managing structured exclusions for comprehensive system documentation that requires greater byte size
03Auditing repository-wide agent markdown files against token economy standards during CI checks