[Bug] High CPU usage and unresponsiveness in iTerm2 after extended prompts

Resolved 💬 3 comments Opened Jan 27, 2026 by carlos-monti Closed Jan 31, 2026

Bug Description
Claude code gets unusable in iterm2 after some prompts, it just eats all of the cpu use in a macbook pro m4 max with 65gb of ram

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.20
  • Feedback ID: 590f667e-0596-4c7f-a823-570d6dc7e51c

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at oW (/$bunfs/root/claude:11:35584)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at MIR (/$bunfs/root/claude:1758:380)\n    at MIR (/$bunfs/root/claude:1758:1350)\n    at <anonymous> (/$bunfs/root/claude:1758:4670)\n    at <anonymous> (/$bunfs/root/claude:1758:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at fw8 (/$bunfs/root/claude:4826:4342)","timestamp":"2026-01-27T20:30:38.200Z"}]

screenshots:

<img width="1047" height="319" alt="Image" src="https://github.com/user-attachments/assets/4bf71ac5-294d-4378-9959-4d5bbe4dd7e5" />

Also theres some issues I'm having between the native and npm installation, I'm not being able to remove the local instalation even though I delete it manually by doing rm -rf /Users/my-user/.claude/local

<img width="1874" height="1646" alt="Image" src="https://github.com/user-attachments/assets/26567601-9487-4fd4-8516-fa1a4776d5ac" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