pynydus.standards.skills¶
Agent Skills standard: validate, extract.
Skills are fully deterministic (no generate() function).
Module Contents¶
Functions¶
API¶
- pynydus.standards.skills.validate(egg: pynydus.api.schemas.Egg, schema: dict[str, Any] | None = None) list[pynydus.api.schemas.ValidationIssue]¶
Validate each skill’s frontmatter against the agentskills.io schema.
Args: egg: The Egg whose skills are validated. schema: Optional JSON Schema dict. When
None, the schema is loaded from the bundledagentskillsspec.Returns: List of validation issues (empty if valid or if there are no skills).
- pynydus.standards.skills.extract(egg: pynydus.api.schemas.Egg) dict[str, str]¶
Extract all skills as SKILL.md files.
Args: egg: The Egg containing skill definitions.
Returns:
{"skills/<slug>/SKILL.md": <content>, ...}for each skill.