ansible

ansible is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 30 tokens per session (858 once invoked), scanned A, original, MIT.

An operational guide for Ansible, a tool that configures computers from reusable instruction files called playbooks. It covers inventories, roles, repeatable tasks, dry runs, and encrypted secrets.

In plain words
What is it for?
Use it to install packages, manage users and services, configure virtual machines, create reusable roles, preview changes, and protect secrets with ansible-vault.
Why use it?
It helps agents make repeatable configuration changes without using fragile shell commands or exposing passwords. Re-running the same instructions can bring systems back to the intended state.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit Use it to install packages, manage users and services, configure virtual machines, create reusable roles, preview changes, and protect secrets with ansible-vault.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/ansible
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill ansible
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ansible

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/ansible/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/ansible)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/ansible"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/ansible/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ansible

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/ansible"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/ansible.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00858
Opus 5 $0.00015 $0.00429
Sonnet 5 $0.00006 $0.00172
Haiku 4.5 $0.00003 $0.00086

Measured yesterday against content hash 63666f40819b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ansible scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ansible/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ansible Configuration Management AI Skill Guide

Overview & Engine Architecture

Ansible pushes desired configuration to hosts (SSH, WinRM, or APIs) using playbooks and roles. Tasks should be idempotent: re-running converges without drift. Agents prefer modules over raw shell/command, name every task, and keep vault passwords out of repositories and chat transcripts.

inventory + group_vars/host_vars
        |
        v
playbook.yml  ->  roles/ tasks handlers templates
        |
        v
managed nodes (SSH) / cloud APIs

When to use this skill

  • Bootstrapping packages, users, and services on VMs
  • Writing reusable roles for app deploy glue
  • Encrypting secrets with ansible-vault
  • Dry-running changes with check mode

Operational directives

  1. Prefer modules (apt, yum, copy, template, service, user) over shell.
  2. Use handlers for restarts; notify only on change.
  3. Run --check (and --diff for templates) before production.
  4. Store secrets in vaulted files; never commit plaintext vault passwords.
  5. Keep inventories environment-split (inventories/prod, inventories/dev).

Playbook sketch

- name: Configure web hosts
  hosts: web
  become: true
  roles:
    - role: common
    - role: nginx
      vars:
        nginx_worker_processes: auto

Role task example:

- name: Ensure nginx is installed
  ansible.builtin.package:
    name: nginx
    state: present

- name: Deploy nginx site config
  ansible.builtin.template:
    src: site.conf.j2
    dest: /etc/nginx/sites-available/app.conf
    mode: "0644"
  notify: Reload nginx

- name: Enable site
  ansible.builtin.file:
    src: /etc/nginx/sites-available/app.conf
    dest: /etc/nginx/sites-enabled/app.conf
    state: link
  notify: Reload nginx

Commands

ansible-playbook -i inventories/prod site.yml --check --diff
ansible-galaxy init roles/nginx
ansible-vault encrypt group_vars/prod/vault.yml
ansible-vault edit group_vars/prod/vault.yml
ansible-playbook -i inventories/prod site.yml --ask-vault-pass

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -1 tokens per session 63666f40819b
  2. 7d ago First seen · 117 lines · 31 tokens per session scan A fc0c92039a09

Subscribe to this mod's changes

ansible is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 858 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

ansible-expert

Expert-level Ansible for configuration management, automation, and infrastructure as code. Use when the user mentions automation, configuration management, infrastructure as code, playbooks, or roles, or when the task involves Ansible Architecture, Basic Inventory, YAML Inventory, or Dynamic Inventory.

personamanagmentlayer/pcl · 59 tokens

agent-orchestrator-v2

Agent Orchestrator workflow skill. Use this skill when the user needs Meta-skill que orquestra todos os agentes do ecossistema. Scan automatico de skills, match por capacidades, coordenacao de workflows multi-skill e registry management and the operator should preserve the upstream workflow, copied support files, and…

diegosouzapw/awesome-omni-skills · 77 tokens

agent-orchestrator

Agent Orchestrator workflow skill. Use this skill when the user needs Meta-skill que orquestra todos os agentes do ecossistema. Scan automatico de skills, match por capacidades, coordenacao de workflows multi-skill e registry management and the operator should preserve the upstream workflow, copied support files, and…

diegosouzapw/awesome-omni-skills · 75 tokens

accessibility-tester

Professional Accessibility Tester Expert skill. Implement robust test suites and automated quality checks for modern web/mobile applications.

AtulPurohit/Antigravity-Awesome-Skills · 25 tokens

bdd-cucumber

Professional BDD Cucumber Expert skill. Implement robust test suites and automated quality checks for modern web/mobile applications.

AtulPurohit/Antigravity-Awesome-Skills · 26 tokens

flaky-test-fixer

Professional Flaky Test Fixer Expert skill. Implement robust test suites and automated quality checks for modern web/mobile applications.

AtulPurohit/Antigravity-Awesome-Skills · 29 tokens