Skip to content

[FEATURE]: Skill Update Notification and Auto-Update Mechanism #9753

@moonjoke001

Description

@moonjoke001

Problem

Currently, skills installed in OpenCode (via git clone or manual copy) have no update mechanism:

  1. No update notification - Users don't know when upstream skills have new versions
  2. No auto-update - Must manually git pull or re-clone each skill
  3. No version tracking - No way to see installed vs latest version

This is especially problematic for popular skills like:

  • obra/superpowers (currently at v4.0.3)
  • OthmanAdi/planning-with-files (currently at v2.4.1)
  • nextlevelbuilder/ui-ux-pro-max-skill

Proposed Solution

Option A: Update Check Command

opencode skill check-updates
# Output:
# superpowers: v4.0.1 → v4.0.3 (update available)
# planning-with-files: v2.4.1 (up to date)

Option B: Startup Notification

On startup, check for updates and show notification:

[!] 2 skill updates available. Run `/skill update` to update.

Option C: Auto-Update (with config flag)

// opencode.json
{
  "skill": {
    "autoUpdate": true,  // or "notify" or false
    "checkInterval": "daily"
  }
}

Implementation Considerations

  1. Skills installed via git clone can use git fetch to check for updates
  2. Skills from npm plugins would follow npm update mechanism (per PR feat(plugin): add skill support for plugins #9010)
  3. Need to track installation source (git URL vs manual copy vs npm)

Related Issues

Environment

  • OpenCode v1.1.28
  • Skills installed via git clone to ~/.config/opencode/skills/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions