cd /news/ai-agents/boris-cherny-s-claude-code-talk-ever… · home › topics › ai-agents › article
[ARTICLE · art-177721] src=explainx.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Boris Cherny's Claude Code Talk: Every Tip From the 28-Minute Video

Boris Cherny, a member of technical staff at Anthropic who created Claude Code, used a 28-minute talk at Anthropic's 2025 Code with Claude developer event to recommend codebase Q&A as the single most valuable practice, saying technical onboarding at Anthropic fell from "about two or three weeks" to "about two or three days." Cherny advised asking Claude to brainstorm, plan and run the plan past the user before writing code, and giving Claude a way to check its own work through unit tests, Puppeteer screenshots or the iOS simulator. He also recommended keeping CLAUDE.md short with common bash commands, MCP tools, architecture decisions and important files, checking CLAUDE.md and an MCP JSON file into the repo for team sharing, running Claude in CI via `claude -p` with allowed tools and JSON output, and scaling with multiple repo checkouts or git worktrees running Claudes in parallel.

recommendation

Before letting a coding agent edit, ask it to brainstorm, plan and run the plan past you, then give it unit tests or screenshots to verify its own output.

more in playbook: Working with AI coding agents
by read13 min views4 publishedNov 28, 2026
Boris Cherny's Claude Code Talk: Every Tip From the 28-Minute Video
Image: Explainx (auto-discovered)

Boris Cherny, who created Claude Code, gave a 28-minute talk of practical tips at Anthropic's Code with Claude event. Boris says little about prompt wording. He spends nearly the whole talk on workflow: what to ask first, when to plan, what to wire in, and how to let Claude check its own work.

This post walks through every tip in the order he gives it. For each one you get the claim, why it works, and a prompt you can paste into Claude Code today. If you are new to the tool, our Claude Code commands reference covers the commands he mentions.

TL;DR: the talk in one table #

Question Boris Cherny's answer
Where do I start? Codebase Q&A. Ask questions before you edit anything.
How do I stop Claude building the wrong thing? Ask it to "brainstorm ideas, make a plan, run it by me" before it writes code.
Do I need plan mode for that? No. "All you have to do is ask Claude."
What makes results much better? Give Claude a way to check its work: unit tests, Puppeteer screenshots, the iOS simulator.
What goes in CLAUDE.md? Common bash commands, MCP tools, architecture decisions, important files. Keep it short.
How do I share setup with the team? Check CLAUDE.md and an MCP JSON file into the repo.
How do I run Claude in CI? claude -p with a prompt, allowed tools and JSON output.
How do power users scale? Several checkouts of the repo or git worktrees, running Claudes in parallel.

Who is Boris Cherny, and where is this talk from? #

Boris opens with "I'm a member of technical staff here at Anthropic and I created Claude Code." The session is a workshop from Anthropic's Code with Claude developer event in 2025. In the transcript he says "today we announced a GitHub app," which places it on the event's launch day. Several copies of the recording are on YouTube, with titles like "Mastering Claude Code in 30 Minutes."

The talk is a set of working habits from the person who built the tool. It is not a full curriculum, and Boris says up front that it is "going to be very practical," with no history or theory.

Tip 1: Set up the environment first #

Before any prompting, Boris lists a few setup commands:

  • /terminal-setup gives you Shift+Enter for new lines, so you do not need backslashes.
  • /theme switches light, dark or color-blind-friendly themes.
  • /install-github-app lets you @-mention Claude on any GitHub issue or pull request.
  • The allowed-tools list lets you pre-approve commands you are prompted about all the time.

The unusual tip is dictation. On macOS he enables dictation in system settings and presses the key twice to speak his prompts. His reason: "it helps a lot to have specific prompts," and talking is faster than typing a long, specific request. You "just talk to Claude Code like you would another engineer."

Tip 2: Start with codebase Q&A, not edits #

Boris says this is the one thing he recommends "above everything else." It is how Anthropic onboards engineers: on day one they install Claude Code and start asking questions about the codebase.

His numbers: onboarding for technical hires "used to take about two or three weeks" and "is now about two or three days." Treat that as Anthropic's own claim about its own team, not a benchmark. The mechanism is believable, though. Claude explores the repo directly, so a new engineer stops queuing questions for teammates.

Two details matter for adoption:

  1. No indexing. Boris says there is no remote database of your code, nothing is uploaded for indexing, and Anthropic does not train generative models on the code. That also means no setup wait.
  2. Questions go deeper than search. Ask how a class is instantiated and Claude looks for real usage examples, not just matches.

