13 Pro Tips to Supercharge Your Claude Code Workflow
Boris Cherny, founder of Claude Code, shares a detailed, step‑by‑step set of 13 practical experiences—from parallel multi‑session handling and model configuration to team collaboration, custom slash commands, sub‑agents, and long‑running task automation—demonstrating how to maximize productivity with Claude Code.
Efficient Parallel Execution
Run five Claude sessions concurrently, labeling browser tabs 1‑5. System notifications (see https://code.claude.com/docs/en/terminal-config) indicate when a session requires input, allowing uninterrupted work.
Additionally, launch 5‑10 Claude instances on claude.ai/code while keeping a local Claude session. Switch between sessions using the & operator or the --teleport flag, and start mobile sessions via the Claude iOS app each morning.
Model and Configuration
Lock all tasks to Opus 4.5 with the “thinking” mode. Although Opus 4.5 is larger and slower than Sonnet, it reduces the need for extra prompting and excels at tool use, resulting in faster overall task completion.
Maintain a shared CLAUDE.md knowledge base in a Git repository. Commit updates whenever Claude makes a mistake so future runs avoid the same error. Each team keeps its own file, versioned in Git.
Manage permissions granularly: avoid --dangerously-skip-permissions. Instead, whitelist safe Bash commands via the /permissions endpoint and store the whitelist in .claude/settings.json for project‑wide sharing.
Team Collaboration
Automate code reviews by tagging @.claude in pull‑request comments. The Claude Code GitHub Action ( /install-github-action) extracts the referenced snippets and appends them to CLAUDE.md as part of the PR.
Integrate enterprise toolchains: Claude can post messages to Slack (configuration in .mcp.json), execute BigQuery queries via the bq CLI, fetch Sentry logs, and perform other automated actions, enabling end‑to‑end workflow automation.
Deep Automation
Start most sessions in Plan mode (press Shift+Tab twice). Use this mode to iteratively design a solution, then switch to auto‑accept mode for rapid code generation. The planning step consistently yields higher quality output than coding without a plan.
Create custom slash commands stored under .claude/commands/. Example command /commit-push-pr pre‑computes git status and other context, reducing round‑trips between Claude and the terminal.
Deploy sub‑agents for recurring PR tasks. code-simplifier refactors Claude‑generated code for readability; verify-app runs end‑to‑end tests as defined in its workflow.
Attach a PostToolUse hook to format Claude‑generated code, polishing the final 10 % and preventing CI failures caused by formatting issues.
Handle long‑running tasks with three tactics:
Run a background agent that verifies work while the main task proceeds.
Use an Agent Stop hook for controlled interruption.
Employ the ralph-wiggum plugin (see https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-wiggum) to suppress permission prompts via --permission-mode=dontAsk or --dangerously-skip-permissions.
Close the feedback loop by letting Claude invoke Chrome extensions to test web changes iteratively. Continuous self‑validation multiplies productivity by several times.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
