ClawCurrent Tools · 05

Context Package Linter

Paste your agent's whole context — system prompt, AGENTS.md, SOUL.md, memory files, tool descriptions — and see what it's costing you. Deterministic analysis, no LLM.

0 bytesFree lint ≤ 50KB · hard cap 200KB
Checking your session…
Splitting files…

Context Health Score

Per-file tokens (est.)

FileTokensScore

Estimated via chars/4 heuristic — see honesty note.

Token budget (estimates)

Lint checks

Honest limits: token counts are estimates (chars/4 and words×1.3 heuristics — real tokenizers differ by model, expect ±15%). Structure and contradiction checks are keyword/n-gram heuristics, not semantic judgment — no LLM is used anywhere in this analysis. Model context sizes are published figures as of writing; verify current model specs before relying on them.

What the linter measures

Agent harnesses (OpenClaw, Hermes, Agent Zero, MemUbot…) re-send your context package on every single turn. Bloated context is a per-turn tax — in tokens, latency, and degraded instruction-following.

Tokens

Budget analysis

Per-file and total token estimates via two independent heuristics, clearly labeled as estimates, so you know which file is eating the window.

Redundancy

Duplicate detection

Exact duplicate lines and paraphrased near-duplicate sentences (3-gram overlap) across files — the copy-paste drift every long-lived agent accumulates.

Structure

Section lint

Checks for identity, tools, constraints, examples, and output-format sections, plus wall-of-text blocks and contradictory "always X" / "never X" pairs.

Trim plan

Ranked savings

Full mode ranks concrete trims by estimated token savings — cut the biggest waste first, not the easiest.

Projections

Window share

Your package's estimated share of the context windows of popular open models (Llama 3.x, Qwen 2.5, Mistral, DeepSeek). Specs flagged verify-before-relying.

Multi-file

One paste, many files

Separate files with marker lines and the linter splits them automatically:

--- file: AGENTS.md ---
...
--- file: SOUL.md ---
...