Skip to content

[fix] add single skill from deep-link skills.sh URLs #3

Open
scalfs wants to merge 1 commit intomoldable-ai:mainfrom
scalfs:fix/add-skill
Open

[fix] add single skill from deep-link skills.sh URLs #3
scalfs wants to merge 1 commit intomoldable-ai:mainfrom
scalfs:fix/add-skill

Conversation

@scalfs
Copy link
Copy Markdown

@scalfs scalfs commented Feb 19, 2026

Some skills.sh URLs were not being recognized as valid input when adding skill repositories, causing the action to fail silently. This affected both standard repo URLs (https://skills.sh/owner/repo) and deep-link URLs pointing to a specific skill (https://skills.sh/owner/repo/skill).

normalizeRepoInput now returns a structured object { repo, skill? } instead of a plain string, correctly parsing both URL formats. When a specific skill is identified via the third path segment, handleAddRepo passes mode: 'include' and skills: [skill] to the API - the backend already supported these parameters, they just weren't being passed.

Examples of urls that failed for me:

Before: Some skills.sh URL would fail to be recognized and the skill could not be added
CleanShot 2026-02-19 at 17 45 41

After: Both formats are now accepted. A repo URL installs all skills from that repo, while a deep-link URL installs only the specified skill
CleanShot 2026-02-19 at 17 47 23@2x

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