
Infra audit
Writes a dated report mapping a repository's infrastructure, environments and secret names
Infra audit is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 7
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Infra audit
Infra audit inspects the current repository and produces a dated markdown report under docs/audit/infra-audit. It looks for infrastructure as code and container definitions such as Terraform, Pulumi, CDK, Helm, Kubernetes manifests, Dockerfiles, Compose files and serverless or platform configs, and records the tool, the environments each one targets and the main resources it creates.
The skill also lists environment files and profiles, explains how an environment gets selected, and catalogues secret references by name only, with no values copied. It maps local development infrastructure too, including Compose files, dev containers, seed scripts and Makefile or Taskfile targets. Committed files that appear to hold a real credential are flagged as gaps, naming the file and key only.
The skill is meant to run only when invoked explicitly with its slash command, and it is designed to work on any repository regardless of tech stack. It writes only the single report file and follows a shared audit contract that sets the report context and path.
When your agent uses it
Writes a dated infrastructure audit report for the current repository: where and how the infrastructure is defined (Terraform, Pulumi, CDK, Helm, Kubernetes, Dockerfiles, Compose, serverless configs), the environments and how one is selected, the secret references (names only), and the local development infrastructure. Works on any repository and any tech stack. Writes only docs/audit/infra-audit/infra-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /infra-audit — never inferred from user messages.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the nexa-claude-audit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add nexadevapp/nexa-claude-skills-marketplace
/plugin install nexa-claude-audit@nexa-claude-marketplaceOr copy only this skill to ~/.claude/skills/infra-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/infra-audit &&
cp -R "$tmp/nexa-claude-audit/skills/infra-audit" ~/.claude/skills/infra-audit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/infra-audit inside it instead.
Copy the skill folder to ~/.agents/skills/infra-audit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/infra-audit &&
cp -R "$tmp/nexa-claude-audit/skills/infra-audit" ~/.agents/skills/infra-audit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/infra-audit inside it instead.
Copy the skill folder to ~/.cursor/skills/infra-audit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/infra-audit &&
cp -R "$tmp/nexa-claude-audit/skills/infra-audit" ~/.cursor/skills/infra-audit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/infra-audit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/nexadevapp/nexa-claude-skills-marketplace.git --path nexa-claude-audit/skills/infra-auditOr copy the folder to ~/.gemini/skills/infra-audit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/infra-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/infra-audit &&
cp -R "$tmp/nexa-claude-audit/skills/infra-audit" ~/.copilot/skills/infra-audit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/infra-audit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.gitThen copy nexa-claude-skills-marketplace/nexa-claude-audit/skills/infra-audit into your agent's skills folder as infra-audit. Agents that support SKILL.md read one folder per skill.
What it does
- Infrastructure definitions map
- Finds IaC, container and serverless definitions and records the tool, target environments and main resources.
- Environment selection review
- Lists environment files and profiles and shows how an environment is chosen at runtime.
- Secret reference inventory
- Lists secret names and where they are referenced, without copying any values.
- Local development setup
- Catalogues Compose files, dev containers, seed scripts and build targets used locally.
- Gap reporting
- Flags suspected committed secrets and undefined environments in a dedicated gaps section.
- Dated audit report
- Writes one markdown report per run to a dated path under docs/audit.
Good for
- Document how a repository's infrastructure is defined
- Check which environments exist and how one is selected
- List secret names referenced across infrastructure files
- Spot committed files that may contain real credentials
- Summarise the local development stack for new developers
Infra audit FAQ
When does Infra audit run?
Only when the user explicitly types /infra-audit. It is set so it is never inferred from ordinary messages or triggered by other skills.
What does Infra audit write?
It writes a single report file at docs/audit/infra-audit/ with a dated name, and nothing else.
Does Infra audit expose secret values?
No. The report lists secret names and where they are referenced, and the skill's checks confirm no value appears in the output.
Which infrastructure tools does Infra audit recognise?
It searches for Terraform and OpenTofu, Pulumi, AWS CDK, CloudFormation and SAM, Bicep, Helm, Kubernetes and Kustomize, Dockerfiles, Compose files and several serverless or platform configs.
How do I install Infra audit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/infra-audit to use it in all your projects, or to .claude/skills/infra-audit in one project. Or install the nexa-claude-audit plugin, which includes it: /plugin marketplace add nexadevapp/nexa-claude-skills-marketplace, then /plugin install nexa-claude-audit@nexa-claude-marketplace.
Does Infra audit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Infra audit?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Infra audit?
The closest alternatives to Infra audit are Cicd audit, QA audit, Architecture audit, System audit and Test efficacy audit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from nexadevapp/nexa-claude-skills-marketplace

Writes a dated architecture audit report with Mermaid diagrams drawn from the code
- Open source
- 7 GitHub stars
- Developer tools

Writes a dated CI/CD audit report mapping pipelines, gates, and gaps in a repository
- Open source
- 7 GitHub stars
- Developer tools

Writes a dated static code metrics report with complexity, duplication, CBO and DIT
- Open source
- 7 GitHub stars
- Developer tools

Writes a dated mutation testing report for a repository's core business logic
- Open source
- 7 GitHub stars
- Developer tools

Writes a dated inventory of automated tests sorted into unit, integration, E2E and misc
- Open source
- 7 GitHub stars
- Developer tools

Writes a dated report tracing use cases to the tests that cover them in a repo
- Open source
- 7 GitHub stars
- Documentation review


