You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Install a command declared by a plugin and update it with the plugin #897
skillshare plugin update --all keeps the agents-context-router plugin current. It does not keep the ai-context command current.
The command is a copied file, scripts/ai-context.py from runkids/agents-context-router, linked onto PATH by something else. A new plugin version does not replace that link. The installed plugin already contains skills/agents-context-router/scripts/ai-context.py, but the content directory name includes a hash, so a symlink to it breaks on the next update.
An extra cannot close this. Extras copy a file the operator already has. They do not pull a plugin's command when the plugin updates.
Desired outcome
A plugin can declare a command. plugin install and plugin update put that command on PATH and replace it when the plugin updates. For this plugin the command is ai-context, and the file is skills/agents-context-router/scripts/ai-context.py.
Removing the plugin removes the command it installed. A command the operator installed by hand is left alone.
Surface impact
Plugin manifest
plugin install and plugin update
Implementation ideas
Do not special-case this one repository. One declared command field covers it. The plugin's plugin.json does not have that field today, so the router repo adds it after the field exists.
I'm working on this. The change will let a plugin declare executable files in the portable manifest's extension metadata, then manage those commands with the plugin's install, update and removal lifecycle.
Activity
salmonumbrella commentedon Nov 14, 2026
I'm working on this. The change will let a plugin declare executable files in the portable manifest's extension metadata, then manage those commands with the plugin's install, update and removal lifecycle.