[FEATURE]: Allow custom system prompt configuration without rebuild #7905

Closed
opened 2026-02-16 18:08:38 -05:00 by yindo · 1 comment
Owner

Originally created by @DunaSpice on GitHub (Jan 28, 2026).

Originally assigned to: @thdxr on GitHub.

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 Statement:
Currently, users cannot configure a custom system prompt for OpenCode(general prompt not Agent specific) without modifying the source code and rebuilding the application. This limitation makes it difficult for users to experiment with different prompt strategies, adapt OpenCode's behavior to specific use cases, or update prompts quickly without going through a full development and build cycle. This impacts flexibility and ease of customization for research and advanced users.

Proposed Solution:
Introduce a mechanism to allow users to specify a custom system prompt that OpenCode will use for its LLM interactions, without requiring a rebuild of the application.

Originally created by @DunaSpice on GitHub (Jan 28, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Problem Statement: Currently, users cannot configure a custom system prompt for OpenCode(general prompt not Agent specific) without modifying the source code and rebuilding the application. This limitation makes it difficult for users to experiment with different prompt strategies, adapt OpenCode's behavior to specific use cases, or update prompts quickly without going through a full development and build cycle. This impacts flexibility and ease of customization for research and advanced users. Proposed Solution: Introduce a mechanism to allow users to specify a custom system prompt that OpenCode will use for its LLM interactions, without requiring a rebuild of the application.
yindo added the discussion label 2026-02-16 18:08:38 -05:00
yindo closed this issue 2026-02-16 18:08:38 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7101: Allow custom system prompts in global, project or custom directories - proposes a comprehensive solution for global/project-level custom system prompt configuration
  • #7351: Add systemPrompt option to SDK like Claude Agent SDK - requests programmatic system prompt customization in the SDK
  • #3195: Dynamic system prompts for custom agents - addresses dynamic system prompt generation for custom agents
  • #6105: Allow for system prompts for models hosted elsewhere - covers system prompt configuration for different model providers

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #7101: Allow custom system prompts in global, project or custom directories - proposes a comprehensive solution for global/project-level custom system prompt configuration - #7351: Add systemPrompt option to SDK like Claude Agent SDK - requests programmatic system prompt customization in the SDK - #3195: Dynamic system prompts for custom agents - addresses dynamic system prompt generation for custom agents - #6105: Allow for system prompts for models hosted elsewhere - covers system prompt configuration for different model providers Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7905