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
skills: add --skill subset filter to the download path (#252)
* skills: add --skill subset filter to the download path
`ucode configure skills --location cat.sch --skill my_skill` downloads only
the named skill(s) from each schema instead of every skill, mirroring the
`--services` subset filter on `configure mcp`. Matched by leaf name; unknown
names warn and are skipped. Download-only — rejected with `--mcp` (the skills
MCP connection is schema-scoped) and without `--location`.
Co-authored-by: Isaac
* skills: require a single --location when --skill is present
A single skill-name set can't be split across schemas, so reject --skill
combined with more than one --location, mirroring `configure mcp` (whose
--service filter also takes a single --location).
Co-authored-by: Isaac
* skills: tighten --skill comments and docstrings
Trim the multi-location and download_skills comments to why-only, and
delegate the configure_skills_download_command docstring to download_skills
instead of restating the filter semantics.
Co-authored-by: Isaac
* skills: address PR nits
- Drop the redundant single-location comment (the error message is clear).
- Reword the unknown-skill warning to "Skipping requested skill(s) not found",
matching the file's other "Skipping ..." warnings.
Co-authored-by: Isaac
* skills: fix --skill example name and over-filtered message
- Use `my-skill` (hyphen) in all --skill examples/help; underscores don't
match SKILL_NAME_PATTERN (^[a-z0-9-]+$), so `my_skill` could never match a
real skill.
- When a --skill filter selects none of a non-empty schema's skills, print
"No requested skills to download from ..." instead of the misleading
"No skills found in ...".
Co-authored-by: Isaac
* skills: drop unnecessary comment on the over-filtered branch
The message string is self-explanatory; the two branches don't need a comment
distinguishing them.
Co-authored-by: Isaac
(plus its bundled files) into both `.claude/skills/` and `.agents/skills/`. `--path` (an existing
136
139
absolute directory) is optional; when omitted, skills are written under your home directory. Any
137
140
pre-existing skill dir prompts before it's overwritten. It then registers a schema-less skills
138
-
MCP connection, leaving any prior `--mcp` scope untouched.
141
+
MCP connection, leaving any prior `--mcp` scope untouched. `--skill <name>[,<name>…]` narrows the
142
+
download to the named skills (by leaf name) from the schema instead of all of them; requested
143
+
names not found in the schema warn and are skipped. `--skill` requires a single `--location`, is
144
+
download-only, and is rejected with `--mcp`.
139
145
-**MCP mode** (`--location … --mcp`) sets the connection's location set to exactly `<list>`
140
146
(override-only) and rebuilds its `?schema=` URL; no files are downloaded and `--path` is rejected.
141
147
@@ -160,6 +166,7 @@ you to run `ucode <agent>` (existing agent sessions need a restart before the MC
160
166
|`ucode configure --agents claude --mcp system.ai.slack`| Configure an agent and register its Databricks MCP server(s) in one command |
161
167
|`ucode configure skills`| Register the skills MCP connection (utility tools only); no skills download |
162
168
|`ucode configure skills --location main.default [--path <dir>]`| Download a schema's skills to disk (under `<dir>`, or your home dir) and register a schema-less skills MCP connection |
169
+
|`ucode configure skills --location main.default --skill my-skill`| Download only the named skill(s) from a schema (comma-separated for several) |
163
170
|`ucode configure skills --location main.default --mcp`| Expose a schema's skills as MCP tools (override-only) instead of downloading |
0 commit comments