THE BINARY MONSTER JOURNAL / how-to

How to Use Claude Code: Setup, Prompts and Daily Workflow

A practical walkthrough of Claude Code: installing it, a worked first session, choosing a model, CLAUDE.md, skills and MCP, and the habits that stop long agent runs from freezing your machine or wrecking your repo.

Diagram of how to use Claude Code: a request in the terminal becomes a plan and reviewed file changes

If you want to know how to use Claude Code, the short version is this: it is an AI agent that lives in your terminal, reads your project, and makes changes when you ask in plain English. You stay in charge by reviewing its plans and approving the commands it wants to run. This guide walks through setup, a realistic first session, model choice, project memory, and the habits that keep long runs from going wrong.

What Claude Code is, and what it isn’t

Claude Code is Anthropic’s agentic command-line tool. “Agentic” means it does more than answer questions. It can open files, search your codebase, edit code, run shell commands such as tests or builds, and then look at the results to decide its next step. It first appeared in early 2025 and has since gained a web version and a sandboxing feature.

It is not a chat window that pastes code snippets for you to copy. The useful mental model is a fast junior developer sitting at your keyboard: capable, eager, and sometimes overconfident. It works best when you give it a clear goal, a way to check its work (usually tests), and a project it can read.

A few terms you will see:

  • Session: one running conversation with Claude Code in a project folder.
  • Context: everything the model currently “remembers” in that session, including files it has read and your messages.
  • Permission prompt: the question Claude Code asks before it edits a file or runs a command, unless you have pre-approved that action.
  • Diff: the before-and-after view of a change. Reading diffs is the main skill you need.

How to install and start Claude Code

Installation methods change between versions, so follow Anthropic’s current install page rather than an old video. Historically it has been installed through npm (the Node.js package manager), and Anthropic has also offered a native installer. Either way, the end result is a claude command you can run in a terminal.

  1. Get an account that includes Claude Code. You can sign in with a Claude subscription or use API billing through Anthropic’s developer console. Check current plan details yourself; usage limits and costs differ.
  2. Install the CLI using the method on the official page for your operating system.
  3. Open a terminal in your project folder. Claude Code works on the directory you start it in, so start it at the root of the repo.
  4. Make sure the project is in git and committed. This is your undo button.
  5. Run claude and sign in when prompted.
cd ~/projects/my-app
git status          # clean working tree before you start
claude

Once it starts, type /help to see the commands your version supports. Slash commands are typed at the prompt and control the session itself, for example clearing context or switching models.

Loop diagram showing asking Claude Code for a change, reviewing the diff and approving it
The basic Claude Code loop: ask for one change, review what it proposes, then approve or redirect.

Your first Claude Code session: a worked example

Imagine a small web app where the signup form accepts empty email addresses. Here is a sensible way to handle that in a first session.

1. Ask it to look before it touches anything

Start with a read-only request:

Find where the signup form validates input. Don't change anything yet.
Explain how validation works and where an empty email slips through.

This shows you whether it understood the codebase. If its explanation is wrong, correct it now, while nothing has been edited.

2. Ask for a plan

Recent versions include a plan mode (often toggled with Shift+Tab) where Claude Code proposes steps without editing files. You can also simply ask: “Propose a plan to reject empty and malformed emails, including a test.” Read the plan. Cut anything you didn’t ask for.

3. Let it make the change, then verify

Go ahead with the plan. Add a failing test first, then fix the validation,
then run only the signup tests and show me the output.

When it asks permission to edit a file or run a command, read the diff or the command before you approve. If it heads in the wrong direction, press Esc to interrupt and redirect it.

4. Commit, then clear

Review the final diff with git diff, commit it, and use /clear before starting an unrelated task. Fresh context stops details from the previous job leaking into the next one.

That four-part loop (look, plan, change and verify, commit) covers most of what using Claude Code well looks like day to day.

Choosing a model, including Fable 5

