Skip to content

Fix skill-scoped installs installing the whole catalog - #209

Merged
ericciarla merged 1 commit into
mainfrom
fix-skill-scoped-install
Aug 21, 2026
Merged

Fix skill-scoped installs installing the whole catalog#209
ericciarla merged 1 commit into
mainfrom
fix-skill-scoped-install

Conversation

@ericciarla

@ericciarla ericciarla commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Bug (user-reported): npx -y firecrawl-cli@latest setup developer-index installed all 33 catalog skills instead of one.

Cause: buildSkillsInstallArgs passes --all whenever no --agent is given — but the skills CLI defines --all as "install all skills to all agents without prompts", which silently overrides the --skill filter. Reproduced with the raw skills CLI: --all --skill firecrawl-developer-index → 33 skills; --yes --skill firecrawl-developer-index → 1 skill.

Scope: worse than the new single-skill command — every skill-scoped install had this: setup core (12→33), setup build (5→33), setup workflows (16→33), and init's selections. It went unnoticed because extra skills fail quietly; 1→33 made it obvious.

Fix: skill-scoped installs never pass --all; they pass --yes instead — same promptless install to every detected agent, with the --skill list respected. Whole-repo installs are unchanged.

Verified: built CLI in a fresh $HOME — setup developer-index installs exactly 1 skill, setup build exactly 5; 431/431 tests pass (expectations updated), tsc + prettier clean.

Needs a patch release to ship — see the follow-up release: 1.23.1 PR (merge that after this).

🤖 Generated with Claude Code


Summary by cubic

Fixes skill-scoped installs that were installing the entire catalog by incorrectly passing --all. Skill-scoped installs now pass --yes, which respects the --skill filter; whole-repo installs are unchanged.

  • Updates buildSkillsInstallArgs: detect skill-scoped via presence of --skill; never pass --all for skill-scoped installs; pass --yes for skill-scoped or when explicitly requested; preserve agent handling.
  • Updates tests to expect --yes instead of --all for skill-scoped paths; verified that setup developer-index installs 1 skill and setup build installs 5.
  • Impact: setup core/build/workflows, setup <skill>, and init selections now install only the intended skills. No migration required. Ship as a patch release (1.23.1) for firecrawl-cli.

Written for commit d53a939. Summary will update on new commits.

Review in cubic

skills add --all means "ALL skills to all agents" and silently overrides
any --skill filter, so every scoped install (setup core/build/workflows,
setup <skill>, and init's selections) was installing all 33 catalog
skills. Scoped installs now pass --yes instead of --all: same promptless
install to every detected agent, but the --skill list is respected.

Verified: setup developer-index installs 1 skill, setup build installs 5.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ericciarla ericciarla mentioned this pull request Aug 21, 2026
@ericciarla
ericciarla merged commit 4867dc9 into main Aug 21, 2026
8 checks passed
@ericciarla
ericciarla deleted the fix-skill-scoped-install branch August 21, 2026 15:06
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.

1 participant