My personal notes for 10 Claude Code Tips You'll Wish You Knew Sooner
A video by Ben from AI Unleashed
- You can use Shift + Tab to switch editing modes. The first switch enables auto-acceptance of edits. The second turns on planning mode, where no edits are actually made.
- You can paste images directly into Claude Code. However, you have to use Control + V instead of Command + V or it won't work.
- Use the
/initcommand. This will look through the project and write theCLAUDE.mdfile for you. You can extend this yourself if you'd like. - You can integrate a code editor directly into Claude Code. You can use the
/idecommand to list the UIs. This will let Claude Code talk with the IDE. - You can create your own commands in Claude Code. These are just markdown files in the
.claudedirectory. These commands can take in arguments. - Claude Code has keywords that can tell it how much to think. You can use
think,think hard,think harderandultrathink, which will successively increase the amount of time Claude thinks about a problem. - You can use Escape to interrupt Claude. You can hit Escape twice, which will list all of your previous messages, and you can go back to the one you interrupted and go back to that prompt.
- Claude Code doesn't search websites very often outside of planning mode. However, if you give it a URL it will go and look at it.
- You can run Claude Code in headless mode with the
-pflag. This allows you to integrate Claude Code into scripts. You can pipe data into this command, and pipe the output into other tools.