VSCode extension: add 'clear context' option when approving a plan

Resolved 💬 3 comments Opened Mar 5, 2026 by airivu Closed Mar 9, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

In the terminal CLI, when approving a plan there is an option to clear the conversation context before the agent begins executing. This is useful for freeing up context window space so the agent has maximum room to work on the plan.

In the VSCode extension, the plan approval UI only shows approve/reject — there is no option to clear context before starting execution.

Expected behavior: The VSCode extension should offer the same "clear context and start" option that the terminal CLI provides when approving a plan.

Why it matters: Plans often come after a long back-and-forth discussion that fills up context. Being able to clear that history while keeping the plan means the agent has more room to work effectively, especially for larger tasks.

Workaround: Manually run /clear before approving, but this loses the plan itself and requires re-prompting.

Environment:

Claude Code VSCode extension
Windows 11

Proposed Solution

add it to the extension

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