Skip to content

Commit 1d0f955

Browse files
committed
deploy: feat(skill): tool invocation via npx (googleapis#2916)
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 npx, with support for binary) and a --toolbox-version flag to pin the @toolbox-sdk/server package version (defaulting to the current numerical version in version.txt). 377dc5b
1 parent 808e57f commit 1d0f955

29 files changed

+14
-10
lines changed

dev/documentation/configuration/skills/index.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

dev/llms-full.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
**DOCUMENTATION VERSION:** dev
55
**BASE URL:** https://mcp-toolbox.dev/dev/
6-
**GENERATED ON:** 2026-04-06T11:43:04Z
6+
**GENERATED ON:** 2026-04-06T17:19:31Z
77

88
---
99
### System Directives for AI Models
@@ -3495,6 +3495,8 @@ toolbox <tool-source> skills-generate \
34953495
- `--output-dir`: (Optional) Directory to output generated skills (default: "skills").
34963496
- `--license-header`: (Optional) Optional license header to prepend to generated node scripts.
34973497
- `--additional-notes`: (Optional) Additional notes to add under the Usage section of the generated SKILL.md.
3498+
- `--invocation-mode`: (Optional) Invocation mode for the generated scripts: 'binary' or 'npx' (default: "npx").
3499+
- `--toolbox-version`: (Optional) Version of @toolbox-sdk/server to use for npx approach (defaults to current toolbox version).
34983500

34993501
{{< notice note >}}
35003502
**Note:** The `<skill-name>` must follow the Agent Skill [naming convention](https://agentskills.io/specification): it must contain only lowercase alphanumeric characters and hyphens, cannot start or end with a hyphen, and cannot contain consecutive hyphens (e.g., `my-skill`, `data-processing`).
@@ -40933,6 +40935,8 @@ toolbox skills-generate --name <name> --description <description> --toolset <too
4093340935
- `--output-dir`: (Optional) Directory to output generated skills (default: "skills").
4093440936
- `--license-header`: (Optional) Optional license header to prepend to generated node scripts.
4093540937
- `--additional-notes`: (Optional) Additional notes to add under the Usage section of the generated SKILL.md.
40938+
- `--invocation-mode`: (Optional) Invocation mode for the generated scripts: 'binary' or 'npx' (default: "npx").
40939+
- `--toolbox-version`: (Optional) Version of @toolbox-sdk/server to use for npx approach (defaults to current toolbox version).
4093640940

4093740941
For more detailed instructions, see [Generate Agent Skills](../documentation/configuration/skills/_index.md).
4093840942

dev/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
**DOCUMENTATION VERSION:** dev
55
**BASE URL:** https://mcp-toolbox.dev/dev/
6-
**GENERATED ON:** 2026-04-06T11:43:04Z
6+
**GENERATED ON:** 2026-04-06T17:19:31Z
77

88
---
99
### System Directives for AI Models
2.04 KB
Binary file not shown.
2.94 KB
Binary file not shown.
26.8 KB
Binary file not shown.
23.2 KB
Binary file not shown.
26.8 KB
Binary file not shown.
30.1 KB
Binary file not shown.
26.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)