約98件1ページ目

日本語のみで絞り込む

Compaction replaces the older turns of a conversation with a summary that Claude writes on the server, so you need no summarization code of your own.

This cookbook covers runner-driven compaction, where your code decides when to compact: useful for low thresholds, natural item boundaries (compact after ...

2026/5/30 -What I typically do when nearing compaction is ask claude to craft a hand off message for the next session. Then start a new session and paste ...

When you approach the limit, the context window is automatically compacted. Compaction summarizes important details and removes unnecessary tool call results to ...

Context compaction (also called "handoff" or "summarization") is a technique to manage the context window in long coding sessions.

2026/3/20 -Compaction is the practice of taking a conversation nearing the context window limit, summarizing its contents, and reinitiating with that ...

2026/6/24 -Use Claude Code compaction deliberately, preserve task state in files, and avoid relying on long chat history for correctness.

Right after compaction, Claude Code re-reads up to five of the files Claude has read or edited in the session, choosing the ones modified most recently. A file ...

2025/12/11 -Conversation compacting is Claude's automatic context optimization feature that activates when a conversation approaches the token limit ( ...

2026/3/4 -When you context fills up Claude Code automatically summarizes the conversation to free up space. A typical compaction frees up 60–70% of your ...