30 min the prompt, context and models, 50 min skills, hooks, headless and setup, live demos throughout
Some of you probably already know some of this.
All of you will hopefully be surprised.
This deck is the reference.
We will try my favorites live.
Part one
The keys that save you minutes, every hour.
| Key | What it does |
|---|---|
! command | Runs a shell command. Claude sees the output and responds to it. |
| Type while it works | Your messages queue and go out when Claude is ready. |
Esc | Stops the turn. Anything you queued is sent right away. |
Esc Esc | On an empty prompt: the rewind menu. Restore code, conversation or both. |
Ctrl+G | Opens the prompt, or the plan, in your editor. |
Ctrl+R | Searches your prompt history. |
Ctrl+V | Pastes an image, for example a screenshot of a bug. |
| Key | What it does |
|---|---|
@ file | Points at a file instead of describing it. |
Shift+Tab | Cycles the permission modes, including plan mode. |
Ctrl+B | Sends a running command to the background. |
Ctrl+T | Shows or hides Claude's to-do list. |
Ctrl+S | Stashes the prompt you are writing, for later. |
\ then Enter, or Ctrl+J | A new line without sending. |
! runs it, and Claude reads the output> ! npm test ✔ spec: one reduced item at 49.90 EUR totals 44.91 EUR ✖ spec: three reduced items at 19.95 EUR total 53.86 EUR AssertionError: 5388 !== 5386 ● The branch rounds the discount down per item. The spec rounds once per order. The code is wrong. Should I fix it?
Claude time!
Part two
What the agent knows, and how to get back.
| Command | What it does |
|---|---|
/btw question | Asks a side question. The answer never enters the conversation. |
/context | Shows what fills the context window, as a grid. |
/compact focus on the API | Summarizes the conversation and keeps what you name. |
/clear | Starts empty. Use it between unrelated tasks. |
/usage | Shows tokens and cost for the session, and what drives them. |
/insights | Writes a report of how you use Claude Code. |
/btw without derailing the task● Writing tests for src/cart.js ... (3 of 7)
> /btw what does node --test do with nested describe blocks?
It runs them as subtests and reports each one separately.
(This answer does not enter the conversation.)
● Writing tests for src/cart.js ... (4 of 7)Rewind undo inside a session
After two failed corrections,
/clear and rewrite the prompt.
| Command | What it does |
|---|---|
/rename voucher fix | Names the session so you find it again. |
claude -r "voucher fix" | Resumes a session by its name. |
claude --from-pr 123 | Lists the sessions linked to that pull request. |
/cd, /add-dir | Moves to, or adds, another repository and keeps the conversation. |
/remote-control | Continues the same session on your phone or in a browser. |
Claude time!
Part three
How hard Claude thinks, and with which model.
| Command | What it does |
|---|---|
ultrathink | One word in the prompt: deeper reasoning for that turn only. |
/effort high | Sets the effort for the session, from low to max. |
/model opusplan | Opus plans, Sonnet carries out the plan. |
/advisor opus | Sonnet does the work and asks Opus at the hard decisions. |
Alt+P | Switches the model and keeps your draft. |
/fast | A faster mode of the same model. |
ultrathink for the one hard turn> ultrathink: the voucher rules and the shipping rules interact. List every case where a reduced item changes free shipping, then write a failing test for each one.
Part four
When and how a skill runs, not only what it does.
The frontmatter decides when and how a skill runs.
The body decides what it does.
--- name: pr-summary description: Summarizes the current branch as a pull request description. Use when the user asks for one. argument-hint: [ticket-id] arguments: [ticket] disable-model-invocation: true allowed-tools: - Bash(git diff *) - Bash(git log *) model: sonnet effort: low ---
Ticket: $ticket ## Changes on this branch !`git diff --stat main...HEAD` ## Commits !`git log --oneline main..HEAD` Write a pull request description with the sections Ticket, What changed, Not included, Evidence and Risk.
/pr-summary SHOP-1234 runs it. Both git commands run before Claude reads a single line.| Field | What it does |
|---|---|
description | What Claude matches tasks against. Keep it specific. |
when_to_use | More trigger phrases, added to the description. |
disable-model-invocation | true: only you can call it. Claude never loads it on its own. |
user-invocable | false: hidden from the / menu. Only Claude calls it. |
paths | Loads it automatically only for matching files. |
argument-hint | The hint you see while typing the command. |
| Field | What it does |
|---|---|
allowed-tools | Pre-approved for this run only. It does not restrict other tools. |
disallowed-tools | Removed while the skill is active. |
model, effort | A model and an effort level for this skill only. |
context: fork | Runs as a fresh subagent without your conversation, in the background by default. |
agent | Which subagent type runs it, for example Explore. |
hooks | Hooks that are registered when the skill runs. |
arguments | Names the arguments: $ticket instead of $0. |
$ARGUMENTS everything typed after the name
$0, $1 the first, the second argument
$ticket a named argument from arguments:
${CLAUDE_SKILL_DIR} the skill's own folder, for scripts
!`git status --short` runs first, the output replaces it
a fenced block opened with ```! the same, over several lines|| true.A field name Claude Code does not know is ignored, without a warning. disable_model_invocation does nothing.
Frontmatter only counts when --- is the very first line of the file.
If it does not parse, the skill loads with no fields at all.
A command your permission rules do not allow aborts the skill. Pre-approve it in allowed-tools.
On claude.ai and the API, only six fields are allowed. Anything else is an error there.
| Skill | Subagent | |
|---|---|---|
| File | .claude/skills/x/SKILL.md | .claude/agents/x.md |
| Required | nothing, description recommended | name and description |
| Tools | allowed-tools, disallowed-tools | tools, disallowedTools |
| Style | hyphenated, except when_to_use | camelCase |
| Only here | arguments, paths, context | memory, isolation, maxTurns |
/pr-summary /risk-check SHOP-1234 runs two skills in one message. A forked skill does not stack.
/skill-doctorShows what each skill costs in context, and which you never use.
/fewer-permission-promptsBuilds an allowlist from the prompts you keep approving.
.claude/commands/ still works. A skill adds a folder for scripts and data.
Claude time!
Part five
Rules that run every time, without asking the model.
| Event | Use it to |
|---|---|
Notification | Get a desktop notification when Claude needs you. |
PostToolUse on Edit|Write | Format every file Claude changes. |
PreToolUse | Block an action. Exit code 2, and Claude reads your reason. |
SessionStart, matcher compact | Put key context back after a compaction. |
/hooks shows what is configured. Or ask Claude to write the hook for you.{
"hooks": {
"Notification": [{ "hooks": [{ "type": "command",
"command": "osascript -e 'display notification \"Claude needs you\"'" }] }],
"PreToolUse": [{ "matcher": "Edit|Write", "hooks": [{ "type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-env.sh" }] }]
}
}#!/usr/bin/env bash
# Exit 2 blocks the action. Claude reads stderr as the reason.
file=$(node -e 'let s="";process.stdin.on("data",d=>s+=d)
.on("end",()=>console.log(JSON.parse(s).tool_input.file_path||""))')
case "$file" in
.env|*/.env) echo "Edits to .env are blocked. Ask a person." >&2; exit 2 ;;
esac
exit 0Claude time!
Part six
Claude without the chat window.
cat logs/error.log | claude -p "Find the root cause of these errors" \
--output-format json \
--json-schema "$(cat error-schema.json)" \
--max-turns 5
# .structured_output in the response
{ "rootCause": "subtotal reads priceCents from null cart items",
"file": "src/cart.js", "line": 5, "confidence": "high" }| Flag | What it does |
|---|---|
--max-turns 10 | Stops after ten turns. |
--max-budget-usd 2 | Stops at a cost limit. |
--allowedTools "Read,Grep" | Only these tools run without asking. |
--permission-mode dontAsk | Denies everything that is not pre-approved. |
--bare | Skips hooks, MCP servers and CLAUDE.md, for a fast, clean start. |
--append-system-prompt | Adds instructions and keeps the built-in ones. |
Claude time!
Part seven
When something feels off.
| Command | What it does |
|---|---|
/doctor | Checks your installation and configuration. |
/doctor prompt-audit | Finds stale or conflicting instructions in CLAUDE.md. |
| Code intelligence plugin | Symbol navigation and type errors after every edit. |
claude --safe-mode | Starts without CLAUDE.md, skills, plugins, hooks and MCP. |
| A CLI before an MCP server | gh, aws, gcloud: cheaper in context, and Claude learns them from --help. |
| Instead of | Use |
|---|---|
.claudeignore | It does not exist. Deny rules: Read(./.env). |
/ultraplan | Plan mode: Shift+Tab or /plan. |
/vim | /config. |
claude config | /config or settings.json. |
Everything today was one agent at a time.
Next session: many at once.
ultracode, /workflows, /batch, agent view, worktrees.Each team picks its five favorite tricks from the deck or the cheat sheet.
A live demo in the Claude Code CLI, on a real task in your own codebase. No slides.
Next session:
Orchestration and subagents.
Arndt Voges Consulting · hello@arndtvoges.com · arndtvoges.com
<stop>