generate_collection_skills
Generate skills for an entire Ansible collection, updating MANIFEST.json and AGENTS.md for cross-agent discovery. Use to turn collection docs into reusable skills, with counts of succeeded and failed.
Instructions
Batch generate skills for an entire collection.
Generates/updates the collection MANIFEST.json as a byproduct. Updates AGENTS.md in the project root with a managed section listing available collections for cross-agent discovery. Returns {"succeeded": int, "failed": int, "total": int, "manifest": dict, "collection_skill": str}, or {"error": str} on failure.
Module/plugin docs use batched ansible-doc calls. Names missing from a
batch (or a hard batch failure) are counted in failed; partial batch
success still writes skills for resolved names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| install_to | No | Optional absolute path to install skills to. Defaults to the project skills/ directory (via ANSIBLE_KNOW_SKILLS_DIR, or ANSIBLE_KNOW_PROJECT_DIR/CLAUDE_PROJECT_DIR/cwd + /skills). | |
| collection_namespace | Yes | Collection namespace (e.g. 'netbox.netbox') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |