adopt_skill
Register an existing local canonical skill directory in universal memory while preventing duplicate slugs; returns adopted metadata, paths, warnings, and write references.
Instructions
Register an existing canonical skill directory in UMEM while avoiding duplicate slugs. Use for unregistered canonical content; use import_skill for an external/native source or create_skill for new content. Project scope requires initialization. May reconcile canonical location and registration; optional native replacement and synchronization can change native copies. Defaults avoid native replacement/sync. Returns adopted skill metadata, paths, warnings, and write references; inspect conflicts before repeating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "adopt_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing local skill directory or SKILL.md path. Relative paths resolve from the project; the source must contain valid skill content. | |
| slug | No | Canonical directory slug. Omitted derives from the name where supported; use a portable skill slug rather than a path. | |
| scope | No | Storage scope: project uses this workspace; global uses user memory. Defaults to project. | project |
| category | No | user-facing for reusable team content; operational for internal workflows. Defaults to user-facing and participates in visibility policy. | user-facing |
| visibility | No | Project content visibility: shared for repository content, private for operational storage. Omitted follows layout/category policy; global content cannot be shared. | |
| replace_native | No | Allow replacement of a native source with a managed canonical copy when true. Defaults to false to preserve the source. | |
| sync_after_adopt | No | Synchronize native targets after adoption when true. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||