generate_skill
Generate a complete Ansible skill package for a specified module, including SKILL.md, scripts, and playbook, saved to disk for immediate use.
Instructions
Generate a skill package for one module.
Writes SKILL.md + scripts + playbook to disk. Returns the SKILL.md content as str, or {"error": str} on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| install_to | No | Optional absolute path to install the skill to. Defaults to the project skills/ directory (via ANSIBLE_KNOW_SKILLS_DIR, or ANSIBLE_KNOW_PROJECT_DIR/CLAUDE_PROJECT_DIR/cwd + /skills). | |
| module_name | Yes | Fully-qualified module name (e.g. 'ansible.builtin.copy') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |