Skip to content

[Feature]: allow wildcard/glob matching for --skill in npx skills add #438

@evaisse

Description

@evaisse

Hello, kudos for this great tool 🤩 !

I’d like to request support for wildcard (glob) matching with --skill when installing skills from a private internal repo ( npx skills add ssh://git@gitlab.xxx.com:7999/fwk/ai-tools.git --skill 'core-*' -a codex -y).
Today --skill appears to require exact names, which makes it cumbersome to install a group of related skills.

I maintain several skills that share a prefix (e.g. citools-*). I want to install all of them at once without listing each name manually. (The only alternative way I've found is to group them by folder.)

Proposed Solution

  • Accept glob patterns for --skill, e.g. core-*.
  • Match against name and displayName (same targets as exact matching).
  • Keep * working as “all skills”.

example

npx skills add ssh://git@gitlab.xxx.com:7999/fwk/ai-tools.git
--skill 'core-*'
-a codex -y

Expected result

  • All skills with names starting with core- are selected and installed.

Current behavior

  • --skill seems to require exact names; core-* is treated as a literal and does not match.

Nice-to-have

  • --dry-run or “preview matched skills” output when a glob is used.

Alternatives Considered

  • Running --list and passing many --skill flags is workable but error‑prone and noisy for large groups.
  • grouping skills in 'topics' folders and use --all flag to install all skills of a given topic

Additional Context

Let me know if you’d like a PR or if there’s a preferred pattern syntax (glob vs regex).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions