skills are not persisted after /compact #7673

Open
opened 2026-02-16 18:07:54 -05:00 by yindo · 1 comment
Owner

Originally created by @luisrudge on GitHub (Jan 26, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

  • do something that involves a skill
  • /compact
  • from now on, the skill is not loaded anymore and the agent has no idea the skill is available

Plugins

No response

OpenCode version

1.1.36

Steps to reproduce

  • do something that involves a skill
  • /compact
  • from now on, the skill is not loaded anymore and the agent has no idea the skill is available

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @luisrudge on GitHub (Jan 26, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description - do something that involves a skill - /compact - from now on, the skill is not loaded anymore and the agent has no idea the skill is available ### Plugins _No response_ ### OpenCode version 1.1.36 ### Steps to reproduce - do something that involves a skill - /compact - from now on, the skill is not loaded anymore and the agent has no idea the skill is available ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:07:54 -05:00
Author
Owner

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

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

  • #5934: Session Todo-list is forgotten after compaction - Shows a pattern of session state being lost after compaction
  • #8349: Model selection is "lost" on continuation and Agent selection is "lost" on compaction - Indicates broader issue of session context not persisting after compaction
  • #7579: Save plan to file for token efficiency and compaction persistence - Feature request related to maintaining context through compaction

These issues suggest a broader pattern where session state and configuration (todo-lists, models, agents, and now skills) are not properly persisted through the compaction process. You may want to coordinate with these issues to establish a comprehensive fix for state persistence across compaction events.

Feel free to ignore if your specific case is distinct.

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #5934: Session Todo-list is forgotten after compaction - Shows a pattern of session state being lost after compaction - #8349: Model selection is "lost" on continuation and Agent selection is "lost" on compaction - Indicates broader issue of session context not persisting after compaction - #7579: Save plan to file for token efficiency and compaction persistence - Feature request related to maintaining context through compaction These issues suggest a broader pattern where session state and configuration (todo-lists, models, agents, and now skills) are not properly persisted through the compaction process. You may want to coordinate with these issues to establish a comprehensive fix for state persistence across compaction events. Feel free to ignore if your specific case is distinct.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7673