Claude Code v2.1.152: /code-review --fix, plugin disallowed-tools, MessageDisplay hook

Anthropic shipped Claude Code v2.1.152 with a batch of practical improvements for agentic coding workflows. The headline: /code-review --fix now applies review findings directly to your working tree, and /simplify now delegates to /code-review --fix. Another systematic improvement: plugins and skills can restrict the model's toolset via disallowed-tools in frontmatter.
Key new features
/code-review --fix: After running a review, suggestions for reuse, simplification, and efficiency are applied to your working tree./simplifynow invokes this under the hood.disallowed-toolsin skills/commands: Skill YAML and slash command frontmatter can specify tools to remove from the model while the skill is active. Useful for restricting file write or execution tools during review flows./reload-skills: Re-scans skill directories without restarting the session.SessionStarthooks can returnreloadSkills: trueto make newly installed skills available immediately.- SessionStart hooks can now set the session title via
hookSpecificOutput.sessionTitleon startup and resume. MessageDisplayhook event: Lets hooks transform or hide assistant message text before it's rendered.
Plugin & marketplace changes
- New managed setting
pluginSuggestionMarketplaces: admins can allowlist org marketplaces whose plugins may be suggested via context-aware tips. claude plugin marketplace removenow accepts--scope user|project|local, matchingadd,install, anduninstall.
Model & UX improvements
- Fallback model: When the primary model is not found, Claude Code switches to your
--fallback-modelfor the rest of the session instead of failing every request. - Auto mode no longer requires opt-in consent.
- Vim mode:
/in NORMAL mode opens reverse history search (likeCtrl+R), matching bash/zsh vi-mode. /usagenow includes large session files via streaming read — memory stays flat.- Thinking summaries stay readable for ≥3 seconds, render as markdown, capped at 10 lines;
Ctrl+Oshows full thinking. - Fullscreen “Thinking for Ns” indicator counts up live and persists on interrupt.
- Post-response timer shows “Waiting for N background agents/workflows to finish” and cumulative time when tasks are still running.
- Session entrypoint added as OpenTelemetry metric attribute (
app.entrypoint), opt-in viaOTEL_METRICS_INCLUDE_ENTRYPOINT=true.
Bug fixes (selection)
- Terminal styling no longer degrades in very long sessions (renderer style pool recycling).
- Sandbox-enabled warning now shows in condensed startup mode.
- Loading spinner no longer shows “still thinking”/“almost done thinking” while a tool runs; resets to “thinking” after each tool.
- Focus mode no longer shows spurious “N messages hidden” on turns with no hidden activity.
- Clicking a link inside expanded tool result no longer collapses the section.
- Markdown table cell border colors, wrapped continuation line styles, and empty header cell labels in narrow-terminal stacked layout all fixed.
- Plugin MCP servers with same command but different env vars are no longer incorrectly deduplicated.
/doctorno longer reports “marketplace not found” for staleenabledPluginsentries.- Git branch–tracking plugins now receive updates after registry rebuild.
- Remote MCP servers connect correctly in Claude Code Remote sessions with egress proxy.
- Effort-change confirmation dialog no longer appears on empty conversations or same-value switches.
- Agent tool description no longer references undelivered agent list in
--baremode. - Background worker crash fixed when accepting stale permission prompt after subagent cancellation.
cache_creation_input_tokensnow reports correctly when API uses nestedcache_creationbreakdown.- PushNotification tool no longer incorrectly reports “Mobile push not sent” in SDK-hosted sessions with Remote Control enabled.
- Sessions no longer get stuck after model or login switch.
This release is particularly relevant for teams using custom skills, hooks, and MCP plugins in automated code review pipelines. The disallowed-tools frontmatter and MessageDisplay hook open up safer, more controlled agent interactions.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Claude API Cost Visibility Concerns for Indie Developers
A Reddit discussion highlights that Claude Sonnet API's lack of granular cost tracking may lead indie developers to drop it despite its quality, with bills of $400–$900 catching them off guard due to insufficient observability compared to AWS-style monitoring.

Attentional Gating: The Challenge of Selective Forgetting in AI Memory Systems
A developer building a five-layer memory system for an OpenClaw bot identifies a key limitation: current approaches focus on recall but lack mechanisms for suppressing irrelevant information during focused tasks, similar to human attentional gating.

Fine-tuning Phi-4-mini by training only LayerNorm parameters fails to improve performance
A hobbyist tested training only LayerNorm γ values on Phi-4-mini across Python and medical domains with different learning rates and data formats. Performance degraded slightly on all benchmarks compared to baseline, with the author concluding transformers already route information dynamically through attention.

User Reports Sonnet 4.6 Outperforms Opus 4.6 for Practical Coding Tasks
A developer testing Claude AI models found that Opus 4.6 produced over-engineered solutions with performance gaps, while Sonnet 4.6 delivered more careful, efficient fixes with lower token usage.