Claude Code can run on different Claude models. Anthropic’s lineup currently includes the Haiku, Sonnet and Opus 5.5 family, plus Fable, a publicly released model built on Anthropic’s more capable Mythos model with stricter safeguards. Fable 5.2 is the latest stable Fable release at the time of writing.

To switch models, run /model inside a session and pick from the list. The list reflects what your account can actually use. If you want to try Fable 5 in Claude Code and it does not appear, your plan may not include it there yet; check Anthropic’s current model documentation rather than guessing a model ID.

Task typeReasonable starting choiceTrade-off
Quick edits, renames, small scriptsA smaller, faster model such as HaikuCheaper and quicker, but weaker on tricky reasoning
Everyday feature work and bug fixesSonnetA balance of speed, cost and quality
Hard refactors, architecture, subtle bugsOpus or Fable, if available to youUsually slower and uses more of your allowance

A practical pattern: plan with a stronger model, then switch to a faster one for mechanical follow-up work. Don’t assume the biggest model is always better; for routine edits it mostly costs more time and quota.

CLAUDE.md, skills, MCP and computer use

Once the basics feel comfortable, these four features make Claude Code far more useful on real projects.

CLAUDE.md: project memory

CLAUDE.md is a Markdown file in your repo that Claude Code reads at the start of each session. Run /init to generate a draft, then edit it by hand. Keep it short and specific:

# Project notes for Claude Code
- Run tests: npm test -- --run
- Lint before finishing: npm run lint
- Never edit files in /vendor or /generated
- Use TypeScript strict mode; no "any"
- Ask before adding new dependencies

If you find yourself repeating an instruction in every session, it belongs here.

Skills: reusable procedures

Skills are packaged instructions (and optionally scripts) that Claude Code can load when a task matches them, such as “release checklist” or “write a database migration our way”. In recent versions they live in folders containing a SKILL.md file, either in your project or your user settings. Use them for multi-step procedures; keep CLAUDE.md for always-on rules.

MCP: connecting other tools

The Model Context Protocol (MCP) is a standard way to give the agent access to outside tools, such as an issue tracker, a database, or a browser automation server. Add servers only when a task needs them, and remember each one is a new thing the agent can read from or act on.

Computer use from the CLI

Anthropic also documents computer use for Claude Code, which lets Claude open apps and work with your screen, for example building a desktop app, launching it and checking that it looks right. This is the broadest permission on the list. Follow the official setup steps, enable it only for tasks that need it, and watch the first few runs. Our explainer on how computer use AI agents work covers the general risks and good fits.

Diagram showing CLAUDE.md, skills, MCP tools and computer use as layers that extend Claude Code
Project memory, skills, MCP tools and computer use each add context or reach to the same agent.

Terminal, IDE or web: where to run it

People argue about this a lot, and there is no single right answer.

  • Editor’s built-in terminal (VS Code, Cursor and similar): run claude in the integrated terminal and watch files change in the editor. Simple and popular. Anthropic has also offered editor integrations that show diffs inside the IDE.
  • Separate terminal, tiled beside the editor: more screen room for the agent’s output, and you can run several sessions in different windows.
  • Headless mode: claude -p "your prompt" runs a single request and prints the result, which is handy in scripts.
  • Web version: useful when you want work to run without tying up your own machine, at the cost of less direct control over your local setup.

Claude Code also pairs well with other tools that accept a coding agent. Our Golem AI web browser, which currently has a v0.1.4 prerelease download, includes its own coding agent alongside browser automation. Xorn, our AI video editor (coming soon), is designed so Claude Code, Cursor or Codex can create and edit videos while you work in the same visual editor. If video is your use case, see our guide to Claude AI video editing workflows.

Keeping your computer usable during long agent runs

Using Claude Code for an afternoon exposes two practical annoyances: your machine slows down, and you type a lot of long prompts.

CPU spikes

