Skip to main content
Skill management utilities for OpenHands SDK.

class InstalledSkillInfo

Bases: BaseModel Information about an installed skill.

Properties

  • allowed_tools: list[str] | None
  • compatibility: str | None
  • description: str
  • enabled: bool
  • install_path: str
  • installed_at: str
  • license: str | None
  • metadata: dict[str, str] | None
  • name: str
  • repo_path: str | None
  • resolved_ref: str | None
  • source: str

Methods

classmethod from_skill()

Create InstalledSkillInfo from a loaded Skill.

model_config = (configuration object)

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class InstalledSkillsMetadata

Bases: BaseModel Metadata file for tracking installed skills.

Properties

Methods

classmethod get_path()

Get the metadata file path for the given installed skills directory.

classmethod load_from_dir()

Load metadata from the installed skills directory.

model_config = (configuration object)

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

save_to_dir()

Save metadata to the installed skills directory.