Claude Code Thinking Patch banner
aleks-apostle aleks-apostle

Claude Code Thinking Patch

Development community intermediate

Description

Enhance Claude Code with custom patches for thinking display and subagent model configuration.

Installation

Terminal
claude install-skill https://github.com/aleks-apostle/claude-code-patches

README

Claude Code Patches

Enhance Claude Code with custom patches for thinking display and subagent model configuration.

Available Patches

    undefined

Thinking Display Patch

Make Claude Code's thinking blocks visible by default without pressing `ctrl+o`.

The Problem

Claude Code collapses thinking blocks by default, showing only:

∴ Thought for 3s (ctrl+o to show thinking)

You have to press `ctrl+o` every time to see the actual thinking content. This patch makes thinking blocks visible inline automatically.

**Current Version:** Claude Code 2.0.62 (Updated 2025-12-09)

Quick Start

# Clone or download this repository
cd claude-code-thinking

# Run the patch script (automatically detects your installation)
node patch-thinking.js

# Restart Claude Code

That's it! Thinking blocks now display inline without `ctrl+o`.

**Works with:**

    undefined

What This Patch Does

**Before:**

∴ Thought for 3s (ctrl+o to show thinking)
[thinking content hidden]

**After:**

∴ Thinking…

  [thinking content displayed inline]
  The actual thinking process is now visible
  without any keyboard shortcuts needed

How It Works

This patch modifies two locations in Claude Code's compiled JavaScript:

Patch 1: Remove the Banner (v2.0.30)

**Before:**

function GkQ({streamMode:A}){
  // ... displays "Thought for Xs (ctrl+o to show thinking)"
}

**After:**

function GkQ({streamMode:A}){return null}

**Effect:** Removes the collapsed thinking banner entirely.

**Version History:**

    undefined

...