Updated Nov 25, 2026

11 - Daily Driver Commands

📋 Jump to Takeaways

🎁 You've been typing the same five things into Claude every single day. Some of them are already one command.

Slash commands split into two kinds. Built-ins ship with Claude Code itself and are always there. Skills are installed on top, either by you, your team, or as packages. Both show up the same way: type / and start filtering.

This lesson covers the commands worth making muscle memory.

Discovering What You Have

Type / with nothing else to see everything available, then narrow it by typing any word.

/              # see every command and skill
/code          # filter to anything with "code" in the name
/ship          # find the shipping commands

Your list will look different from someone else's. Project skills live in .claude/skills/. Global ones live in ~/.claude/skills/. Two engineers on different teams won't see the same set, and that's intentional.

One command to know first: /help lists built-ins with descriptions.

Managing Context

These get used constantly, every session.

/compact compresses the conversation history. The session keeps its full context but takes far fewer tokens going forward. Use it after a long debugging stretch when responses start slowing down or the model seems to be forgetting earlier decisions.

/compact
/compact focus on the auth changes

The optional focus hint tells Claude what to emphasize in the summary. Without it, everything gets treated equally.

/clear wipes the conversation and starts fresh. Use it when one task ends and the next one is unrelated. Dragging old context into a new problem wastes tokens and sometimes confuses the model.

/add-dir <path> adds a directory to the current session's context without editing CLAUDE.md. Useful when you need to temporarily work in a part of the repo that Claude didn't load.

/add-dir ../shared-utils     # add a sibling repo or package
/add-dir ./docs              # pull in documentation

The difference from CLAUDE.md @-references: /add-dir is temporary and session-only. CLAUDE.md references reload every session. Use /add-dir for one-off context, CLAUDE.md for things Claude should always know.

Code Quality Commands

/code-review reviews the current diff for bugs, security issues, and style problems. It runs the same review every time, so you don't have to remember what to check for.

/code-review          # review current changes
/code-review high     # deeper review, more findings
/code-review 42       # review PR #42 by number

Effort levels: low for a fast pre-commit sanity check, medium for regular work, high for anything you're shipping to production, max for a thorough pre-merge audit. low takes seconds and catches the obvious stuff. max takes a few minutes but finds the edge cases.

/simplify takes the opposite angle. Not bugs, but over-engineering. Abstractions built for one use case. Utility functions that wrap one line. Code that could be half as long without losing clarity.

/simplify             # review current changes for cleanup

Run /code-review for correctness. Run /simplify for cleanliness. They're complementary, not redundant.

Model and Speed Control

/model switches models mid-session without restarting.

/model haiku          # fast and cheap
/model sonnet         # most engineering work
/model opus           # complex reasoning, hard architecture decisions

The practical split: Haiku for quick lookups and repetitive generation tasks. Sonnet for the bulk of coding work. Opus when you're genuinely stuck and need deeper reasoning. Leaving Opus on all day is expensive for tasks that don't need it.

/fast toggles fast mode on the current model if it supports it, or bumps you to Opus if not. Useful when you need more output speed for a session without manually switching.

Shipping

/ship runs the full commit-push-PR sequence: stages your changes, writes a commit message from the diff, pushes, and opens a pull request.

/ship

The PR description is drafted automatically. You review it before anything is submitted. The value is that you don't start from a blank page after the work is done, you start from something mostly right that just needs a quick check.

/steward watches an open PR after it's created. It monitors CI, picks up review comments, and flags conflicts. Use it after /ship when you don't want to babysit the PR but do want to know when it needs your attention.

Initializing and Repairing Context

/init generates a CLAUDE.md by reading the existing codebase. It finds build commands, test commands, file patterns, and conventions from what's already there.

/init

Use it on repos you didn't set up, before starting any real work. Even an imperfect generated CLAUDE.md is better than none, and it gives you something to edit rather than a blank file.

/memory opens the memory files for direct editing. When Claude keeps making the same mistake, this is faster than hunting down the CLAUDE.md path and opening it manually.

A Note on What's Available

Not every command listed here is guaranteed to exist in your setup. Some are Claude Code built-ins that ship with the tool. Others are skills that need to be installed, either by you or your team.

If you type /code-review and nothing happens, the skill isn't installed yet. Your team's setup docs or the Claude Code docs are the places to find what's available and how to add it.

The list grows. When you find yourself typing the same prompt every day, it's a signal to turn it into a saved command. Lesson 07 covers how.

Key Takeaways

  • / alone shows every available command and skill; type to filter, /help lists built-ins.
  • /compact [focus] compresses history without losing context; use it when sessions get long.
  • /clear starts fresh; use it when switching to a task unrelated to what you just finished.
  • /add-dir <path> adds a directory to the session temporarily, without touching CLAUDE.md.
  • /code-review [effort] [PR] reviews the diff or a specific PR; effort is low through max.
  • /simplify finds over-engineering in current changes, not bugs; run it alongside /code-review.
  • /model [name] switches models mid-session: Haiku for speed, Sonnet for coding, Opus for hard problems.
  • /fast toggles fast mode on the current model.
  • /ship commits, pushes, and opens a PR in one command; /steward watches it afterward.
  • /init generates CLAUDE.md from the existing codebase.
  • /memory opens memory files directly for quick edits.
  • If a command isn't available, it's likely a skill that needs to be installed.

📝 Ready to test your knowledge?

Answer the quiz below to mark this lesson complete.

Spot something off? Report an issue