# Infrastructure

> Infrastructure is an open-source agent skill for security. Guides an agent through network infrastructure pentesting across scanning, MITM, DNS. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/infrastructure
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** infrastructure
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a structured approach to testing network infrastructure, covering services, protocols and perimeter security. It lays out a five-step workflow: discovering hosts and mapping topology, scanning ports and enumerating services, running protocol-specific tests, executing attacks only within an authorized scope, and collecting evidence such as packet captures and logs.

The skill is organized as a set of attack-type quickstart references, including port scanning, DNS, man-in-the-middle, VLAN hopping, IPv6, SMB/NetBIOS, sniffing, DoS, and more specialized material for ICS/SCADA Modbus, CCSDS space telecommand frames, UPnP/IoT devices and embedded hardware. Each area points the agent to its own reference file for technique details.

The skill ships with Python scripts and works against networks and devices the user is permitted to test. It does not declare any allowed tools, so the agent's usual tool access applies.

## When your agent uses it

> Network infrastructure testing - port scanning, DNS attacks, MITM, VLAN hopping, IPv6, SMB/NetBIOS, sniffing, and DoS assessment.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/infrastructure)
- [Network calls found in its scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/infrastructure)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/infrastructure)

## Features

- **Port scanning methods:** Covers SYN, UDP and ICMP scanning, service detection and OS fingerprinting.
- **DNS attack coverage:** Reference material on zone transfers, cache poisoning, subdomain takeover and rebinding.
- **MITM and sniffing:** Guidance on ARP and DNS spoofing, SSL stripping, poisoning and packet capture.
- **IPv6 and VLAN testing:** Covers RA flooding, neighbor spoofing, tunneling, switch spoofing and double tagging.
- **SMB and NetBIOS checks:** Covers null sessions, relay attacks and enumeration of Windows file services.
- **ICS and embedded targets:** Reference notes on Modbus PLCs, CAN/UART decoding and UPnP device enumeration.

## Good for

- Scan a lab network for open ports and identify running services
- Test a subnet for DNS zone transfer or cache poisoning weaknesses
- Check whether a switch is vulnerable to VLAN hopping
- Assess SMB shares for null sessions and relay exposure
- Capture and analyze traffic to look for credential exposure
- Evaluate a Modbus PLC in an authorized ICS test

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/infrastructure` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/infrastructure &&
cp -R "$tmp/skills/infrastructure" ~/.claude/skills/infrastructure &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/infrastructure` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/infrastructure` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/infrastructure &&
cp -R "$tmp/skills/infrastructure" ~/.agents/skills/infrastructure &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/infrastructure` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/infrastructure` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/infrastructure &&
cp -R "$tmp/skills/infrastructure" ~/.cursor/skills/infrastructure &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/infrastructure` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/infrastructure
```

Or copy the folder to `~/.gemini/skills/infrastructure` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/infrastructure`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/infrastructure &&
cp -R "$tmp/skills/infrastructure" ~/.copilot/skills/infrastructure &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/infrastructure` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/infrastructure` into your agent's skills folder as `infrastructure`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Infrastructure need to run?

It includes Python scripts and reference guides for each attack type. The skill does not set any allowed tools, so it relies on the agent's existing tool access.

### How is the workflow organized?

It follows five steps: network discovery and topology mapping, port scanning and service enumeration, protocol-specific testing, attack execution within authorized scope, and evidence capture with packet captures and logs.

### Which attack areas are covered?

Port scanning, DNS, MITM, VLAN hopping, IPv6, SMB/NetBIOS, sniffing, DoS, ICS/SCADA Modbus, CCSDS space telecommands, UPnP/IoT/CPE devices and hardware or embedded targets.

### How do I install Infrastructure in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/infrastructure to use it in all your projects, or to .claude/skills/infrastructure in one project.

### Does Infrastructure run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. 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 Infrastructure?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Infrastructure?

The closest alternatives to Infrastructure are Network appliance offensive, Server side, System, Reconnaissance and Ad methodology.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Network appliance offensive](https://ai-powered.com/skills/network-appliance-offensive): Network appliance offensive is an open-source agent skill for security.
- [Server side](https://ai-powered.com/skills/server-side): Server side is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Reconnaissance](https://ai-powered.com/skills/reconnaissance): Reconnaissance is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Essential tools](https://ai-powered.com/skills/essential-tools): Essential tools is an open-source agent skill for security.
- [Injection](https://ai-powered.com/skills/injection): Injection is an open-source agent skill for security.
- [Pentest engagement](https://ai-powered.com/skills/pentest-engagement): Pentest engagement is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/infrastructure