Prompts he gives as examples, adapted:

How is the PaymentClient class instantiated, and where is it used?
Look through git history: why does syncOrders have 15 arguments, and who added them?
What did I ship this week?

The git-history question works, Boris says, without special prompting: "There's nothing in the system prompt about looking through git history. It knows it because the model is awesome." His own Monday ritual is asking "what did I ship this week?" and pasting the answer into the standup doc.

A coding assistant answering questions about a codebase as part of Claude Code codebase Q&A

Tip 3: Make a plan before Claude writes code #

The failure Boris describes is familiar. You ask for a huge feature and "sometimes it gets this right on the first shot," but sometimes "the thing that it builds is not at all the thing that you wanted."

His fix costs one sentence: ask Claude to "brainstorm ideas, make a plan, run it by me, ask for approval before you write code." He adds that you do not need plan mode or any special tool: "just say before you write code, make a plan. That's it."

If you do want the built-in version, see our plan mode guide. The principle is the same. A wrong plan costs you a paragraph to fix. A wrong implementation costs you a diff.

He also shares his favorite shortcut prompt: "commit, push, PR." Claude reads the log to learn your commit format, makes a branch, commits, pushes and opens the pull request. Nobody prompted it to do this. He credits the model: "The model is good."

Tip 4: Give Claude your team's tools #

Boris names two kinds of tool:

  • Bash tools. He uses a made-up CLI called "barley" as the example. Tell Claude the tool exists and to run--help to learn it. If you use it often, put it in CLAUDE.md so it carries across sessions.
  • MCP tools. Add the server, tell Claude what it is for, and "it'll just start using it."

The payoff, in his words, is that on a new codebase "you can just give it all the tools your team already uses." For the protocol itself see what is MCP, and for setup see connecting MCP servers to Claude Code.

Tip 5: Give Claude a way to check its work #

This is the tip with the biggest quality jump, and Boris calls it "extremely powerful." If Claude can run unit tests, take a Puppeteer screenshot or screenshot the iOS simulator, it can iterate on its own output.

His example is a UI mock. Hand Claude a mock and ask for the web page, and "it'll get it pretty good. But if you let it iterate two or three times, often it gets it almost perfect." In Anthropic's apps repo, the team checks in a Puppeteer MCP server so every engineer gets end-to-end testing and screenshots without installing anything.

The general rule: whatever your domain, "give it a way to see its result." A test command, a linter, a screenshot or a type check all count.

Tip 6: Tune your context, starting with CLAUDE.md #

Boris says more context produces smarter decisions, because an engineer carries history and system knowledge that Claude lacks. The simplest delivery is CLAUDE.md in the project root. It is read into the first turn of every session.

His rules for it:

Rule Detail from the talk
Check CLAUDE.md into source control Write it once and share it with the team.
Use a local CLAUDE.md for yourself It is not checked in; it holds personal preferences.
Put in commands, MCP tools, architecture decisions, key files "Anything you would typically need to know to work in this codebase."
Keep it short A long file "is just going to use up a bunch of context."
Nest files in child directories They load on demand when Claude works in that directory.
Enterprise root file A company can manage one shared across all codebases.

He also lists custom slash commands, stored in a .claude/commands folder at user or project level. Anthropic's own repo uses one that a GitHub Action runs to label incoming issues, "so humans don't have to." And you can @-mention files to pull them in directly.

His advice on tuning: "definitely take the time to tune context." Run it through a prompt improver, and decide who each piece is for: everyone, only on demand, the team, or just you.

A project instructions file pinned beside a folder, the idea behind a short shared CLAUDE.md

For a deeper comparison of CLAUDE.md with skills and MCP, read steering Claude Code with CLAUDE.md, skills, hooks and rules and what CLAUDE.md is.

Tip 7: Share config with the team, and lock down what must not run #

Boris describes a hierarchy: project settings tied to your repo, global settings across projects, and enterprise policies that a company rolls out to everyone. The same layering applies to slash commands, permissions and MCP servers.

Two uses stand out:

  • Auto-approve a command all your engineers run, such as a shared test command, by putting it in the enterprise policy file.
  • Block a command or a URL that must never be fetched. Employees cannot override it.

For MCP, check an MCP JSON file into the repo. Anyone running Claude Code there is prompted to install the servers. His advice when the options feel overwhelming ("an insane matrix"): start with shared project context. "Someone does a little bit of work and everyone on the team benefits."

