Skip to content
Skill

Infrastructure agent

Sets up Docker, compose stacks, CI/CD and deploy configs for multi-agent builds

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

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Infrastructure agent

This skill gives the agent the role of an infrastructure owner for a project built by several cooperating agents. It covers per-service Dockerfiles with pinned base images, non-root users and health checks, a docker-compose stack wired by service names and environment variables, a shared env example file, and a Makefile with common stack commands.

It also covers a CI workflow that runs install, lint, build and test in order, pushing images only from the default branch, plus an nginx reverse proxy when frontend and backend share one origin. Ownership boundaries are explicit: the agent writes infrastructure files and does not modify application code, and production deploys, publishing images and destructive volume operations require separate approval.

The skill expects a service map, port assignments and API or data contracts from the orchestrating lead, and it reports completion only after an independent QE review. It declares Read, Write, Edit, Bash, Glob and Grep as its tools.

When your agent uses it

Build containerization, service orchestration, CI/CD and deployment configuration in native orchestrator dispatch or explicitly requested solo infrastructure work. Production actions require approval; load it when the orchestrator assigns this role or the user asks for it.

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 2 files (11 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 skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/infrastructure-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/infrastructure-agent &&
cp -R "$tmp/skills/roles/infrastructure-agent" ~/.claude/skills/infrastructure-agent &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/infrastructure-agent &&
cp -R "$tmp/skills/roles/infrastructure-agent" ~/.agents/skills/infrastructure-agent &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/infrastructure-agent &&
cp -R "$tmp/skills/roles/infrastructure-agent" ~/.cursor/skills/infrastructure-agent &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/infrastructure-agent 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/ivy00johns/Skill-Madness.git --path skills/roles/infrastructure-agent

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/infrastructure-agent &&
cp -R "$tmp/skills/roles/infrastructure-agent" ~/.copilot/skills/infrastructure-agent &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/roles/infrastructure-agent into your agent's skills folder as infrastructure-agent. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Container image setup
Writes per-service Dockerfiles with pinned versions, multi-stage builds, non-root users and health checks.
Compose stack orchestration
Defines a docker-compose stack with env-driven ports, service-name networking and health-gated startup.
CI pipeline configuration
Sets up a pull request workflow that runs lint, build and test in sequence and pushes images from the default branch.
Reverse proxy routing
Builds an nginx config that proxies API and WebSocket paths and serves a single-page frontend.
Developer command shortcuts
Provides Makefile or justfile targets for starting, stopping, rebuilding, tailing logs and resetting the stack.
Ownership-bound execution
Keeps changes to infrastructure files, leaves application code read-only and requires approval for production actions.

Good for

  • Containerize a backend and frontend with Docker and a compose file
  • Create a GitHub Actions workflow that lints, builds and tests on every pull request
  • Write an nginx config that serves a built frontend and proxies /api to the backend
  • Generate a .env.example listing every environment variable the services read
  • Add a Makefile with up, down, logs and clean targets for a local stack

Infrastructure agent FAQ

When does Infrastructure agent load?

It is meant for when an orchestrator assigns the infrastructure role or a user explicitly asks for it, and it is not auto-invoked.

Does Infrastructure agent change application code?

No. The skill states it does not modify application code and treats application source as read-only.

Can Infrastructure agent deploy to production on its own?

No. Production deploys, publishing images and destructive volume operations need separately scoped approval.

Which tools does Infrastructure agent use?

The skill declares Read, Write, Edit, Bash, Glob and Grep.

How do I install Infrastructure agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/infrastructure-agent to use it in all your projects, or to .claude/skills/infrastructure-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Infrastructure agent 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 Infrastructure agent?

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 agent?

The closest alternatives to Infrastructure agent are Container ops edho ferdian, AI team orchestration, Ci cd and automation, Ci cd and Enterprise agent ops.

Where this comes from

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

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools