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