Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Doc Limits?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vanillagreencom-doc-limits-kendex)
---
name: doc-limits
description: "Load to add, tune, or debug document byte ceilings and DOC_LIMITS_* settings."
summary: "Byte limits for the Markdown a harness loads at every turn: an AGENTS.md, CLAUDE.md, GEMINI.md or SKILL.md over its limit fails. Path classes set the limits, and each exclusion carries a written reason."
license: MIT
user-invocable: true
dependencies:
required: [commit-guards]
metadata:
author: vanillagreen
source: kendex
repository: "https://github.com/vanillagreencom/kendex"
bugs: "https://github.com/vanillagreencom/kendex/issues"
tags: [automation]
---
# Doc Limits
Run the document byte-ceiling check before review and in CI. The commit-guards pre-commit chain uses the staged mode.
```bash
.agents/skills/doc-limits/scripts/doc-limits
.agents/skills/doc-limits/scripts/doc-limits --staged
```
The check measures `AGENTS.md`, `CLAUDE.md`, `GEMINI.md` and `SKILL.md`, at the root and at any depth, and no other file.
Bring a document over its limit under that limit in this order:
1. Cut restated content first.
2. Split only at a real subject boundary.
Never delete a rule to fit.
Read [references/policy.md](references/policy.md) to choose a class, write an exclusion, or learn which files the generated-file inventory `.kendex-generated.json` excludes and what an absent one means. Flags, settings and exit codes are in `doc-limits --help`.