import_skill
Import an existing local or native skill directory into canonical UMEM storage to register external skill content, with optional replacement and sync controls.
Instructions
Import an existing native or local skill directory into canonical UMEM storage. Use for external skill content; use adopt_skill to register an existing canonical directory or create_skill for new content. Project scope requires initialization. Copies content and registers the skill; optional replacement/synchronization can alter native files. Defaults preserve native source content and avoid post-import sync. Returns imported skill metadata, paths, warnings, and write references. Repeated imports can conflict with an existing canonical destination.
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. | |
| 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_import | No | Synchronize native targets after import when true. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||