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
@@ -279,15 +279,19 @@ configured agent. It applies only to `--mcp`, since downloaded skills are shared
279
279
280
280
#### Remove skill scopes
281
281
282
-
Remove schemas from the skills MCP connection with `ug skill remove --mcp`:
282
+
Remove schemas from the skills MCP connection with `ug skill remove --mcp`. `--location` drops the
283
+
named schemas; with no `--location` on an interactive terminal a picker lists the scoped schemas.
283
284
284
285
```bash
285
-
#Pick schemas to remove; each is removed from every agent it's on.
286
-
ug skill remove --mcp
286
+
#Remove specific schemas from the MCP scope; each is removed from every agent it's on.
287
+
ug skill remove --location main.default,ml.prod --mcp
287
288
288
289
# Remove from specific agents only. A schema scoped to several agents is
289
290
# removed from the named ones and kept on the rest.
290
-
ug skill remove --mcp --agents claude
291
+
ug skill remove --location main.default --mcp --agents claude
292
+
293
+
# No --location launches a picker of the scoped schemas to remove.
294
+
ug skill remove --mcp
291
295
```
292
296
293
297
#### Remove downloaded skills
@@ -374,8 +378,8 @@ The output looks like:
374
378
|`ug skill add --location main.default --mcp --agents claude,codex`| Add schemas to specific agents' skills MCP scope (sets up any not yet configured) |
375
379
|`ug skill add --location main.default`| Download a schema's skills to disk without removing existing downloads |
376
380
|`ug skill add --skills main.default.my-skill`| Download named skills by fully-qualified name (comma-separated; may span schemas) |
377
-
|`ug skill remove --mcp`| Remove skill schemas from the skills MCP connection (every agent) |
378
-
|`ug skill remove --mcp --agents claude`| Remove skill schemas from specific agents only, keeping them on the rest |
381
+
|`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) |
382
+
|`ug skill remove --location main.default --mcp --agents claude`| Remove schemas from specific agents' skills MCP scope, keeping them on the rest |
379
383
|`ug skill remove`| Pick from every downloaded skill (across all bases) and delete it from disk |
380
384
|`ug skill remove --location main.default [--path <dir>]`| Delete every skill downloaded from a schema (all bases, or one under `<dir>`) |
381
385
|`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