Expand description
Skill installation, removal, and listing.
Handles copying or symlinking skills into agent-specific directories,
with a canonical .agents/skills/ location as the single source of truth.
Functions§
- agent_
base_ dir - Get the base directory for a specific agent’s skills.
- canonical_
skills_ dir - Get the canonical
.agents/skillsdirectory. - get_
canonical_ path - Get the canonical install path for a skill.
- install_
remote_ skill_ content - Install a remote skill (single
SKILL.mdcontent) for an agent. - install_
skill_ for_ agent - Install a local skill for a single agent.
- install_
wellknown_ skill_ files - Install a well-known skill with multiple files for an agent.
- is_
skill_ installed - Check if a skill is installed for an agent.
- list_
installed_ skills - List all installed skills from canonical and agent-specific directories.
- sanitize_
name - Sanitize a skill name for safe use as a directory name.