feat: support installing skills individually#231
Merged
Conversation
Deploying allagents with
|
| Latest commit: |
74fa769
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b77f99cf.allagents.pages.dev |
| Branch Preview URL: | https://feat-228-install-skills-indi.allagents.pages.dev |
5 tasks
- Fix plugin install --skill when plugin already installed: detect 'Plugin already exists' error and if --skill flags provided, skip the install step and proceed directly to enabling skills + sync - Add top-level `allagents skills` command as shorthand alias for `allagents plugin skills` (list/add/remove), giving UX parity with `npx skills` - Enhance `skills add` with --from/-f option: if skill not found in installed plugins, installs the specified plugin source first then enables the skill (mirrors `npx skills add <pkg> --skill <name>`) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
a105de4 to
74fa769
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #228.
Changes
Bug Fix —
plugin install --skillwhen plugin already installed--skilllogic ran--skillflags are provided, skips the install step and proceeds directly to enabling the requested skills + final syncTop-level
allagents skillscommandskillsas a top-level command alongsideworkspace,plugin,selfallagents skills list/add/removenow works as shorthand forallagents plugin skills list/add/removenpx skillsUXskills add --from <plugin-source>--from/-foption toskills add--fromis provided, installs the plugin first then enables the specific skillnpx skills add <package> --skill <name>behaviourUsage
Notes on schema review
The
disabledSkills/enabledSkillsdual-mode approach is retained as-is. It is composable and maps well to the allowlist/blocklist pattern common in AI-native tooling. Changing the schema would be a breaking change and warrants a separate discussion.