ansible

ansible is a skill for Claude Code from xobotyi/cc-foundry. It costs 60 tokens per session (6,410 once invoked), scanned B, original, MIT.

Guidance for using Ansible, a tool that automates server and infrastructure setup through written playbooks. It covers roles, inventories, encrypted secrets, testing, and performance.

In plain words
What is it for?
Use it when writing or reviewing Ansible playbooks, roles, inventories, vault configuration, collections, execution environments, or tests.
Why use it?
It helps automation produce the intended server state repeatedly without unnecessary changes or unsafe secret handling.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code.

Part of the infrastructure plugin — 5 skills shipped together

Good fit Use it when writing or reviewing Ansible playbooks, roles, inventories, vault configuration, collections, execution environments, or tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xobotyi/cc-foundry/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 xobotyi/cc-foundry --skill ansible
Clone the repo
git clone --depth 1 https://github.com/xobotyi/cc-foundry

Made for: Claude Code.

Or install infrastructure, the plugin that ships this one along with the rest of its 5 skills.

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/xobotyi/cc-foundry/ansible/github.svg)](https://agentmods.dev/skills/xobotyi/cc-foundry/ansible)
Your own site
<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/ansible"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/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/xobotyi/cc-foundry/ansible"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/ansible.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.06410
Opus 5.5 $0.00024 $0.02564
Sonnet 5.5 $0.00012 $0.01282
Haiku 4.5 $0.00006 $0.00641

Measured 2mo ago against content hash eb69102b9a37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ansible scanned grade B with 1 finding 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 2mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

When **reviewing** Ansible, cite the violation and give the corrected line inline. Do not lecture.
plugins/infrastructure/skills/ansible/SKILL.md · 318 lines

How it starts

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

Three biases decide most calls:

  • The ansible-core line the project pins decides what may be written, not the binary on the machine. The 2.19 templating rewrite is the boundary: content that runs on 2.18 can fail, warn, or render literally on 2.19 and later with no YAML change.
  • ok and changed are claims made by the module, not measurements. A command task claims a change on every run, an async launch always claims one, and a --check run skips whatever it cannot simulate. Idempotence is proven by a second run reporting changed=0, and by nothing else.
  • Where a value comes from is not guessable. Inventory layout, group_vars adjacency, ansible.cfg discovery, and collection versions each change what a play does. Read them before the first edit.

Core Version

Read the pin before writing: requires_ansible in meta/runtime.yml, the ansible-core line in a requirements or execution-environment file, and the CI matrix. ansible --version reports one machine. The ansible community package pulls one ansible-core line: 11 → 2.18, 12 → 2.19, 13 → 2.20, 14 → 2.21.

Support windows, which decide whether a pin is defensible:

  • 2.18 — end of life May 2026. No fixes of any kind. Control Python 3.11 to 3.13, target 3.8 to 3.13.
  • 2.19 — security fixes only from 2026-05-18, end of life November 2026. Control 3.11 to 3.13, target 3.8 to 3.13.
  • 2.20 — critical fixes only from 2026-05-18, security only from 2026-11-02, end of life May 2027. Control 3.12 to 3.14, target 3.9 to 3.14.
  • 2.21 — GA 2026-05-18, critical only from November 2026, end of life November 2027. Control 3.12 to 3.14, target 3.9 to 3.14.

Floor per feature — the changes the rules below depend on:

  • 2.18 — loop_control.break_when; meta: end_role; timedout and vaulted_file tests; raw over SSH to Windows runs unwrapped, without powershell.exe.
  • 2.19 — trust-tagged templating, boolean-only conditionals, no multi-pass rendering, lazy evaluation, native types only; ALLOW_BROKEN_CONDITIONALS; DISPLAY_TRACEBACK; SSH_ASKPASS replaces sshpass; a become timeout is unreachable; omit dropped from loop items; bool filter narrowed; plural collections_paths removed; paramiko and auto_legacy deprecated.
  • 2.20 — control Python 3.12+, target 3.9+; transport = smart removed; Galaxy v2 API removed; vaultid filter parameter removed; include_vars rejects a non-list extensions; INJECT_FACTS_AS_VARS deprecated, default flips in 2.24.
  • 2.21 — register projections and the _task object; ansible-galaxy refuses a collection whose requires_ansible excludes the running core; paramiko and auto_legacy removed; invocation dropped from results; failure inference from rc deprecated, warnings from 2.22; to_yaml decrypts vaulted values again.

Read [${CLAUDE_SKILL_DIR}/references/versions/core-2.NN.md] — core-2.18.md through core-2.21.md — when writing against a feature near the floor, when raising the floor, and before touching content that must run on 2.18 and 2.19 both. Each carries what its line added, changed, removed, and deprecated with the removal target, and the traps.

Read the full file on GitHub · 318 lines

Files

What ships with it

9 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. 2mo ago Changed · -167 lines · -19 tokens per session scan A → B eb69102b9a37
  2. 3mo ago First seen · 485 lines · 79 tokens per session scan A 0bc9c6ecd128

Subscribe to this mod's changes

ansible is a skill published in the GitHub repository xobotyi/cc-foundry (23 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 6,410 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ansible compared with skills from other repositories

ansible next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ansiblexobotyi/cc-foundrySkill23yesterdayMITB60Claude Code
peekaboojohnkozaris/jko-claude-pluginsSkill1129d agoMITA104Claude Code
mobile-flows-maestrojohnkozaris/jko-claude-pluginsSkill1129d agoMITA102Claude Code
validate-mobilejohnkozaris/jko-claude-pluginsSkill1129d agoMITA20Claude Code
validate-apijohnkozaris/jko-claude-pluginsSkill1129d agoMITA20Claude Code
backend-architecturejohnkozaris/jko-claude-pluginsSkill1129d agoMITA119Claude Code
esp32-expertjohnkozaris/jko-claude-pluginsSkill1129d agoMITA137Claude Code