-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Skills] Add support for installing/removing skills #25373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Thank you for your contribution! 🎉 🔔 @keito4 you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="manage-skills"
FORK_URL="https://github.com/DaleSeo/extensions.git"
EXTENSION_NAME="skills"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
6a87537 to
3cae35e
Compare
17e4a0a to
5dd3570
Compare
Greptile OverviewGreptile SummaryThis PR adds skill installation and management capabilities to the Skills extension. Users can now install skills directly from search/trending views and manage installed skills through a new command with agent filtering. Key Changes
Critical Issue
Confidence Score: 3/5
Important Files Changed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
22 files reviewed, 1 comment
e4d5106 to
b222d6d
Compare
|
LGTM |
Description
The Skills extension currently allows users to browse and search for skills on skills.sh, but it doesn't let them install or manage those skills within Raycast. Users have to copy the install command manually and run it in a terminal, and they can't see what's already installed on their machine.
This PR adds those missing features. Now, users can install skills directly from the search and trending views with just one action. There's also a new "Manage Skills" command that shows all installed skills along with agent information and SKILL.md content. Users can remove skills through a confirmation dialog to prevent accidental deletions.
Behind the scenes, all skill operations are handled by the
npx skillsCLI instead of directly manipulating the filesystem. This keeps the extension in sync with how the CLI manages its internal state, including agent directories and symlinks, and it automatically supports all 30+ agents that the CLI recognizes.We're parsing the CLI output after removing ANSI codes since the CLI doesn't yet support
--jsonflag yet. I've reached out to the Vecel team about this. Once they add support, we can simplify the parsing logic.Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool