Wanted to compile a cheat sheet of Claude Code commands I wish I knew about sooner: /btw: Ask a side question with the current context while a long-running task is in flight, rather than having to stop it or wait for it. /rewind: Went down a random side conversation? rewind the session back to where you were earlier instead of dealing with the junk context. (it rolls back the conversation and/or any code or file changes to that point) /branch: You’ve loaded a bunch of context and realize you want to take it two directions. fork it. Work on from the same context instead of one after the other in a cluttered session. /remote-control (/rc): Set the session up with your big prompt, hit /rc, then steer it with follow-ups from your phone while you’re away. /loop: Waiting on a job to finish? Use a loop in a fresh context with simple completion criteria. Keep the detailed next steps in a file it only opens once the loop passes, or you’ll re-send a huge context every iterate and get a cache-miss on the 5 min TTL. /workflows: Kick off things like deep research straight from Claude Code instead of opening the web app. /voice: Prompt by talking instead of typing out a long instruction. I prefer dedicated dictation apps but /voice beats fully typing. /handoff: Past about 50-60% context, quality starts to degrade so write a handoff that summarizes the context. Not built in but I use Matt Pocock’s skill . [EDIT] /goal : Specify a goal and the model will keep working towards it until done. It will check after every turn if the goal is met and if not it’ll start another turn rather than asking for input. The more obvious ones: /clear: Clear context when any task is completed or when context usage rises (you can always resume later if needed) /rename: Name every session ASAP. makes /resume and /rc a lot easier to use. /resume: Drop back into past sessions /compact: I barely use this anymore, mostly rely on /handoff plus /clear. It still beats continuing to work on 60-80% context though. Did I miss any? Let me know and I’ll add to the list. submitted by /u/djacksondev
Originally posted by u/djacksondev on r/ClaudeCode
