You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ug skill remove --mcp` was interactive-only; the non-interactive counterpart to
`ug skill add --mcp --location` was missing. Passing `--location` now drops the named
`<catalog>.<schema>` schemas from the skills MCP scope without a picker, and `--mcp`
with no `--location` on a non-interactive terminal errors asking for it (matching the
add path) instead of falling into an unusable picker.
The removal core moves into `remove_skill_locations_from_mcp`, shared by the interactive
`remove_skills_command` and the new `remove_skills_locations_command`, mirroring the
`add_skill_locations_to_mcp` split. `--agents` scopes removal to the named clients as
before; `--path` and `--skills` stay rejected with `--mcp`.
Co-authored-by: Isaac <no-reply@databricks.com>
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -312,15 +312,19 @@ configured agent. It applies only to `--mcp`, since downloaded skills are shared
312
312
313
313
#### Remove skill scopes
314
314
315
-
Remove schemas from the skills MCP connection with `ug skill remove --mcp`:
315
+
Remove schemas from the skills MCP connection with `ug skill remove --mcp`. `--location` drops the
316
+
named schemas; with no `--location` on an interactive terminal a picker lists the scoped schemas.
316
317
317
318
```bash
318
-
#Pick schemas to remove; each is removed from every agent it's on.
319
-
ug skill remove --mcp
319
+
#Remove specific schemas from the MCP scope; each is removed from every agent it's on.
320
+
ug skill remove --location main.default,ml.prod --mcp
320
321
321
322
# Remove from specific agents only. A schema scoped to several agents is
322
323
# removed from the named ones and kept on the rest.
323
-
ug skill remove --mcp --agents claude
324
+
ug skill remove --location main.default --mcp --agents claude
325
+
326
+
# No --location launches a picker of the scoped schemas to remove.
327
+
ug skill remove --mcp
324
328
```
325
329
326
330
#### Remove downloaded skills
@@ -407,8 +411,8 @@ The output looks like:
407
411
|`ug skill add --location main.default --mcp --agents claude,codex`| Add schemas to specific agents' skills MCP scope (sets up any not yet configured) |
408
412
|`ug skill add --location main.default`| Download a schema's skills to disk without removing existing downloads |
409
413
|`ug skill add --skills main.default.my-skill`| Download named skills by fully-qualified name (comma-separated; may span schemas) |
410
-
|`ug skill remove --mcp`| Remove skill schemas from the skills MCP connection (every agent) |
411
-
|`ug skill remove --mcp --agents claude`| Remove skill schemas from specific agents only, keeping them on the rest |
414
+
|`ug skill remove --location main.default --mcp`| Remove specific schemas from the skills MCP scope, or omit `--location` on a TTY for a picker (every agent) |
415
+
|`ug skill remove --location main.default --mcp --agents claude`| Remove schemas from specific agents' skills MCP scope, keeping them on the rest |
412
416
|`ug skill remove`| Pick from every downloaded skill (across all bases) and delete it from disk |
413
417
|`ug skill remove --location main.default [--path <dir>]`| Delete every skill downloaded from a schema (all bases, or one under `<dir>`) |
414
418
|`ug skill remove --skills main.default.my-skill [--path <dir>]`| Delete named downloaded skills by fully-qualified name (comma-separated; may span schemas; `--path` limits to one base) |
0 commit comments