Claude Code — Beginner Tips & Tricks
Claude Code is an agentic coding tool that reads your repository, runs commands, edits files, and ships changes from your terminal, IDE, or browser. This sheet covers the twelve things that take you from first launch to fluent: managing sessions, the closed-loop workflow, referencing files, steering mid-task, permission modes, agents, memory, and keeping context healthy.
By Joaquin FuentesUpdated June 2026
Key: a leading slash (e.g. /clear) is a command you type in the prompt.
Manage sessions
claudeclaude -c· --continueclaude -r· --resume/rename--resume./clearClear between unrelated tasks so old context doesn't bleed into new work.
Closed-loop operations
/goalThe more concrete the success check, the less you have to babysit.
Working with files
@@ then start a filename to reference it — Tab completes the path.src/app/page.tsx:42) instead of vague descriptions.Pointing at the right file up front beats making Claude search for it.
Plugins & tools
/plugin/mcpStart with the filesystem and GitHub MCP servers; add more as you need them.
Steer mid-flight
Esc/rewindA quick Esc + correction is faster than letting a wrong approach run to completion.
Guide Claude
## to save a fact to memory without breaking your flow.Specific guidance in, predictable work out. Vague asks get vague results.
Permission modes
Shift+Tab/permissionsLimit scope by working in plan mode first, then approve the plan to execute.
Agents
/agentsParallel agents shine for broad searches and independent review passes.
Memory
CLAUDE.md at the repo root — shared with your whole team.~/.claude/CLAUDE.md — your personal preferences, every project.## shortcut appends a fact to the chosen memory file.Keep memory tight — a few high-signal rules beat a wall of text.
Ask the codebase
A precise question gets a precise answer; a vague one gets a guess.
Context health
/context/compact/clearCompact before a big new task; clear when the old one is truly done.
Watch the cost
/cost/model/effortMatch the model and effort to the job; don't pay frontier rates for a typo fix.
Updated June 2026 · Claude Code · verified against code.claude.com/docs
Frequently asked questions
Do I need to know how to code to use Claude Code?
It helps, but Claude Code lowers the bar: it can scaffold projects, explain code, run commands, and fix its own mistakes. Start in plan mode so it proposes changes before making them, and review as you go.
How do I stop Claude Code from making changes I didn't want?
Use permission modes — press Shift+Tab to cycle to plan mode so it proposes before editing, and use /permissions to control exactly which tools and commands it may run.
Where does Claude Code remember my preferences?
In CLAUDE.md files: a project file at your repo root (shared with your team) and a personal file at ~/.claude/CLAUDE.md for every project. Start a line with # to append to memory without breaking flow.
How do I keep Claude Code accurate as the conversation grows?
Use /context to see how much of the context window is in use, /compact to summarize and reclaim space mid-task, and /clear when you switch to unrelated work.