Index
index
¶
Skill index — load and search a remote/local skill catalog.
Classes¶
SkillIndexEntry
dataclass
¶
SkillIndexEntry(
name: str,
version: str,
description: str,
author: str,
source: str,
sha256: str,
tags: list[str] = list(),
required_capabilities: list[str] = list(),
)
A single entry in the skill index catalog.
SkillIndex
¶
Catalog of available skills loaded from an index.toml file.
index.toml format::
[[skills]]
name = "research"
version = "0.1.0"
description = "Research a topic"
author = "diapason"
source = "github.com/diapason/skills/research"
sha256 = "abc123"
tags = ["research"]
required_capabilities = ["network:fetch"]
Source code in src/diapason/skills/index.py
Attributes¶
Methods:¶
search
¶
search(query: str) -> list[SkillIndexEntry]
Return entries whose name, description, or tags match query.
Matching is case-insensitive substring search across name, description, and each tag value.
Source code in src/diapason/skills/index.py
get
¶
get(name: str) -> Optional[SkillIndexEntry]