Skip to content

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

Closed

Description

@Her-xanadu

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.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 27, 2026
  2. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

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

    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.

  3. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions