AI

Claude Code Tips: 10 Lessons From Using It Every Day

Ten practical Claude Code lessons from daily use: why each project needs its own folder, how skills and plugins eat tokens, the commands that keep sessions lean, and the Ponytail plugin we run.

Cartoon of a Claude robot holding up a tower of boxes labelled every plugin, 40 skills, all connectors, old notes and 55K tokens, while a person with a fix 1 typo note asks why the luggage
On this page

Claude Code is Anthropic’s AI agent that works inside a folder on your computer. It reads your files, runs commands and makes changes, with your permission. We use it every day at AlphaIT to build websites, write and check blog posts, and run reports for clients.

The tool is easy to start with. Using it well took us a few months of mistakes. The biggest one cost us tokens on every message. We ran everything from one big folder. Each new chat loaded every plugin, every skill and every connector we had installed, whether the job needed them or not. That was about 55,000 tokens before we typed a word.

Here are the ten changes we made. If you’re new to Claude itself (the chat app, not the coding tool), start with our guide on how to use Claude. For the latest product news, see what’s new in Claude.

1. Give every project its own folder

Claude Code starts in the folder you open it in. It loads that folder’s instructions, settings, skills and plugins. So the folder you start in decides how heavy the session is.

We used to start every session in one parent folder that held everything: our own website, client sites, a video project and a finance app. Every session paid for all of it.

Now we have one folder per area of work:

Folder What’s switched on there
Our company Website tools, blog skills, SEO and ads plugins
A large client Their website connector, SEO and ads plugins
Other clients SEO and ads plugins, keyword research
Video work Video editing skills only
The root folder Almost nothing. Personal and finance work only

Each folder has its own .claude/settings.json that turns on only the plugins that work needs. A setting called additionalDirectories lets a session still open files elsewhere when we ask it to.

The rule we follow now. Before you start a session, decide what the job is, then open the folder for that job. If a tool seems to be missing, you’re probably in the wrong folder.

2. Write a CLAUDE.md for each project

CLAUDE.md is a plain text file in the project folder. Claude Code reads it at the start of every session. It’s the place for the things you’d otherwise repeat every time:

  • how to build and test the project
  • where things live
  • what must never happen without your approval

Here’s a trimmed example of the kind of rules ours contains:

# Website project

## Commands
- Build and check: npm run build && npm run check
- Deploy to staging: npm run deploy:staging
- Deploy to production: npm run deploy:production (only when I say "deploy")

## Rules
- Always deploy to staging first and send me the link.
- Never change DNS or Cloudflare settings without asking.
- Never put passwords or API keys in the code.
- Don't invent testimonials, prices or customer numbers.

Keep it short. This file loads on every message. Ours grew to over 37 KB because we kept adding a log line after each release. That’s history, not instructions. Keep CLAUDE.md for rules and commands, and move logs and notes into a separate file Claude can open when it needs them.

3. Turn off plugins and connectors you don’t use

Plugins add skills, commands and tools. Connectors (MCP servers) add tools that reach other apps, like Google Ads or a WordPress site. Each one adds text Claude has to carry. Claude Code now loads connector tools lazily (only their names until one is used), which helps, but a long list of names still costs something.

Type /plugin to see what’s installed and switch things off. Better still, switch plugins on per folder, as in lesson 1. Our settings file for the company folder only turns on two:

{
  "enabledPlugins": {
    "claude-seo@agricidaniel-claude-seo": true,
    "adcopilot@synced": true
  }
}

We also removed a WordPress connector we no longer needed after moving our site off WordPress. Old connectors are easy to forget, and they keep costing tokens.

4. Understand how skills load

A skill is a folder with a SKILL.md file: written instructions for one kind of job, like “write a blog post our way” or “make a blog cover”. Skills are the best way to stop explaining the same process twice.

Only each skill’s short description loads at the start, which surprised us. The full instructions load when the job needs them. So 40 skills cost far less than 40 full documents. They still aren’t free, though, because 40 descriptions make a long list.

Three things that helped:

  1. Keep one copy of each skill. Our skills live in one store folder. Each project folder links to the ones it needs. On Windows, a directory junction does this: mklink /J. When we improve a skill, every project gets the change.
  2. Make rare skills manual. Adding disable-model-invocation: true at the top of a skill file takes it off the automatic list. It then runs only when you type its name, like /blog-rewrite.
  3. Delete skills you never use. We had 30 blog skills from one plugin. We use about five.

5. Watch your context, and clear it between jobs

The context is everything Claude is holding in mind for this session: your instructions, the files it read, its own replies. It fills up as you work.

Three commands are worth learning:

Command What it does When to use it
/context Shows what’s using the space When a session feels slow or forgetful
/compact Summarizes the conversation so far. You can add a focus, like /compact keep the deploy steps In the middle of a long job
/clear Starts fresh When you switch to a different job

Claude Code also compacts on its own when the context gets close to full. In one of our long sessions, that automatic compaction cut the context from 231,922 tokens to 33,560. Running /compact again right after saved only about 1,500 more, because there was little left to shrink.

The habit that saves the most is to type /clear when you change jobs. Going from a website fix to an ads report? Clear first. The skills you need will load again when you ask for that work.

6. Use helpers for research, not for everything

Claude Code can hand a task to a subagent, a helper with its own separate context. The helper reads ten web pages or fifty files, and only its summary comes back to your main session. That keeps your main conversation small.

