Skip to content
Back to skills

Doc Limits

ASecurity

Load to add, tune, or debug document byte ceilings and DOC_LIMITS_* settings.

  • 92 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 6, 2026
ai-agentsbashgit

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add vanillagreencom/kendex --skill doc-limits --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Limits?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doc Limits
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vanillagreencom-doc-limits-kendex/badge)](https://www.skillsdirectory.com/skills/vanillagreencom-doc-limits-kendex)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`.

Files in this skill

  • DEVELOPMENT.md1.6 KB
  • README.md1.5 KB
  • SKILL.md1.4 KB
  • references/policy.md3.4 KB
  • scripts/doc-limits18.8 KB
  • scripts/lib/diagnostics.sh405 B
  • scripts/lib/settings.sh18.9 KB
  • tests/generated-paths.test.sh13.3 KB
  • tests/push-scope.test.sh7.6 KB
  • tests/settings-and-config.test.sh22.3 KB
  • tests/shipped-defaults.test.sh14.1 KB
  • tests/staged-scope.test.sh9.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.