agent_list_skills
List available agent skills from a configured directory. Filter by glob pattern and receive a JSON report with skill count and names.
Instructions
Discover and list skills available in the configured skills directory.
A skill is one of:
<skills_dir>/<name>/main.py(orrun.py) with arun(input, **kwargs)function<skills_dir>/<name>.py— Python skill<skills_dir>/<name>.sh— Shell skill<skills_dir>/<name>.md— Markdown skill (returns the file contents)
Args: skills_dir: Override the skills directory. pattern: Optional glob pattern to filter skill names.
Returns: str: JSON with keys 'success', 'skills_dir', 'count', and 'skills'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Optional glob pattern to filter skill names (e.g. 'trans*'). | |
| skills_dir | No | Override the skills directory (defaults to LMSTUDIO_AGENT_SKILLS_DIR or ./skills). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |