Skip to content

fix(cli): install skills from SKILL.md URLs - #452

Merged
christso merged 1 commit into
mainfrom
fix/add-skillmd
Aug 23, 2026
Merged

fix(cli): install skills from SKILL.md URLs#452
christso merged 1 commit into
mainfrom
fix/add-skillmd

Conversation

@christso

@christso christso commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Problem

skills add treated a GitHub URL ending in /SKILL.md as a skill named SKILL.md, then searched a file as a directory.

Change

Normalize terminal SKILL.md URLs to the containing skill directory before resolving and installing. Repository-root SKILL.md URLs resolve to the repository root.

Verification

  • Reproduced the reported URL failure before the change (exit 1).
  • bun test tests/unit/cli/skills-add-url-detection.test.ts tests/unit/cli/skill-add-classify-positional.test.ts tests/unit/cli/skills-add-standalone-install.test.ts tests/unit/utils/plugin-path.test.ts — 85 pass, 0 fail.
  • Confirmed skills add https://github.com/anthropics/skills/blob/main/skills/pdf/SKILL.md --scope project exits 0 and installs pdf.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3eae4bd
Status: ✅  Deploy successful!
Preview URL: https://5ae35b99.allagents.pages.dev
Branch Preview URL: https://fix-add-skillmd.allagents.pages.dev

View logs

@christso
christso merged commit a4a3a4d into main Aug 23, 2026
5 checks passed
@christso
christso deleted the fix/add-skillmd branch August 23, 2026 10:57
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