generate_role_skill
Generates a skill package for a specified Ansible role, creating SKILL.md and playbook.yml files to enable AI agent execution.
Instructions
Generate a skill package for one role.
Writes SKILL.md + assets/playbook.yml to disk (no scripts/). Returns the SKILL.md content as str, or {"error": str} on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_name | Yes | Fully-qualified role name (e.g. 'fedora.linux_system_roles.timesync') | |
| install_to | No | Optional absolute path to install the skill to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |