This is the final Part 3 of our Mastering Claude Code series.
- Part 1: Foundations, Setup, and Core Concepts
- Part 2: Workflow Mastery, Plan Mode, and Custom Skills
- Part 3: Advanced Ops, Multi-Agents, and Enterprise Workflows
In Part 2, we mastered the core workflow and specialized skills. In this final part, we’ll cover the operational side: cost, safety, daily routines, and the professional certification path.
Part 15: Cost Management
Claude Code can consume tokens quickly, especially on complex tasks. Here’s how to stay efficient.
Model Selection
Use Sonnet 4.6 for ~80% of your work — writing functions, fixing bugs, adding features, writing tests, explaining code. It’s fast and capable.
Switch to Opus 4.6 for the hardest 20% — large-scale refactoring, complex architectural decisions, multi-agent workflows, or when you need the 1M token context window.
Effort Levels
Use /effort to set low, medium, or high effort. The default for Opus 4.6 on Max/Team is now medium. Low effort uses fewer tokens and returns faster results — perfect for simple queries and quick fixes.
Context Management
Keep your CLAUDE.md under 200 lines. Move detailed instructions into skills (they only load when invoked). Use /compact when context usage gets high. Put path-specific rules in .claude/rules/ so they only load when Claude touches matching files.
Spending Limits
claude -p "fix failing tests" --max-budget-usd 2.00
Hard spending limits prevent runaway costs in automation.
The /cost Command
Run /cost anytime to see your current session’s token usage. Track this to build intuition about what’s expensive and what’s cheap.
Part 16: Permissions and Safety
Claude Code takes a safety-first approach. Understanding the permission model helps you work efficiently without anxiety.
Permission Modes
Default — asks permission before every file edit and command execution.
Plan Mode — read-only exploration until you approve the plan.
Auto Accept — approves everything automatically. Use with caution, but it’s great for rapid iteration when you trust the direction.
What to Allow and Deny
In .claude/settings.json:
{
"permissions": {
"allow": ["Read:*", "Bash:git:*", "Write:*:*.md"],
"deny": ["Read:env:*", "Bash:sudo:*"]
}
}
This lets you whitelist safe operations (reading files, git commands, writing markdown) while blocking dangerous ones (reading environment secrets, running sudo).
The Golden Rule
Always use git. Claude Code makes changes to your actual files. Git gives you a safety net. Commit before starting a complex task so you can always revert.
Part 17: The Daily Workflow
Here’s a realistic daily workflow for someone using Claude Code productively.
Morning: Start Fresh
Terminal Sequence
cd your-project
claude
Understand Context
What's changed since yesterday? Show me the recent git log.
Plan Your Feature
/plan
I need to add email notifications when a user's subscription is about to expire.
Show me how this should integrate with the existing codebase.
Review the plan. Ask questions. Adjust.
Build It
Switch to auto-accept and let Claude implement the approved plan.
Test It
Run the test suite and fix any failures.
Commit It
Commit these changes with an appropriate message.
Start a New Session Per Feature
For each new feature or task, start a new session. This keeps context clean and focused. Use /compact if you need to continue in the same session but context is getting heavy.
Quick Reference
Command Palette
| Action | Command |
|---|---|
| Generate CLAUDE.md | /init |
| Check installation health | /doctor |
| Compress context | /compact |
| Change thinking modes | Shift + Tab |
| Toggle extended thinking | Tab |
| Rewind mistakes | Esc Esc |
| Check token usage | /cost |
| Switch model | /model |
| Set effort level | /effort |
Part 18: Common Mistakes (and How to Avoid Them)
Mistake 1: Skipping CLAUDE.md
Every project needs one. Even a 10-line file with your tech stack and build commands makes a massive difference. Run /init and edit from there.
Mistake 2: One Giant Prompt
Break complex tasks into steps. Plan first, then execute. Give Claude a chance to understand before it acts.
Mistake 3: Not Using Plan Mode for Big Changes
If a task touches more than 2-3 files, use Plan Mode. The upfront cost of planning saves you from rework.
Mistake 4: Ignoring Context Limits
Long sessions accumulate token usage. Watch /context and use /compact when it gets high. Start new sessions when switching tasks.
Mistake 5: Not Using Git
Claude Code modifies real files. Always have a clean git state before starting complex work. Commit early, commit often.
Mistake 6: Using Opus for Everything
Sonnet 4.6 handles most tasks well and is significantly faster. Save Opus for the hard stuff.
Mistake 7: Not Giving Feedback
When Claude produces something that’s 80% right, don’t start over. Tell it what’s wrong specifically. “The error handling is missing for the null case” is better than “this is wrong, try again.”
Part 19: Claude Code for Non-Coders
Here’s the thing nobody tells you: Claude Code is increasingly useful even if you don’t write code for a living.
Organizing Files
Point Claude Code at a folder of messy files and ask it to organize, rename, or categorize them. It can analyze file contents and create a sensible structure.
Processing Documents
Have a folder of PDFs, CSVs, or text files? Claude Code can read, analyze, summarize, and extract data from them — then generate reports.
Building Quick Tools
Describe a tool you need in plain language (“I need a script that converts all images in this folder to thumbnails”) and Claude Code will build it, test it, and leave it ready to run.
Automating Repetitive Tasks
Anything you do repeatedly on your computer that involves files — renaming, reformatting, extracting, converting — Claude Code can probably automate it.
The Sandbox Approach
If you’re nervous about Claude Code touching your files, create a dedicated folder (literally called “Claude Code Test” if you want) and only run Claude Code from there. It can only see and modify files within its working directory.
Part 20: What’s New (March-April 2026)
Claude Code has been evolving rapidly. Here’s what’s landed recently:
Voice Mode — push-to-talk with spacebar. 20 languages supported. Activate with /voice. Great for describing what you want while looking at code.
/loop Command — recurring tasks within a session. /loop 5m check build status runs every 5 minutes. Desktop app loops persist across reboots (capped at 50 tasks).
1M Token Context Window — Opus 4.6 now supports a 1 million token context window on Max, Team, and Enterprise plans. This means Claude can hold entire large codebases in context.
Opus 4.6 as Default — Max subscribers now default to Opus 4.6, the most capable model.
Effort Levels Simplified — Three levels: low (○), medium (◐), high (●). Default for Opus on Max/Team is now medium.
Git Worktrees — isolated copies of your codebase for parallel agent work. No file conflicts.
MCP Elicitation — MCP servers can now request structured input mid-task without breaking context. This means smoother automated workflows.
Skills Unification — Custom commands and skills are now unified. .claude/commands/ files still work, but .claude/skills/ is the recommended path with more features.
Native Windows Support — full native installer for Windows, no WSL required.
Part 21: Claude Certified Architect — The Certification
Anthropic has released the Claude Certified Architect – Foundations certification for practitioners who design and implement production applications with Claude. It covers five domains:
- Agentic Architecture & Orchestration (27%) — building agentic loops, multi-agent systems, coordinator-subagent patterns
- Tool Design & MCP Integration (18%) — designing effective tool interfaces, structured error handling, MCP server configuration
- Claude Code Configuration & Workflows (20%) — CLAUDE.md hierarchies, custom skills, plan mode, CI/CD integration
- Prompt Engineering & Structured Output (20%) — few-shot prompting, JSON schema enforcement, validation-retry loops
- Context Management & Reliability (15%) — managing long conversations, escalation patterns, information provenance
The exam is scenario-based with multiple choice questions. Minimum passing score is 720 out of 1,000. If you’re building production systems with Claude, this is worth pursuing.
Free learning resources are available through Anthropic Academy, including a dedicated “Claude Code in Action” course.
Part 22: Path-Specific Rules — Conditional Context Loading
This is an advanced feature that most guides skip, but it’s incredibly useful for larger projects.
Instead of cramming everything into one CLAUDE.md, you can create rule files in .claude/rules/ with YAML frontmatter that specifies when they should load:
---
paths:
- "src/api/**/*"
---
# API Conventions
- All endpoints return JSON with a consistent envelope: `{ data, error, meta }`
- Use Zod for request validation
- Always include rate limiting headers
- Log all 5xx errors to Sentry
---
paths:
- "**/*.test.*"
- "**/*.spec.*"
---
# Testing Conventions
- Use describe + it pattern
- Use factory functions for test data, not raw fixtures
- Each test file should be co-located with the code it tests
- Mock external services, never hit real APIs in tests
These rules only load when Claude touches matching files, reducing irrelevant context and token usage. This is especially powerful for:
- Test conventions that apply to test files everywhere in the codebase
- API conventions that only matter when working on API code
- Infrastructure rules that only apply to Terraform or Kubernetes files
Wrapping Up
Claude Code isn’t magic. It’s a tool — a remarkably powerful one — that gets better the more context you give it and the more intentionally you use it.
Start small. Install it. Run /init in a project. Ask it to explain your codebase. Make a small change. Get comfortable with the workflow.
Then gradually level up: add a CLAUDE.md, create a custom skill, try Plan Mode on a bigger task, connect an MCP server, set up a CI/CD integration.
The people getting the most out of Claude Code aren’t necessarily the best programmers. They’re the ones who’ve learned to communicate clearly, give good context, and work iteratively.
And honestly? That’s a skill anyone can develop.
The Truly Deep Claude Code FAQ
Frequently Asked Questions
What is Claude?
Claude is an AI assistant made by Anthropic. You chat with it at claude.ai or in the Claude app. It can write, analyze, brainstorm, code, and explain things — all within a conversation window. Think of it as a very smart collaborator you talk to through text.
What is Claude Code?
Claude Code is a tool that runs in your terminal (the command-line interface on your computer). Unlike the chat version, Claude Code can see your actual files, edit your code, run commands, and manage git — all through natural language. You tell it what you want, it does the work, and you approve the changes.
What's a terminal?
The terminal (also called command line, shell, or console) is the text-based interface on your computer where you type commands instead of clicking buttons. On Mac, it’s the Terminal app. On Windows, it’s PowerShell or Command Prompt. It looks like a black or dark window with a blinking cursor.
What is CLAUDE.md?
A markdown file you put in your project folder that Claude reads automatically at the start of every session. It contains your project’s tech stack, build commands, coding conventions, and gotchas. Think of it as a briefing document that makes Claude actually useful for your specific project instead of giving generic answers.
What does 'agentic' mean?
In AI context, ‘agentic’ means the AI can take autonomous actions — not just respond to questions. Claude Code is agentic because it can read files, write code, run tests, and execute commands on its own (with your permission), rather than just generating text for you to copy-paste.
What is MCP?
MCP stands for Model Context Protocol. It’s an open standard that lets AI tools connect to external apps and data sources. Think of it as USB for AI — a universal plug that lets Claude talk to GitHub, Slack, your database, your file system, or any tool that supports the protocol.
What are Connectors?
Connectors are pre-built integrations that let Claude access your work tools — Gmail, Google Drive, Slack, Asana, Figma, Notion, and 50+ more. You set them up with a couple of clicks through OAuth (the ‘Sign in with Google’ type flow). They’re built on MCP under the hood.
What is the Filesystem connector?
A specific MCP server that gives Claude direct access to files and folders on your computer. You specify which directories Claude can touch, and it can read, write, create, move, and search files within those directories. It asks permission before every action.
What is Cowork?
Cowork is a feature in Claude Desktop that gives you Claude Code’s power without opening a terminal. You describe a task, Claude breaks it into steps, executes them in an isolated environment on your computer, and delivers finished work — organized files, formatted documents, compiled research. It’s designed for knowledge workers, not just developers.
What is Dispatch?
A feature inside Cowork that lets you send tasks to Claude from your phone. Claude works on your desktop computer, and you come back to the finished result. Your phone is the remote control; your desktop does the processing.
What is Computer Use?
A research preview feature (March 2026) that lets Claude navigate your actual screen — clicking, typing, opening apps — when there isn’t a connector available. Claude prioritizes connectors first (faster, more reliable), then falls back to screen control as a last resort. Currently macOS only.
What is Plan Mode?
A mode in Claude Code where Claude explores your codebase and proposes a plan before making any changes. It’s read-only until you approve. Use it for complex tasks, unfamiliar code, or anything touching multiple files. Toggle it with /plan or Shift+Tab.
What are Skills?
Reusable prompts that show up as slash commands in Claude Code. You create a SKILL.md file with instructions, and Claude follows that playbook when you invoke the skill. Example: a /deploy skill that runs your test suite, builds, deploys, and verifies — triggered with one command.
What are Hooks?
Scripts that run automatically at specific points in Claude Code’s workflow — before a tool runs (PreToolUse), after it returns (PostToolUse), or on notifications. Unlike prompt instructions (which Claude might occasionally skip), hooks always run. Use them for safety guardrails, data normalization, or compliance rules.
What does /compact do?
It compresses your conversation history to free up context window space. Use it when your session has been going for a while and responses start feeling less precise or Claude starts ‘forgetting’ earlier context. You can specify what to keep: /compact retain the error handling patterns.
What's a context window?
The total amount of text (measured in tokens) that Claude can ‘see’ at once during a conversation. It includes your messages, Claude’s responses, file contents, and tool results. When it fills up, Claude starts losing track of earlier information. Opus 4.6 supports up to 1 million tokens.
What's a token?
A unit of text that AI models process. Roughly, 1 token ≈ ¾ of a word in English. So 1,000 tokens ≈ 750 words. Tokens matter because they determine cost (on API) and how much context Claude can hold at once.
What is git?
A version control system that tracks changes to your files over time. Think of it as unlimited undo + a complete history of every change ever made. Developers use it to safely experiment (you can always revert) and collaborate (multiple people can work on the same codebase). Claude Code can manage git operations through natural language.
What is CI/CD?
Continuous Integration / Continuous Deployment. It’s the automated pipeline that tests your code, checks for issues, and deploys it to production whenever you push changes. Claude Code can integrate into CI/CD pipelines to automatically review pull requests, generate tests, and provide feedback.
What does -p mean in claude -p?
The -p flag (or –print) runs Claude Code in non-interactive mode. It processes your prompt, outputs the result, and exits — no interactive input needed. Essential for automation and CI/CD pipelines where there’s no human to type responses.
What's the difference between Opus, Sonnet, and Haiku?
Three Claude models at different capability/speed tradeoffs. Opus 4.6 is the most powerful (deep reasoning, complex tasks). Sonnet 4.6 balances speed and intelligence (everyday work). Haiku 4.5 is the fastest and cheapest (simple tasks). Use Sonnet for 80% of your work, Opus for the hard 20%.
Can I use Claude Code with local models or NVIDIA GPUs?
Yes. While Claude Code defaults to Anthropic’s cloud, you can use Ollama to run models like NVIDIA Nemotron or Qwen3 through an Anthropic-compatible local gateway. See our guide on Launching Claude, Codex, and OpenClaw with Ollama for the full CLI setup.
Do I need to be a developer to use any of this?
For Claude chat and Connectors — no. For Cowork — no, it’s designed for knowledge workers. For Claude Code — you need to be comfortable (or willing to learn) the terminal. The article walks you through every step.
How much does it cost?
Claude Pro at $20/month includes Claude chat, Connectors, Cowork, and Claude Code. Claude Max at $100-200/month adds higher usage limits. All connectors are free — you just need the paid Claude plan and a subscription to the tool you’re connecting.
Explore the Framework
These concepts are part of a broader framework for building intent-aware AI systems. I've distilled these strategies into a short, practical guide called Thinking Modes.
View the Book →Carmelyne is a Full Stack Developer and AI Systems Architect. She is a previously US-bound Filipino solopreneur, former Media and Information Literacy and Empowerment Technologies instructor, and the author of Thinking Modes: How to Think With AI — The Missing Skill.