Перейти к содержимому
Оригинал
Reddit · ClaudeCode / Codex / VibeCoding· /u/No_Job_9995·· 1 день назадОценка ИИ22

运行 /compact 前要不要先告诉 Claude?

Оригинальный заголовок: Do you tell Claude before running /compact ?

Заголовок и краткое изложение на выбранном языке ожидают перевода.

Краткий обзор ИИ

有用户在 Claude Code 上下文变大、准备运行 /compact 前,会先告诉 Claude“我要压缩了再继续”,Claude 随后回复已总结要点。该用户认为这样做能减少 /compact 后重要信息丢失,但表示从未实际测试过,效果似乎取决于具体情况:有时只总结聊天内容,有时最新状态也会写入 memory。

Полный текст

Полный текст на выбранном языке ожидает перевода. Пока показан оригинал.

When the context in Claude Code gets large, before running /compact, I tell Claude Code, “I’m going to compact before moving on.”

When I do this, Claude says something like, “Okay. I summarized the important points.”

What happens seems to depend on the situation. Sometimes it only summarizes the conversation in the chat, and sometimes the latest status is also written to memory.

Anyway, I think doing this makes it less likely that important points will be lost when I run /compact.

I’ve never actually tested this, but I think it works that way. I feel a little uneasy about suddenly running /compact, so this is how I do it.

What do you think?

Источник: Reddit · ClaudeCode / Codex / VibeCoding · reddit.com