# Claude Code Tips: 15 Habits That Keep It on Track

> Claude Code tips for real projects: CLAUDE.md, plan mode, clearing context, permissions, skills, screenshots and checks that stop it from saying done too early.

Canonical: https://nexin.si/blog/claude-code-tips

[Claude](https://nexin.si/blog/category/claude)

Nexin · November 7, 2026 · 6 min read

Useful Claude Code tips are mostly about context and checks, not clever prompts. Give it a CLAUDE.md with your rules and commands. Ask for a plan before big changes, keep one task per conversation and clear the context between tasks. Point it at the exact files, and tell it how to prove the work is done: a test, a build, a screenshot. Then turn the jobs you repeat into skills so you stop typing the same instructions.

Below are 15 habits, grouped by when you use them: before a task, while it runs, and after it says done.

## Why does Claude Code sometimes go off track?

Claude Code works in a folder on your computer. It reads files, edits them and runs commands, asking before anything you haven’t allowed. That’s what makes it useful, and also why vague requests go wrong: it fills the gaps with guesses, and a guess in a real project means edited files you now have to check.

Most bad sessions trace back to one of three things: it didn’t know a rule only you knew, the conversation carried too much old context, or nobody told it how to check its own work. Each tip below fixes one of those.

## What should you set up before you start?

**1. Write a CLAUDE.md.** Claude Code reads `CLAUDE.md` at the start of every session in that folder. Put the commands to run tests and builds, the house rules, and what it must never touch. Run `/init` to get a first draft, then cut the obvious parts. Our guide to [CLAUDE.md](https://nexin.si/blog/claude-md) covers what to put in it, and the [CLAUDE.md Starter](https://nexin.si/library/claude-md-starter) is a template to fill in.

**2. Add a “done means” line.** Tell it what counts as finished: tests pass, the build runs, the page loads. Without it, “done” means “I wrote the code”.

**3. Allow the safe commands once.** Approving the same test command over and over teaches you to click yes without reading. Allow the read-only and test commands in your settings, and keep the prompts for the commands that change things.

**4. Start in the right folder.** Open Claude Code in the project’s root, not your home folder. It reads what’s around it, and a smaller, relevant folder means better answers.

## How should you ask Claude Code for something?

**5. One task per conversation.** “Fix the login bug” is a session. “Fix the login bug, then redo the pricing page, then update the docs” is three. Mixed tasks blur together, and the third one gets the least attention.

**6. Ask for a plan first on anything big.** Plan mode (press Shift+Tab to cycle the modes) has Claude read and propose without editing. Read the plan, fix the wrong assumptions, then let it build. Reading a plan takes minutes; reverting a wrong build takes longer.

**7. Point at the files.** Type `@` to reference a file or folder by path. “Fix the date bug in `@app/models/invoice.rb`” beats “fix the date bug somewhere in billing”.

**8. Show, don’t describe.** Paste a screenshot of the broken layout, the error message or the design you want. An image is clearer than “the button is a bit too far to the left”.

**9. Give it the example to copy.** “Write the new endpoint like `@api/orders.rb`” gets you code in your style. Without an example, you get its default style.

## How do you keep a long session on track?

**10. Clear the context between tasks.** `/clear` starts fresh in the same window. Old context costs tokens on every message and pulls new answers toward the old task. When a session gets long but you’re mid-task, `/compact` summarizes it instead.

**11. Interrupt early.** Press Esc the moment it heads the wrong way. Correcting a direction after one file is cheap; after twelve files it isn’t.

**12. Run shell commands without leaving.** Start a line with `!` to run a command yourself, like `!git status`, and its output lands in the conversation for Claude to read.

## How do you check Claude Code’s work?

**13. Make it prove the result.** Ask it to run the tests, the build or the linter and show you the output before it says done. For anything visual, ask it to take a screenshot and look at it. A claim of “fixed” with no output behind it isn’t a fix yet.

**14. Commit before big changes.** Commit a clean state first, so any change is one `git diff` to read and one command to undo. Small commits also make the review easier: you read one change at a time.

**15. Turn repeated instructions into skills.** If you’ve typed the same instructions three times, write them down as a skill: a folder with a `SKILL.md` that Claude Code reads when your request matches. Commit messages, code reviews, release notes and blog drafts are good first candidates. See [what Claude skills are](https://nexin.si/blog/what-are-claude-skills) and [how to create one](https://nexin.si/blog/how-to-create-a-claude-skill).

## Which Claude Code tips matter most for non-coders?

The same ones, with a different folder. Marketers and founders use Claude Code on drafts, CSV exports, landing pages and brand files. CLAUDE.md holds your brand rules, “done means” becomes “the PDF opens and every slide fits”, and screenshots do much of the explaining. The free [What Can Claude Code Do?](https://nexin.si/library/what-can-claude-code-do) guide lists use cases beyond code, each with a prompt to copy.

| Habit | Fixes | Where it lives |
|---|---|---|
| CLAUDE.md | Rules it couldn’t know | A file in the project |
| Plan first | Wrong assumptions | Plan mode |
| One task, then `/clear` | Stale context | The session |
| `@` files and screenshots | Vague requests | Your message |
| Prove it’s done | Early “done” | Tests, builds, screenshots |
| Skills | Repeating yourself | `SKILL.md` folders |

## What doesn’t work well?

Long, polite prompts with no facts in them. Asking for “the best possible code” or “be very careful” changes little; a test command and a file path change a lot. Running one session all day also wears thin: by afternoon it’s carrying context from three tasks ago. And letting it run commands you haven’t read is how a quick fix becomes a cleanup.

## FAQ

### Is Claude Code only for developers?

No. It works on any files: documents, spreadsheets, images, slides. If the job lives in files or can be done with a command, Claude Code can do it. Our [Claude Code install guide](https://nexin.si/library/install-claude-code) covers setup on Mac, Windows and Linux.

### Do I need a paid plan for Claude Code?

Yes. It needs a paid Claude plan (Pro, Max, Team or Enterprise) or an Anthropic Console account with API credits. The free claude.ai plan doesn’t include it. See [is Claude free](https://nexin.si/blog/is-claude-free) for what each plan covers.

### What is the difference between CLAUDE.md and a skill?

CLAUDE.md is read at the start of every session in that folder: standing rules for the project. A skill is read only when your request matches it: a method for one kind of job. Use CLAUDE.md for “always” and skills for “when I ask for X”.

### How do I stop Claude Code from asking permission all the time?

Allow the commands you trust, like your test and build commands, in Claude Code’s settings or when it asks. Keep approval on for commands that delete, deploy or push.

---

**Skip the setup work.** The Nexin library has skills and kits for Claude Code: the [AI Code Review](https://nexin.si/library/ai-code-review) and [Conventional Commits Writer](https://nexin.si/library/conventional-commits) skills, the [CLAUDE.md Starter](https://nexin.si/library/claude-md-starter), and kits like the [Video Kit](https://nexin.si/library/video-kit) and [Carousel Kit](https://nexin.si/library/carousel-kit) that render videos and carousels on your own computer. Guides like [Claude Code Skills](https://nexin.si/library/claude-code-skills) are free. One payment opens every skill, prompt, template and kit, plus everything added later, so you install tested skills instead of writing and debugging each one yourself.

[Get Nexin, $27 once](https://nexin.si/checkout?item=nexin:once), with a 7-day money-back guarantee.

**About this article.** Written by the team that builds Nexin, a content system of tools and prompts for Claude and ChatGPT. Spotted something wrong or out of date? Write to [support@nexin.si](mailto:support@nexin.si).

## Turn one idea into every channel.

 [See pricing](https://nexin.si/#pricing)

More in Claude

[CLAUDE](https://nexin.si/blog/category/claude) Oct 30, 2026 · 7 min

## [Claude Prompts: 15 Copy-Paste Prompts for Everyday Work](https://nexin.si/blog/claude-prompts)

15 Claude prompts for email, writing, planning and analysis, plus the 5 habits that make Claude answer well on the first try. Copy, fill in, paste.

[CLAUDE](https://nexin.si/blog/category/claude) Oct 22, 2026 · 4 min

## [Is Claude Free? What the Free Plan Includes in 2026](https://nexin.si/blog/is-claude-free)

Is Claude free? Yes, Claude.ai has a free plan with usage limits. What it includes, what needs Pro ($20) or Max, and whether Claude Code is free.

[CLAUDE](https://nexin.si/blog/category/claude) Oct 22, 2026 · 5 min

## [CLAUDE.md: What It Is and What to Put in It](https://nexin.si/blog/claude-md)

What a CLAUDE.md file is, where Claude Code reads it from, what to put in it (rules, commands, tests, limits) and what to leave out, with a starter template.
