Feature Request: Session favorites/bookmarks with keyboard shortcut (Ctrl+F) #7747

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

Originally created by @Her-xanadu on GitHub (Jan 27, 2026).

Originally assigned to: @rekram1-node on GitHub.

Summary

Add the ability to favorite/bookmark sessions for easier organization and quick access, especially for long-term users who accumulate hundreds of sessions over time.

Motivation

When using OpenCode for months or years, the session list becomes overwhelming with purely time-based sorting. Users need a way to:

  • Mark important sessions for quick access
  • Organize sessions by category/project
  • Archive completed work sessions

Proposed Solution

1. Quick Favorite (Minimal)

  • Add Ctrl+F keyboard shortcut in TUI to toggle favorite on current session
  • Show icon next to favorited sessions in session list
  • Add filter option to show only favorites

2. Session Tags/Categories (Extended)

  • Allow adding custom tags to sessions (e.g., work, learning, archived)
  • Filter session list by tag
  • Store metadata in ~/.config/opencode/session-meta/ (separate from core session data)

Suggested Session JSON Extension

{
  "id": "ses_xxx",
  "title": "...",
  "favorite": true,
  "tags": ["work", "important"],
  ...
}

Alternatives Considered

  • External tools like agent-archives - has compatibility issues (Python path problems on macOS)
  • Custom slash commands with shell scripts - works but not as smooth as native TUI integration

Additional Context

I've created a workaround using a shell script (oc-session) and custom /tag command, but native TUI support would be much better UX.

Would be happy to contribute a PR if the team is open to this feature direction.

Originally created by @Her-xanadu on GitHub (Jan 27, 2026). Originally assigned to: @rekram1-node on GitHub. ## Summary Add the ability to favorite/bookmark sessions for easier organization and quick access, especially for long-term users who accumulate hundreds of sessions over time. ## Motivation When using OpenCode for months or years, the session list becomes overwhelming with purely time-based sorting. Users need a way to: - Mark important sessions for quick access - Organize sessions by category/project - Archive completed work sessions ## Proposed Solution ### 1. Quick Favorite (Minimal) - Add `Ctrl+F` keyboard shortcut in TUI to toggle favorite on current session - Show ⭐ icon next to favorited sessions in session list - Add filter option to show only favorites ### 2. Session Tags/Categories (Extended) - Allow adding custom tags to sessions (e.g., `work`, `learning`, `archived`) - Filter session list by tag - Store metadata in `~/.config/opencode/session-meta/` (separate from core session data) ## Suggested Session JSON Extension ```json { "id": "ses_xxx", "title": "...", "favorite": true, "tags": ["work", "important"], ... } ``` ## Alternatives Considered - External tools like `agent-archives` - has compatibility issues (Python path problems on macOS) - Custom slash commands with shell scripts - works but not as smooth as native TUI integration ## Additional Context I've created a workaround using a shell script (`oc-session`) and custom `/tag` command, but native TUI support would be much better UX. Would be happy to contribute a PR if the team is open to this feature direction.
yindo added the opentui label 2026-02-16 18:08:07 -05:00
Author
Owner

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

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

  • #4457: [FEATURE]: Pin session
  • #9227: [FEATURE]: Add ability to (un)mark points in the thread, to use as "bookmarks"
  • #3758: [FEATURE]: Session filters
  • #6032: [FEATURE]: Nerdtree like session manager
  • #8336: [FEATURE]: Better session resume ergonomics
  • #9553: Feature Request: Plugin hook for filtering session list in /sessions dialog
  • #9688: [FEATURE]: TUI - Session Picker - Organize into Virtual Folders
  • #5734: [FEATURE]: Subagent sessions accumulate without cleanup option - causes storage bloat and UI clutter

These issues all address similar organizational challenges for managing accumulated sessions. The most directly related are #4457 (pin sessions) and #9227 (bookmarks/marks), which propose very similar functionality.

Feel free to ignore if your specific case differs from these existing requests.

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #4457: [FEATURE]: Pin session - #9227: [FEATURE]: Add ability to (un)mark points in the thread, to use as "bookmarks" - #3758: [FEATURE]: Session filters - #6032: [FEATURE]: Nerdtree like session manager - #8336: [FEATURE]: Better session resume ergonomics - #9553: Feature Request: Plugin hook for filtering session list in /sessions dialog - #9688: [FEATURE]: TUI - Session Picker - Organize into Virtual Folders - #5734: [FEATURE]: Subagent sessions accumulate without cleanup option - causes storage bloat and UI clutter These issues all address similar organizational challenges for managing accumulated sessions. The most directly related are #4457 (pin sessions) and #9227 (bookmarks/marks), which propose very similar functionality. Feel free to ignore if your specific case differs from these existing requests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7747