Skip to content

Install skills by default and support Windows without symlinks - #13803

Merged
abidlabs merged 3 commits into
mainfrom
fix/issue-13801-gradio-skills-add-fails-on-windows-without-symli
Aug 31, 2026
Merged

abidlabs merged 3 commits into
mainfrom
fix/issue-13801-gradio-skills-add-fails-on-windows-without-symli

Conversation

@abidlabs

@abidlabs abidlabs commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

This PR does two things:

  • Make gradio skills add install to the shared .agents/skills location without requiring an agent flag, matching hf skills add and trackio skills add. And --global similarly installs to ~/.agents/skills; agent flags remain available for compatibility links.
  • Fall back to copying a skill into an agent-specific directory when Windows denies symlink creation with WinError 1314. Other symlink errors still propagate. Closes: gradio skills add fails on Windows without symlink privilege (WinError 1314) #13801

@gradio-pr-bot

gradio-pr-bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

🪼 branch checks and previews

• Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://huggingface.co/buckets/gradio/pypi-previews/resolve/b1021ce50c5382fe70e27bf77c025c2cbd5cab13/gradio-6.26.0-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@b1021ce50c5382fe70e27bf77c025c2cbd5cab13#subdirectory=client/python"

Import Gradio JS Client from this PR via CDN

import { Client } from "https://huggingface.co/buckets/gradio/npm-previews/resolve/b1021ce50c5382fe70e27bf77c025c2cbd5cab13/browser.js";

@gradio-pr-bot

Copy link
Copy Markdown
Collaborator

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio patch

  • Install skills by default and support Windows without symlinks

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs
abidlabs requested review from dawoodkhan82 and hysts August 31, 2026 16:54
@abidlabs
abidlabs marked this pull request as ready for review August 31, 2026 16:54

@dawoodkhan82 dawoodkhan82 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice lgtm!

@abidlabs

Copy link
Copy Markdown
Member Author

Thanks so much for the quick review @dawoodkhan82!

@abidlabs
abidlabs merged commit ec369a5 into main Aug 31, 2026
31 of 34 checks passed
@abidlabs
abidlabs deleted the fix/issue-13801-gradio-skills-add-fails-on-windows-without-symli branch August 31, 2026 17:04
dawoodkhan82 pushed a commit that referenced this pull request Sep 27, 2026
* Fix skills installation defaults and Windows fallback

* add changeset

* Remove skills CLI regression tests

---------

Co-authored-by: gradio-pr-bot <[email protected]>
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.

gradio skills add fails on Windows without symlink privilege (WinError 1314)

3 participants