ansible-module-audit

ansible-module-audit is a skill for Claude Code from eco-ansible-content/agentic-workflows. It costs 59 tokens per session (4,078 once invoked), scanned A, original, MIT.

An audit tool for one Ansible module, where Ansible is software for automating tasks on servers, cloud systems, networks, and Windows computers. It reviews the module across five quality areas and produces a score out of 100.

In plain words
What is it for?
Use it after implementing a module, during code review, or before a release to check its files and tests for completeness.
Why use it?
It helps find missing API or command coverage, shared-code issues, incomplete integration tests, cleanup problems, and opportunities to reuse test modules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-tools plugin — 3 skills shipped together

Good fit Use it after implementing a module, during code review, or before a release to check its files and tests for completeness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eco-ansible-content/agentic-workflows/ansible-module-audit
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 eco-ansible-content/agentic-workflows --skill ansible-module-audit
Clone the repo
git clone --depth 1 https://github.com/eco-ansible-content/agentic-workflows

Made for: Claude Code.

Or install agentic-tools, the plugin that ships this one along with the rest of its 3 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-module-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/eco-ansible-content/agentic-workflows/ansible-module-audit/github.svg)](https://agentmods.dev/skills/eco-ansible-content/agentic-workflows/ansible-module-audit)
Your own site
<a href="https://agentmods.dev/skills/eco-ansible-content/agentic-workflows/ansible-module-audit"><img src="https://agentmods.dev/badge/skills/eco-ansible-content/agentic-workflows/ansible-module-audit/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-module-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/eco-ansible-content/agentic-workflows/ansible-module-audit"><img src="https://agentmods.dev/badge/skills/eco-ansible-content/agentic-workflows/ansible-module-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00059 $0.04078
Opus 5 $0.00030 $0.02039
Sonnet 5 $0.00012 $0.00816
Haiku 4.5 $0.00006 $0.00408

Measured 8d ago against content hash 3398946b8dca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ansible-module-audit scanned grade A 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| HTTP/REST calls (`requests`, `urllib`, `open_url`, SDK client methods) | **REST API** | Search for platform REST API reference |
agentic-tools/skills/ansible-module-audit/SKILL.md · 424 lines

How it starts

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

Ansible Module Audit

Audits a single Ansible module for quality and completeness across five dimensions. Platform-agnostic — works on any Ansible collection (Windows/PowerShell, cloud/REST, network/CLI, Linux/command).

Usage

/ansible-module-audit scvmm_cloud
/ansible-module-audit ec2_instance
/ansible-module-audit ios_config

The argument is a module name from the collection in the current working directory.

When to Use

  • After implementing a module — to verify completeness before PR
  • During code review — to assess module quality objectively
  • Before release — to audit modules for gaps

Execution Steps

Follow these steps exactly. Do NOT ask clarifying questions — research autonomously.

Step 0: Resolve Paths and Detect Platform

Extract the module name from the user's argument. Determine the collection root from the current working directory. Read galaxy.yml to get the collection namespace and name.

Locate module files:

find plugins/modules/ -name "<module_name>.*" -type f

Determine the module type from what exists:

Files found Module type Platform
.py + .ps1 PowerShell module Windows (SCVMM, AD, Exchange, etc.)
.py only Python module Cloud, network, Linux, or any non-Windows

Read ALL module files found.

Locate shared utilities:

find plugins/module_utils/ -type f \( -name "*.py" -o -name "*.psm1" -o -name "*.ps1" \)

Read all module_utils files to catalog available shared functions/classes.

Locate integration tests:

Check these paths in order for a test target:

  1. tests/integration/targets/<module_name>/ — exact match
  2. tests/integration/targets/<base_name>/ — for _info modules, try the base name (e.g., ec2_instance for ec2_instance_info)
  3. If neither exists, mark tests as missing (dimensions 3-5 score 0).

If a test target is found, read all YAML files under it recursively.

Identify the platform's API surface type:

Read the full file on GitHub · 424 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. 8d ago First seen · 424 lines · 59 tokens per session scan A 3398946b8dca

Subscribe to this mod's changes

ansible-module-audit is a skill published in the GitHub repository eco-ansible-content/agentic-workflows (2 stars, last pushed 15d ago), licensed MIT. It adds 59 tokens to every session and 4,078 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.