import_skill
Imports an existing Agent Skills skill from a .zip, .skill, or SKILL.md file into an editable user or project skill, preserving every file byte for byte.
Instructions
Import a skill the user already has, in the Agent Skills format: a .zip or .skill file of a skill folder (SKILL.md plus its files), or one SKILL.md. It becomes a new editable skill of the user's (or of a project), with every file byte for byte.
Use when the user wants to bring in a skill they made in Claude, ChatGPT or another tool, or one shared with
them as a zip or a link. The archive holds one skill: SKILL.md at its root or in one top folder. Unilytics
keeps SKILL.md and files under reference/, data/ and evals/ (text only); an archive with files elsewhere
(scripts/, references/, assets/, files next to SKILL.md) or with binary files is refused as invalid_archive,
its `reason` and `paths` naming every such file, and nothing is saved. Other refusals: a name the destination
already uses (name_taken: nothing is overwritten or renamed), a SKILL.md frontmatter that is missing or
broken (skill_md_invalid, with the lint-v1 rule and line), and the archive limits (10 MB, 200 files, 256 KB
per file, 14 MB unzipped, compression up to 100:1, folders 8 deep, paths up to 100 characters; no links,
absolute paths or '..').
Folders such as __MACOSX/ and files such as .DS_Store are left out and listed in `skipped`. Free.
Args:
url: A public https link to the .zip, .skill or SKILL.md file (up to 10 MB). Unilytics downloads it.
archive_base64: The file itself, base64-encoded, when it isn't at a public link (up to 10 MB decoded).
Exactly one of url or archive_base64.
name: The new skill's name (the title people see, unless SKILL.md sets metadata.title). Defaults to
SKILL.md's `name`, else the archive's folder name.
scope: "user" (private to the user, the default) or "project" (shared with the project's team; needs an
edit role).
project_id: Required when scope="project".
request_id: Optional UUID for this import. Repeating the call with the same request_id and the same
arguments returns the first call's result instead of importing again.
Returns {success, skill_id, version, files: [{path, bytes, sha256}], skipped, skipped_omitted, lint}:
`files` is every stored file with the sha256 of its UTF-8 bytes; `lint` lists authoring findings (lint-v1
rule ids), which don't stop the import.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| scope | No | user | |
| project_id | No | ||
| request_id | No | ||
| archive_base64 | No |