interface SkillInfo { name: string; /** Absolute path to the skill directory. */ path: string; /** First `description:` from the SKILL.md frontmatter, or null if absent. */ description: string | null; /** Origin of the skill. Currently only the user skills dir is inventoried. */ source: 'user'; } /** List global skill names: immediate subdirs of skillsDir that hold a SKILL.md. */ export declare function listSkills(): string[]; /** Read a single skill's inventory entry. */ export declare function readSkill(name: string): SkillInfo; interface ProfileSkillStatus { name: string; /** A symlink for this skill exists in the profile's skills dir. */ linked: boolean; /** The link exists but its global target is gone. */ broken: boolean; /** Absolute path of the global skill dir (the link target). */ path: string; } /** * Status of every skill known to a profile: the global skills (linked or * available) plus any broken links (symlinks whose global target was removed). */ export declare function listProfileSkills(profileName: string): ProfileSkillStatus[]; /** Symlink a global skill into a profile. Idempotent if the same link already * exists; refuses to clobber a real dir or a link we don't own. */ export declare function linkSkillToProfile(profileName: string, skillName: string): void; /** Remove a skill link from a profile. Refuses to delete a real directory — * only a symlink we created. */ export declare function unlinkSkillFromProfile(profileName: string, skillName: string): void; export {};