@plurnk/plurnk-agent-skills
v1.19.3
Published
Source-preserving loader for standard Agent Skills directories.
Readme
@plurnk/plurnk-agent-skills
Load standard Agent Skills without losing their supporting files.
import { SkillDirectory } from "@plurnk/plurnk-agent-skills";
const skill = await SkillDirectory.load("/path/to/my-skill");
skill.document.name;
skill.document.description;
skill.directory; // original execution base, resolved through installer symlinks
await skill.list();
await skill.read("references/guide.md");
const source = skill.resource("scripts/check.py");
await source.nativePath(); // same original file, not a copied scriptSkillDirectory implements SkillTree: standard entry metadata, resource
names, and ByteSource access. Consumers can compose package files and generated
resources through that same interface without manufacturing a directory.
The consumer owns installation, enablement, invocation permissions, and model presentation. See SPEC.md for the loader contract.
