Claude Power User – Hacks, Shortcuts, and Hidden Features By the end of this lesson, students should be able to: Claude Code has a command vocabulary most users never discover. The Claude Code interface accepts typed messages, but it also responds to slash commands, keyboard shortcuts, and – when used from the terminal – CLI flags that give you fine-grained control over how it operates. Slash commands – the in-session control panel. Keyboard shortcuts. The # prefix – silent context injection. Typing a message starting with @ file references. Typing CLI flags – for terminal and scripted use. Piping content to Claude Code. From the terminal: Plan mode in depth. In plan mode (Shift+Tab), Claude analyzes the task, lists every intended action, and waits for approval before executing any of them. The plan is editable – skip steps, add steps, or change the order before executing. For users new to Code mode, or for any task involving important files, always start in plan mode. Parallel sub-agents. For large multi-step tasks with parallelizable components, Claude Code can spawn multiple sub-agents working simultaneously, then merge results. Example: "Use parallel agents to review the documentation, tests, and core logic simultaneously and report back." Significantly reduces completion time for large tasks. .claudeignore Create a Enroll to continue this lesson. The preview above shows the lesson objectives and opening lesson content. Enroll to view the full lesson, complete the practice work, and take the lesson quiz.
Lesson 3: Claude Code Hacks – Commands, Flags, and Shortcuts
Lesson Objectives
Lesson Content
# adds that content to Claude's context without triggering a response. Useful for providing background, correcting misunderstandings, or setting up context for future messages without interrupting workflow. Example: # This project uses Python 3.11 and we never modify files in the /archive directory@filename prompts Claude to read that specific file and include it in context without copy-pasting. Reference multiple files in a single message.--continue – Resumes the most recent conversation session with full prior context.--resume [session-id] – Resumes a specific past session by ID.--print – Non-interactive mode. Claude produces its response and exits. For scripted workflows and piping Claude output into other tools.--model [model-id] – Specifies which Claude model to use.--output-format [format] – Specifies output format for non-interactive use: plain text, JSON, or streaming JSON.cat report.txt | claude --print "summarize this in three bullet points" passes file content directly without an interactive session. Enables integration with shell scripts and automated workflows..claudeignore file following .gitignore syntax to exclude specific files and directories from Claude Code's access. Use proactively to exclude sensitive files, large binary assets, or irrelevant directories.
