Skip to content

feat(skill): tool invocation via npx#2916

Open
helloeve wants to merge 5 commits intomainfrom
skill-npx
Open

feat(skill): tool invocation via npx#2916
helloeve wants to merge 5 commits intomainfrom
skill-npx

Conversation

@helloeve
Copy link
Copy Markdown
Contributor

@helloeve helloeve commented Apr 1, 2026

This PR enhances the skills-generate command to allow it generate skills that relies on npx for tool invocation, without the need of having a toolbox binary.

More specifically, a new --invocation-mode flag (defaulting to binary, with support for npx) and a --toolbox-version flag to pin the @toolbox-sdk/server package version (defaulting to the current numerical version in version.txt).

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the skill generator template to invoke tools via npx @toolbox-sdk/server instead of a local binary and adds a custom execution path for Windows. Feedback includes removing the now-unused execSync import, addressing the regression in local development support, and replacing the fragile Windows bypass logic with the standard shell: true option in spawn for better reliability.

@twishabansal
Copy link
Copy Markdown
Contributor

Testing it for macOS

@helloeve helloeve marked this pull request as ready for review April 2, 2026 16:53
@helloeve helloeve requested a review from a team as a code owner April 2, 2026 16:53
@averikitsch averikitsch added the release candidate Use label to signal PR should be included in the next release. label Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants