Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Clogmeter – token weight for AGENTS.md & Cursor rulesNew to Visual Studio Code? Get it now.
Clogmeter – token weight for AGENTS.md & Cursor rules

Clogmeter – token weight for AGENTS.md & Cursor rules

Clogmeter

| (0) | Free
See what's clogging your AI agent: local o200k_base token counts, heavy sections, duplicates and conflicts for AGENTS.md, CLAUDE.md, .cursor/rules/*.mdc and SKILL.md. Works in VS Code and Cursor. Free; Pro on the web.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clogmeter for VS Code & Cursor

See what's clogging your AI agent.

Clogmeter weighs AGENTS.md, CLAUDE.md, .cursor/rules/*.mdc, SKILL.md and similar instruction files with the same o200k_base tokenizer used on clogmeter.vercel.app. Analysis runs entirely on your machine — no uploads, no telemetry.

Clogmeter inspect results webview

Features (free)

Feature Where
Live token count in the status bar When you open a matching file
Inspect workspace rules command Command Palette → Clogmeter: Inspect workspace rules
Per-file totals & heaviest sections Results webview
Duplicate lines / near-duplicate paragraphs Results webview
Possible always vs never conflicts Results webview
Trim suggestions Results webview

Works in VS Code and Cursor (VS Code-compatible).

Pro

The free extension is meant to stay useful on its own. Extra Pro features (multi-project history, cost estimates at scale, trimmed exports, team share links) live on the web:

→ clogmeter.vercel.app/pricing

Privacy

  • Tokenizer and duplicate/conflict logic run locally
  • The only network request the extension can make is opening the pricing page when you click the link
  • No analytics, no crash reporters, no phone-home

Install

From Open VSX, or sideload a .vsix:

code --install-extension clogmeter-0.1.0.vsix
# or in Cursor:
cursor --install-extension clogmeter-0.1.0.vsix

Develop

npm install
npm run compile
npm test           # analyzer unit tests (token counts must match site samples)
npm run package    # builds .vsix with @vscode/vsce

Optional: npm run test:electron runs the extension in a headless VS Code via @vscode/test-electron (downloads a VS Code build on first run).

Token count samples

These fixtures must match the live site:

Sample Expected tokens
Agents.md tool sample 57
Cursor rules tool sample 72
Inspector “Try sample” pack (4 files) 980

Contact

https://clogmeter.vercel.app

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft