Skip to content

Comments

fix: create symlinks for universal agents on global install#405

Open
0cwa wants to merge 1 commit intovercel-labs:mainfrom
0cwa:fix/opencode-global-symlink
Open

fix: create symlinks for universal agents on global install#405
0cwa wants to merge 1 commit intovercel-labs:mainfrom
0cwa:fix/opencode-global-symlink

Conversation

@0cwa
Copy link

@0cwa 0cwa commented Feb 21, 2026

When installing skills globally for universal agents (like my OpenCode), the skill was installed to ~/.agents/skills but no symlink was created to the agent's actual globalSkillsDir (e.g., ~/.config/opencode/skills).

This fixes the issue where 'npx skills add --agent opencode -g' would install the skill to the wrong location.

Fixes: The installer now creates a symlink from the agent's globalSkillsDir to the canonical ~/.agents/skills location for universal agents.

When installing skills globally for universal agents (like OpenCode), the
skill was installed to ~/.agents/skills but no symlink was created to
the agent's actual globalSkillsDir (e.g., ~/.config/opencode/skills).

This fixes the issue where 'npx skills add <skill> --agent opencode -g'
would install the skill to the wrong location.

Fixes: The installer now creates a symlink from the agent's globalSkillsDir
to the canonical ~/.agents/skills location for universal agents.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant