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

Melbourne Psychiatrist Refuses New Patients Who Don't Consent to AI Note-Taking
A Melbourne psychiatrist now requires new patients to consent to AI transcription for sessions or be referred elsewhere, raising data security and accuracy concerns.

Instead of Banning AI, a Professor Drafted a Classroom Contract with Students
A science professor created a classroom contract with students to define acceptable AI use, rather than banning it outright. The contract covers transparency, attribution, and accountability.

Tensions Escalate Between The Pentagon and AI Company Anthropic
The Pentagon's use of Anthropic's AI in classified operations, such as a raid in Venezuela, has created tension over the company's AI safety policies.

Claude Code Generates Python Script That Finds 10,069-Digit Emirp Record
Anthropic's Claude Opus 4.6 generated a Python script that discovered a 10,069-digit emirp (reversible prime) in about one day of CPU time, breaking the previous world record. The script uses four tiers of prime sieves including a CUDA kernel for fast random number generation.