Summary
When installing skills from a remote source, users need to know what skills are available before committing to an install. Currently, allagents requires installing the plugin first to discover its skills.
Current behavior
# Must install first to see what is available
allagents skills add rsbuild-best-practices --from rstackjs/agent-skills
Desired behavior
# List available skills without installing
allagents skills add --list --from rstackjs/agent-skills
# Output:
# Available skills in rstackjs/agent-skills:
# migrate-to-rsbuild Migrate webpack, Vite, CRA projects to Rsbuild
# rsbuild-best-practices Rsbuild best practices for config, CLI, etc.
# rspack-best-practices Rspack best practices for config, CLI, etc.
# ...
npx skills equivalent
npx skills add rstackjs/agent-skills --list
This shows all 21 skills in the repo with descriptions, without installing anything.
Implementation
Add --list / -l flag to skills add command in src/cli/commands/plugin-skills.ts:
- When
--list is set, fetch the source but do not install
- Discover skills using existing
discoverSkillNames() function
- Read SKILL.md frontmatter for descriptions
- Display skills with names and descriptions
- Return without modifying workspace.yaml or running sync
Related
Summary
When installing skills from a remote source, users need to know what skills are available before committing to an install. Currently, allagents requires installing the plugin first to discover its skills.
Current behavior
# Must install first to see what is available allagents skills add rsbuild-best-practices --from rstackjs/agent-skillsDesired behavior
npx skills equivalent
This shows all 21 skills in the repo with descriptions, without installing anything.
Implementation
Add
--list/-lflag toskills addcommand insrc/cli/commands/plugin-skills.ts:--listis set, fetch the source but do not installdiscoverSkillNames()functionRelated
npx skills add <owner/repo> --list