Quick reference for getting things done with Claude Code in the terminal
Before you can use Claude Code, you need a few things installed. Do these once, then you're set.
Open Terminal (Spotlight → type "Terminal") and paste this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Follow the prompts. This also installs Git and Apple's command line tools.
brew install node
Download from code.visualstudio.com and drag it to Applications. Then open VS Code, press Cmd+Shift+P, type "shell command", and select Install 'code' command in PATH.
Download from docker.com and install. Needed for AutoMem (persistent memory).
curl -fsSL https://claude.ai/install.sh | bash
Download from git-scm.com and install with default settings.
Download the LTS installer from nodejs.org and run it.
Download from code.visualstudio.com and install. Check "Add to PATH" during setup.
Download from docker.com and install. Needed for AutoMem (persistent memory).
Open PowerShell and run:
irm https://claude.ai/install.ps1 | iex
sudo apt update && sudo apt install -y git nodejs npm
Download the .deb or .rpm from code.visualstudio.com, or install via snap:
sudo snap install code --classic
Follow instructions at docs.docker.com. Needed for AutoMem (persistent memory).
curl -fsSL https://claude.ai/install.sh | bash
In VS Code: press Cmd+` (backtick — the key above Tab). That opens the terminal panel at the bottom of your editor.
No VS Code? Open Spotlight (Cmd+Space), type Terminal, hit Enter.
In VS Code: press Ctrl+` (backtick — the key above Tab). That opens the terminal panel at the bottom of your editor.
No VS Code? Click Start, type PowerShell, hit Enter.
In VS Code: press Ctrl+` (backtick — the key above Tab). That opens the terminal panel at the bottom of your editor.
No VS Code? Open Terminal from your application menu.
claude
That's it. Type claude and hit Enter. You're in a conversation.
Claude asks for permission before every action. Here's how to turn that off.
An AI reviews each action and auto-approves safe ones. Smart guardrails, no interruptions.
claude --auto
Create a shortcut so you just type cc instead:
echo 'alias cc="claude --auto"' >> ~/.zshrc
source ~/.zshrc
Run this in PowerShell, then restart PowerShell:
Add-Content $PROFILE 'function cc { claude --auto @args }'
echo 'alias cc="claude --auto"' >> ~/.bashrc
source ~/.bashrc
cc to start Claude Code in auto mode.Approves everything automatically. No guardrails. The command name is intentionally scary.
claude --dangerously-skip-permissions
Want this as your shortcut instead? Change the alias:
echo 'alias cc="claude --dangerously-skip-permissions"' >> ~/.zshrc
source ~/.zshrc
Edit your PowerShell profile and change the function:
notepad $PROFILE
Replace the cc function with:
function cc { claude --dangerously-skip-permissions @args }
echo 'alias cc="claude --dangerously-skip-permissions"' >> ~/.bashrc
source ~/.bashrc
These are skills you can give your agent to set up its personality, memory, and capabilities. Copy the prompt, paste it into Claude Code, and let it do the work.
Walks you through an interview to create IDENTITY.md and SOUL.md — gives your agent a name, personality, and behavioral rules.
Read this skill and use it to create my agent's identity and soul files: https://gist.github.com/flintfromthebasement/90fedfb062a76f903dbc8596d8d8847d
Gives your agent long-term memory across sessions. Requires Docker Desktop — install that first.
Read the Docker Compose setup instructions at https://github.com/verygoodplugins/automem and help me set up AutoMem locally. Then configure it as an MCP server in my Claude Code settings.
Analyzes your writing samples to capture your voice — so the agent can write like you, not like a robot.
Read this voiceprint skill and use it to create a voice profile for me: https://github.com/jamesckemp/claude-plugins/tree/master/voiceprint
Lets your agent pull transcripts from YouTube videos so it can summarize, analyze, or reference video content.
Read this skill and set it up so you can watch YouTube videos: https://gist.github.com/flintfromthebasement/1dd03ea0f3f23e261dd0dd932c9a7c07
Lets your agent pull website analytics data and report on traffic, conversions, and campaign performance.
Read this skill and set it up so you can query our Google Analytics: https://gist.github.com/flintfromthebasement/4d2c098cd01de9bcc4addcb5a0955bdc
Claude Code is a conversation. You describe what you want, Claude does the work (writes copy, builds pages, generates assets, edits files), then you review and keep going. Each round gets closer to what you need.
You don't need to get your prompt perfect. Start rough, then iterate. "Make the headline punchier." "Actually, target it at small business owners." "Add a testimonial section." That's the workflow.
Claude works best when it knows what you're working with. Don't be shy — dump everything in:
read this page: https://example.com/about — Claude can usually fetch and read web pagesread the file landing-page.htmlread every file in the campaigns folderIn VS Code: File → Open Folder, then pick your project. The terminal inside VS Code will automatically be in that folder.
Or from Terminal: code ~/Projects/my-website
Or from PowerShell: code ~\Projects\my-website
Or from Terminal: code ~/Projects/my-website
Claude Code is designed to run from inside a single project folder. Open your project folder in VS Code, open the terminal, and run claude from there.
Since you are using an AI agent, your agent manages multiple projects from one home folder. The folder structure looks like this:
my-agent/
CLAUDE.md ← agent instructions
IDENTITY.md ← agent personality
SOUL.md ← agent values & behavior
skills/ ← task recipes the agent can run
projects/ ← individual project folders live here
website/
email-campaigns/
landing-pages/
You'll notice some special files and folders Claude uses:
CLAUDE.md
Instructions for Claude — project rules, preferences, conventions
IDENTITY.md
Who the AI is — name, personality, tone of voice
SOUL.md
How the AI behaves — values, communication style, boundaries
skills/
Step-by-step recipes for specific tasks (like a playbook)
.claude/
Claude Code settings, custom commands, and hooks
.git/
Git's tracking data (don't touch this — Git manages it)
Just type what you want in plain English. Here are some starting points:
Write a landing page for our spring sale with HTML and CSSCreate a responsive email template for our product launchBuild a pricing comparison table I can embed on our websiteGenerate 10 subject line variations for our newsletterWrite social media copy for this blog post in 3 different tonesRead the homepage and make the copy more compellingThis page looks broken on mobile, fix itRewrite this email to be shorter and more directUpdate all the CTAs to say "Start Free Trial" instead of "Sign Up"fix thisRead every file in this project and give me a summaryWhat pages link to the pricing page?Search the codebase for where we set the meta descriptionsExplain what this file does in plain EnglishInterview me until you have 95% confidence about what I actually want, not what I think I should want. Then do the work.Create this page and take a screenshot of itWhat would you improve about this website?Type these inside a Claude Code session:
/help
Show all available commands
/model
Switch between Opus, Sonnet, Haiku
/model sonnet
Switch to a specific model
/compact
Compress the conversation (saves memory)
/clear
Start fresh within the same session
/resume
Pick up a previous conversation where you left off
/cost
See how much this session has cost
! ls
Run any terminal command without leaving
Esc
Stop Claude mid-task
/exit
Exit Claude Code
Git tracks changes to your code. You don't need to memorize commands — just ask Claude.
If you don't have Git set up yet, just ask:
Install git if it's not installed, then set up git in this project folder. My name is [Your Name] and my email is [you@example.com].
Save my work → Claude commits your changesPush this to GitHub → uploads to remotePull the latest changes → downloads updatesShow me what I've changedCreate a new branch called fix/header-bugWhat branch am I on?Create a PR for this branchSwitch to the dev branchIf you're working solo, you can ignore branches and PRs. Just commit and push.
Your agent uses AutoMem to remember things across sessions — decisions, preferences, lessons learned, and completed work. You can talk to it directly.
Open with context so the agent recalls what it knows:
Let's work on the spring campaign project. — The agent will recall related memories automatically.What do you remember about our email templates?Recall everything you know about our brand guidelines before we start.Remember that our brand voice is casual but professional, never corporateStore a memory that the spring campaign launched April 1st and performed wellRemember that Jason prefers short subject lines under 40 charactersRemember that we use #FF6B35 as our accent color, never redWhat do you remember about our brand guidelines?Recall what we decided about the email footer last timeWhat have we shipped this month?Do you remember the tone we used for the last newsletter?Before you close out, ask the agent to save what it learned:
Look back over this session and store any memories that will help us in the future.How can we avoid this mistake in the future? Store a memory.Save what we decided today about the homepage layout.You can drag and drop images into the conversation. Drop a screenshot of a design and say build this. Drop a screenshot of a bug and say fix this.
When you have a big idea but aren't sure how to describe it, start with: "Interview me until you have 95% confidence about what I actually want. Then do the work."
/clear and start over
/compact to free up memory
/model sonnet (cheaper & fast)
undo that — Git can reverse changes
Esc to interrupt
/resume to pick up where you left off