CLI Commands
| Command / Item | What it does |
claude | Start Claude Code in the current directory |
claude "your prompt" | One-shot task — no interactive mode |
claude --resume | Resume your last conversation session |
claude --model claude-opus-4-6 | Use a specific model |
claude mcp add --transport http [name] [url] | Add an MCP server |
claude mcp list | List all configured MCP servers |
claude config | Open configuration settings |
Keyboard Shortcuts (Interactive Mode)
| Command / Item | What it does |
Enter | Submit your message |
Shift+Enter | New line without submitting |
Ctrl+C | Cancel current operation |
Ctrl+L | Clear the screen |
↑ / ↓ | Navigate message history |
Tab | Autocomplete file paths and skill names |
Slash Commands
| Command / Item | What it does |
/help | Show all available commands |
/clear | Start fresh (keeps CLAUDE.md context) |
/compact | Compress conversation history to save tokens |
/hooks | Interactive hook configuration wizard |
/permissions | View and manage what Claude can access |
/skills | List all available custom skills |
/[skill-name] | Invoke a custom skill (defined in .claude/skills/) |
CLAUDE.md File Sections
| Command / Item | What it does |
# Project Overview | What this project is, who it's for, what it produces |
## My Role | Your job title and responsibilities in this context |
## Client / Company Info | Name, industry, services, audience, tone |
## Writing Style | Voice, tone, words to use/avoid, length preferences |
## File Organization | Where things live, naming conventions |
## Key Commands | Scripts or commands Claude should know about |
## Rules | Non-negotiable constraints (security, format, process) |
## Current Focus | What you're working on right now |
Hook Events (.claude/settings.json)
| Command / Item | What it does |
PreToolUse | Before Claude uses any tool (file read, edit, bash...) |
PostToolUse | After Claude uses a tool — great for auto-format or logging |
Notification | When Claude sends a notification or needs your attention |
Stop | When Claude finishes a task — great for done alerts |
Skill File Structure (.claude/skills/[name]/SKILL.md)
| Command / Item | What it does |
name: | The slash command name (e.g. weekly-report) |
description: | What Claude shows when you run /skills |
user-invocable: false | Claude-only skill (hidden from slash commands) |
$ARGUMENTS | Placeholder for text typed after the slash command |
Location | .claude/skills/[skill-name]/SKILL.md in your project |
Popular MCP Servers
| Command / Item | What it does |
claude mcp add --transport http notion https://mcp.notion.com/mcp | Connect Notion |
claude mcp add --transport http github https://api.githubcopilot.com/mcp | Connect GitHub |
claude mcp add slack npx @modelcontextprotocol/server-slack | Connect Slack |
claude mcp add gdrive npx @modelcontextprotocol/server-gdrive | Connect Google Drive |
HivePowered AI — AI Like a Pro Training | Quick Reference