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
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Tests live in `tests/`.
20
20
21
21
- Use Python 3.12+.
22
22
- Keep changes scoped to the requested behavior.
23
-
- Follow the existing module boundaries: CLI orchestration in `cli.py`, agent-specific behavior in `agents/<name>.py`, shared agent dispatch in `agents/__init__.py`, Databricks calls in `databricks.py`, and presentation helpers in `ui.py`.
23
+
- Follow the existing module boundaries: CLI orchestration in `cli.py`, agent-specific behavior in `agents/<name>.py`, shared agent dispatch in `agents/__init__.py`, Databricks calls in `databricks.py`, skill download (UC fetch client + on-disk writer + download orchestration) in `skills_download.py`, MCP-connection state glue in `mcp.py`, and presentation helpers in `ui.py`. Skill download persists no disk state — it writes files to `--path` (or the home dir) and registers only the schema-less skills MCP connection.
24
24
- Prefer existing helpers for config file writes, state persistence, UI messages, and Databricks authentication.
25
25
- Add or update focused tests for behavior changes.
26
26
- Do not modify generated or lock files unless the dependency graph intentionally changes.
-**Download mode** writes each skill flat as `<leaf>/SKILL.md` (plus its bundled files) into both
120
+
`.claude/skills/` and `.agents/skills/`. `--path` (an existing absolute directory) is optional;
121
+
when omitted, skills are written under your home directory. Any pre-existing skill dir prompts
122
+
before it's overwritten. It then registers a schema-less skills MCP connection (utility tools
123
+
only), leaving any prior `--mcp` scope untouched.
124
+
-**MCP mode** sets the connection's location set to exactly `<list>` (override-only) and rebuilds
125
+
its `?schema=` URL; no files are downloaded and `--path` is rejected.
126
+
105
127
---
106
128
107
129
## Other Commands
@@ -118,6 +140,8 @@ then registers the servers); pass a comma-separated list to register several at
118
140
|`ucode configure --profiles DEFAULT --use-pat`| Authenticate with the profile's personal access token — no browser login |
119
141
|`ucode configure --skip-validate`| Write configs without sending a test message through each agent |
120
142
|`ucode configure --agents claude --mcp system.ai.slack`| Configure an agent and register its Databricks MCP server(s) in one command |
143
+
|`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 |
144
+
|`ucode configure skills --location main.default --mcp`| Expose a schema's skills as MCP tools (override-only) instead of downloading |
0 commit comments