aleks-apostle

Claude Code Thinking Patch — Development skill for Claude Code

Development community intermediate

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

How to install Claude Code Thinking Patch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aleks-apostle/claude-code-patches and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Thinking Patch does

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

Alternatives in Development

  • Patch 2.3k ★
  • Android Release — Prepare and execute an Android release (patch/minor/major) 1.6k ★
  • Cache Patch — /cache-patch - Claude Code 1h 缓存补丁 1k ★

README

Claude Code Patches

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

Available Patches

  1. Thinking Display Patch - Make thinking blocks visible by default
  2. Subagent Model Configuration - Configure which models subagents use

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:**

  • ✅ Local installations (~/.claude/local)
  • ✅ Global npm installations (npm install -g @anthropic-ai/claude-code)
  • ✅ All Node version managers (NVM, nodenv, asdf, etc.)

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:**

  • v2.0.9: Function named Mr2

...