How to customize the /compact prompt #4087

Closed
opened 2026-02-16 17:42:34 -05:00 by yindo · 2 comments
Owner

Originally created by @FurryWolfX on GitHub (Jan 2, 2026).

Originally assigned to: @jayair on GitHub.

Question

How to customize the /compact prompt?
Is it possible to customize through configuration? Should users be allowed to modify system prompts?

Originally created by @FurryWolfX on GitHub (Jan 2, 2026). Originally assigned to: @jayair on GitHub. ### Question How to customize the `/compact` prompt? Is it possible to customize through configuration? Should users be allowed to modify system prompts?
yindo added the docs label 2026-02-16 17:42:34 -05:00
yindo closed this issue 2026-02-16 17:42:34 -05:00
Author
Owner

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

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

  • #3195: Dynamic system prompts for custom agents - Discusses customizing system prompts for agents dynamically
  • #5199: Add output-style feature similar to Claude Code - Requests system prompt customization and output style switching
  • #6105: Allow for system prompts for models hosted elsewhere - Related to system prompt customization

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

@github-actions[bot] commented on GitHub (Jan 2, 2026): This issue might be a duplicate of existing issues. Please check: - #3195: Dynamic system prompts for custom agents - Discusses customizing system prompts for agents dynamically - #5199: Add output-style feature similar to Claude Code - Requests system prompt customization and output style switching - #6105: Allow for system prompts for models hosted elsewhere - Related to system prompt customization Feel free to ignore if none of these address your specific case.
Author
Owner

@FurryWolfX commented on GitHub (Jan 2, 2026):

Oh, I found that I can use Compaction hooks, the problem is solved.

@FurryWolfX commented on GitHub (Jan 2, 2026): Oh, I found that I can use Compaction hooks, the problem is solved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4087