Skip to content

feat: support installing skills individually#231

Merged
christso merged 1 commit into
mainfrom
feat/228-install-skills-individually
Mar 13, 2026
Merged

feat: support installing skills individually#231
christso merged 1 commit into
mainfrom
feat/228-install-skills-individually

Conversation

@christso
Copy link
Copy Markdown
Contributor

@christso christso commented Mar 13, 2026

Summary

Closes #228.

Changes

Bug Fix — plugin install --skill when plugin already installed

  • Before: If plugin was already installed, command exited with error before --skill logic ran
  • After: Detects "Plugin already exists" case — if --skill flags are provided, skips the install step and proceeds directly to enabling the requested skills + final sync

Top-level allagents skills command

  • Added skills as a top-level command alongside workspace, plugin, self
  • allagents skills list/add/remove now works as shorthand for allagents plugin skills list/add/remove
  • Feature parity with npx skills UX

skills add --from <plugin-source>

  • Added --from / -f option to skills add
  • If a skill isn't found in installed plugins AND --from is provided, installs the plugin first then enables the specific skill
  • Mirrors npx skills add <package> --skill <name> behaviour

Usage

# Fix: now works even if plugin is already installed
allagents plugin install my-plugin --skill agent-browser

# New shorthand (feature parity with npx skills)
allagents skills list
allagents skills add brainstorming
allagents skills remove brainstorming

# Install plugin + enable skill in one step
allagents skills add agent-browser --from github:EntityProcess/agent-skills

Notes on schema review

The disabledSkills / enabledSkills dual-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.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 13, 2026

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

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

View logs

- 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>
@christso christso force-pushed the feat/228-install-skills-individually branch from a105de4 to 74fa769 Compare March 13, 2026 11:44
@christso christso merged commit a36d9d9 into main Mar 13, 2026
1 check passed
@christso christso deleted the feat/228-install-skills-individually branch March 13, 2026 12:32
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.

feat: support installing skills individually

1 participant