The agent itself is light. The builds, test suites, package installs and dev servers it starts are not, and they can grab every core. Run two or three sessions in parallel and your mouse starts to stutter. Things that help:

  • Ask for targeted tests (“run only the auth tests”) instead of the full suite after every edit.
  • Stop dev servers it launched once you’re done with them.
  • Limit how many sessions you run at once.

Our guide to reducing CPU usage on Windows covers the general fixes. We are also building CPU Limit, a small Windows utility (coming soon) that reserves part of your processor for you so the computer stays usable while agents work.

Typing long prompts

Good prompts are detailed, and detail is tiring to type. Many people dictate instead. Windows has built-in voice typing, covered in our speech recognition in Windows guide. Hotkey Voice Dictate, coming soon for Windows, is our planned always-available voice-to-text app triggered by a global hotkey, aimed squarely at this kind of work. Further out, Eve: AI Computer Agent (also coming soon) is designed to hold real-time voice conversations and drive coding agents, including Claude Code, for you.

You can browse everything we make on the Software and Utilities pages.

Common mistakes when using Claude Code

  • Starting without a clean git state. If you can’t easily undo, you will hesitate to let it try things, or regret it when it gets things wrong.
  • Asking for too much at once. “Rebuild the dashboard and add billing” produces sprawling diffs that are hard to review. Break it into small, testable steps.
  • Approving commands without reading them. Pre-approve safe, repetitive commands like your test runner; read anything that deletes, installs, or touches the network.
  • Never clearing context. Very long sessions get muddled. Clear between tasks, or ask it to summarise progress into a file and start fresh.
  • No way to verify. Without tests or a clear check, the agent can only guess whether it succeeded. Give it a command that proves the change works.
  • Treating CLAUDE.md as a novel. Long, vague rule files get followed loosely. Short, concrete rules get followed.
  • Granting broad access too early. MCP servers and computer use are powerful. Add them one at a time, for a reason, and keep backups of anything important.

Start small: one repo, one bug, one session with tests. Once that loop feels routine, add project rules, then skills, then extra tools. That order builds trust in the agent at the same pace you learn how it behaves.

Frequently asked questions

Do I need to know how to code to use Claude Code?

No, but it helps. Claude Code can write and run code from plain-English requests, and many non-programmers use it for small projects. You still need to read its plans, approve commands, and tell whether the result works. Learning basic terminal navigation and how to undo changes with git makes it much safer and less frustrating.

How do I use Fable 5 in Claude Code?

Start a session and run /model to see which models your account can use. If a Fable model appears in that list, select it there. If it does not appear, your plan or region may not offer it inside Claude Code yet. Check Anthropic's current model documentation instead of relying on older tutorials, because model names and availability change often.

Can I use Claude Code inside VS Code or Cursor?

Yes. The simplest way is to open the editor's built-in terminal and run claude there, so Claude Code edits the same files you see in the editor. Anthropic has also offered editor integrations that show diffs inside the IDE. Some people prefer a separate terminal tiled beside the editor; both approaches work on the same project folder.

What is CLAUDE.md in Claude Code?

CLAUDE.md is a plain Markdown file in your project that Claude Code reads at the start of each session. Use it for build and test commands, coding conventions, folders to avoid, and other rules you would otherwise repeat in every prompt. Running /init creates a first draft by scanning your project, which you should then edit by hand.

Why does my computer slow down when Claude Code is running?

Claude Code itself is light, but the work it triggers is not. Builds, test suites, package installs and dev servers can use every CPU core at once. Several agent sessions running in parallel make this worse. Limit parallel sessions, ask it to run focused tests instead of the full suite, and reserve some processor capacity for your own apps.

Can Claude Code control my computer?

Anthropic documents a computer use capability that lets Claude open apps and work with your screen from the CLI, for example launching an app it just built to check it. Treat it as a powerful permission: enable it only when a task needs it, watch what it does, and keep important files backed up.