Skip to main content

Module installer

Module installer 

Source
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/skills directory.
get_canonical_path
Get the canonical install path for a skill.
install_remote_skill_content
Install a remote skill (single SKILL.md content) 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.