Skip to content

feat(vscode): add a minimum low-token baseline config for agent sessions #454

@JustAGhosT

Description

@JustAGhosT

Problem

In large workspaces, prompt/context cost is dominated by always-on context expansion rather than actual task content.

Goal

Establish a minimum baseline profile that starts lean, then opt in to heavier features only when needed.

Motivation

Referenced instructions, nested agent files, skill-adherence prompt, session projection, custom hooks, memory, and broad MCP discovery can compound into large prompt overhead.

Proposed baseline config

{
  "chat.includeReferencedInstructions": false,
  "chat.experimental.useSkillAdherencePrompt": false,
  "chat.agentSessionProjection.enabled": false,
  "chat.useNestedAgentsMdFiles": false,
  "chat.useCustomAgentHooks": false,
  "github.copilot.chat.copilotMemory.enabled": false,
  "chat.mcp.discovery.enabled": {
    "claude-desktop": false,
    "windsurf": false,
    "cursor-global": false,
    "cursor-workspace": false
  },
  "github.copilot.chat.switchAgent.enabled": false
}

Follow-up

Add a balanced profile and document which toggles reintroduce the most prompt weight.

Acceptance criteria

  1. Document the minimum baseline profile in the repo.
  2. Explain the likely token cost drivers in descending order.
  3. Provide guidance for upgrading from lean to balanced/full-context.
  4. Cross-link this issue with Context budget: referenced instruction expansion is the largest token source #449, Context budget: large workspace metadata snapshot injected per session #450, Context budget: tool and policy payload grows unbounded with plugins and MCP servers #451, Context budget: conversation history replay is expensive in long sessions #452, and Context budget: audit and document VS Code settings that inflate context #453 rather than duplicating that analysis.

Related: #449 #450 #451 #452 #453

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions