ansible

ansible is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 45 tokens per session (2,248 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 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,248 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.00045 $0.02248
Opus 5.5 $0.00018 $0.00899
Sonnet 5.5 $0.00009 $0.00450
Haiku 4.5 $0.00005 $0.00225

Measured 1mo ago against content hash 5ef7c97601e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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 · 222 lines

How it starts

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

Ansible Configuration Management AI Skill Guide (Claude)

Overview & Engine Architecture

Ansible pushes desired state to hosts (SSH, WinRM, or cloud APIs) via playbooks and roles. Controllers assemble inventory + vars, then run modules that converge without requiring agents on targets. Production quality means idempotent modules (not raw shell), FQCN (ansible.builtin.*), pinned collections, and vaulted secrets. Treat --check --diff as a pre-flight gate; never invent vault passwords or cloud credentials.

┌─────────────────────────────────────────────────────────────┐
│                 Ansible control → managed nodes             │
│                                                             │
│  Inventory (static / dynamic) + group_vars / host_vars      │
│  ├── Environment split: inventories/{dev,staging,prod}      │
│  └── Vaulted secrets (never plaintext in Git)               │
│                                                             │
│  Playbook → roles (tasks / handlers / templates / defaults) │
│  ├── Modules (FQCN) > command/shell                         │
│  ├── Handlers fire only on changed                          │
│  └── serial / max_fail_percentage for rolling risk          │
│                                                             │
│  Targets: Linux SSH | Windows WinRM | cloud modules         │
│  Optional: AWX / Execution Environments for fleet scale     │
└─────────────────────────────────────────────────────────────┘

When to use / when not to

Use when

  • Bootstrapping packages, users, services, and configs on VMs/bare metal.
  • Writing reusable roles and collections for app deploy glue after @terraform provisions hosts.
  • Encrypting secrets with ansible-vault; dry-running with --check --diff.

Do not use when

  • You need multi-node scheduling, rolling Deployments, or cluster RBAC as the primary model → @kubernetes / @helm.
  • Image build / local multi-container graphs are the unit of delivery → @docker (Ansible may only provision the host).
  • Someone asks to commit vault passwords, cloud keys, or plaintext group_vars secrets → refuse; use vault + CI secret mounts.

Read the full file on GitHub · 222 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +105 lines · +15 tokens per session 5ef7c97601e3
  2. 2mo ago Changed · -1 tokens per session 63666f40819b
  3. 3mo 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 (6 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 2,248 once invoked, about $0.0002 per session on Opus 5.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

ansible compared with skills from other repositories

ansible next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ansiblealivirgo/Major-AI-SkillsSkill62d agoMITA45Claude Code
ansible-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0B59Claude Code
aident-loadoutsickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code
aap-automationautomateyournetwork/netclawSkill7403d agoApache-2.0A60Claude Code, Codex
brand-assets-setupJohnWayneeee/ai-agent-skillsSkill11mo agoMITA41Claude Code
browser-auditJohnWayneeee/ai-agent-skillsSkill11mo agoMITA96Codex
workflow-node-setupJohnWayneeee/ai-agent-skillsSkill11mo agoMITA59Codex