cnzgray

Claude Code Patches — Development skill for Claude Code

Development community

A simple patch that toggles claude-code thinking traces to be fully expanded by default without having to press ctrl + o.

How to install Claude Code Patches

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

What Claude Code Patches does

A simple patch that toggles claude-code thinking traces to be fully expanded by default without having to press ctrl + o.

Alternatives in Development

  • Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
  • Hivemind — Hivemind turns your traces into reusable skills across agents 1.6k ★
  • Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★

README

Claude Code Patches

Enhance Claude Code with custom patches for thinking display, background command notification formatting, Task Output waiting-format cleanup, and subagent model configuration.

Available Patches

  1. Thinking Display Patch - Make thinking blocks visible by default
  2. Background Command Format Patch - Remove embedded raw commands from background completion notifications
  3. Task Output Waiting Format Patch - Remove huge multiline task descriptions from Task Output ... Waiting for task
  4. Subagent Model Configuration - Configure which models subagents use
  5. NPM Deprecation Warning Patch - Remove the “switched from npm to native installer” banner

Thinking Display Patch

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

The Problem

Claude Code collapses (or hides) thinking by default. In v2.0.74+ (including 2.1.1) you may see a collapsed banner like:

∴ Thinking (ctrl+o to expand)

And the spinner/status line may show timing hints like `thinking` / `thought for 1s` (this is separate UI from the thinking block).

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

**Note:** This patch does **not** change the spinner/status line (e.g. `thought for 1s`) text or position — it only affects whether the *message* thinking content is rendered inline.

**Current Version:** Claude Code 2.1.204 (Updated 2026-07-08)

**Tested Versions:** 2.0.62, 2.0.71, 2.0.74, 2.0.75, 2.0.76, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.6, 2.1.7, 2.1.9, 2.1.11, 2.1.12, 2.1.14, 2.1.15, 2.1.17, 2.1.19, 2.1.20, 2.1.22, 2.1.23, 2.1.27, 2.1.30, 2.1.31, 2.1.32, 2.1.33, 2.1.34, 2.1.36, 2.1.37, 2.1.38, 2.1.39, 2.1.40, 2.1.41, 2.1.42, 2.1.44, 2.1.45, 2.1.47, 2.1.48, 2.1.49,