Skip to content

Refresh global, external, and HTTP skill sources without restart #37426

Closed

Description

@kitlangton

Parent

Related to #8751.

What to build

Extend V2 skill-content refresh beyond skill files inside watched git project Locations.

Project .opencode/skills content currently invalidates through the Location filesystem watcher. Global compatibility roots, explicitly configured external directories, non-git Locations, and already cached HTTP catalogs do not have a continuous invalidation path. Replaying an unchanged source registration also does not clear its cached content.

Acceptance criteria

  • Global OpenCode, .claude, and .agents skill edits refresh in loaded Locations.
  • Explicit external skill directories refresh without requiring an unrelated config edit or restart.
  • HTTP catalogs have a defined refresh trigger and observe a changed version while OpenCode remains running.
  • Skill removal clears model-facing guidance and slash visibility on the next safe boundary.
  • Tests document and cover project, global, external, non-git, and HTTP source behavior.

Blocked by

None - can start immediately.

Activity

  1. added
    enhancementNew feature or request
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Jul 17, 2026
  2. Shalin-Shah-2002 commented on Jul 24, 2026

    @Shalin-Shah-2002

    Hi! I'd like to work on this issue if it's available.
    I'll investigate the current skill refresh flow and submit a PR.

  3. neriousy commented on Oct 21, 2026

    @neriousy
    Member

    Partly done: #40954 added watchers for directory skill sources, including global and external folders outside the project and symlink targets, so changes there are picked up without a restart. HTTP skill catalogs are still only fetched on load. Closing this tracker. A focused issue for refreshing HTTP catalogs is easier to pick up if it's still needed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0coreAnything pertaining to core functionality of the application (opencode server stuff)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions