PerfMaster
Monitors extension resource use, analyses startup, tracks memory and offers a lean mode.
Products / VS Code extensions / DiffQuota
Sets a max-files / max-lines blast-radius quota per session so an open-ended task can't quietly balloon.
ext install atulhritik.diffquotaSets a max-files / max-lines blast-radius quota per session so an open-ended task can't quietly balloon.
Price: $12 one-time
Run DiffQuota: Generate Claude Code Hook Script (requires a license) and DiffQuota writes a real, ready-to-run hook script to .claude/hooks/diffquota-pretooluse.sh, sized to your current diffQuota.maxFiles / diffQuota.maxLines quota. The script checks real git diff state (staged + unstaged, files and lines) and prints a {"decision": "block", ...} or {"decision": "allow"} line, which is exactly what a Claude Code PreToolUse/PostToolUse hook expects on stdout. DiffQuota does not register the hook in your Claude Code settings for you — that step is the "self-configured" part: add it as a PreToolUse (or PostToolUse) hook for the tools you want gated in your own Claude Code settings. Re-run the command after changing your quota to regenerate the script with the new limits.
Past-session history (shown in DiffQuota: Show Session Summary) is written when the extension's deactivate() runs or when the workspace folders change. VS Code does not guarantee deactivate() runs on every exit path (e.g. the OS killing the process, a crash, or some remote-session teardowns), so a session that ends abnormally may not get a history entry. This is a best-effort log, not an audit trail.
Today DiffQuota only warns in the editor after a quota is crossed, and (with a license) generates the PreToolUse/PostToolUse hook script described above — it never edits your Claude Code settings and never runs the enforcement itself. A natural next step is DiffQuota registering that generated script into the project's own Claude Code settings automatically (and keeping it in sync when the quota changes), instead of leaving that step to you.
Open the DiffQuota sidebar (activity bar icon) and click Get License. After purchase you'll receive a license key — paste it into the sidebar and click Activate License. Keys are machine-locked; use Move to another machine… in the sidebar before reinstalling on a new device.
Monitors extension resource use, analyses startup, tracks memory and offers a lean mode.
Live regex testing, a visual token explainer, a pattern library and multi-flavor support.
Detects hardcoded strings, extracts them to i18n, previews pseudo-localisation and reports coverage.
We design and ship extensions, MCP servers and developer tooling.
Discuss your idea