Tip 8: Learn the key bindings #

Boris s for a quick reference sheet, because terminal UIs hide features. The ones he names:

Key What it does
Shift+Tab Switches to auto-accept edits. Bash commands still need approval.
# then text Tells Claude to remember something; it is written into CLAUDE.md.
! then command Runs a bash command locally and puts the output in context.
@ Mentions files and folders.
Esc Stops Claude. He says it does not corrupt the session.
Esc twice Jumps back in history.
--resume or--continue Resumes a previous session.
Ctrl+R Shows full output, the same as Claude sees in context.

His Escape habit is worth copying. If Claude proposes a 20-line edit and 19 lines look right, stop it, name the one line to change, and ask it to redo the edit.

Treat these as a 2025 snapshot. Claude Code ships changes often, and the # memory shortcut in particular has been reworked since. Check /help and the commands reference before relying on any single key.

Tip 9: Use Claude as a Unix utility with the SDK #

Boris says claude -p is "what the SDK is," and it is the same one Claude Code uses. You pass a prompt, allowed tools (including specific bash commands) and an output format such as JSON or streaming JSON.

He calls it "a super intelligent Unix utility." Anthropic uses it "in CI all the time" and for incident response. You can pipe a log in, pipe git status through it, or pull data from a CLI like Sentry and pipe the result to Claude. His summary: "we've barely scratched the surface."

git status | claude -p "Summarize what changed and flag anything risky" --output-format json | jq -r '.result'

Check the flag names against your installed version. They have changed over time.

Tip 10: Run many sessions in parallel #

Boris describes himself as "a Claude normie," running one session at a time with a few terminal tabs. Power users, he says, almost always run SSH sessions and tmux tunnels into Claude, keep several checkouts of the same repo, or use git worktrees to isolate parallel runs. "You can run as many sessions as you want."

Anthropic was still working on making this easier at the time. It has since shipped more tooling, which we cover in the desktop parallel sessions and worktrees guide and the subagents guide.

Parallel git worktree branches, the setup power users run for Claude Code parallel sessions

What he said in the Q&A #

Four answers from the audience questions are useful:

  • Hardest part to build: making bash commands safe. Bash can change system state, but approving every command is unusable. The result is read-only command detection, static analysis for safe combinations, and "a pretty complex tiered permission system" with allow and block lists.
  • Images: Claude Code is "fully multimodal." You can drag in, paste or point to an image path. He drops in a mock, asks for an implementation, and adds a Puppeteer server so it can iterate.
  • Why a CLI and not an IDE: people at Anthropic use VS Code, Zed, Xcode, Vim and Emacs, so the terminal is the common denominator. He also predicted "a good chance that by the end of the year people aren't using IDEs anymore."
  • Internal use: about 80 percent of technical staff at Anthropic use Claude Code every day, including researchers who use the notebook tool.

That IDE prediction did not fully come true. Editors are still common, and Claude Code now also runs in a desktop app and in cloud sessions. Take it as a statement of the team's bet in 2025, not a forecast to plan around.

What people are asking about the video #

Is it worth 28 minutes? If you already use CLAUDE.md, plan first and have a test command wired in, you will recognize most of it. If not, tips 2, 3 and 5 alone change results.

Is it a full curriculum? No. It is one practitioner's habits, with no exercises or feedback. Our Claude Code course guide compares free and paid paths for people who want structure.

What is not in it? Hooks, skills and subagents get no coverage, because they came later or were not the talk's focus. Hooks and skills are the next layer once CLAUDE.md is solid. Cost control is also absent; see token efficiency and prompt caching.

What to do this week #

  1. Open a repo you know badly and ask Claude five questions about it before touching code.
  2. Add "before you write code, make a plan and wait for my approval" to your next large task.
  3. Trim your CLAUDE.md to commands, style rules and key files. Delete anything Claude can find by reading the code.
  4. Name one command Claude can run to check its work, and put it in CLAUDE.md.
  5. If you work on a team, check in the shared files so one person's setup helps everyone.

Details from the talk reflect what Boris Cherny said at Code with Claude in 2025. Commands, shortcuts and features in Claude Code change often. Check the official docs for current behavior. Published November 28, 2026.

── more in #ai-agents 4 stories · sorted by recency
── more on @boris cherny 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/boris-cherny-s-claud…] indexed:0 read:13min 2026-11-28 · —