Expand description
Skill bundle import/export
Supports zip-based packaging of skills for distribution, version management, and inline bundle injection. Follows OpenAI Skills API packaging patterns:
- Safe zip extraction with path traversal protection
- Size limits (50MB compressed, 25MB per file, 500 files max)
- Manifest validation after extraction
- Versioned storage layout
Structs§
- Imported
Skill Info - Result of importing a skill bundle
- Skill
Store Index - Skill store index for tracking versions
- Skill
Version Index
Constants§
- MAX_
BUNDLE_ SIZE - Maximum compressed bundle size (50 MB)
- MAX_
FILE_ COUNT - Maximum file count per bundle
- MAX_
FILE_ SIZE - Maximum uncompressed file size (25 MB)
Functions§
- export_
skill_ bundle - Export a skill directory to a zip bundle (bytes)
- import_
inline_ bundle - Import a skill from base64-encoded zip (inline bundle)
- import_
skill_ bundle - Import a skill bundle (zip bytes) into the skill store
- load_
skill_ index - Load the skill store index