Skip to content
Skill

Infrastructure

Guides an agent through network infrastructure pentesting across scanning, MITM, DNS

Infrastructure is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
641
Last commit
License
MIT
Listing updated

Similar skills

About Infrastructure

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.

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 50 files (207 KB) on GitHub on 3 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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Infrastructure 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.

More from transilienceai/communitytools

  1. Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

    • Open source
    • 641 GitHub stars
    • Security
  2. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  3. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through Solidity smart contract security testing and blockchain CTF

    • Open source
    • 641 GitHub stars
    • Security