docs: sync to Claude Code v2.1.143 (5 patches since v2.1.138)
Bumps tutorial coverage from v2.1.138 → v2.1.143. Highlights: - /goal and /scroll-speed slash commands (v2.1.139) - claude agents Agent View (Research Preview) with 9 dispatch flags - claude plugin details and marketplace context-cost projection - Hook exec form (args), continueOnBlock on PostToolUse, terminalSequence - Stop hook 8-block safety cap + override env var - Fast Mode default flipped to Opus 4.7 (v2.1.142) - PowerShell tool default-on for Bedrock/Vertex/Foundry on Windows - API-key auth disables Remote Control, /schedule, claude.ai MCP, notifications - worktree.bgIsolation setting - CLAUDE_PROJECT_DIR for MCP stdio servers - Subagent OTEL headers + case-insensitive subagent_type matching - Root-level SKILL.md plugin pattern; Routines marketing name note Also bumps stale "28 hook events" counts in CATALOG/README to 29 and refreshes the metadata footer (Last Updated, Claude Code Version, Sources) on every modified file.
This commit is contained in:
@@ -42,8 +42,9 @@ Built-in commands are shortcuts for common actions. There are **60+ built-in com
|
||||
| `/export [filename]` | Export the current conversation to a file or clipboard |
|
||||
| `/extra-usage` | Configure extra usage for rate limits |
|
||||
| `/fast [on\|off]` | Toggle fast mode |
|
||||
| `/feedback` | Submit feedback (alias: `/bug`) |
|
||||
| `/feedback` | Submit feedback (alias: `/bug`). Since v2.1.141, can attach recent sessions (last 24h or 7d) so reports spanning more than one session include context. |
|
||||
| `/focus` | Toggle focus view (added v2.1.110; replaces `Ctrl+O` for focus toggle) |
|
||||
| `/goal <statement>` | Register a session-level completion condition; Claude keeps working until the goal is met. `/goal clear` removes it. Active goal appears in the status line, with a live overlay panel showing elapsed time, turn count, and token usage (added v2.1.139). |
|
||||
| `/help` | Show help |
|
||||
| `/hooks` | View hook configurations |
|
||||
| `/ide` | Manage IDE integrations |
|
||||
@@ -77,6 +78,7 @@ Built-in commands are shortcuts for common actions. There are **60+ built-in com
|
||||
| `/rewind` | Rewind conversation and/or code (alias: `/checkpoint`) |
|
||||
| `/sandbox` | Toggle sandbox mode |
|
||||
| `/schedule [description]` | Create/manage Cloud scheduled tasks |
|
||||
| `/scroll-speed <+N\|-N>` | Tune mouse-wheel scroll speed of the TUI live-preview pane with a live preview. Persists per-machine to `~/.claude/preferences.json` (added v2.1.139). |
|
||||
| `/security-review` | Analyze branch for security vulnerabilities |
|
||||
| `/skills` | List available skills |
|
||||
| `/stats` | Typing-shortcut alias for `/usage` — opens the stats tab (daily usage, sessions, streaks) (v2.1.118+) |
|
||||
@@ -144,6 +146,23 @@ These skills ship with Claude Code and are invoked like slash commands:
|
||||
- `/ultrareview` added for comprehensive cloud-based multi-agent code review (v2.1.111)
|
||||
- `/less-permission-prompts` added to analyze Bash/MCP tool calls and reduce permission prompts via an allowlist in `.claude/settings.json` (v2.1.111)
|
||||
- Auto mode no longer requires the `--enable-auto-mode` flag for Max subscribers on Opus 4.7 (v2.1.112)
|
||||
- `/goal` added — session-level completion condition that Claude works toward across turns; live overlay shows elapsed time, turn count, and token usage (v2.1.139)
|
||||
- `/scroll-speed` added — tune mouse-wheel scroll speed of the TUI live-preview pane; persists per-machine (v2.1.139)
|
||||
|
||||
### `/goal` — Session-Level Completion Condition
|
||||
|
||||
> **New in v2.1.139**
|
||||
|
||||
Use `/goal` to register a completion condition for the current session. Claude works toward it across turns, and an overlay panel shows elapsed time, turn count, and tokens used. Clear it with `/goal clear`. Works in interactive mode, `claude -p`, and Remote Control.
|
||||
|
||||
```
|
||||
User: /goal Migrate the payments service from REST to gRPC and get the integration tests passing.
|
||||
Claude: Goal registered. I'll work toward this until you clear it.
|
||||
[Goal panel: ⏱ 0s · turns 0 · tokens 0]
|
||||
|
||||
User: start by listing the REST endpoints
|
||||
Claude: [does the work, panel updates]
|
||||
```
|
||||
|
||||
### `/team-onboarding` — Teammate Ramp-Up Guide
|
||||
|
||||
@@ -601,14 +620,16 @@ If both exist with the same name, the **skill takes precedence**. Remove one or
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: May 9, 2026
|
||||
**Claude Code Version**: 2.1.138
|
||||
**Last Updated**: May 19, 2026
|
||||
**Claude Code Version**: 2.1.143
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/slash-commands
|
||||
- https://code.claude.com/docs/en/interactive-mode
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.118
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.116
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.139
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.141
|
||||
**Compatible Models**: Claude Sonnet 4.6, Claude Opus 4.7, Claude Haiku 4.5
|
||||
|
||||
*Part of the [Claude How To](../) guide series*
|
||||
|
||||
Reference in New Issue
Block a user