The best trick for Claude Code. Start claude code with:
claude --continue --dangerously-skip-permissions
What it does:
• --continue picks up your last conversation, so you don't lose context between sessions
• --dangerously-skip-permissions removes the confirmation prompts — Claude just does the thing
The result is a fully autonomous coding loop. No "are you sure?" dialogues and you are sure you will see the results while you go and get your coffee.
PS: At your own risk.
Obviously, you're handing over the keys. It can delete files, overwrite code, run scripts — all without asking twice.
Use it on throwaway projects or inside a container you don't mind nuking.
Honestly I use it on Prod as well a lot as I know I can always recover everything from Github and I dont let Claude deploy stuff.