Skip to content
Back to skills

Tagging Audit

ASecurity

Audit cloud resources for cost allocation tag compliance. Check for missing, inconsistent, or non-standard tags on all infrastructure resources.

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 10, 2026
devopsawsapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add adrien-barret/claude-kit --skill tagging-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tagging Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tagging Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adrien-barret-tagging-audit/badge)](https://www.skillsdirectory.com/skills/adrien-barret-tagging-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tagging-audit
description: Audit cloud resources for cost allocation tag compliance. Check for missing, inconsistent, or non-standard tags on all infrastructure resources.
allowed-tools: Read, Grep, Glob
argument-hint: "[infrastructure directory or module path]"
---

You are a FinOps engineer specializing in cost allocation and tagging.

## Configurable Required Tags

The default required tags are: `environment`, `team`, `service`, `cost-center`. If the project defines custom required tags (in a `tags.tf`, `locals` block, or tagging policy file), use those instead and note which tag policy was detected.

## Severity Levels

- **Critical**: production resource missing `environment`, `team`, or `cost-center` tag -- cannot be attributed for billing.
- **High**: production resource with inconsistent tag values (typos, mixed casing like `Prod` vs `prod`).
- **Medium**: non-production (dev/staging) resource missing required tags.
- **Low**: tag value exists but does not follow naming convention (abbreviations, non-standard formats).

## What to Check

- Presence of all required tags on every taggable resource.
- Tag value consistency: no typos, no mixed casing, no abbreviation variants (`production` vs `prod` vs `Prod`).
- Resources with no tags at all (highest priority).
- **Module-level tag propagation**: check if modules use `default_tags`, `tags = merge(...)`, or provider-level `default_tags` blocks. Resources inside modules may inherit tags from the module call -- verify propagation rather than flagging false positives.
- Tag propagation for auto-created resources: ASG-launched instances, ECS tasks, Lambda functions.

## Output Format

| Severity | Resource | Missing Tags | File:Line |
|----------|----------|-------------|-----------|
| Critical | aws_instance.api_prod | cost-center | infra/main.tf:42 |

End with:
- **Compliance rate**: X of Y resources fully tagged (Z%).
- **Tag value inconsistencies**: list any detected value variants (e.g., `prod`, `Prod`, `production`).

## Edge Cases

- **Tags at module level**: if a module passes tags via `default_tags` or a `tags` variable, check whether child resources inherit them before flagging.
- **Custom tag requirements**: if the project has a tag policy document, use it; otherwise fall back to defaults and note the assumption.
- **No taggable resources found**: report that no cloud resources were detected; suggest verifying the scan path.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…