Claude Code guide in three levels, Beginner to Advanced: hands-on lessons with checked exercises, every volatile fact cited to its source. Independent community guide.
JavaScript agent-skillsagentic-codingai-agentsanthropicanthropic-claudebest-practicesclaudeclaude-aiclaude-codeclaude-code-guideclaude-code-hooksclaude-code-pluginsclaude-code-skillsclaude-code-tutorialclaude-code-workflowsguidelearn-claude-codemcpsubagentstutorial
docs: refresh reference docs, skills guide, and MCP walkthroughs
Wesam Abousaidcaa25ac30d99
diff --git a/docs/reference/changelog.md b/docs/reference/changelog.mdindex b0e02d0..9620e3a 100644--- a/docs/reference/changelog.md+++ b/docs/reference/changelog.md@@ -1,126 +1,91 @@# Changelog — Claude Code & Ecosystem Updates-*[← Back to README](../../README.md#updates--deprecations)*+*[← Back to README](../../README.md#updates--deprecations-as-of-july-2026)*-Major changes, new features, and deprecations through May 2026. For Anthropic's authoritative release notes (always more current than this file), see [docs.anthropic.com/release-notes/claude-code](https://docs.anthropic.com/en/release-notes/claude-code).+Major changes, new features, and deprecations through early July 2026 (Claude Code v2.1.201). For the authoritative record — always more current than this file — see the [official CHANGELOG](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) and the [weekly "What's new" digests](https://code.claude.com/docs/en/whats-new/).---## 🆕 New features-### Models & performance+### Models-- **Claude Opus 4.7** *(current flagship, May 2026)* — Sharper adaptive thinking, better long-context grounding, more reliable tool calling. Same pricing as Opus 4.6.-- **Claude Sonnet 4.6** *(current balanced tier, May 2026)* — Replaces Sonnet 4.5 as the default everyday model.-- **1M context window** — Beta via API (200K in subscriptions).-- **Fast Mode** — 2.5× faster responses with `/fast` (runs on Opus 4.6 underneath).-- **Haiku 4.5** — Fast, lightweight model for simple tasks (unchanged).+- **Claude Sonnet 5** *(June 30, 2026)* — the new default model in Claude Code (v2.1.197), with a native 1M-token context window. Intro pricing $2/$10 per MTok through Aug 31, 2026.+- **Claude Fable 5 & Mythos 5** *(June 9, 2026)* — the new Mythos-class tier above Opus ($10/$50). Mythos 5 is invitation-only via Project Glasswing.+- **Claude Opus 4.8** *(May 28, 2026)* — Opus-tier flagship at unchanged $5/$25; ~4× less likely than 4.7 to let flaws in its own code pass unflagged.+- **1M context standard** — Opus 4.8/4.7/4.6, Sonnet 5/4.6, and Fable 5 all carry 1M context at standard per-token pricing.-### Agent features+### Orchestration & automation-- **Agent Teams** *(experimental)* — Multi-agent collaboration in a single session. Enable with `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`.-- **Team leads & teammates** — Hierarchical agent structure with shared task lists.-- **Parallel agent execution** — Multiple agents working simultaneously.+- **Dynamic workflows** *(v2.1.154, May 28)* — Claude writes and runs orchestration scripts that fan out tens to hundreds of background subagents; watch with `/workflows`. The trigger keyword was renamed "workflow" → **"ultracode"** in v2.1.160, and `/effort ultracode` pairs xhigh reasoning with standing workflow permission.+- **Cloud code review** — `/code-review` accepts `low|medium|high|xhigh|max|ultra` plus `--fix` / `--comment`; `ultra` runs a multi-agent review in the cloud (alias `/ultrareview`, 3 free runs on Pro/Max). `claude ultrareview` runs it non-interactively for CI.+- **Routines** — `/schedule` (alias `/routines`) runs scheduled agents on Anthropic-managed cloud infrastructure; `/loop` and the Cron tools cover local scheduling.+- **Artifacts** *(beta, week of June 15–19)* — publish live, shareable web pages to claude.ai from the CLI (Pro/Max/Team/Enterprise; CSP-sandboxed; 16 MiB).+- **Agent view** *(Research Preview, v2.1.139, May 11)* — `claude agents` opens a live multi-agent dashboard.+- **Subagents** — run in the background by default (v2.1.198); can nest 5 levels deep (v2.1.172); background agents can auto-commit, push, and open a draft PR.+- **Claude in Chrome GA** *(v2.1.198, July 1)*.+- **Auto memory** — on by default since v2.1.59: per-project memory in `~/.claude/projects/<project>/memory/` with a `MEMORY.md` index; manage with `/memory`.-### Commands & tools+### Commands & CLI-- `/fast` — Toggle Fast Mode for rapid responses.-- `/auth login`, `/auth status`, `/auth logout` — Authentication management.-- `/debug` — Troubleshoot the current session.-- `/teleport` — Send a session to claude.ai/code for web access.-- `/rename` — Auto-generate descriptive session names.-- `/hooks` — Interactive menu for hook configuration.+- New in this window: `/cd` (2.1.169), `/goal` and `/scroll-speed` (2.1.139), `/reload-skills` (2.1.152), `/workflows` (2.1.154), `/plugin list` (2.1.163), `/config key=value` (2.1.181), `/dataviz` bundled skill (2.1.198).+- CLI: `claude mcp login|logout` (2.1.186), `claude plugin init` (2.1.157), `claude agents --json` (2.1.145).+- Stacked skill invocations — `/skill-a /skill-b …` run in sequence (v2.1.199).+- `/rewind` can resume from before a `/clear` (v2.1.191).+- Permission rules support `Tool(param:value)` matching with wildcards, e.g. `Agent(model:opus)` (v2.1.178).+- Nested `.claude/` directories are first-class — closest to cwd wins on collisions (v2.1.178).-### MCP ecosystem--- **MCP Registry** — Official registry live at [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/).-- **MCP Apps** — Interactive UI components from servers.-- **OAuth support** — Built-in client-credentials authentication.-- **Agentic AI Foundation** — MCP now maintained by the Linux Foundation.-- **Async operations** — Non-blocking server operations.-- **Server discovery** — `.well-known` URLs for automatic discovery.--### Hooks enhancements+### Skills & plugins-- **New hook events** — `TeammateIdle` and `TaskCompleted`.-- **`PreToolUse` `updatedInput`** — Hooks can now modify tool parameters.-- **Interactive configuration** — `/hooks` command for easier setup.+- **Slash commands and skills are one system** — `.claude/commands/deploy.md` ≡ `.claude/skills/deploy/SKILL.md`; skills follow the [agentskills.io](https://agentskills.io) open standard (released Dec 18, 2025; adopted by ~40 products).+- **Plugins** — full packaging system (skills, commands, agents, hooks, MCP servers, LSP configs); two official marketplaces (claude-plugins-official, auto-registered; anthropics/claude-plugins-community via `/plugin marketplace add`).-### Other features+### MCP ecosystem-- **Automatic memory** — Recording and recall across sessions.-- **PDF support** — Read PDFs with page-range selection.-- **Shift+Enter** — Built-in newline support (zero setup needed).-- **Wildcard permissions** — More flexible tool permission patterns.+- **Agentic AI Foundation** *(Dec 9, 2025)* — MCP donated to a Linux Foundation directed fund, alongside Block's goose and OpenAI's AGENTS.md.+- **MCP Apps** *(Jan 26, 2026)* — the first official MCP extension: interactive HTML UIs in sandboxed iframes.+- **Spec** — 2025-11-25 is the current ratified revision; the 2026-07-28 release candidate (stateless core, official extensions) is the largest revision since launch and finalizes July 28, 2026.+- **Registry** — [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/), still officially in preview.---## 📝 Changed-### Subscription & pricing--- **Pro plan** — Now includes ALL models (Opus 4.7, Sonnet 4.6, Haiku 4.5, plus the previous-generation 4.6/4.5). Previously: Sonnet 4 only.-- **Usage metrics** — Changed from token counts to message counts. Pro: ~45 messages per 5-hour window. Easier to understand and track.-- **Unified subscription** — One subscription for both web (claude.ai) and CLI.-- **Average costs** — Pro users spend ~$6/day on coding (90% under $12/day).--### MCP ecosystem--- **MCP governance** — Donated to the Agentic AI Foundation (Linux Foundation). Open governance, vendor-neutral.-- **Registry status** — Changed from "future vision" to live production service.--### Model IDs--Use specific model IDs instead of generic references:--- `claude-opus-4-7` (current flagship; previously `claude-opus-4-6`)-- `claude-sonnet-4-6` (current balanced; previously `claude-sonnet-4-5-20250929`)-- `claude-haiku-4-5-20251001` (unchanged)--Previous-generation IDs (`claude-opus-4-6`, `claude-sonnet-4-5-20250929`) remain accessible — useful when you need stable behavior or Fast Mode (which still runs on Opus 4.6).--### Commands--- **Authentication** — Use `/auth login` instead of `/login`.-- **Terminal setup** — Shift+Enter is now built-in; `/terminal-setup` still available for iTerm2/VSCode custom bindings.+- **Rate limits** *(May 6, 2026)* — Claude Code's five-hour rate limits doubled for Pro/Max/Team/seat-based Enterprise; peak-hours limit reductions removed for Pro/Max. ([announcement](https://www.anthropic.com/news/higher-limits-spacex))+- **`/cost` + `/stats` → `/usage`** (v2.1.118); **`/extra-usage` → `/usage-credits`** (v2.1.144).+- **`/simplify` → `/code-review`** (v2.1.147, `--fix` added v2.1.152); `/simplify` reintroduced v2.1.154 as a cleanup-only review (reuse, simplification, efficiency).+- **Permission mode "default" renamed "Manual"** (v2.1.200); AskUserQuestion dialogs no longer auto-continue.+- **`/model` persistence** — your selection now persists as the default for new sessions; press `s` for session-only (v2.1.153).+- **Agent teams** *(experimental since Feb 2026)* — v2.1.178 removed `TeamCreate`/`TeamDelete`: one implicit team per session, teammates spawned via the Agent tool's `name` parameter; default display "in-process" (v2.1.179); `teammateMode: "iterm2"` (v2.1.186). Still gated behind `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`.+- **`/agents` wizard removed** (v2.1.198) — define agents by editing `.claude/agents/` or asking Claude.+- **Fast mode** — defaults to Opus 4.8 since v2.1.154 at $10/$50 (2× for up to 2.5× output speed).+- **`!` bash output** now triggers a Claude response (v2.1.186; opt out with `respondToBashCommands: false`).----## ❌ Deprecated--### Subscription tiers--- **Separate Opus access** — No longer needed; Opus is included in Pro ($20/mo). No separate "Opus-only" tier.--### Workarounds--- **Manual token calculations** — Use `/cost` instead. Built-in token tracking, real-time usage monitoring.+## ❌ Deprecated / removed-### Legacy commands--- `/login` and `/logout` — Use `/auth login` and `/auth logout` instead. Still functional but the new commands are preferred.+- **Opus 4.1** — deprecated; retires **August 5, 2026**.+- **Opus 4.7 fast mode** — deprecated June 25, 2026; **removed July 24, 2026** (requests error, no fallback). Opus 4.6 fast has silently run at standard speed since June 29, 2026.+- **`TeamCreate` / `TeamDelete`** — removed in v2.1.178; `team_name` in `TaskCreated`/`TaskCompleted`/`TeammateIdle` hook payloads is deprecated.+- **`/agents` setup wizard** — removed in v2.1.198.---## 📅 Important dates-- **September 2025** — MCP Registry launched.-- **January 2026** — Claude 4.5 / 4.6 model family released (Opus 4.6, Sonnet 4.5, Haiku 4.5).-- **February 2026** — Agent Teams experimental release. Fast Mode launch promotion ended Feb 16.-- **May 2026** — Opus 4.7 and Sonnet 4.6 released.-------## 🔮 Coming soon--Based on the public roadmap and experimental features:--- Agent Teams general availability-- 1M context window in subscriptions (currently API-only)-- Enhanced MCP Apps capabilities-- Persistent agent teams across sessions-- Visual team dashboard+- **September 2025** — MCP Registry preview launched.+- **December 9, 2025** — MCP donated to the Agentic AI Foundation (Linux Foundation).+- **December 18, 2025** — Agent Skills open standard released at agentskills.io.+- **January 26, 2026** — MCP Apps became the first official MCP extension.+- **February 5, 2026** — Opus 4.6 released alongside experimental Agent Teams.+- **May 6, 2026** — Five-hour rate limits doubled.+- **May 28, 2026** — Opus 4.8 + dynamic workflows.+- **June 9, 2026** — Fable 5 / Mythos 5.+- **June 30, 2026** — Sonnet 5 becomes Claude Code's default.+- **July 24, 2026** — Opus 4.7 fast mode removal.+- **August 5, 2026** — Opus 4.1 retirement.----[← Back to README](../../README.md#updates--deprecations) · [FAQ](faq.md) · [Further reading](further-reading.md)+[← Back to README](../../README.md#updates--deprecations-as-of-july-2026) · [FAQ](faq.md) · [Further reading](further-reading.md)diff --git a/docs/reference/commands.md b/docs/reference/commands.mdindex 6494c88..22c36e6 100644--- a/docs/reference/commands.md+++ b/docs/reference/commands.md@@ -1,53 +1,62 @@-# Slash Commands — Complete Reference+# Slash Commands — Cheatsheet*[← Back to README](../../README.md#claude-commands)*-Every built-in slash command shipped with Claude Code, plus the file-format spec for custom commands (skills). For workflows and recipes built around slash commands, see [`docs/skills.md`](../skills.md).+The most useful built-in slash commands, plus the file-format spec for custom commands (skills). This is a curated cheatsheet — for the canonical, always-current list see the [official commands reference](https://code.claude.com/docs/en/commands). For workflows and recipes built around slash commands, see [`docs/skills.md`](../skills.md).----## Built-in slash commands+## Common built-in slash commands| Command | Purpose ||---|---|| `/add-dir` | Add additional working directories |-| `/agents` | Manage custom AI subagents for specialized tasks |-| `/auth login` | Authenticate with your Anthropic account |-| `/auth status` | Check authentication status |-| `/auth logout` | Sign out from your account |-| `/bug` | Report bugs (sends conversation to Anthropic) |+| `/cd` | Change the session's working directory || `/clear` | Clear conversation history |+| `/code-review [level]` | Review the current diff (`low`–`max`, or `ultra` for a multi-agent cloud review); `--fix` applies findings, `--comment` posts them to the PR. `/ultrareview` is an alias for the ultra tier || `/compact [instructions]` | Compact conversation with optional focus instructions |-| `/config` | View or modify configuration |-| `/cost` | Show token usage statistics |+| `/config` | View or modify configuration (`/config key=value` sets directly) || `/debug` | Troubleshoot current session and configuration |+| `/desktop` *(alias `/app`)* | Hand the current CLI session to the desktop app (macOS/Windows) || `/doctor` | Check the health of your Claude Code installation |-| `/effort` | Set reasoning effort (`low` / `medium` / `high` / `xhigh` / `max`); no args opens an interactive slider; `/effort auto` resets to model default. See [Effort levels](effort-levels.md). |-| `/fast` | Toggle Fast Mode for 2.5× faster Opus 4.6 responses (6× pricing) |+| `/effort` | Set reasoning effort (`low` / `medium` / `high` / `xhigh` / `max` / `ultracode`); no args opens an interactive slider; `/effort auto` resets to the model default. See [Effort levels](effort-levels.md) |+| `/fast` | Toggle Fast Mode — Opus 4.8 at 2× price for up to 2.5× output speed |+| `/goal` | Set a standing goal for the session || `/help` | Get usage help || `/hooks` | Interactive menu for hook configuration |-| `/init` | Initialize project with `CLAUDE.md` guide |-| `/login` | Switch Anthropic accounts (legacy — use `/auth login`) |-| `/logout` | Sign out (legacy — use `/auth logout`) |+| `/init` | Initialize project with a `CLAUDE.md` guide |+| `/login` / `/logout` | Sign in / out of your Anthropic account (also: `claude auth login\|status\|logout` from the shell) |+| `/loop` | Run a prompt or skill on a recurring interval (local scheduling) || `/mcp` | Manage MCP server connections and OAuth authentication |-| `/memory` | Edit `CLAUDE.md` memory files |-| `/model` | Select or change the AI model (Opus 4.7, Sonnet 4.6, Haiku 4.5; previous-gen 4.6/4.5 still available) |-| `/permissions` | View or update [permissions](https://docs.anthropic.com/en/docs/claude-code/iam#configuring-permissions) |+| `/memory` | Manage memory files (`CLAUDE.md` and auto memory) |+| `/model` | Switch models — your selection persists as the default for new sessions since v2.1.153 (press `s` for session-only) |+| `/permissions` | View or update [permissions](https://code.claude.com/docs/en/iam) |+| `/plugin` | Manage plugins and plugin marketplaces (`/plugin list`, `/plugin marketplace add …`) || `/pr_comments` | View pull request comments |+| `/reload-skills` | Reload skill files without restarting the session || `/rename` | Auto-generate descriptive session names || `/review` | Request code review |+| `/rewind` | Rewind the session — can resume from before a `/clear` (v2.1.191+) |+| `/schedule` *(alias `/routines`)* | Manage scheduled cloud agents on Anthropic-managed infrastructure |+| `/scroll-speed` | Adjust terminal scroll speed |+| `/simplify` | Cleanup-only review — reuse, simplification, efficiency (no bug hunting) || `/status` | View account and system statuses |-| `/teleport` | Send current session to claude.ai/code for web access |-| `/terminal-setup` | Install Shift+Enter key binding for newlines (built-in since 2026; this command remains for iTerm2/VSCode custom bindings) |+| `/teleport` *(alias `/tp`)* | Send current session to claude.ai/code for web access |+| `/terminal-setup` | Configure terminal key bindings (iTerm2/VSCode) |+| `/usage` | Show token and plan usage (merged `/cost` + `/stats` in v2.1.118) |+| `/usage-credits` | Manage usage credits (renamed from `/extra-usage` in v2.1.144) || `/vim` | Enter vim mode for alternating insert and command modes |+| `/workflows` | Watch dynamic multi-agent workflow runs |-> 💡 **Day 1 essentials:** start with `/init`, `/help`, `/clear`, `/cost`, and `/model`.+> 💡 **Day 1 essentials:** start with `/init`, `/help`, `/clear`, `/usage`, and `/model`.+>+> ℹ️ The `/agents` setup wizard was removed in v2.1.198 — define subagents by editing `.claude/agents/` directly, or ask Claude to write one.---## Custom slash commands (skills)-Custom slash commands let you define frequently-used prompts as markdown files that Claude Code can execute. They're scoped (project-specific or personal) and support namespacing through directories.+Custom slash commands let you define frequently-used prompts as markdown files that Claude Code can execute. They're scoped (project-specific or personal), support namespacing through directories, and are now officially the same system as Agent Skills — `.claude/commands/optimize.md` and `.claude/skills/optimize/SKILL.md` both create `/optimize`.**Quick demo:**@@ -81,7 +90,7 @@ Create a new branch, commit changes, and submit a pull request.- Multiple unrelated changes should be split into separate commits```-> 💡 **Next level:** custom slash commands and Skills are the same thing. For workflows, recipes, and best practices, see [`docs/skills.md`](../skills.md).+> 💡 **Next level:** for workflows, recipes, and best practices, see [`docs/skills.md`](../skills.md).---diff --git a/docs/reference/effort-levels.md b/docs/reference/effort-levels.mdindex a341ff5..d425184 100644--- a/docs/reference/effort-levels.md+++ b/docs/reference/effort-levels.md@@ -1,6 +1,6 @@# Reasoning Effort Levels-*~10 min read · [← Back to README](../../README.md#prompt-engineering-deep-dive)*+*~8 min read · [← Back to README](../../README.md#prompt-engineering-deep-dive)*> **Mental model:** Effort is a **behavioural dial**, not a strict token budget. It shifts how much Claude thinks before responding, how willing it is to read related files, how long the response gets, and how persistently it pushes through multi-step work. A higher dial doesn't make the model smarter — it changes its bias.@@ -8,12 +8,13 @@## TL;DR-- **5 levels exist:** `low` · `medium` · `high` · `xhigh` · `max` — most users assume 4.-- **`xhigh` is Opus 4.7-only.** Opus 4.6 and Sonnet 4.6 expose only `low / medium / high / max`.-- **Current defaults (May 2026, post-v2.1.117):** Opus 4.7 → `xhigh` on every plan; Opus 4.6 + Sonnet 4.6 → `high` on every plan.+- **The API knows 5 levels:** `low` · `medium` · `high` · `xhigh` · `max`, with `high` as the default.+- **Claude Code adds a 6th:** `ultracode` — `xhigh` reasoning plus standing permission to orchestrate multi-agent [workflows](https://code.claude.com/docs/en/workflows). It's not an API level.+- **`max` and `ultracode` are session-only by design** — they can't be persisted in `settings.json`.+- **`xhigh` is broadly available now:** Fable 5, Mythos 5, Opus 4.8, Opus 4.7, and Sonnet 5 all support it (no longer a single-model exclusive).+- **Current defaults (July 2026):** Opus 4.8 → `high` on all surfaces; Sonnet 5 → `high` on API and Claude Code.- **Context quality often beats more effort.** A model on Low with great context regularly outperforms the same model on Max with poor context.-- **Higher ≠ always better.** Anthropic's own guidance: max on Opus 4.7 "shows diminishing returns and is more prone to overthinking" on routine work.-- **Persistence has gotchas.** The `ultrathink` keyword doesn't change the API effort, and `"effortLevel": "max"` in `settings.json` silently downgrades — covered below.+- **Higher ≠ always better.** Anthropic's own guidance: `max` shows diminishing returns and is more prone to overthinking on routine work.---@@ -32,43 +33,31 @@ Even at low, Claude will still think on sufficiently hard problems — just less----## The five levels+## The six levels-| Effort | Available on | Behaviour | Reach for it when… |+| Effort | Available | Behaviour | Reach for it when… ||---|---|---|---|-| **Low** | All Claude 4 models | Fastest. Skips thinking on simple problems, minimum tool use, terse responses, pauses to ask for clarification. | Fast interactive queries where you're steering — file renames, simple greps, build commands. |-| **Medium** | All Claude 4 models | Balanced. Thinks when warranted, skips when not. | General coding, small refactors, writing tests, autonomous sessions where the plan is clear. |-| **High** | All Claude 4 models | Almost always engages thinking, reads related files unprompted, gives thorough responses. | Multi-file refactors, complex debugging. Anthropic's recommended default for most coding on Sonnet 4.6 / Opus 4.6. |-| **xHigh** | **Opus 4.7 only** | A notch above high — more thorough reasoning, more willing to explore, persists across sessions. | Long autonomous agentic sessions. Anthropic's recommended default for most coding on Opus 4.7. |-| **Max** | All Claude 4 models (current session unless via env var) | Highest capability, no token constraints on reasoning. | Architecture decisions, subtle bugs, security reviews — genuinely hard problems. Skip for routine work. |+| **Low** | API + Claude Code | Fastest. Skips thinking on simple problems, minimum tool use, terse responses. | Fast interactive queries where you're steering — file renames, simple greps, build commands. |+| **Medium** | API + Claude Code | Balanced. Thinks when warranted, skips when not. | General coding, small refactors, writing tests, autonomous sessions where the plan is clear. |+| **High** | API + Claude Code *(default)* | Almost always engages thinking, reads related files unprompted, gives thorough responses. | Multi-file refactors, complex debugging. The default on current models. |+| **xHigh** | Fable 5, Mythos 5, Opus 4.8/4.7, Sonnet 5 | A notch above high — more thorough reasoning, more willing to explore, more persistent. | Long autonomous agentic sessions. |+| **Max** | API + Claude Code, session-only | Highest capability, no token constraints on reasoning. | Architecture decisions, subtle bugs, security reviews — genuinely hard problems. Skip for routine work. |+| **Ultracode** | Claude Code only, session-only | `xhigh` reasoning **plus** automatic multi-agent workflow orchestration — Claude fans work out to background subagents on every substantive task. | Exhaustive audits, migrations, deep research — when thoroughness matters more than token cost. |-> ⚠️ **Anthropic's official guidance for Opus 4.7 max:** *"Reserve for genuinely frontier problems. On most workloads `max` adds significant cost for relatively small quality gains, and on some structured-output or less intelligence-sensitive tasks it can lead to overthinking."* — [Effort API docs](https://platform.claude.com/docs/en/build-with-claude/effort)+> ⚠️ **Anthropic's official guidance for `max`:** reserve it for genuinely frontier problems. On most workloads it adds significant cost for relatively small quality gains, and on some structured-output tasks it can lead to overthinking. — [Effort API docs](https://platform.claude.com/docs/en/build-with-claude/effort)----## Defaults by plan and model+## Defaults by model| Model | Default effort | Notes ||---|---|---|-| **Opus 4.7** | `xhigh` | All plans (Pro, Max, Team, Enterprise, API) |-| **Opus 4.6** | `high` | All plans, current as of Claude Code v2.1.117 |-| **Sonnet 4.6** | `high` | API and Claude Code |+| **Opus 4.8** | `high` | All surfaces (API, Claude Code, claude.ai) |+| **Sonnet 5** | `high` | API and Claude Code |+| **Fable 5** | `high` | Adaptive thinking always on — it can't be disabled || **Haiku 4.5** | n/a | Effort dial isn't meaningful on Haiku |-> 📜 **Why community write-ups still say "medium on Pro/Max":** the 4.6 default has churned. Originally `high`, dropped to `medium` for all plans in early March 2026 (a deliberate speed/cost tune that hit quality), reverted to `high` for API / Bedrock / Team / Enterprise on April 7 in v2.1.94, then standardized to `high` everywhere in v2.1.117. If a guide tells you Pro/Max users are on a nerfed `medium` default, **check `/effort` in your session** — that was true for ~6 weeks but is fixed now. *Tracked in [`anthropics/claude-code` issue #42796](https://github.com/anthropics/claude-code/issues/42796).*--If you had a manual effort level set on a prior model, Opus 4.7 overrides it to `xhigh` on first run — use `/effort` to assert your preference.-------## Per-model behaviour--| Model | Notes |-|---|---|-| **Haiku 4.5** | Effort parameter behaves differently — not a meaningful dial. Use Haiku for simple lookups, quick edits, boilerplate. |-| **Sonnet 4.6** | Default high. Sonnet **follows directions closely without drift** — if you plan well upfront, you can drop to a lower effort for execution. |-| **Opus 4.6** | Default high. The level whose defaults churned the most over March–April 2026. |-| **Opus 4.7** | Default xhigh. Respects effort more strictly than 4.6 — at lower effort it scopes work tighter rather than going above and beyond. The new tokenizer uses **roughly 1.0–1.35× more tokens per same input than 4.6** (≈1.0–1.1× on code, ≈1.35× on complex text), so sessions burn through limits faster at the same effort. |+> 📜 **History:** effort defaults churned through spring 2026 — dropped to `medium` for all plans in early March (a speed/cost tune that hit quality), then standardized back to `high` everywhere in Claude Code v2.1.117 (April 2026). If a guide tells you Pro/Max users are on a nerfed `medium` default, that's the fossil record — **check `/effort` in your session.**---@@ -76,11 +65,12 @@ If you had a manual effort level set on a prior model, Opus 4.7 overrides it to| Task | Model + Effort ||---|---|-| File renames, simple greps, build commands | Sonnet Low |-| General coding, small refactors, writing tests | Sonnet Medium |-| Multi-file refactors, complex debugging | Sonnet High |-| Long autonomous agentic sessions | Opus xHigh |-| Architecture decisions, subtle bugs, security reviews | Opus Max |+| File renames, simple greps, build commands | Sonnet 5, Low |+| General coding, small refactors, writing tests | Sonnet 5, Medium |+| Multi-file refactors, complex debugging | Sonnet 5, High |+| Long autonomous agentic sessions | Opus 4.8, xHigh |+| Architecture decisions, subtle bugs, security reviews | Opus 4.8 or Fable 5, Max |+| Exhaustive multi-agent audits, migrations, deep research | Ultracode |---@@ -88,8 +78,8 @@ If you had a manual effort level set on a prior model, Opus 4.7 overrides it toA repeatable cost-saver for harder tasks:-1. **Plan in Opus xHigh or Max.** Get a clean, atomic, unambiguous plan with explicit task boundaries. This is where deep reasoning earns its keep.-2. **Execute in Sonnet at lower effort.** Sonnet follows clear plans closely without drift. If the plan leaves no room for interpretation, execution is cheap.+1. **Plan in Opus 4.8 (or Fable 5) at xHigh or Max.** Get a clean, atomic, unambiguous plan with explicit task boundaries. This is where deep reasoning earns its keep.+2. **Execute in Sonnet 5 at lower effort.** Sonnet follows clear plans closely without drift. If the plan leaves no room for interpretation, execution is cheap.The pattern fails when the plan has gaps — Sonnet at low effort won't catch ambiguity it inherits, so the cleanup costs more than the savings. Invest in the plan; the execution comes for free.@@ -101,7 +91,7 @@ The pattern fails when the plan has gaps — Sonnet at low effort won't catch am**Practical heuristic:** if you're reaching for Max on a task that shouldn't need it, ~80% of the time the fix is upstream — not in how hard the model thinks:-- A sharper [`CLAUDE.md`](https://docs.anthropic.com/en/docs/claude-code/memory) that names files, conventions, and constraints explicitly.+- A sharper [`CLAUDE.md`](https://code.claude.com/docs/en/memory) that names files, conventions, and constraints explicitly.- A clearer plan with atomic, zero-ambiguity tasks.- Files referenced by path, not "the thing we discussed earlier."- Errors pasted in full, not paraphrased.@@ -112,7 +102,7 @@ A project that works fine on High but falls apart on Medium is telling you somet## Setting effort-Five mechanisms, in increasing order of persistence:+Mechanisms, in increasing order of persistence:| Mechanism | How | Persistence ||---|---|---|@@ -120,7 +110,6 @@ Five mechanisms, in increasing order of persistence:| **Per-session command** | `/effort <level>` — or `/effort` (no args) for an interactive slider; `/effort auto` resets to model default | Current session || **Per-session flag** | `claude --effort <level>` at launch | Current session || **Persistent (low / medium / high / xhigh)** | `"effortLevel": "high"` in `~/.claude/settings.json` (user) or `.claude/settings.json` (project) | All sessions |-| **Persistent for max** | `CLAUDE_CODE_EFFORT_LEVEL=max` in your shell profile — the only mechanism that reliably persists max | All sessions |```bash# Quick raise for one turn (in-context only — see gotcha below)@@ -128,15 +117,18 @@ Five mechanisms, in increasing order of persistence:# Raise for the session/effort xhigh+/effort ultracode # xhigh + automatic multi-agent workflows+```-# Persist project-wide (any level except max)-echo '{ "effortLevel": "high" }' > .claude/settings.json+To persist a level project-wide, add the key to your existing `.claude/settings.json` (don't overwrite the file):-# Persist max — only mechanism that works-export CLAUDE_CODE_EFFORT_LEVEL=max # add to ~/.zshrc / ~/.bashrc+```json+{+ "effortLevel": "high"+}```-> Precedence (highest to lowest): `CLAUDE_CODE_EFFORT_LEVEL` env var → `--effort` flag → `/effort` command → `effortLevel` in `settings.json` → model default.+> `max` and `ultracode` are session-only by design and cannot be set via `settings.json`.---@@ -144,19 +136,15 @@ export CLAUDE_CODE_EFFORT_LEVEL=max # add to ~/.zshrc / ~/.bashrc### `ultrathink` doesn't change the API effort-Per Anthropic's docs, `ultrathink` "adds an in-context instruction" and **the effort level sent to the API is unchanged**. The community-discovered consequence: if you're already running `xhigh` or `max`, the in-context "think harder" cue is essentially redundant or, worse, can cause the model to anchor to a "high"-style trace rather than its higher-effort default. **For a deliberately deeper turn on a session at xhigh/max, prefer `/effort max` (set, prompt, then `/effort auto`) over the keyword.**--### `settings.json` silently downgrades `max`--`"effortLevel": "max"` in `settings.json` does not actually persist max — once the UI is interacted with, the value gets quietly downgraded. **Only `CLAUDE_CODE_EFFORT_LEVEL=max` as an environment variable reliably persists max** across sessions.+Per Anthropic's docs, `ultrathink` "adds an in-context instruction" and **the effort level sent to the API is unchanged**. If you're already running `xhigh` or `max`, the in-context "think harder" cue is essentially redundant. **For a deliberately deeper turn, prefer `/effort max` (set, prompt, then `/effort auto`) over the keyword.**-### Opus 4.7 ignores prior `effortLevel`+### Tokenizer overhead on newer models-If your `settings.json` had a manual effort set for a prior model, Opus 4.7 overrides it to `xhigh` on first run. Use `/effort <level>` to assert your preference, or update `effortLevel` after switching.+Opus 4.7+, Opus 4.8, and Fable 5 use a tokenizer that produces **~30% more tokens for the same text** than pre-4.7 models ([pricing docs](https://platform.claude.com/docs/en/about-claude/pricing)) — sessions burn through limits faster at the same effort. Budget accordingly on long agentic runs.-### Don't ask for `xhigh` on 4.6 models+### `ultracode` is not an API level-`xhigh` only exists on Opus 4.7. Asking for it on Opus 4.6 or Sonnet 4.6 will fall back to the model's accepted ceiling.+Setting `effort: "ultracode"` in an API request will fail — it exists only in Claude Code, where it means "xhigh + standing permission to orchestrate workflows."---@@ -165,27 +153,27 @@ If your `settings.json` had a manual effort set for a prior model, Opus 4.7 overIf you remember nothing else from this page:1. **Check your current effort with `/effort`** — defaults have churned and your `settings.json` may be stale.-2. **Stay on the model default** unless you have a specific reason to change. (`high` for 4.6 / Sonnet, `xhigh` for 4.7.)-3. **Reach for max only when the problem genuinely needs it** — architecture, subtle bugs, security review. Skip for routine work.+2. **Stay on the model default (`high`)** unless you have a specific reason to change.+3. **Reach for `max` only when the problem genuinely needs it** — architecture, subtle bugs, security review. Skip for routine work.4. **Before raising effort, fix context.** Sharper `CLAUDE.md`, atomic plan, named files. ~80% of the time that's the actual fix.-5. **Plan with Opus xHigh/Max, execute with Sonnet** at a lower effort when the work is large enough to split.+5. **Plan with Opus at xHigh/Max, execute with Sonnet** at a lower effort when the work is large enough to split.+6. **Use `ultracode` deliberately** — it fans work out to background subagents; wonderful for audits, wasteful for one-line fixes.---## Sources-- [Claude Code model-config docs](https://code.claude.com/docs/en/model-config.md) — canonical reference for `effortLevel`, `/effort`, env var, and precedence-- [Anthropic Effort API docs](https://platform.claude.com/docs/en/build-with-claude/effort) — the `xhigh` / `max` guidance and per-level behaviour-- [Introducing Claude Opus 4.7](https://www.anthropic.com/news/claude-opus-4-7) — model-level context for the new defaults-- [`anthropics/claude-code` issue #42796](https://github.com/anthropics/claude-code/issues/42796) — March/April 2026 default-drop timeline-- [OpenRouter — Opus 4.7 tokenizer analysis](https://openrouter.ai/announcements/opus-47-tokenizer-analysis) — the 1.0–1.35× tokenizer-cost data+- [Claude Code model-config docs](https://code.claude.com/docs/en/model-config.md) — canonical reference for `effortLevel`, `/effort`, and precedence+- [Anthropic Effort API docs](https://platform.claude.com/docs/en/build-with-claude/effort) — per-level behaviour and the `max` guidance+- [Claude Code workflows docs](https://code.claude.com/docs/en/workflows) — what `ultracode` actually unlocks+- [Model overview](https://platform.claude.com/docs/en/about-claude/models/overview) — per-model effort support---## See also-- [Models — specs and pricing](models.md) — adaptive thinking, model IDs, when to pick which-- [Slash commands reference](commands.md) — `/effort`, `/cost`, `/model`+- [Models — specs and pricing](models.md) — model IDs, when to pick which+- [Slash commands reference](commands.md) — `/effort`, `/usage`, `/model`- [README → Prompt Engineering Deep Dive](../../README.md#prompt-engineering-deep-dive) — `think` directives, Explore→Plan→Code→Commit, TDD workflow- [FAQ](faq.md) — pricing, plan limits, Fast Modediff --git a/docs/reference/faq.md b/docs/reference/faq.mdindex feaf97e..8afc07a 100644--- a/docs/reference/faq.md+++ b/docs/reference/faq.md@@ -10,36 +10,19 @@ A consolidated FAQ covering models, pricing, tokens, plans, Fast Mode, worktrees### Q: What Claude models are available in 2026?-As of May 2026, the Claude 4 model family is:--| Model | Model ID | Context window | Max output | Best for |-|---|---|---|---|---|-| **Opus 4.7** *(flagship)* | `claude-opus-4-7` | 200K (1M beta via API) | 128K | Complex reasoning, large refactors |-| **Sonnet 4.6** *(balanced)* | `claude-sonnet-4-6` | 200K | 8K | Everyday coding |-| **Haiku 4.5** *(fast/cheap)* | `claude-haiku-4-5-20251001` | 200K | 8K | Lightweight tasks |+As of July 2026: **Sonnet 5** (default), **Opus 4.8**, **Fable 5** (Mythos class), and **Haiku 4.5**, with Opus 4.7/4.6 and Sonnet 4.6 available as legacy models. Full specs, model IDs, and pricing live in one place — [Models](models.md) — so this FAQ doesn't duplicate them.**Key features:**-- **Adaptive thinking** — Opus 4.7 scales reasoning depth automatically; hint with `"think"`, `"think hard"`, or `"ultrathink"`.-- **1M context window** — Beta via API only (not in subscription plans at launch).-- **Fast Mode** — 2.5× faster, 6× pricing. **Runs on Opus 4.6** even when your default is 4.7. Toggle with `/fast`.-- **Previous generation** — `claude-opus-4-6` and `claude-sonnet-4-5-20250929` remain accessible via API and `/model`.--> Anthropic ships new models often. Check the [official model overview](https://docs.anthropic.com/en/docs/about-claude/models) for the current list.--### Q: Can I use Opus 4.7's 1M context window?+- **Adaptive thinking** — current models scale reasoning depth automatically; on Fable 5 it can't be disabled.+- **1M context window** — standard on Sonnet 5, Opus 4.8, and Fable 5 (no beta flag, no long-context surcharge).+- **Fast Mode** — up to 2.5× faster output at 2× pricing, on Opus 4.8. Toggle with `/fast`.-The 1M token context window is currently in **beta, API-only**.+> Anthropic ships new models often. Check the [official model overview](https://platform.claude.com/docs/en/about-claude/models/overview) for the current list.-- ✅ Available via API with an API key-- ❌ Not available in Pro/Max subscription plans (limited to 200K)-- Beta access required+### Q: Can I use the 1M context window?-**How to access:**--- Use the Claude API directly with your API key-- Set model to `claude-opus-4-7`-- Enable beta features in API settings+Yes. 1M-token context is **standard** on Sonnet 5, Opus 4.8, and Fable 5 — in Claude Code and via the API — and the full window bills at standard per-token pricing.**Best for:** analyzing entire large codebases at once, processing extensive documentation, complex multi-file refactoring.@@ -49,28 +32,17 @@ The 1M token context window is currently in **beta, API-only**.### Q: How many reasoning effort levels are there, and what's my default?-**Five:** `low / medium / high / xhigh / max`. As of May 2026 (Claude Code v2.1.117+):--| Model | Default |-|---|---|-| Opus 4.7 | `xhigh` (every plan) |-| Opus 4.6 | `high` (every plan) |-| Sonnet 4.6 | `high` (every plan) |-| Haiku 4.5 | n/a |--`xhigh` is Opus 4.7-only. Run `/effort` to see and change yours. For the full breakdown — defaults timeline, persistence ladder, gotchas, decision matrix — see [Effort levels](effort-levels.md).--### Q: I read Pro/Max users are on a "nerfed medium" default. Is that still true?+The API knows **five** (`low / medium / high / xhigh / max`, default `high`); Claude Code adds a sixth, **`ultracode`** (xhigh reasoning + automatic multi-agent workflow orchestration). `max` and `ultracode` are session-only by design.-It was true between early March and late April 2026, but **it's been fixed**. Opus 4.6 / Sonnet 4.6 now default to `high` on all plans (Pro, Max, Team, Enterprise) since Claude Code v2.1.117. Older guides may still report the old behaviour — verify with `/effort` in your session.+Current defaults (July 2026): Opus 4.8 → `high` on all surfaces; Sonnet 5 → `high` on API and Claude Code. Run `/effort` to see and change yours. Full breakdown: [Effort levels](effort-levels.md).### Q: Does `ultrathink` actually raise effort?It adds an in-context "think harder" instruction but **does not change the API effort level**. If you're already on `xhigh` or `max`, the keyword is essentially redundant. For a deliberately deeper turn, set `/effort max`, prompt, then `/effort auto` to reset.-### Q: Why doesn't `"effortLevel": "max"` in `settings.json` persist?+### Q: Why can't I persist `max` or `ultracode` in `settings.json`?-Known issue — `max` is silently downgraded once the UI is interacted with. The only mechanism that reliably persists max across sessions is the `CLAUDE_CODE_EFFORT_LEVEL=max` environment variable. Add it to your shell profile.+They're session-only by design. `"effortLevel"` in `settings.json` accepts `low` / `medium` / `high` / `xhigh`; set `max` or `ultracode` per session with `/effort`.---@@ -78,7 +50,7 @@ Known issue — `max` is silently downgraded once the UI is interacted with. The### Q: What's the difference between custom slash commands and skills?-They're the same thing. Both refer to markdown files in `.claude/commands/` invoked with `/skill-name`. See [`docs/skills.md` → Skills FAQ](../skills.md#skills-faq) for security best practices, team sharing, and troubleshooting.+They're officially one system now — `.claude/commands/deploy.md` and `.claude/skills/deploy/SKILL.md` both create `/deploy`. See [`docs/skills.md` → Skills FAQ](../skills.md#skills-faq) for security best practices, team sharing, and troubleshooting.---@@ -86,7 +58,7 @@ They're the same thing. Both refer to markdown files in `.claude/commands/` invo### Q: How many messages do I get on the Pro plan?-~**45 messages per 5-hour rolling window** (roughly 10–40 coding prompts depending on complexity). Limits reset every 5 hours; full access to all current and previous-generation models.+Anthropic no longer publishes exact message counts. Third-party estimates put Pro at roughly **~45 messages per 5-hour rolling window** — and Claude Code's five-hour rate limits were **doubled on May 6, 2026** for Pro/Max/Team, with peak-hours limit reductions removed ([announcement](https://www.anthropic.com/news/higher-limits-spacex)). Limits reset every 5 hours; Sonnet 5, Opus 4.8, and Haiku 4.5 (plus legacy 4.x models) are included — Fable 5 draws usage credits on subscription plans since June 23, 2026.### Q: How are tokens counted?@@ -99,13 +71,11 @@ Everything in your interaction counts: your prompts, Claude's responses, system| Images | `(width_px × height_px) / 750` tokens || File reads | Each line counts; `CLAUDE.md` adds context every session |-> 💡 Use the [Claude tokenizer](https://claude-tokenizer.vercel.app/) for an exact count, or `/cost` inside Claude Code to track live usage.+> 💡 Use the [Claude tokenizer](https://claude-tokenizer.vercel.app/) for an exact count, or `/usage` inside Claude Code to track live usage. Note: Fable 5 and Opus 4.7+ use a tokenizer that produces ~30% more tokens for the same text than older models.### Q: How much code can I work on per 5-hour window?-**Theoretical:** ~2,900–3,400 lines of pure code per Pro window.--**Practical:** effective for projects in the **1,000–2,000 line range** because tokens are shared across reading existing code, Claude's analysis, your back-and-forth, and the file edits themselves.+Enough for a focused feature session on a small-to-mid project. Tokens are shared across reading existing code, Claude's analysis, your back-and-forth, and the file edits themselves — so treat any lines-per-window number as an order-of-magnitude guess, not a budget.---@@ -113,36 +83,27 @@ Everything in your interaction counts: your prompts, Claude's responses, system### Q: What are the Claude subscription plans?-As of May 2026 (verify on [anthropic.com/pricing](https://www.anthropic.com/pricing) before committing):+As of July 2026 (verify on [claude.com/pricing](https://claude.com/pricing) before committing):| Plan | Price | Models | Usage limit | Claude Code ||---|---|---|---|---|-| **Free** | $0 | Limited | Base | Limited |-| **Pro** | $20/mo ($17/mo annual) | All | ~45 msg / 5hr | Full |-| **Max 5x** | $100/mo | All | 5× Pro | Full |+| **Free** | $0 | Limited | Base | Not included |+| **Pro** | $20/mo ($17/mo annual) | All | ~5-hour rolling window | Full |+| **Max 5x** | from $100/mo | All | 5× Pro | Full || **Max 20x** | $200/mo | All | 20× Pro | Full |-- **Unified subscription** — One subscription covers both web (claude.ai) and CLI (Claude Code).-- **All models** means current (Opus 4.7, Sonnet 4.6, Haiku 4.5) plus previous-generation 4.6/4.5.-- **Average costs** — Pro users typically spend ~$6/day; 90% spend under $12/day.+- **Unified subscription** — one subscription covers both web (claude.ai) and CLI (Claude Code).+- **All models** means the current lineup (Sonnet 5, Opus 4.8, Haiku 4.5) plus legacy 4.x models; Fable 5 draws usage credits on subscription plans since June 23, 2026.### Q: API pricing (pay-as-you-go)?-| Model | Input (per MTok) | Output (per MTok) |-|---|---|---|-| Opus 4.7 | $5 | $25 |-| Sonnet 4.6 | $3 | $15 |-| Haiku 4.5 | $1 | $5 |-| Opus 4.6 (Fast Mode) | $30 (6×) | $150 (6×) |+See the [Models page](models.md#pricing) for the full table — headline rates: Sonnet 5 $2/$10 (intro through Aug 31, 2026, then $3/$15), Opus 4.8 $5/$25, Fable 5 $10/$50, Haiku 4.5 $1/$5.### Q: Pro vs. Max 5x vs. Max 20x?-Same models, more capacity:+Same models, more capacity — Max 5x is ~5× Pro's usage, Max 20x is ~20×.-- **Max 5x ($100/mo)** — ~225 messages/5hr. Heavy daily users; multiple parallel projects.-- **Max 20x ($200/mo)** — ~900 messages/5hr. Teams, power users, production work.--**Upgrade if:** you frequently hit Pro limits, run multiple parallel sessions, or need guaranteed availability during peak hours.+**Upgrade if:** you frequently hit Pro limits, run multiple parallel sessions or agent teams, or need guaranteed availability during peak hours.---@@ -150,20 +111,20 @@ Same models, more capacity:### Q: What is Fast Mode and when should I use it?-Fast Mode delivers **2.5× faster responses** at **6× pricing**. It runs on **Opus 4.6** specifically — Opus 4.7 doesn't expose Fast Mode (yet).+Fast Mode delivers up to **2.5× faster output** at **2× pricing**, running on **Opus 4.8** (the default fast-mode model since Claude Code v2.1.154).-- Toggle with `/fast`. The **↯** indicator confirms it's on.-- Visual indicator: **↯** appears in the session header.+- Toggle with `/fast` (CLI-only, v2.1.36+). The **↯** indicator confirms it's on.+- On subscription plans, fast mode draws from usage credits rather than plan limits.-| | Standard Opus 4.6 | Fast Mode |+| | Standard Opus 4.8 | Fast Mode ||---|---|---|-| Input (per MTok) | $5 | $30 |-| Output (per MTok) | $25 | $150 |+| Input (per MTok) | $5 | $10 |+| Output (per MTok) | $25 | $50 |-**Use it for:** rapid iteration, live debugging, time-sensitive deployments, demo prep.-**Skip it for:** long background tasks, budget projects, exploratory work, documentation.+> ⚠️ Fast mode on Opus 4.7 ($30/$150) is deprecated and **removed July 24, 2026**; Opus 4.6 silently runs at standard speed since June 29, 2026.-> 💡 Toggle on for the focused sprint, toggle off when you're done. The cost difference adds up fast.+**Use it for:** rapid iteration, live debugging, time-sensitive deployments, demo prep.+**Skip it for:** long background tasks and exploratory work — speed doesn't help work you're not watching.---@@ -171,7 +132,7 @@ Fast Mode delivers **2.5× faster responses** at **6× pricing**. It runs on **O### Q: What happens when I run multiple Claude Code sessions in different terminals?-**Usage limits are shared.** All Claude Code sessions on your account draw from the same 5-hour message budget — running 3 parallel sessions exhausts it ~3× faster.+**Usage limits are shared.** All Claude Code sessions on your account draw from the same 5-hour budget — running 3 parallel sessions exhausts it ~3× faster.**Conversation context is independent.** Each terminal has its own history; Claude in tab 1 doesn't know what happened in tab 2. Each session analyzes the codebase independently.@@ -217,7 +178,7 @@ Each clone has its own `.git`, no shared state, fully isolated views.**Token efficiency:**- Batch related work — let one session deliver a feature, don't re-explain context across sessions.-- Use `/model` strategically: Haiku for simple tasks, Sonnet 4.6 for everyday, Opus 4.7 only when reasoning depth matters.+- Use `/model` strategically: Haiku for simple tasks, Sonnet 5 for everyday, Opus 4.8 when reasoning depth matters.- Be specific in prompts to avoid back-and-forth.**Project structure:**diff --git a/docs/reference/further-reading.md b/docs/reference/further-reading.mdindex cc2d5b5..83166be 100644--- a/docs/reference/further-reading.md+++ b/docs/reference/further-reading.md@@ -10,24 +10,32 @@ Curated links to official docs, deep-dives, and community resources for Claude C### Claude Code documentation-- [Claude Code overview](https://docs.anthropic.com/en/docs/claude-code/overview)-- [Quick start guide](https://docs.anthropic.com/en/docs/claude-code/quickstart)-- [CLI reference](https://docs.anthropic.com/en/docs/claude-code/cli-reference)-- [Slash commands](https://docs.anthropic.com/en/docs/claude-code/slash-commands)-- [Hooks reference](https://docs.anthropic.com/en/docs/claude-code/hooks)-- [Best practices (Anthropic engineering)](https://www.anthropic.com/engineering/claude-code-best-practices)-- [How Anthropic teams use Claude Code](https://www.anthropic.com/news/how-anthropic-teams-use-claude-code)+- [Claude Code overview](https://code.claude.com/docs/en/overview)+- [Quick start guide](https://code.claude.com/docs/en/quickstart)+- [CLI reference](https://code.claude.com/docs/en/cli-reference)+- [Slash commands](https://code.claude.com/docs/en/commands)+- [Hooks reference](https://code.claude.com/docs/en/hooks)+- [Best practices](https://code.claude.com/docs/en/best-practices)+- [What's new — weekly digests](https://code.claude.com/docs/en/whats-new/)+- [How Anthropic teams use Claude Code](https://claude.com/blog/how-anthropic-teams-use-claude-code)### Claude models & API-- [Models overview](https://docs.anthropic.com/en/docs/about-claude/models)-- [API pricing](https://www.anthropic.com/pricing)-- [Claude Opus official page](https://www.anthropic.com/claude/opus)+- [Models overview](https://platform.claude.com/docs/en/about-claude/models/overview)+- [API pricing](https://claude.com/pricing)+- [Fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode)- [Token calculator](https://claude-tokenizer.vercel.app/)+### Model announcements (2026)++- [Introducing Claude Sonnet 5](https://www.anthropic.com/news/claude-sonnet-5)+- [Introducing Claude Opus 4.8](https://www.anthropic.com/news/claude-opus-4-8)+- [Introducing Claude Fable 5 and Claude Mythos 5](https://www.anthropic.com/news/claude-fable-5-mythos-5)+### Agent development- [Building effective agents (Anthropic engineering)](https://www.anthropic.com/engineering/building-effective-agents)+- [Agent Skills open standard](https://agentskills.io)---@@ -35,12 +43,13 @@ Curated links to official docs, deep-dives, and community resources for Claude C### Official-- **[Official MCP Registry (live)](https://registry.modelcontextprotocol.io/)**+- **[Official MCP Registry (preview)](https://registry.modelcontextprotocol.io/)** · [About the registry](https://modelcontextprotocol.io/registry/about)- [MCP getting started](https://modelcontextprotocol.io/docs/getting-started/intro)- [MCP roadmap](https://modelcontextprotocol.io/development/roadmap)- [Official MCP servers (GitHub)](https://github.com/modelcontextprotocol/servers)-- [Registry announcement](http://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/)-- [Donation to the Agentic AI Foundation](https://www.anthropic.com/news/donating-the-model-context-protocol)+- [Registry announcement](https://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/)+- [2026-07-28 spec release candidate](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/)+- [Donation to the Agentic AI Foundation](https://www.anthropic.com/news/donating-the-model-context-protocol-and-establishing-of-the-agentic-ai-foundation)- [MCP auth specifications](https://auth0.com/blog/mcp-specs-update-all-about-auth/)### MCP server examples@@ -61,32 +70,12 @@ Curated links to official docs, deep-dives, and community resources for Claude C## Workflows & tutorials- [Claude Code workflows (community)](https://github.com/OneRedOak/claude-code-workflows)-- [Video tutorial](https://www.youtube.com/watch?v=kQmXtrmQ5Zg)-- [Advanced tutorial](https://www.youtube.com/watch?v=xOO8Wt_i72s)-------## Pricing & subscription information--- [Pricing guide](https://intuitionlabs.ai/articles/claude-pricing-plans-api-costs)-- [API pricing details](https://www.nops.io/blog/anthropic-api-pricing/)-- [Claude Code pricing](https://www.braingrid.ai/blog/claude-code-pricing)-- [Subscription comparison](https://screenapp.io/blog/claude-ai-pricing)-- [Opus 4.6 pricing](https://www.eesel.ai/blog/claude-opus-46-pricing)-------## Fast Mode resources--- [Fast Mode analysis (Simon Willison)](https://simonwillison.net/2026/Feb/7/claude-fast-mode/)-- [Fast Mode usage walkthrough](https://medium.com/@joe.njenga/how-im-using-new-claude-code-fast-mode-to-code-faster-like-a-whiz-09a2694da6ae)-- [Fast Mode guide](https://wmedia.es/en/tips/claude-code-fast-mode-faster-responses)+- [Fast Mode analysis (Simon Willison, Feb 2026)](https://simonwillison.net/2026/Feb/7/claude-fast-mode/)---## Development tools & adjacent resources-- [Example project — e-commerce w/ Sanity + Stripe](https://github.com/adrianhajdin/ecommerce_sanity_stripe)- [Tmux cheatsheet](https://tmuxcheatsheet.com/)- [Obsidian — markdown viewer](https://obsidian.md/)- [Repomix — repository packaging tool](https://github.com/yamadashy/repomix)diff --git a/docs/reference/models.md b/docs/reference/models.mdindex a440462..413bd4b 100644--- a/docs/reference/models.md+++ b/docs/reference/models.md@@ -1,79 +1,79 @@# Models — Specifications & Pricing-*[← Back to README](../../README.md#claude-opus-47-the-latest-flagship)*+*[← Back to README](../../README.md#the-claude-5-era-todays-model-lineup)*-The Claude 4 model family at a glance, plus deeper specs for the current flagship. For Anthropic's authoritative list (always more current), see the [official model overview](https://docs.anthropic.com/en/docs/about-claude/models).+The current Claude lineup at a glance, plus deeper specs for the headline models. For Anthropic's authoritative list (always more current), see the [official model overview](https://platform.claude.com/docs/en/about-claude/models/overview).----## The Claude 4 family+## The current lineup (July 2026)| Model | Model ID | Context | Max output | Best for ||---|---|---|---|---|-| **Opus 4.7** *(flagship)* | `claude-opus-4-7` | 200K (1M beta via API) | 128K | Complex reasoning, large refactors, multi-file analysis |-| **Sonnet 4.6** *(balanced)* | `claude-sonnet-4-6` | 200K | 8K | Everyday coding — most tasks live here |-| **Haiku 4.5** *(fast/cheap)* | `claude-haiku-4-5-20251001` | 200K | 8K | Quick edits, doc updates, light reasoning |+| **Sonnet 5** *(default)* | `claude-sonnet-5` | 1M | 128K | Everyday coding — most tasks live here |+| **Opus 4.8** *(Opus flagship)* | `claude-opus-4-8` | 1M | 128K | Complex reasoning, large refactors, agent orchestration |+| **Fable 5** *(Mythos class)* | `claude-fable-5` | 1M | 128K | The genuinely hard problems — a tier above Opus |+| **Haiku 4.5** *(fast/cheap)* | `claude-haiku-4-5` | 200K | 64K | Quick edits, doc updates, light reasoning |-> ⚠️ Anthropic ships new models often. Always check the [official model overview](https://docs.anthropic.com/en/docs/about-claude/models) before pinning a model ID.+> ⚠️ Anthropic ships new models often. Always check the [official model overview](https://platform.claude.com/docs/en/about-claude/models/overview) before pinning a model ID.-**Previous-generation models still available:** `claude-opus-4-6` and `claude-sonnet-4-5-20250929` remain accessible via API and the `/model` switcher. They're no longer the default but useful for cost optimization or pinning a build to a specific behavior.+**1M context is standard** on all current Opus/Sonnet/Fable models — no beta flag, and the full window bills at standard per-token rates (no long-context surcharge).----+**Legacy models still available:** Opus 4.7, Opus 4.6, and Sonnet 4.6 remain accessible via API and the `/model` switcher — useful for pinning a build to a specific behavior. **Opus 4.1 is deprecated and retires August 5, 2026.**++**Mythos 5** (`claude-mythos-5`) is the same underlying model as Fable 5 with safeguards lifted in some areas — invitation-only for approved organizations via Project Glasswing, no self-serve access. See [the announcement](https://www.anthropic.com/news/claude-fable-5-mythos-5).-## Claude Opus 4.7 — deep specs+----### Key specifications+## The headliners-| Feature | Specification |-|---|---|-| **Model ID** | `claude-opus-4-7` |-| **Context window** | 200K tokens (1M beta via API) |-| **Max output** | 128K tokens |-| **Availability** | Pro, Max, and API plans |-| **Fast Mode** | Available via Opus 4.6 (`/fast` switches the underlying model — see [Fast Mode](#fast-mode) below) |+### Claude Sonnet 5 — the new default-### What's new in 4.7 vs 4.6+Announced June 30, 2026; Claude Code's default model since v2.1.197. The default for Free and Pro on claude.ai too.-- **Sharper adaptive thinking.** Reasoning depth scales more reliably with task complexity — fewer cases of overthinking trivial prompts or underthinking hard ones.-- **Better long-context grounding.** Multi-file refactoring at the upper end of the 200K window holds the thread tighter than 4.6.-- **Improved tool calling.** Lower rate of malformed JSON and clearer reasoning when picking between similar tools.-- **Same price.** Input/output pricing matches Opus 4.6.+- **1M-token context, 128K max output** — whole-codebase work without splitting.+- **Intro pricing:** $2/$10 per MTok through August 31, 2026, then $3/$15.+- Defaults to `high` effort on API and Claude Code.-### Capabilities+→ [Announcement](https://www.anthropic.com/news/claude-sonnet-5)-**1. Extended context window** — 200K standard for everyone; 1M beta via API only. Best for: analyzing entire large codebases at once, processing extensive documentation.+### Claude Opus 4.8 — the Opus flagship-**2. Adaptive thinking** — dynamic reasoning that scales with task complexity. You can hint at depth with `"think"`, `"think hard"`, `"think harder"`, or `"ultrathink"` in your prompt; for the persistent dial, see [Effort levels](effort-levels.md). Opus 4.7 defaults to the `xhigh` effort level on every plan.+Announced May 28, 2026, replacing Opus 4.7 at **unchanged pricing** ($5/$25).-**3. Agent teams (experimental)** — multi-agent collaboration in one session. Enable with `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`.+- Launched alongside **Dynamic Workflows** (research preview) — orchestrating hundreds of parallel subagents.+- Anthropic reports it is **~4× less likely than Opus 4.7** to let flaws in its own code pass unflagged.+- Defaults to `high` effort on all surfaces; supports `xhigh`.+- The default model for Fast Mode (see below).-**4. Top-tier benchmarks** — leading scores on Terminal-Bench 2.0 and SWE-bench Verified.+→ [Announcement](https://www.anthropic.com/news/claude-opus-4-8)-### When to reach for Opus 4.7+### Claude Fable 5 — the Mythos class-- Complex architectural decisions-- Large-scale refactoring or migrations-- Debugging intricate, multi-file issues-- Production-critical code paths+Announced June 9, 2026 with Mythos 5 — the first *Mythos-class* models, a capability tier above Opus.-**Save tokens with Sonnet 4.6 or Haiku 4.5 when:**+- **$10/$50 per MTok** (batch $5/$25).+- **Adaptive thinking is always on** — `thinking: {type: "disabled"}` is rejected.+- Dual-use safety classifiers (cyber, bio/chem, distillation) fall back to Opus 4.8 instead of refusing.+- Uses the Opus 4.7 tokenizer — **~30% more tokens for the same text** vs pre-4.7 models; budget accordingly.+- Was included free on Pro/Max/Team from June 9–22, 2026; since June 23 it draws usage credits on subscription plans. GA on API, Bedrock, Google Cloud, and Foundry.-- The task is a single-file edit or simple refactor-- You're writing or updating documentation-- You're doing exploratory Q&A about an unfamiliar codebase+→ [Announcement](https://www.anthropic.com/news/claude-fable-5-mythos-5)---## Fast Mode-Fast Mode delivers ~2.5× faster responses at 6× the standard token price. It runs on **Opus 4.6** — not 4.7. Toggle with `/fast`; the **↯** indicator confirms it's on. Available via API and Pro/Max plans.+Fast Mode delivers up to **2.5× faster output at 2× the standard price**, running on **Opus 4.8** (the default fast-mode model since Claude Code v2.1.154). Toggle with `/fast` (CLI-only, v2.1.36+); the **↯** indicator confirms it's on. On subscription plans it draws from usage credits.-| | Standard Opus 4.6 | Fast Mode (Opus 4.6) |+| | Standard Opus 4.8 | Fast Mode (Opus 4.8) ||---|---|---|-| Input (per MTok) | $5 | $30 (6×) |-| Output (per MTok) | $25 | $150 (6×) |+| Input (per MTok) | $5 | $10 (2×) |+| Output (per MTok) | $25 | $50 (2×) |-> 💡 Default to Opus 4.7 for everyday work. Reach for `/fast` only when latency genuinely matters (live debugging, demo prep, time-pressured fixes).+> ⚠️ **Older Opus fast modes are being retired:** Opus 4.7 fast ($30/$150) was deprecated June 25, 2026 and is **removed July 24, 2026** (requests will error, no fallback). Opus 4.6 has silently run at standard speed since June 29, 2026.++→ [Official fast-mode docs](https://platform.claude.com/docs/en/build-with-claude/fast-mode)---@@ -83,21 +83,24 @@ Fast Mode delivers ~2.5× faster responses at 6× the standard token price. It r| Plan | Price | Models | Usage ||---|---|---|---|-| Pro | $20/mo ($17/mo annual) | All | ~45 messages / 5hr |-| Max 5x | $100/mo | All | 5× Pro |-| Max 20x | $200/mo | All | 20× Pro |+| Pro | $20/mo ($17/mo annual) | All current | Base — five-hour limits doubled May 6, 2026 |+| Max 5x | from $100/mo | All current | 5× Pro |+| Max 20x | $200/mo | All current | 20× Pro |### API (pay-as-you-go)| Model | Input (per MTok) | Output (per MTok) ||---|---|---|-| Opus 4.7 | $5 | $25 |-| Sonnet 4.6 | $3 | $15 |+| Sonnet 5 | $2 *(intro, → $3 after Aug 31, 2026)* | $10 *(intro, → $15)* |+| Opus 4.8 | $5 | $25 |+| Fable 5 | $10 | $50 || Haiku 4.5 | $1 | $5 |-| Opus 4.6 (Fast Mode only) | $30 | $150 |-> Pricing changes occasionally. Check [anthropic.com/pricing](https://www.anthropic.com/pricing) before committing.+- Fable 5 batch: $5/$25. Cache pricing: $12.50 (5-min write) / $20 (1-hr write) / $1 (read) per MTok.+- The Batch API supports **300K output tokens** on Opus 4.8/4.7/4.6 and Sonnet 5/4.6 via the `output-300k-2026-03-24` beta header ([model overview](https://platform.claude.com/docs/en/about-claude/models/overview)).++> Pricing changes occasionally. Check [claude.com/pricing](https://claude.com/pricing) and the [API pricing docs](https://platform.claude.com/docs/en/about-claude/pricing) before committing.----[← Back to README](../../README.md#claude-opus-47-the-latest-flagship) · [FAQ](faq.md) · [Changelog](changelog.md)+[← Back to README](../../README.md#the-claude-5-era-todays-model-lineup) · [FAQ](faq.md) · [Changelog](changelog.md)diff --git a/docs/skills.md b/docs/skills.mdindex e4a8dc4..57eee0a 100644--- a/docs/skills.md+++ b/docs/skills.md@@ -2,7 +2,7 @@*~30 min read · [← Back to README](../README.md#claude-skills)*-> **Mental model:** Skills package a workflow into a markdown file Claude can run. Two flavors: *slash skills* you invoke with `/name`, and *Agent Skills* Claude reaches for automatically when their description matches the task.+> **Mental model:** Skills package a workflow into a markdown file Claude can run. Two flavors — officially one system now: *slash skills* you invoke with `/name`, and *Agent Skills* Claude reaches for automatically when their description matches the task. `.claude/commands/deploy.md` and `.claude/skills/deploy/SKILL.md` both create `/deploy`.> ⚠️ **Security:** Skills are executable instructions running with your shell permissions. Only install skills from trusted sources, and read the file before adding it to your project — exactly like reviewing a shell script before sourcing it.@@ -92,12 +92,13 @@ Claude Skills (a.k.a. *custom slash commands*) are markdown files in `.claude/co## Built-in skills vs custom skills-**Built-in skills** (shipped with Claude Code):+**Built-in skills** (bundled with Claude Code):| Skill | Purpose | Invocation ||---|---|---|+| `dataviz` | Design-system guidance for charts, dashboards, and data visualizations (bundled since v2.1.198) | `/dataviz` |+| `debug` | Troubleshoot the current session and configuration | `/debug` || `keybindings-help` | Customize keyboard shortcuts and modify `~/.claude/keybindings.json` | `/keybindings-help` |-| `mermaid` | Create entity-relationship diagrams and flowcharts | `/mermaid` |**Custom skills** (in this repository's `.claude/commands/`):@@ -206,12 +207,6 @@ Claude becomes an empathetic UX specialist:- Tracks completion timestamps- **Perfect for:** Sprint planning, personal task tracking, session continuity-**`/mermaid` — Diagram Generation**-- Creates entity-relationship diagrams from database schemas-- Generates flowcharts, sequence diagrams, and architecture visualizations-- Outputs valid Mermaid syntax for embedding in markdown-- **Perfect for:** Documentation, architecture discussions, onboarding----<a id="using-skills-in-workflow"></a>@@ -358,7 +353,7 @@ Always review `.claude/commands/` files from cloned repositories before invoking**Q: Can I modify built-in skills?**-No. Built-in skills (`/keybindings-help`, `/mermaid`) are shipped with Claude Code and cannot be modified. You can create your own custom skills with similar names (e.g., `/my-mermaid`) for custom behavior.+No. Built-in skills (`/dataviz`, `/debug`, `/keybindings-help`, …) ship with Claude Code and cannot be modified directly. You can create your own custom skill with a similar name for custom behavior — project-level skills win name collisions (this repo's custom `/review` intentionally shadows the built-in `/review` that way).**Q: How do I share skills with my team?**@@ -470,9 +465,9 @@ Brief description of what this skill does.[Show example input/output or workflow]```-**3. Example: simple skill (complete file)**+**3. Example: simple skill**-Complete contents of `.claude/commands/five.md`:+A simplified version of this repo's [`.claude/commands/five.md`](../.claude/commands/five.md) (the real file adds usage notes, variables, and worked examples):```markdown# Five Whys Analysis@@ -492,7 +487,7 @@ Apply the Five Whys root cause analysis technique to investigate issues.- Multiple root causes may exist — explore different branches```-> 💡 Copy this exactly to `.claude/commands/five.md` to use it immediately.+> 💡 Copy this to `.claude/commands/five.md` to use it immediately — or grab [the full version](../.claude/commands/five.md) from this repo.**4. Example: complex skill (complete file)**@@ -594,10 +589,11 @@ claude### Version requirements-- **Claude Code version:** Skills are available in Claude Code v1.0+ (2024 – present)-- **No special installation needed** — Skills work out of the box with any Claude Code installation-- **All plans supported** — Available in Free, Pro, and Max plans-- **All models supported** — Works across the Claude 4 model family+- **No special installation needed** — skills work out of the box with any current Claude Code installation.+- **One system** — custom slash commands and Agent Skills are unified: `.claude/commands/<name>.md` ≡ `.claude/skills/<name>/SKILL.md`.+- **Open standard** — skills follow the [agentskills.io](https://agentskills.io) specification (released Dec 18, 2025), adopted by ~40 products including OpenAI Codex, GitHub Copilot, Cursor, and Gemini CLI.+- **Plans** — available on Pro, Max, Team/Enterprise, and usage-based API billing (Claude Code isn't included in the Free plan).+- **All models supported** — works across the current model lineup.### Edge cases & gotchas@@ -653,7 +649,7 @@ Analyze the code at the provided file path or URL.2. Perform code review...```-> **Note:** There is no special `$ARGUMENTS` variable syntax — Claude automatically sees the text you type after `/skill-name` as part of the request context.+> **Note:** `$ARGUMENTS` is a supported placeholder in custom commands/skills — this repo's own [`.claude/commands/review.md`](../.claude/commands/review.md) uses it (`**PR Link/Number**: $ARGUMENTS`). Plain trailing text after the command also works: Claude sees whatever you type after `/skill-name` as part of the request context. See the [official commands reference](https://code.claude.com/docs/en/commands).### ❌ Don't@@ -721,7 +717,8 @@ Analyze the code at the provided file path or URL.> - **Use subagents** for parallelizable work within complex skills.> - **Split mega-skills** into smaller, composable units.> - **Cache common patterns** as skills instead of re-prompting.-> - **Use Fast Mode** (see [Fast Mode](../README.md#fast-mode-)) when running skill-heavy workflows for 2.5× faster responses.+> - **Use Fast Mode** (see [Fast Mode](../README.md#fast-mode)) when latency matters in skill-heavy workflows.+> - **Stack skills** — `/skill-a /skill-b …` invocations run in sequence (v2.1.199+).---@@ -741,9 +738,12 @@ A vibrant community has formed around Agent Skills since Anthropic open-sourced| Marketplace | URL | Focus ||---|---|---|-| **SkillHub** | [skillhub.club](https://www.skillhub.club/) | ~7K AI-evaluated skills auto-indexed from public GitHub repos. Searchable by category. |-| **SkillsMP** | [skillsmp.com](https://skillsmp.com/) | ~900K skills aggregated across GitHub. Independent (not Anthropic-affiliated). Filters by occupation, popularity, author. |-| **Smithery** | [smithery.ai](https://smithery.ai/) | Originally an MCP-server registry; now covers Agent Skills too. Includes a CLI for discovery and install. |+| **SkillHub** | [skillhub.club](https://www.skillhub.club/) | ~100K+ AI-evaluated skills auto-indexed from public GitHub repos. Searchable by category. |+| **SkillsMP** | [skillsmp.com](https://skillsmp.com/) | Millions of skills aggregated across GitHub (2M+ advertised). Independent (not Anthropic-affiliated). Filters by occupation, popularity, author. |+| **Smithery** | [smithery.ai/skills](https://smithery.ai/skills) | Originally an MCP-server registry; now covers Agent Skills too. Includes a CLI for discovery and install. |+| **skills.sh** | [skills.sh](https://skills.sh/) | Vercel's open agent-skills ecosystem (launched January 2026). |++> 📦 **Official plugin marketplaces:** Claude Code also ships two Anthropic-run plugin marketplaces — *claude-plugins-official* (auto-registered on first launch) and the reviewed community marketplace (`/plugin marketplace add anthropics/claude-plugins-community`). Plugins can bundle skills, commands, agents, hooks, and MCP servers in one install — see the [plugins docs](https://code.claude.com/docs/en/plugins).> ⚠️ Marketplaces aggregate community content and don't vet every entry. Read `SKILL.md` (and any `scripts/` it references) before installing — the same care you'd apply to a shell script.@@ -754,7 +754,7 @@ A vibrant community has formed around Agent Skills since Anthropic open-sourced| [**travisvn/awesome-claude-skills**](https://github.com/travisvn/awesome-claude-skills) | Broadest community list with creation guides, security notes, and best-practice picks. || [**ComposioHQ/awesome-claude-skills**](https://github.com/ComposioHQ/awesome-claude-skills) | 1000+ production-ready skills organized by category; integrates with Composio's Connect-Apps for 500+ external apps. || [**jesseotremblay/claude-skills**](https://github.com/jesseotremblay/claude-skills) | Skill-creator toolkit + business-analysis library (SWOT, market sizing, [market research](https://github.com/jesseotremblay/claude-skills/tree/main/market-research)). |-| [**mattpocock/skills**](https://github.com/mattpocock/skills) | Engineering-focused composable skills (TDD, debugging, triage). Includes the well-known [`grill-me`](https://github.com/mattpocock/skills/blob/main/grill-me/SKILL.md). |+| [**mattpocock/skills**](https://github.com/mattpocock/skills) | Engineering-focused composable skills (TDD, debugging, triage). Includes the well-known [`grill-me`](https://github.com/mattpocock/skills/blob/main/skills/productivity/grill-me/SKILL.md). |### Notable community skills, by category@@ -849,7 +849,8 @@ cp -r /tmp/src/<skill-name>/ .claude/skills/<skill-name>/# Verify the skill loadedclaude-> /skills # list available Agent Skills+> /help # custom skills appear in the command list+> /reload-skills # reload skill files without restarting (v2.1.152+)```> 💡 **Convert a slash skill to an Agent Skill.** Move `.claude/commands/<name>.md` to `.claude/skills/<name>/SKILL.md`, add YAML frontmatter at the top (`name`, `description`), and Claude will start invoking it automatically when the description matches the user's request — no more typing `/<name>`.diff --git a/mcp-servers/README.md b/mcp-servers/README.mdindex af47bd4..bec171a 100644--- a/mcp-servers/README.md+++ b/mcp-servers/README.md@@ -10,11 +10,13 @@ This directory contains comprehensive documentation for the four core Model Cont| Server | Purpose | Key Features | Documentation ||--------|---------|--------------|---------------|-| **Serena** | Semantic code intelligence | • Multi-language support (15+)<br>• Symbol-level navigation<br>• Project indexing<br>• Context-aware editing | [serena.md](./serena.md) |+| **Serena** | Semantic code intelligence | • Wide language support via LSP<br>• Symbol-level navigation<br>• Project indexing<br>• Context-aware editing | [serena.md](./serena.md) || **Sequential Thinking** | Advanced reasoning | • Problem decomposition<br>• Multi-step planning<br>• Structured analysis<br>• Decision support | [sequential-thinking.md](./sequential-thinking.md) || **Memory** | Persistent context | • Cross-session memory<br>• Project preferences<br>• Historical context<br>• Knowledge retention | [memory.md](./memory.md) || **Playwright** | Browser automation | • Web scraping<br>• Automated testing<br>• Screenshot capture<br>• Device emulation | [playwright.md](./playwright.md) |+> **Tip:** Keep only 3–6 MCP servers active at a time — every connected server adds tools to Claude's context.+---## Server Comparison@@ -83,7 +85,7 @@ Before installing MCP servers, ensure the following tools are installed:|------|-------------|--------------|| **Node.js & npx** | Sequential Thinking, Memory, Playwright | [nodejs.org](https://nodejs.org/) || **uv & uvx** | Serena | [Install uv](https://docs.astral.sh/uv/getting-started/installation/) |-| **Claude Code CLI** | All servers | [Claude Docs](https://docs.claude.com/en/docs/claude-code) |+| **Claude Code CLI** | All servers | [Claude Code Docs](https://code.claude.com/docs) |#### Verify Prerequisites@@ -101,22 +103,20 @@ claude --version----## MCP Registry & Ecosystem (2026)+## MCP registry & ecosystem### Official MCP Registry-The **[MCP Registry](https://registry.modelcontextprotocol.io/)** is now live (launched September 2025), providing a centralized directory for discovering MCP servers.+The **[MCP Registry](https://registry.modelcontextprotocol.io/)** is the official directory for discovering MCP servers. It is currently **in preview**.-**Features:**-- 🔍 Browse hundreds of official and community servers-- 📦 One-click installation instructions-- 📚 Comprehensive documentation for each server-- ✅ Quality-verified listings-- 🔐 Support for public and private sub-registries+**How it works:**+- Servers are published under reverse-DNS namespaces (e.g., `io.github.username/server-name`)+- Namespace ownership is verified via GitHub, DNS, or HTTP+- The registry serves as the source of truth for downstream aggregators and marketplaces**Discovering New Servers:**1. Visit https://registry.modelcontextprotocol.io/-2. Search by category (code, database, browser, AI, etc.)+2. Search for the server you need3. Copy installation command for Claude Code CLI4. Install with `claude mcp add`@@ -127,18 +127,25 @@ The **[MCP Registry](https://registry.modelcontextprotocol.io/)** is now live (l- **AI & ML**: Sequential Thinking, Memory, various AI tool integrations- **APIs & Services**: REST clients, GraphQL, authentication servers-### Latest MCP Protocol Features (2026)+**Ecosystem scale** (as of December 2025): 97M+ monthly SDK downloads and roughly 10,000 active servers ([source](https://blog.modelcontextprotocol.io/posts/2025-12-09-mcp-joins-agentic-ai-foundation/)).++### Current MCP protocol features++The current ratified spec revision is **2025-11-25**, which added:+- **OIDC discovery** for authorization+- **Icons** for servers and their tools+- **URL elicitation** for gathering user input+- **Sampling tool calls**+- **OAuth Client ID Metadata Documents**+- **Experimental tasks**++**MCP Apps** — interactive HTML UIs rendered in sandboxed iframes — became the first official MCP extension on January 26, 2026 ([announcement](https://blog.modelcontextprotocol.io/posts/2026-01-26-mcp-apps/)).-**New Capabilities:**-- **MCP Apps**: Interactive UI components from servers-- **OAuth Support**: Built-in client credentials authentication-- **Async Operations**: Non-blocking server operations-- **Server Discovery**: `.well-known` URLs for automatic discovery-- **Improved Performance**: Stateless architecture for better scaling+**Coming up:** a release candidate for the next spec revision — the largest since MCP launched — finalizes on **July 28, 2026**. It introduces a stateless core and official extensions ([release candidate](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/)).### Agentic AI Foundation-MCP is now maintained by the **Agentic AI Foundation** (Linux Foundation), ensuring:+Since December 9, 2025, MCP has been governed by the **Agentic AI Foundation (AAIF)**, a directed fund under the Linux Foundation. Its founding projects are MCP, Block's goose, and OpenAI's AGENTS.md, with platinum members including AWS, Google, Microsoft, and Cloudflare. This ensures:- Open governance and community-driven development- Vendor-neutral standardization- Long-term sustainability@@ -236,7 +243,7 @@ Having issues with MCP server installation or connection? This section covers co### General Troubleshooting-#### 1️⃣ Server Shows "Failed to connect"+#### Server Shows "Failed to connect"**Step 1: Verify Prerequisites**@@ -266,19 +273,19 @@ Check `~/.claude.json` (macOS/Linux) or `%USERPROFILE%\.claude.json` (Windows) fclaude```-#### 2️⃣ "Command not found" Errors+#### "Command not found" Errors| Error | Solution ||-------|----------|| `npx not found` | Install Node.js from [nodejs.org](https://nodejs.org/) || `uvx not found` | Install uv from [docs.astral.sh](https://docs.astral.sh/uv/getting-started/installation/) |-| `claude not found` | Install Claude Code CLI from [docs.claude.com](https://docs.claude.com/en/docs/claude-code) |+| `claude not found` | Install Claude Code CLI from [code.claude.com](https://code.claude.com/docs) |---### Serena-Specific Issues-#### 3️⃣ Serena Connection Failures+#### Serena Connection Failures**Verify uv Installation**@@ -312,7 +319,7 @@ claude mcp add serena -s user -- uvx --from git+https://github.com/oraios/serena### Playwright-Specific Issues-#### 4️⃣ Playwright Connection Failures+#### Playwright Connection Failures**Verify Node.js**@@ -355,7 +362,7 @@ claude mcp add playwright -s user -- npx -y @playwright/mcp@latest### Sequential Thinking & Memory Issues-#### 5️⃣ Sequential Thinking / Memory Failures+#### Sequential Thinking / Memory FailuresBoth servers require Node.js and `npx`. If they fail to connect:@@ -392,7 +399,7 @@ claude mcp add memory -s user -- npx -y @modelcontextprotocol/server-memory### Complete Reinstall-#### 6️⃣ Full Server Reinstallation+#### Full Server ReinstallationIf a server repeatedly fails, perform a complete reinstall:@@ -409,7 +416,7 @@ claude mcp add <server-name> -s user -- <command>### Verification-#### 7️⃣ Verify All Servers+#### Verify All ServersAfter troubleshooting, always verify server status:@@ -433,7 +440,7 @@ playwright: ✓ Connected- **Restart Claude Code** after configuration changes- **Prefer one scope per server**: Combining global and local installations may cause conflicts-- **Check logs** in `~/.claude/logs/` for detailed error messages+- **Run `claude --debug`** to surface MCP connection errors in the session- **Update regularly**: Use `@latest` for npm packages to get the newest versions---diff --git a/mcp-servers/memory.md b/mcp-servers/memory.mdindex 2d2152b..2cea201 100644--- a/mcp-servers/memory.md+++ b/mcp-servers/memory.md@@ -4,11 +4,13 @@The **Memory** server allows Claude Code to **store and retrieve information across sessions**, providing persistent context, remembering project details, and maintaining user preferences.+> **Note:** This MCP server is distinct from Claude Code's **built-in auto memory** (on by default since v2.1.59), which stores notes under `~/.claude/projects/<project>/memory/` with a `MEMORY.md` index and is managed via the `/memory` command.+---## Installation-### 1️⃣ Global Installation (Recommended)+### Step 1: Global Installation (Recommended)Install Memory globally for cross-project persistence:@@ -28,9 +30,9 @@ claude mcp add memory -s local -- npx -y @modelcontextprotocol/server-memory## Usage-### 2️⃣ Using Memory in Claude Code+### Step 2: Using Memory in Claude Code-Once installed, Memory automatically stores and retrieves context from your sessions.+Once installed, the server exposes **knowledge-graph tools** that Claude calls when you ask it to remember or recall something. Usage is not automatic — to make it so, add an instruction to your `CLAUDE.md` (e.g., "Use the memory server to store and retrieve project context").#### Example: Storing Information@@ -61,7 +63,7 @@ Claude responds:- **Persistent context**: Information persists across sessions- **Project-specific notes**: Remember project details, conventions, and preferences- **User preferences**: Store personal preferences and workflow habits-- **Seamless integration**: Works automatically with Claude Code+- **On-request memory**: Claude calls the server's knowledge-graph tools when you ask it to remember or recall- **Cross-session memory**: Recall information from previous conversations---diff --git a/mcp-servers/playwright.md b/mcp-servers/playwright.mdindex d263f81..e91370f 100644--- a/mcp-servers/playwright.md+++ b/mcp-servers/playwright.md@@ -8,7 +8,7 @@ The **Playwright** server provides **browser automation capabilities** for Claud## Installation-### 1️⃣ Basic Installation+### Step 1: Basic Installation#### Global Installation (Recommended)@@ -26,7 +26,7 @@ claude mcp add playwright -s local -- npx -y @playwright/mcp@latest## Advanced Configuration-### 2️⃣ Configuration Options+### Step 2: Configuration Options#### Specify Browser Type@@ -62,7 +62,7 @@ claude mcp add playwright -s user -- npx -y @playwright/mcp@latest --device "iPh## Configuration File-### 3️⃣ Using a JSON Configuration+### Step 3: Using a JSON ConfigurationFor complex setups, use a configuration file:@@ -91,7 +91,7 @@ claude mcp add playwright -s user -- npx -y @playwright/mcp@latest --config /pat## Usage-### 4️⃣ Using Playwright in Claude Code+### Step 4: Using Playwright in Claude Code#### Open a Browser@@ -114,17 +114,22 @@ Type in Claude:/mcp```-Then select **playwright** to see available tools:+Then select **playwright** to see available tools. The most useful ones include:| Tool | Description ||------|-------------|-| `playwright_navigate` | Navigate to URLs |-| `playwright_screenshot` | Capture screenshots |-| `playwright_click` | Click elements |-| `playwright_fill` | Fill form fields |-| `playwright_evaluate` | Execute JavaScript |-| `playwright_scroll` | Scroll page content |-| `playwright_select` | Select dropdown options |+| `browser_navigate` | Navigate to a URL |+| `browser_snapshot` | Capture an accessibility snapshot of the page |+| `browser_take_screenshot` | Take a visual screenshot of the page |+| `browser_click` | Click an element on the page |+| `browser_type` | Type text into an editable element |+| `browser_fill_form` | Fill multiple form fields at once |+| `browser_select_option` | Select an option in a dropdown |+| `browser_evaluate` | Run JavaScript on the page |+| `browser_wait_for` | Wait for text to appear/disappear or time to pass |+| `browser_tabs` | List, create, close, or switch browser tabs |++See the [Playwright MCP README](https://github.com/microsoft/playwright-mcp/blob/main/README.md) for the full tool list, including network mocking, storage, tracing, and PDF export tools.---diff --git a/mcp-servers/sequential-thinking.md b/mcp-servers/sequential-thinking.mdindex 56bf0f3..fd24d4d 100644--- a/mcp-servers/sequential-thinking.md+++ b/mcp-servers/sequential-thinking.md@@ -8,7 +8,7 @@ The **Sequential Thinking** server helps Claude Code **break down complex proble## Installation-### 1️⃣ Global Installation (Recommended)+### Step 1: Global Installation (Recommended)Install Sequential Thinking globally for use across all projects:@@ -28,7 +28,7 @@ claude mcp add sequential-thinking -s local -- npx -y @modelcontextprotocol/serv## Usage-### 2️⃣ Using Sequential Thinking in Claude Code+### Step 2: Using Sequential Thinking in Claude CodeOnce installed, Sequential Thinking integrates automatically into Claude sessions. It activates when you request step-by-step reasoning or task breakdown.diff --git a/mcp-servers/serena.md b/mcp-servers/serena.mdindex c1960c1..8b5da1c 100644--- a/mcp-servers/serena.md+++ b/mcp-servers/serena.md@@ -8,7 +8,7 @@ Serena provides **semantic code intelligence** for Claude Code, enabling project## Installation-### 1️⃣ Global Installation (Recommended)+### Step 1: Global Installation (Recommended)Install Serena globally for use across all projects:@@ -38,7 +38,7 @@ claude mcp add serena -s user -- uvx --from git+https://github.com/oraios/serena## Usage-### 2️⃣ Activate a Project+### Step 2: Activate a ProjectWithin your Claude Code session, activate the current directory as a project:@@ -48,7 +48,7 @@ Within your Claude Code session, activate the current directory as a project:This tells Serena to treat the current folder as the active project context.-### 3️⃣ Index a Project (Optional, Recommended)+### Step 3: Index a Project (Optional, Recommended)Indexing preloads your project into Serena for faster symbol lookup and semantic code understanding:@@ -68,7 +68,7 @@ uvx --from git+https://github.com/oraios/serena serena project index## Features-- **Multi-language support**: Works with 15+ programming languages+- **Multi-language support**: Works with a wide range of languages via the Language Server Protocol- **Symbol-level navigation**: Jump to definitions, find references- **Intelligent editing**: Context-aware code modifications- **Project understanding**: Semantic analysis of codebase structure