---
title: "Slash commands and built-in shortcuts | Recipe — StudioMeyer Academy"
description: "/model, /effort, /context, /memory, /agents, the built-in commands that change how the session behaves. Plus how to write your own."
canonical: "https://studiomeyer.academy/en/recipes/3.1-slash-commands"
language: en
markdown_versions: ["https://studiomeyer.academy/en/recipes/3.1-slash-commands.md"]
publisher: "StudioMeyer Academy, https://studiomeyer.academy (llms.txt: https://studiomeyer.academy/llms.txt)"
---

[← Alle Recipes](https://studiomeyer.academy/recipes)

Phase 3 · Basic Workflows·3 steps

# Slash commands and built-in shortcuts

/model, /effort, /context, /memory, /agents, the built-in commands that change how the session behaves. Plus how to write your own.

3 steps0%

Du liest ohne Account. Mit [Login](https://studiomeyer.academy/login?next=/recipes/3.1-slash-commands) speichern wir Step-Fortschritt + Notes.

# Slash commands

Claude Code has ~20 built-in slash commands. Three are worth memorizing:

- `/model`, switch model mid-session (Opus → Sonnet for cheaper edits)
- `/effort`, set reasoning budget (low / medium / high / max / xhigh on Opus 4.7+)
- `/context`, visualize how much of the window you've used
- `/config`, persistent across sessions since Claude Code 2.1.120 (April 2026)

Plus: `/memory`, `/agents`, `/mcp`, `/hooks`, `/skills`, list / inspect / edit each subsystem.

### Step 1: Try the basics

In any Claude Code session:

```
/context
```

You see a colored grid of token usage. Helpful when you're wondering whether to start a fresh session.

```
/model
```

Pick one. Sonnet 4.6 for most edits, Opus 4.7 for hard reasoning. The fast / slow tradeoff is real.

### Step 2: Write your first custom slash command

Custom commands are markdown files in `~/.claude/commands/<name>.md`. The frontmatter sets a description, the body is the prompt that gets injected.

```bash
mkdir -p ~/.claude/commands
cat > ~/.claude/commands/standup.md <<'EOF'
---
description: Brief morning standup, what was yesterday, what's today
---

Tell me three things, in order:
1. What I worked on yesterday (last 24h of git activity).
2. What's blocking me right now (open TODOs, failing tests).
3. The single most important task for today.

Keep it under 200 words. No marketing language.
EOF
```

Now `/standup` works in any session.

### Step 3: Verify

Run `academy_validate_step`, checks `~/.claude/settings.json` parses (slash commands don't need settings.json themselves but the validator confirms your environment is sane).

Custom commands beat skills when the trigger is a fixed slash word and you don't want fuzzy matching. Use skills (Recipe 1.2) when you want natural-language triggers.

[← GitHub MCP, read PRs, issues,](https://studiomeyer.academy/recipes/2.5-github-mcp) [Permissions reloaded, building →](https://studiomeyer.academy/recipes/3.2-permissions-plus)

Phase 3

Permissions, slash commands, project layout, multi-tool setup

[Alle Phasen →](https://studiomeyer.academy/recipes)

## Sitemap

Public pages of this site as Markdown: [sitemap](https://studiomeyer.academy/sitemap.md). Curated entry point: [llms.txt](https://studiomeyer.academy/llms.txt), full text: [llms-full.txt](https://studiomeyer.academy/llms-full.txt).
