From 56bd5ff0c2ef85bda94dabf6ce7bc5a923323910 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Thu, 2 Jul 2026 14:17:55 +0200 Subject: [PATCH] =?UTF-8?q?feat(tokens):=20pr-review-toolkit=20OFF=20by=20?= =?UTF-8?q?default=20=E2=80=94=20heaviest=20plugin,=20PR-only=20use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Measured: 6 agent descriptions = ~2.2k tokens injected EVERY session (the single largest plugin contributor) for a toolkit useful only when reviewing PRs. enabledPlugins → false; removed from full+backend profiles (BDR-017 caveat already accepts full excluding rarely-used items); audit.profile KEEPS it = profile reactivation channel. Per-PR-session: claude plugin enable pr-review-toolkit@claude-code-plugins (or bash lib/profile.sh apply audit); a later 'profile set full' re-disables it via the MANAGED_PLUGINS lifecycle. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016zA3Qh2Q1QpcGXzXxKeDHR --- lib/profiles/backend.profile | 5 +++-- lib/profiles/full.profile | 7 ++++++- settings.json | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/profiles/backend.profile b/lib/profiles/backend.profile index f769e4e..7b7c2d7 100644 --- a/lib/profiles/backend.profile +++ b/lib/profiles/backend.profile @@ -34,8 +34,9 @@ guard learn retro -# Plugin: PR review toolkit (pre-merge audit) -pr-review-toolkit plugin@claude-code-plugins +# pr-review-toolkit removed (audit 2026-07-02 #12 — ~2.2k tokens, PR-only): +# enable per PR session via `bash lib/profile.sh apply audit` or +# claude plugin enable pr-review-toolkit@claude-code-plugins # CLIs (advisory) ctx7 cli diff --git a/lib/profiles/full.profile b/lib/profiles/full.profile index 220959b..75fb1c1 100644 --- a/lib/profiles/full.profile +++ b/lib/profiles/full.profile @@ -79,7 +79,12 @@ emil-design-eng external frontend-design external design-motion-principles external ui-ux-pro-max plugin@ui-ux-pro-max-skill -pr-review-toolkit plugin@claude-code-plugins +# pr-review-toolkit REMOVED from full (audit 2026-07-02 #12): heaviest +# single plugin cost (~2.2k tokens of agent descriptions/session), useful +# only when reviewing PRs. Reactivate per PR session: +# claude plugin enable pr-review-toolkit@claude-code-plugins +# or profile-based: bash lib/profile.sh apply audit (audit.profile keeps it; +# a later `set full` re-disables it — MANAGED_PLUGINS lifecycle). magic mcp # === CLIs (advisory) ================================================= diff --git a/settings.json b/settings.json index 8ecbde7..7c45404 100644 --- a/settings.json +++ b/settings.json @@ -230,7 +230,7 @@ "ui-ux-pro-max@ui-ux-pro-max-skill": true, "security-guidance@claude-code-plugins": true, "superpowers@superpowers-marketplace": true, - "pr-review-toolkit@claude-code-plugins": true + "pr-review-toolkit@claude-code-plugins": false }, "extraKnownMarketplaces": { "claude-code-plugins": {