pyxsd.skills¶
Portable skill packaging: list and export guidance without MCP installed.
Skills are plain directories under this package: <name>/SKILL.md plus any
reference files. Export copies the directory verbatim to a caller-chosen
destination; nothing writes to a global home location, and destinations that
traverse symlinks or already exist are refused.
Classes¶
One packaged skill's public metadata. |
Functions¶
Return every packaged skill with bounded, validated metadata. |
|
|
Copy one skill directory verbatim; refuse overwrite and symlink travel. |
Package Contents¶
- pyxsd.skills.list_skills()¶
Return every packaged skill with bounded, validated metadata.
- pyxsd.skills.export_skill(name, destination)¶
Copy one skill directory verbatim; refuse overwrite and symlink travel.
The destination must exist and be a real directory. The exported skill lands in
destination / name; an existing target is an error, and any symlink encountered while walking the destination path is refused so an export cannot be redirected through a link.- Parameters:
name (str)
destination (pathlib.Path)
- Return type: