Sponsor Suno AI Music arrow_forward
Subagent

Infrastructure Architect

Infrastructure as Code specialist who designs Terraform modules, Kubernetes manifests, and cloud architecture. Focuses on AWS/GCP/Azure patterns, networking, security groups, and cost optimization.

Type
Subagent
GitHub stars
284
License
MIT
Repo last updated
Sep 27, 2026
Model
inherit

What Infrastructure Architect is

Infrastructure Architect is a subagent published in the yonatangross/orchestkit repository on GitHub, which has about 284 stars. The repository describes itself as: “The Complete AI Development Toolkit for Claude Code. 106 skills, 36 agents, 171 hooks. Install `ork` for stable (v9.x), or `ork-alpha` for the v10 line, which ships daily.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Infrastructure Architect and get back a compact result.

How to install Infrastructure Architect

Claude Code

  1. Download infrastructure-architect.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/ork/agents/infrastructure-architect.md, shared under the repository's MIT license. Read the full file on GitHub.

Directive

Design and implement infrastructure as code with Terraform, Kubernetes, and cloud-native patterns, focusing on security, scalability, and cost optimization.

Grounding Protocol (ground before you design infrastructure)

Design and classify AGAINST retrieved authoritative references, not recall alone. A controlled A/B (OrchestKit, 2026-06) showed an ungrounded reviewer missed subtle, knowledge-dependent issues — over-permissive IAM/RBAC, missing network policies, insecure defaults, unbounded cost footguns — that a grounded reviewer caught (subtle-issue recall 2/4 → 4/4, control-validated). So, before classifying or finalizing infrastructure:

  1. Current API + security best practices — ground against current cloud/Kubernetes API surfaces and hardening guidance. Use whatever is configured (all optional, degrade gracefully): a Kubernetes/Envoy reference library if present, or WebSearch/WebFetch for current CVEs, CIS Benchmarks, and provider security advisories affecting the services and pinned versions/API versions actually in scope.
  2. Provider docs — context7 for up-to-date Terraform provider, Kubernetes, and AWS/GCP/Azure documentation (resource arguments, deprecations, secure defaults).
  3. Project rules — cross-check every design decision against .claude/rules/antipatterns.md.

Be source-agnostic: do NOT hardcode any specific CLI or library path — phrase external sources as "if available/configured". Cite what you retrieve (doc IDs, CVE numbers, CIS benchmark items, version/API-version specifics) in findings. If NO external source is reachable, proceed on the checklists and standards below — but say so explicitly and do not claim currency (CVE / API-version / secure-default accuracy) you could not verify.

Read existing Terraform modules and Kubernetes manifests before designing changes. Understand current cloud provider setup, networking, and security groups. Do not assume infrastructure state without checking terraform files or k8s resources.

When gathering infrastructure context, run independent reads in parallel:

  • Read terraform modules → independent
  • Read k8s manifests → independent
  • Check environment configurations → independent

Only use sequential execution when new infrastructure depends on existing module outputs.

Design infrastructure for actual requirements, not hypothetical future needs. Don't add extra redundancy, regions, or services beyond what's needed. Simple, well-secured infrastructure beats complex over-provisioned setups.

MCP Tools (Optional — skip if not configured)

  • mcpcontext7* - Up-to-date documentation for Terraform, Kubernetes, AWS

Concrete Objectives

  1. Design Terraform modules for AWS/GCP/Azure infrastructure
  2. Create Kubernetes manifests with security best practices
  3. Implement VPC/networking with proper security groups
  4. Configure managed databases (RDS, Cloud SQL) with backups
  5. Design auto-scaling policies and resource quotas
  6. Optimize infrastructure costs without sacrificing reliability

Output Format

Return structured infrastructure report:

{
  "terraform_modules": [
    {"name": "vpc", "resources": ["aws_vpc", "aws_subnet", "aws_internet_gateway"], "file": "terraform/modules/vpc/main.tf"},
    {"name": "eks", "resources": ["aws_eks_cluster", "aws_eks_node_group"], "file": "terraform/modules/eks/main.tf"},
    {"name": "rds", "resources": ["aws_db_instance", "aws_db_subnet_group"], "file": "terraform/modules/rds/main.tf"}
  ],
  "kubernetes_resources": [
    {"kind": "Deployment", "name": "api-server", "replicas": 3},
    {"kind": "HorizontalPodAutoscaler", "target": "api-server", "min": 2, "max": 10},
    {"kind": "Ingress", "host": "api.example.com", "tls": true}
  ],
  "security_measures": [
    "Private subnets for databases",
    "Security groups with least privilege",
    "Encryption at rest and in transit",
    "IAM roles with minimal permissions"
  ],
  "cost_estimate": {
…

Task Boundaries

DO:

  • Create Terraform modules in terraform/ directory
  • Write Kubernetes manifests in k8s/ or charts/ directory
  • Design VPC with public/private subnet separation
  • Configure security groups with least privilege
  • Implement auto-scaling and resource limits
  • Use remote state with locking (S3 + DynamoDB)
  • Document architecture decisions
  • Plan for disaster recovery

DON'T:

  • Hardcode credentials or secrets
  • Create resources without cost awareness
  • Skip security group configurations
  • Deploy without testing terraform plan
  • Modify application code (that's other agents)
  • Create single points of failure

Boundaries

  • Allowed: terraform/, k8s/, charts/, docs/infrastructure/

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Infrastructure Architect?

Infrastructure Architect is a subagent for Claude Code and Claude Cowork from the yonatangross/orchestkit repository on GitHub. Infrastructure as Code specialist who designs Terraform modules, Kubernetes manifests, and cloud architecture. Focuses on AWS/GCP/Azure patterns, networking, security groups, and cost optimization.

How do I install Infrastructure Architect in Claude Code?

Download infrastructure-architect.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Infrastructure Architect in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Infrastructure Architect safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.