skill.__main__

CLI entry point for the skill package.

Usage:

python -m skill search "react best practices"
python -m skill create my-skill --description "My custom skill"
python -m skill validate ./my-skill/
python -m skill list
python -m skill link-skills /path/to/project
python -m skill install-completion
python -m skill sources
skill.__main__.create(name: str, *, description: str = '', body: str = '', owner: str = '_local') str[source]

Create a new skill locally.

skill.__main__.install(key: str, *, agent_targets: list[str] | None = None, scope: str = 'project', copy: bool = False, force: bool = False, project_dir: str | None = None) str[source]

Install a skill into one or more agent target directories.

Link skills from a directory into agent target directories.

skill.__main__.list_skills(*, agent_target: str | None = None, scope: str = 'all') str[source]

List locally installed skills.

skill.__main__.search(query: str, *, max_results: int = 10, local_only: bool = False, backends: list[str] | None = None) str[source]

Search for skills across local index and remote backends.

skill.__main__.show(key: str) str[source]

Read and display a skill by its canonical key.

skill.__main__.sources() str[source]

List registered search backends and their status.

skill.__main__.uninstall(key: str, *, agent_targets: list[str] | None = None, scope: str = 'project', project_dir: str | None = None) str[source]

Uninstall a skill from agent target directories.