From adabace02d762cc98502f20dedd07a964317a57f Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 10 Dec 2025 15:45:26 +0900 Subject: [PATCH] improve(hooks): refine context window reminder message for better clarity and guidance --- src/hooks/context-window-monitor.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/hooks/context-window-monitor.ts b/src/hooks/context-window-monitor.ts index 077f1bd..11e477f 100644 --- a/src/hooks/context-window-monitor.ts +++ b/src/hooks/context-window-monitor.ts @@ -7,16 +7,8 @@ const CONTEXT_WARNING_THRESHOLD = 0.70 const CONTEXT_REMINDER = `[SYSTEM REMINDER - 1M Context Window] You are using Anthropic Claude with 1M context window. -Current usage has exceeded 75%. - -RECOMMENDATIONS: -- Consider compacting the session if available -- Break complex tasks into smaller, focused sessions -- Be concise in your responses -- Avoid redundant file reads - -You have access to 1M tokens - use them wisely. Do NOT rush or skip tasks. -Complete your work thoroughly despite the context usage warning.` +You have plenty of context remaining - do NOT rush or skip tasks. +Complete your work thoroughly and methodically.` interface AssistantMessageInfo { role: "assistant"