skill¶
AI Agent Skill Search and Management.
Simple usage:
from skill import search, install, create, list_skills, validate
# Search for skills
results = search('react best practices', local_only=True)
# Create a new skill locally
skill = create('my-skill', description='My custom skill')
# Validate a skill
issues = validate('/path/to/skill-dir')
Plugin registries:
from skill.install import agent_targets
from skill.translate import translators
from skill.search import backends
from skill.create import validators
Functions
|
List locally installed skills, optionally filtered by agent target. |
|
Read and return a skill by its canonical key. |
|
List registered search backends with their name, homepage, and status. |
- skill.list_skills(*, agent_target=None, scope='all')[source]¶
List locally installed skills, optionally filtered by agent target.
>>> isinstance(list_skills(), list) True
- skill.show(key)[source]¶
Read and return a skill by its canonical key.
Raises KeyError if the skill is not found locally.
- Return type:
- skill.sources()[source]¶
List registered search backends with their name, homepage, and status.
>>> isinstance(sources(), list) True
Modules
Optional AI facade for semantic search and LLM-powered features. |
|
Backend protocols and local filesystem backend. |
|
Core data model and SKILL.md parsing. |
|
Terminal-friendly formatting for CLI output. |
|
Shell completion setup and diagnostics. |
|
Configuration management via platformdirs and TOML. |
|
|
Create a new skill and store it locally. |
|
Install a skill into one or more agent target directories. |
Generic plugin registry with entry point discovery. |
|
|
Search for skills across local index and remote backends. |
Storage layer: LocalSkillStore and SourcedSkillStore via dol. |
|
Format translators: SKILL.md <-> agent-specific formats. |
|
Pure helpers with zero internal imports. |