But each helper starts from nothing and uses its own tokens. Spinning up five of them for a quick lookup costs more than doing it directly. We use them for:

  • research across many sources (checking a news story against the original reports)
  • searching a large codebase when we don’t know where something is
  • writing several blog posts at once, one helper per post

For a single file or a quick fact, we just ask in the main session.

7. Put your safety rules in writing

Claude Code asks before it edits files or runs commands, unless you tell it not to. That’s good, but approval prompts get tiring, and tired people click “yes”.

What works better for us is clear rules in CLAUDE.md, plus a few habits:

  • Staging first, always. Every website change goes to a test copy first. Nothing goes live until we type the word “deploy”.
  • Use plan mode for big changes. Press Shift+Tab to cycle modes. In plan mode, Claude researches and proposes a plan without editing anything.
  • Block the dangerous commands. Settings can deny specific commands outright. We keep a rollback script that should only ever run by hand, and the rules say so.
  • Keep secrets out of the chat and the code. Passwords and API keys go in environment files that are never committed, and we tell Claude not to print them.

If your business handles health or financial records, read our AI use policy template before anyone points an AI tool at client data.

8. Let it remember, but check what it saves

Claude Code can keep memory files between sessions: who you are, how you like things done, what a project is about. It saves these as small text files with an index file called MEMORY.md.

This works well. It also means a wrong note keeps coming back. Every few weeks, open the memory folder and delete anything out of date. We’ve had old notes point to a skill folder that had moved, which sent a session looking in the wrong place.

9. Try the Ponytail plugin

Ponytail is a free, open source plugin by Dietrich Gebert (MIT license). Its idea is a “lazy senior developer”: the smallest change that fully solves the task, and nothing extra.

AI coding tools tend to overbuild. Ask for a date picker and you can get a new library and 300 lines of code. Ponytail makes Claude go through a short ladder before it writes anything:

  1. Does this need to exist at all?
  2. Is there something in the project already that does it?
  3. Does the language or platform already do it?
  4. Is there a library already installed that does it?
  5. Can it be one line?
  6. Only then, write the smallest thing that works.

It’s not lazy about safety. Its rules say it never cuts input checks, error handling that prevents data loss, security or accessibility. Logic with money, security or branches leaves one small test behind.

Install it inside Claude Code, as two separate commands:

/plugin marketplace add DietrichGebert/ponytail
/plugin install ponytail@ponytail

Commands we use:

Command What it does
/ponytail lite, full or ultra Sets how strict it is. full is the default
/ponytail off Turns it off for the session
/ponytail-review Reviews your current changes for bugs, security, missing tests and code to cut
/ponytail-audit The same review for the whole project, ranked by what to fix first
/ponytail-debt Lists every shortcut it marked as “fix later”

Newer versions also show a small bar above the prompt with what the current task has cost in tokens and time. By default that data stays on your computer.

What the project claims. In its own benchmark (39 tasks, the same agent with and without the plugin, 5 runs each), it reports 53% less code, 45% fewer tokens and 26% lower cost. Those are the author’s numbers, not ours. We haven’t measured it ourselves.

What we noticed. Changes are smaller and easier to review. Every reply ends with a line on what it skipped or didn’t check, which tells you where to look before you trust the result.

10. Check its work like you’d check a new hire’s

Claude Code is fast and usually right, but not always. It has told us a fix was done when a step had failed. It has read an old note and worked from out of date facts.

So we:

  • ask it to run the tests or the build after every change, and show the result
  • look at the staging site ourselves before anything goes live
  • ask “what did you not check?” when the answer looks too tidy
  • keep the project in Git, so any change can be undone
  • keep good backups of anything it can touch

Where to start this week

If you only do three things:

  1. Make one folder per project and start each session in the right one.
  2. Write a short CLAUDE.md with your commands and your “never do this” rules.
  3. Type /clear when you switch jobs.

Those three cut our fixed token cost the most, and they cost nothing.

AlphaIT helps Edmonton businesses set up AI tools safely, from Claude and Microsoft Copilot to the policies around them. If you want help choosing or setting up tools for your team, see our AI solutions page or contact us.

Sources

Frequently asked questions

Is Claude Code only for programmers?

Mostly, yes. It runs in a terminal or a desktop app and works on files and commands. We also use it for non-code work, like checking blog posts and building reports. If you only need writing and research help, the regular Claude app is simpler. See our Claude guide.

Why does Claude Code use so many tokens?

Every message carries the instructions, skill list, plugin tools and conversation so far. A large CLAUDE.md, many plugins and long sessions all add up. A folder per project, fewer plugins and /clear between jobs make the biggest difference.

What's the difference between a skill and a plugin?

A skill is one set of instructions for one kind of job. A plugin is a package that can contain several skills, commands, connectors and hooks, installed together with /plugin.

Is the Ponytail plugin safe to install?

It’s open source under the MIT license, so you can read every file before installing. Like any plugin, it runs with the same access Claude Code has in your folder. Read it first, as you would any software you add to a work computer.

Does /compact lose information?

Yes, some. It replaces the full conversation with a summary, so small details can drop out. Before compacting in the middle of a job, ask Claude to write down anything important in a file first.

Let’s get your IT set up right

We’ll review your current setup, find what’s causing problems and give you a practical plan for support, security and growth. No obligation.