Claude Code Bash History: Extract Commands from AI Sessions
I had a long debugging session with Claude Code that eventually worked. When I asked it to write up the debugging process, the output was terrible. I grabbed the bash commands from the previous session with ccbashhistory, started a fresh Claude instance, and had it write clean documentation based on what actually ran. Usage pipx run ccbashhistory Shows an interactive list of your recent Claude Code sessions. Select one and get all the bash commands Claude ran during that session. ...