The Research Report
15 Tips to Use Claude Code More Effectively from Boris Cherny (Creator of Claude Code)
Source: https://todatabeyond.substack.com/p/15-tips-to-use-claude-code-more-effectively
15 Tips to Use Claude Code More Effectively from Boris Cherny (Creator of Claude Code)
SubscribeSign in15 Tips to Use Claude Code More Effectively from Boris Cherny (Creator of Claude Code)Youssef HosniMar 31, 2026253ShareGet 50% off for 1 year
Most developers use Claude Code for simple tasks, but it can do much more than that. Once you start exploring its advanced features, it becomes a powerful tool for automating workflows, managing codebases, and speeding up daily work.
I came across these tips from Boris Cherny (creator of Claude Code), and they completely change how you can use it. In this blog, I summarized them and how to use each, and provided resources for more information.To Data & Beyond is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.SubscribeGet All My 8 Books With 60% OffBefore we dive in, if you’re working with Claude Code and want to go beyond basic prompting, I’m hosting a hands-on workshop that might be useful.
Building Agent Skills for Claude Code is a practical session where we focus on creating reusable Skills that help you build more consistent and repeatable workflows.1. Did you know Claude Code has a mobile app?Get 50% off for 1 year
Personally, you can write your code in the iOS app. It’s a convenient way to make changes without opening a laptop.
Download the Claude app for iOS/Android > Code tab on the left.Get All My 8 Books With 60% Off2. Move sessions back and forth between mobile/web/desktop and terminalGet 50% off for 1 year
Run “claude — teleport” or /teleport to continue a cloud session on your machine. Or run /remote-control to control a locally running session from your phone/web. You can “Enable Remote Control for all sessions” in my /config.
Read more here: https://code.claude.com/docs/en/remote-controlGet All My 8 Books With 60% Off3. Two of the most powerful features in Claude Code: /loop and /scheduleGet 50% off for 1 year
Use these to schedule Claude to run automatically at a set interval for up to a week.
He mentioned that he has a bunch of loops running locally:/loop 5m /babysit, to auto-address code review, auto-rebase, and shepherd my PRs to production/loop 30m /slack-feedback, to automatically put up PRs for Slack feedback every 30 mins \/loop /post-merge-sweeper to put up PRs to address code review comments I missed/loop 1h /pr-pruner to close out stale and no longer necessary PRslots more!.. Experiment with turning workflows into skills + loops. It’s powerful.Read more here: https://code.claude.com/docs/en/scheduled-tasksGet All My 8 Books With 60% Off4. Use hooks to deterministically run logic as part of the agent lifecycleGet 50% off for 1 year
For example, use hooks to:Dynamically load in context each time you start Claude (SessionStart)Log every bash command the model runs (PreToolUse) — Route permission prompts to WhatsApp for you to approve/deny (PermissionRequest)Poke Claude to keep going whenever it stops (Stop)Get All My 8 Books With 60% Off5. Cowork DispatchGet 50% off for 1 year
You can use Dispatch every day to catch up on Slack and emails, manage files, and do things on your laptop when you are not at a computer. Dispatch is a secure remote control for the Claude Desktop app. It can use your MCPs, browser, and computer, with your permission.
Read more here: https://claude.com/product/cowork#dispatchGet All My 8 Books With 60% Off6. Use the Chrome extension for frontend workGet 50% off for 1 year
The most important tip for using Claude Code is: give Claude a way to verify its output. Once you do that, Claude will iterate until the result is great.
Think of it like any other engineer: if you ask someone to build a website but they aren’t allowed to use a browser, will the result look good? Probably not. But if you give them a browser, they will write code and iterate until it looks good.
You can use the Chrome extension every time you work on web code. It tends to work more reliably than other similar MCPs.
Download the extension for Chrome/Edge here: https://code.claude.com/docs/en/chromeGet All My 8 Books With 60% Off7. Use the Claude Desktop app to have Claude automatically start and test web serversGet 50% off for 1 year
Along the same vein, the Desktop app bundles in the ability for Claude to automatically run your web server and even test it in a built-in browser. You can set up something similar in CLI or VSCode using the Chrome extension, or just use the Desktop app.
You can read more information: https://code.claude.com/docs/en/desktop#preview-your-appGet All My 8 Books With 60% Off8. Fork your sessionGet 50% off for 1 year
People often ask how to fork an existing session. Two ways:Run /branch from your sessionFrom the CLI, run claude — resume <session-id> — fork-sessionGet All My 8 Books With 60% Off9. Use /btw for side queriesGet 50% off for 1 year
You can use this to answer quick questions while the agent works on any task or planning.10. Use git worktreesGet 50% off for 1 year
Claude Code ships with deep support for git worktrees. Worktrees are essential for doing lots of parallel work in the same repository. You can have dozens of Claudes running at all times.
Use claude -w to start a new session in a worktree, or hit the “worktree” checkbox in the Claude Desktop app.
For non-git VCS users, use the WorktreeCreate hook to add your own logic for worktree creation.Get All My 8 Books With 60% Off11. Use /batch to fan out massive changesetsGet 50% off for 1 year
/batch interviews you, then have Claude fan out the work to as many worktree agents as it takes (dozens, hundreds, even thousands) to get it done. Use it for large code migrations and other kinds of parallelizable work.Get All My 8 Books With 60% Off12. Use — bare to speed up SDK startup by up to 10xGet 50% off for 1 year
By default, when you run claude -p (or the TypeScript or Python SDKs), we search for local CLAUDE.md’s, settings, and MCPs.
But for non-interactive usage, most of the time you want to explicitly specify what to load via — system-prompt, — mcp-config, — settings, etc.
This was a design oversight when we first built the SDK, and in a future version, we will flip the default to — bare. For now, opt in with the flag.Get All My 8 Books With 60% Off13. Use — add-dir to give Claude access to more foldersGet 50% off for 1 year
When working across multiple repositories, you can start Claude in one repo and use — add-dir (or /add-dir) to let Claude see the other repo. This not only tells Claude about the repo but also gives it permissions to work in the repo. Or, add “additionalDirectories” to your team’s settings.json to always load in additional folders when starting Claude Code.Get All My 8 Books With 60% Off14. Use — agent to give Claude Code a custom system prompt & toolsGet 50% off for 1 year
Custom agents are a powerful primitive that often gets overlooked. To use it, just define a new agent in .claude/agents, then run claude — agent=<your agent’s name>Get All My 8 Books With 60% Off15. Use /voice to enable voice inputGet 50% off for 1 year
You can run /voice in CLI, then hold the space bar, press the voice button on the desktop, or enable dictation in your iOS settings.Get All My 8 Books With 60% OffIf you found this helpful and want to go deeper, I’m running a live workshop:Building Agent Skills for Claude Code
This is a 1.5-hour hands-on session where we’ll go beyond theory and actually build Skills together — from idea → design → implementation → testing.To Data & Beyond is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.Subscribe253SharePreviousNextDiscussion about this postCommentsRestacksTopLatestDiscussionsNo postsReady for more?Subscribe© 2026 Youssef Hosni · Privacy ∙ Terms ∙ Collection notice Start your SubstackGet the appSubstack is the home for great culture
This site requires JavaScript to run correctly. Please turn on JavaScript or unblock scripts