Skip to content

fix(skills): add ~/.agent-browser/skills fallback for standalone binaries - #1989

Open
holny wants to merge 1 commit into
vercel-labs:mainfrom
holny:fix/issue-1983-standalone-skills
Open

holny wants to merge 1 commit into
vercel-labs:mainfrom
holny:fix/issue-1983-standalone-skills

Conversation

@holny

@holny holny commented Sep 24, 2026

Copy link
Copy Markdown

Summary

  • Bug: agent-browser skills get core on a standalone release binary (e.g. installed via mise or aqua) fails with "Skills directory not found". find_package_root() walks up from the binary or checks npm layout, but neither applies to a standalone /usr/local/bin/agent-browser.
  • Fix: When find_package_root() returns None (standalone scenario), fall back to ~/.agent-browser/skills and ~/.agent-browser/skill-data/. Users can extract the skill data bundle there to make the CLI work standalone.
  • Testing: 1391 tests pass; fmt/clippy clean.

AI-assisted content (per CONTRIBUTING.md): drafted by my local agent, reviewed and posted by me.

…ries

find_package_root() works for npm installs and dev builds, but a
standalone release binary in /usr/local/bin/ has no skills/ or
skill-data/ sibling or ancestor directory. When find_package_root()
returns None, fall back to ~/.agent-browser/skills and
~/.agent-browser/skill-data/ so standalone binary users can run
 after manually placing the skill
data directory.

Updated error message to guide users to the new fallback path.
@vercel

vercel Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@holny is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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