Skip to content

[FEATURE]: System prompt mode switcher (Default/Light) #15457

@kshnkvn

Description

@kshnkvn

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

The current system prompts are heavy and optimized for frontier models.
This causes issues with:

Proposal

Add a system prompt mode setting with initial options:

  • Default: current per-model prompts (anthropic.txt, gemini.txt, etc.) — no changes
  • Light: minimal prompt with only essential info: tools, basic safety rules, environment

The current proposal covers several things at once:

  • Non-breaking: Default behavior unchanged
  • Extensible: Opens path for future custom mode where users provide their own prompt
  • Addresses multiple issues without requiring prompt rewrites

Configuration

  • Via settings menu (Ctrl+P → Settings)
  • Via opencode.json:
{
   "prompt": {
     "mode": "light"
   }
 }

Related issues

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions