usage

Claude Code 2.1.186

Tools and page contents
On this page

New 3

01

Direct responses to bash commands and seamless MCP authentication

The terminal command experience just got a massive upgrade! When you use bash mode (starting with !), Claude will no longer just silently absorb the terminal output as context; it will now proactively respond and analyze the result right away (if you prefer the old silent behavior, you can toggle it off in your settings). For external MCP tools that require authentication, you can now seamlessly log in or out directly from your shell using claude mcp login without being forced into an interactive menu. If you're working over an SSH connection, there's even a headless, no-browser fallback. And if you happen to typo a tool server's name, the CLI is now smart enough to suggest the closest match and cleanly truncate unwieldy lists. It's like having an assistant who used to just silently file away the receipts after running an errand, but now actively hands you a summary report; plus, you no longer have to walk all the way back to the lobby to fill out a security form to access the vault—you just swipe your card at the door, and the guard even recognizes you if you slightly misspell your own name.

Original changelog

! bash commands now trigger Claude to respond to the output automatically; set "respondToBashCommands": false in settings.json to keep the previous context-only behavior

Added claude mcp login <name> and claude mcp logout <name> to authenticate MCP servers from the CLI without opening the interactive /mcp menu, with --no-browser stdin redirect support for completing over SSH

Improved claude mcp get and claude mcp remove to suggest the closest configured server name on a typo and truncate long server lists

02

Stronger network and sleep recovery, with enterprise platform updates

The system is much more resilient when your computer goes to sleep or network conditions shift. Previously, if you closed your laptop while the AI was streaming an answer, you'd wake it up to an ugly 'Content block not found' or a JSON parsing error; the system can now flawlessly survive the hibernation cycle. For Enterprise and Team users, usage-based session costs are now correctly displayed again. If you use the Claude Platform on AWS, the /login menu now provides a 'refresh credentials' option so you can proactively renew your token before getting kicked out. We also fixed a bug with the Chrome extension where disabling the permissions gate broke tab-group isolation when running multiple terminal sessions. In agent teams, new teammates spawned into background window panes (like tmux) will now obediently inherit the leader's designated effort level (--effort). Finally, we've hard-capped API retries at 15 to prevent run-away loops from burning your wallet. It's like taking a nap while a massive document is printing: you used to wake up to a jammed machine and shredded paper, but now it pauses perfectly and finishes the job when you wake up. Plus, the boss's strict instructions on how thoroughly to do the job now successfully trickle all the way down to the newest interns without anyone slacking off.

Original changelog

Fixed streaming requests failing with "Content block not found" or JSON parse errors after the machine wakes from sleep

Fixed session cost not showing for usage-based Enterprise and Team subscribers

Added "Claude Platform on AWS - refresh credentials" option to /login when awsAuthRefresh is configured

Fixed Chrome tab-group isolation not applying when the in-product permissions gate is off for concurrent CLI sessions

Fixed agent teams: teammates spawned via tmux/pane backends now inherit the leader's --effort level

Added teammateMode: "iterm2" setting with a warning when auto mode cannot find the it2 CLI

Changed CLAUDE_CODE_MAX_RETRIES to cap at 15; for unattended sessions, use CLAUDE_CODE_RETRY_WATCHDOG instead

03

Minor upgrades to UI, plugins, and skill management

We've sprinkled in a bunch of neat workflow and UI quality-of-life tweaks. The Installed tab in the plugin manager (/plugin) now features a dedicated "Skills" section to keep your add-ons meticulously organized, and it will no longer falsely claim there are "more above" when you're already at the absolute top of the list. When diving into workflow details, you can now hit f to instantly filter by task status. The parser for your custom skill configurations (SKILL.md) is significantly more forgiving now: it gladly accepts kebab-case, snake_case, and camelCase syntax, and if your YAML format is slightly mangled, it will load the skill with empty metadata instead of silently crashing the whole thing. Additionally, the /review <pr> command now leverages the much more robust /code-review medium engine under the hood. On the cosmetic side: markdown strikethroughs now actually render as strikethroughs instead of showing literal ~~ tildes, text you selected with your mouse in the agent panel won't awkwardly remain highlighted after being deleted, and permission prompt option numbers are finally properly aligned even if the text overflows. It's like reorganizing your desk: all your specialized tools now have their own dedicated drawer, you can instantly filter your in-tray, and HR will successfully process your paperwork even if you accidentally capitalized a word wrong.

Original changelog

Added a "Skills" section to the /plugin Installed tab

Added status filtering (press f) to the /workflows agent detail view

Improved memory: the agent is now reminded to compact its MEMORY.md index when nearing the size limit

Changed /review <pr> to use the same review engine as /code-review medium

Improved skill frontmatter: display-name, default-enabled, fallback, and metadata.* keys now accept kebab-case, snake_case, and camelCase

Improved malformed SKILL.md YAML frontmatter handling: loads the skill body with empty metadata instead of failing silently

Fixed ~~strikethrough~~ showing literal tildes in assistant messages instead of rendering as strikethrough

Fixed --tools allowing feature-gated tools to slip through before flags loaded on a cold first launch

Fixed mouse-selected text staying highlighted after deleting it in claude agents

Fixed a misleading "MCP server disconnected" notice for intentionally retired tools when resuming older sessions

Fixed /plugin Installed showing a "more above" indicator when already scrolled to the top

Fixed misaligned option numbers in permission prompts when the option text overflows

Fixed 1

04

Background tasks and subagents behave predictably without visual glitches

Subagents and background tasks are now far more obedient and visually stable. Previously, a background subagent hitting a permissions barrier would either quietly auto-deny itself or get stuck. Now, it neatly surfaces the permission prompt back to your main session, clearly identifying which assistant is asking, and pressing Esc will cleanly deny just that specific tool. We've also added a failsafe: if an agent fails a structured JSON schema validation 5 times in a row, it now automatically aborts instead of spiraling into an infinite loop. On the visual side, we've squashed a swarm of UI glitches: closing the agents view no longer leaves ghost text painted on your screen, background task previews won't flash ugly raw tool names before loading, switching into the agents view on light terminals won't blind you with a sudden dark-theme flash, and pressing Esc or Ctrl+C in the main view while agents run in the background is now perfectly responsive. It's like managing a team of interns: they used to panic silently or spin in circles when they hit a locked door, but now they text you for permission; and the broken security monitors tracking them have finally been fixed so you no longer see weird static flashes or lingering burn-in images.

Original changelog

Changed background subagents to surface permission prompts in the main session instead of auto-denying; the dialog shows which agent is asking, and Esc denies just that tool

Fixed background session recaps being duplicated; the agent's own end-of-turn summary now shows as the recap line

Fixed subagent transcript scroll position bleeding into the main transcript on exit

Fixed background task previews flashing raw tool names before the agent's plan loaded

Fixed opening a background session from claude agents leaving the previous screen painted behind it

Fixed Esc and Ctrl+C not responding while background agents are still running after the main turn ends

Fixed background job status in claude agents showing a stale "needs input" message after replying

Fixed Agent(type) deny rules and Agent(x,y) allowed-types restrictions not being enforced for named subagent spawns

Fixed Workflow agent({schema}) subagents looping forever on repeated schema validation failures instead of aborting after 5 attempts

Fixed pressing x on a finished subagent in the agent panel not dismissing it

Fixed a dark-theme flash when opening a background session from claude agents on a light terminal