← Back to all entries
2026-02-18 🧭 Daily News

"Building on Opus 4.6" Developer Webinar & Claude Code v2.1.50 Compact Context

"Building on Opus 4.6" Developer Webinar & Claude Code v2.1.50 Compact Context — visual for 2026-02-18

🧭 "Building on Opus 4.6" — Developer Webinar Highlights

Anthropic held its Building on Opus 4.6 developer webinar today, drawing several thousand live attendees from the API developer community. The session was led by members of the developer experience and research teams and focused on practical guidance for production agentic applications built on Claude Opus 4.6. A recording is being made available to all registered participants.

Key guidance from the session

Opus 4.6 developer education agentic best practices retrospective

🧭 Claude Code v2.1.50 — Token Counting Accuracy & /compact Command

Claude Code v2.1.50 has shipped with two improvements that address longstanding friction in long-running sessions. The first is a fix to token counting accuracy: the live token counter in the session header now correctly accounts for all tool-result payloads and cached context blocks, which previously caused the displayed count to diverge significantly from billing actuals on sessions with heavy file-read or web-fetch usage.

The second addition is a new /compact command that triggers an in-session context compaction: Claude summarises the conversation history to date into a concise state summary, discards the raw transcript, and continues the session with the summary as the new base context. This allows very long sessions to continue past the natural context limit without losing goal continuity. The compacted summary is saved to .claude/session-compact.md in the project root for review.

When to use /compact: Run it when the token counter approaches 80% of the context limit. The summary preserves task goals, decisions made, files modified, and open questions — enough for Claude to continue coherently, but significantly smaller than the full transcript.

Claude Code context token counting developer experience retrospective