
10 astuces pour maîtriser Claude Code en 10 minutes
Audio Summary
AI Summary
This video reveals 10 essential Cloud Code hacks, with the creator claiming they unlock 90% of the tool's potential.
Hack 1, "Dictate Instead of Type," emphasizes voice input, which is three times faster and leads to more detailed prompts. Activate this via `/voice`, choosing between "hold" or "tap" mode. The transcription itself doesn't consume tokens. Ensure the correct language is configured, with over 20 options available.
Hack 2, `/usage`, opens the consumption dashboard. `Cost` and `Stats` are aliases for this. Monitor your usage to avoid surprises, especially during Cloud Code version changes. Use `/status-line` to permanently display this information.
Hack 3, "Loop for Recurrent Automation," allows scheduling commands at regular intervals. Unlike `/schedule`, `loop` preserves session context. Examples include checking Vercel deployments or relaunching PNPM builds.
Hack 4, "Hooks," enables scripts to run automatically on lifecycle events, offering deterministic execution unlike standard instructions. With 12 events like `pre-tool-use`, you can set up actions like auto-formatting code before Cloud Code modifies it.
Hack 5, "Bash Inline with Exclamation Mark," lets you execute live commands directly in the prompt by prefixing with `!`. This is more precise than descriptive commands, providing direct output. It can also be used in `skill.md` files with backticks to execute commands when a skill is invoked.
Hack 6, "Permissions and Automode," replaces the older `all` flag. `/permissions` allows or denies commands in files, with deny rules taking priority. `/learn-permissions` generates an allow list from your past approvals. `automode` uses a classifier to determine if tool actions should execute, escalate, or be blocked.
Hack 7, "Git Worktrees," creates separate, branch-scoped Git worktrees, allowing multiple Cloud Code sessions to work in parallel without conflicts. This is powerful for debugging, testing, and even running multiple agents on the same files.
Hack 8, "Manage Memory and Errors," offers `clear` (resets conversation history), `compact` (compresses history intelligently), and `rewind` (reverts to a previous snapshot).
Hack 9, "Full Mode," accessed via `Shift + Tab`, forces detailed clarification questions before a plan is proposed, leading to more precise execution. Plans are now saved as `.md` files.
Hack 10, "Skills," transforms repetitive jobs into reusable `.md` files, replacing Custom Commands. Skills like `Simplify`, `Batch`, and `Debug` are provided, enhancing Cloud Code's long-term productivity.