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

SkillInfo

One packaged skill's public metadata.

Functions

list_skills()

Return every packaged skill with bounded, validated metadata.

export_skill(name, destination)

Copy one skill directory verbatim; refuse overwrite and symlink travel.

Package Contents

class pyxsd.skills.SkillInfo

One packaged skill’s public metadata.

name: str
description: str
pyxsd.skills.list_skills()

Return every packaged skill with bounded, validated metadata.

Return type:

tuple[SkillInfo, …]

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:
Return type:

pathlib.Path