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
- Repository
- yonatangross/orchestkit
- GitHub stars
- 284
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/ork/agents/infrastructure-architect.md
- 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
- 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.
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.
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:
- 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.
- Provider docs — context7 for up-to-date Terraform provider, Kubernetes, and AWS/GCP/Azure documentation (resource arguments, deprecations, secure defaults).
- 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
- Design Terraform modules for AWS/GCP/Azure infrastructure
- Create Kubernetes manifests with security best practices
- Implement VPC/networking with proper security groups
- Configure managed databases (RDS, Cloud SQL) with backups
- Design auto-scaling policies and resource quotas
- 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
- Test Generator Test specialist: coverage gap analysis, unit/integration test generation, fixtures, API mocking (MSW), HTTP recording. Subagent · yonatangross/orchestkit
- Workflow Architect Multi-agent workflow: LangGraph pipelines, supervisor-worker patterns, state/checkpointing, RAG orchestration. Subagent · yonatangross/orchestkit
- Ui Feedback UI annotation and feedback processor. Watches for new annotations from agentation, maps element paths to source code, implements fixes… Subagent · yonatangross/orchestkit
- Web Research Analyst Web research: browser automation, Tavily API, competitive intelligence, documentation capture, technical recon. Subagent · yonatangross/orchestkit
- Llm Integrator LLM integration: OpenAI/Anthropic/Ollama APIs, prompt templates, function calling, streaming, token cost optimization. Subagent · yonatangross/orchestkit
- Git Operations Engineer Git operations: branch management, rebases, merges, stacked PRs, recovery operations, clean commit history. Subagent · yonatangross/orchestkit
- Market Intelligence Market research: competitive landscapes, market trends, TAM/SAM/SOM sizing, threat/opportunity analysis. Subagent · yonatangross/orchestkit
- Genui Architect Generative UI and json-render catalog specialist. Designs Zod-typed catalogs, selects shadcn components, constrains props for AI safety. Use when defining component catalogs or building AI-generated UIs. Subagent · yonatangross/orchestkit