infra-sync

infra-sync is a skill for Claude Code from agentic-community/mcp-gateway-registry. It costs 66 tokens per session (2,651 once invoked), scanned A, original, Apache-2.0.

A comparison guide for keeping Terraform and AWS CDK infrastructure definitions aligned. Terraform and CDK are tools that describe cloud resources in files so they can be created consistently.

In plain words
What is it for?
Use it to compare or synchronize ECS services, networking, storage, secrets, permissions, and configuration between the Terraform and CDK directories.
Why use it?
It identifies when the two infrastructure descriptions disagree, reducing the risk that different deployment methods create different systems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to compare or synchronize ECS services, networking, storage, secrets, permissions, and configuration between the Terraform and CDK directories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentic-community/mcp-gateway-registry/infra-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentic-community/mcp-gateway-registry --skill infra-sync
Clone the repo
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for infra-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/infra-sync/github.svg)](https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/infra-sync)
Your own site
<a href="https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/infra-sync"><img src="https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/infra-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for infra-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/infra-sync"><img src="https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/infra-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 156
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 218
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.02651
Opus 5 $0.00033 $0.01326
Sonnet 5 $0.00013 $0.00530
Haiku 4.5 $0.00007 $0.00265

Measured 10d ago against content hash 8f63ad532be6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

infra-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/infra-sync/SKILL.md · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Infrastructure Sync Skill

Use this skill when changes are made to either the Terraform (terraform/aws-ecs/) or CDK (infra/) infrastructure and the other needs to be updated to maintain parity.

When to Use

  • After modifying Terraform files in terraform/aws-ecs/
  • After modifying CDK files in infra/lib/registry/
  • When asked to check if Terraform and CDK are in sync
  • Before deploying to verify both IaC tools produce equivalent infrastructure

Input Modes

  1. Full Sync Check - Compare all resources across both IaC tools
  2. Targeted Sync - Compare a specific area (e.g., "sync ECS services" or "sync networking")
  3. Propagate Change - User made changes to one tool and wants the other updated

Workflow

Step 1: Identify the Source of Truth

Ask the user (or determine from context):

  • Which IaC tool was just modified? (Terraform or CDK)
  • Is this a full sync check or targeted to a specific area?

Step 2: Read Both Configurations

Read the relevant files from both Terraform and CDK based on the comparison area.

File Mapping (Terraform to CDK)
Comparison Area Terraform Files CDK Files
ECS Services terraform/aws-ecs/modules/mcp-gateway/ecs-services.tf infra/lib/registry/registry-service-stack.ts
Networking terraform/aws-ecs/modules/mcp-gateway/networking.tf, terraform/aws-ecs/vpc.tf infra/lib/registry/registry-network-stack.ts, infra/lib/registry/registry-service-stack.ts (ALB section)
Storage (EFS) terraform/aws-ecs/modules/mcp-gateway/storage.tf infra/lib/registry/registry-service-stack.ts (EFS section)
Storage (DocumentDB) terraform/aws-ecs/documentdb.tf infra/lib/registry/registry-data-stack.ts, infra/lib/registry/constructs/documentdb-cluster.ts
Secrets terraform/aws-ecs/modules/mcp-gateway/secrets.tf infra/lib/registry/registry-service-stack.ts (secrets section)
IAM terraform/aws-ecs/modules/mcp-gateway/iam.tf infra/lib/registry/constructs/registry-ecs-service.ts (task roles)
Keycloak terraform/aws-ecs/keycloak-ecs.tf, terraform/aws-ecs/keycloak-*.tf infra/lib/registry/registry-auth-stack.ts, infra/lib/registry/constructs/keycloak-service.ts
Observability terraform/aws-ecs/modules/mcp-gateway/observability.tf infra/lib/registry/constructs/observability-pipeline.ts
CloudFront/WAF terraform/aws-ecs/cloudfront.tf, terraform/aws-ecs/waf.tf infra/lib/registry/registry-cdn-stack.ts, infra/lib/registry/constructs/cloudfront-distribution.ts, infra/lib/registry/constructs/waf-rules.ts
Secret Rotation terraform/aws-ecs/secret-rotation.tf infra/lib/registry/registry-ops-stack.ts, infra/lib/registry/constructs/secret-rotation.ts
CI/CD terraform/aws-ecs/codebuild.tf infra/lib/registry/registry-build-stack.ts, infra/lib/registry/constructs/codebuild-pipeline.ts
Variables/Config terraform/aws-ecs/variables.tf, terraform/aws-ecs/modules/mcp-gateway/variables.tf infra/lib/registry/registry-config.ts, infra/config.yaml
Monitoring terraform/aws-ecs/cloudwatch-alarms.tf, terraform/aws-ecs/modules/mcp-gateway/monitoring.tf infra/lib/registry/registry-service-stack.ts (monitoring section)

Read the full file on GitHub · 221 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 221 lines · 66 tokens per session scan A 8f63ad532be6

Subscribe to this mod's changes

infra-sync is a skill published in the GitHub repository agentic-community/mcp-gateway-registry (903 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 2,651 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cost-optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

wshobson/agents · 48 tokens

hybrid-cloud-networking

Configure secure, high-performance connectivity between on-premises infrastructure and cloud platforms using VPN and dedicated connections. Use when building hybrid cloud architectures, connecting data centers to cloud, or implementing secure cross-premises networking.

wshobson/agents · 47 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

multi-cloud-architecture

Design multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, GCP, and OCI. Use when building multi-cloud systems, avoiding vendor lock-in, or leveraging best-of-breed services from multiple providers.

wshobson/agents · 52 tokens

terraform-module-library

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

wshobson/agents · 44 tokens

service-mesh-observability

Implement comprehensive observability for service meshes including distributed tracing, metrics, and visualization. Use when setting up mesh monitoring, debugging latency issues, or implementing SLOs for service communication.

wshobson/agents · 43 tokens