Skip to content
Day 69: new resources are added every day. See what's new

Free guide

20 Claude Code Tips

Practical Claude Code habits that save time, tokens, and mistakes

  • 10 bite-sized sections
  • 4 min read
  • Free, no signup

Short answer

A free guide to 20 Claude Code tips as of October 2026: CLAUDE.md, plan mode, context control, rewinding, subagents, skills, hooks, MCP, plugins and mods, permissions, headless mode, worktrees, models and effort, code review, and safe habits.

Updated

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

Inside this guide

Short cards you can read in order or jump straight to. Tap the link icon on any card to share just that part.

01

Know the tool before you start

Claude Code is Anthropic’s agentic coding tool. It runs in the terminal, the desktop app, the web at claude.ai/code, and IDE extensions for VS Code and JetBrains. With your permission, it reads your project, edits files, and runs commands.

Claude Code is fast. Good habits make it dependable.

02

Set up the project

1 · Run /init

It generates a CLAUDE.md file that describes your project, commands, and conventions. Claude reads it at the start of each session.

2 · Keep CLAUDE.md lean

List build and test commands, style rules, and the things Claude keeps getting wrong. Cut anything outdated.

3 · Reference files with @

Mention files with @ so Claude reads exactly what matters instead of hunting for it.

4 · Paste screenshots

Paste an image of a design or an error. That is often quicker than describing it.

03

Plan before you build

5 · Use plan mode

Press Shift+Tab to cycle through modes and choose plan mode. Claude researches and proposes a plan without touching files.

6 · Start with tests

For larger changes, have Claude write or update tests first, then make them pass.

7 · Define a clear finish line

Spell out what done means: “The page loads, tests pass, and nothing else changes.”

04

Manage context and tokens

8 · Run /clear between tasks

A fresh context for every new task keeps answers focused and saves tokens.

9 · Run /compact in long sessions

It condenses the conversation so you can continue with less context.

10 · Match the model and effort to the task

Switch with /model. Use bigger models and higher effort for hard problems, and smaller ones, such as Haiku 5.5, for quick tasks.

05

Fix mistakes fast

11 · Press Esc to stop

Interrupt Claude the moment it heads the wrong way, then point it back on course.

12 · Rewind to a checkpoint

Press Esc twice, or run /rewind, to return to an earlier point in both the conversation and the code.

13 · Pick up past sessions

Run /resume, or start with claude --continue, to continue where you stopped.

06

Extend Claude Code

14 · Delegate to subagents

Subagents take on side tasks, such as searching or reviewing, in a context of their own. Since October 2026, you can set the effort level each subagent runs at.

15 · Turn repeated work into skills

Save instructions for recurring tasks as skills or slash commands, so you never type them twice.

16 · Add hooks

Hooks run your own commands at set points, such as formatting code after each edit.

17 · Connect MCP servers and plugins

Connect tools such as GitHub, databases, or docs through MCP. Install plugins from marketplaces, and use mods, added in October 2026, to change how Claude Code itself behaves.

07

Work faster

18 · Set permissions once

Allow safe, frequent commands, such as running tests, so Claude stops asking about them. Keep risky commands on ask.

19 · Work in parallel with worktrees

Use separate git worktrees so several sessions can tackle different tasks without colliding.

20 · Run headless

Run claude -p "your prompt" in scripts and automations for one-off tasks, with no interactive screen.

08

Review before you ship

  • Read every diff before you commit
  • Run the tests and the app yourself
  • Use /code-review to have Claude check the changes for bugs
  • Never let it push to production without your sign-off
09

Keep it safe

  • Never paste passwords, API keys, or tokens into prompts
  • Keep secrets in environment files that stay out of commits
  • Never allow broad commands, such as deleting files, without a prompt
  • Use git so every change can be undone
10

Use a master task prompt

Task: [what to build or fix]. Context: [files, links, or errors]. Rules: [style, libraries, what not to change]. Done means: [tests pass, behavior, output]. Read the relevant files first and propose a short plan. Wait for my OK, then make the smallest change that works, run the tests, and summarize what you changed.

The golden rule

Do not ask Claude Code to do everything at once. Give it context, a plan, and a clear finish line. Then review what it built.

  • CLAUDE.md
  • Plan
  • Context
  • Rewind
  • Subagents
  • Skills
  • Review

Today, run /init in one project and add your test command plus three rules to CLAUDE.md.

Share this guide

Frequently asked questions

The quick answers, if you just need the gist.

What does “20 Claude Code Tips” cover?
It has 10 sections, starting with “Know the tool before you start”, “Set up the project”, “Plan before you build” and “Manage context and tokens”, plus 6 more sections.
How long does it take to read?
About 4 minutes. Every section is a short, self-contained card, so you can jump straight to the part you need.
Is this guide free?
Yes. The full guide is free to read on this page, with no sign-up.
When was this guide last updated?
It was last updated in October 2026.

Keep reading

More free guides you might like. Still no signup.

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.