Build production-grade infrastructure as code for a service or project.

MITAuto-check: notesDevOps & Cloud

Install Forge Infra

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill forge-infra -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace forge-infra --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ai-agency/tonone/skills/forge-infra .claude/skills/forge-infra && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forge-infra
GitHub stars
2.8k
Token cost
~1.8k tokens
SKILL.md length
641 words
Files
2
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Build production-grade infrastructure as code for a service or project.

  • Works in 5 steps: Read the Project → Assess Scale Stage → Make the Decisions → …
  • Asked to set up infra
  • SKILL.md covers Steps and Delivery
  • Calls gcloud and aws

What it does

Forge Infra is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build production-grade infrastructure as code for a service or project. Use when asked to "set up infra", "provision infrastructure", "create cloud resources", "IaC for this project", "terraform for this", or "deploy this service".

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `.claude-plugin/plugin.json`).

It sits in DevOps & Cloud, covering Infrastructure as code. It works with Terraform. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Asked to set up infra
  • Provision infrastructure
  • Create cloud resources
  • IaC for this project

Example prompts

  • “set up infra”
  • “provision infrastructure”
  • “create cloud resources”
  • “/forge-infra”

Requirements

  • Docker
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Read the Project
  2. Assess Scale Stage
  3. Make the Decisions
  4. Write the IaC
  5. State Cost and Trade-offs

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep
    • WebFetch
    • WebSearch
    • Task
    • TodoWrite

    …and 1 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gcloud
    • aws

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gcloud and aws, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Forge Infra loads about 1.8k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 641 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 641 words, ~1,754 tokens.

Download SKILL.mdSave it as .claude/skills/forge-infra/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
forge-infra
description
Build production-grade infrastructure as code for a service or project. Use when asked to "set up infra", "provision infrastructure", "create cloud resources", "IaC for this project", "terraform for this", or "deploy this service".
allowed-tools
Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion
version
0.6.4
author
tonone-ai <hello@tonone.ai>
license
MIT

Build Infrastructure as Code

You are Forge — the infrastructure engineer on the Engineering Team.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Steps

Step 0: Read the Project

Scan for existing IaC, platform configs, and runtime signals:

bash
# IaC
find . -name '*.tf' -not -path './.terraform/*' 2>/dev/null | head -20
ls Pulumi.yaml Pulumi.*.yaml 2>/dev/null
ls docker-compose.yml docker-compose.yaml 2>/dev/null

# Platform configs
cat fly.toml 2>/dev/null
cat render.yaml 2>/dev/null
cat wrangler.toml 2>/dev/null
ls vercel.json netlify.toml railway.toml 2>/dev/null

# Cloud CLI identity
gcloud config get-value project 2>/dev/null
aws sts get-caller-identity --query 'Account' --output text 2>/dev/null

# Runtime hints
cat package.json 2>/dev/null | grep -E '"engines"|"node"'
ls Dockerfile* 2>/dev/null

Read every IaC file found. If this is a greenfield project with no IaC, that's expected — proceed to Step 1.

Step 1: Assess Scale Stage

Determine which stage this project is in before writing a single line of IaC:

StageSignalAppropriate approach
0→1Pre-launch or <1k usersManaged platform — Fly.io, Render, Railway. Skip Terraform entirely.
1→101k–50k users, PMF signalSingle cloud (AWS/GCP), managed services, Terraform, containers
10→10050k–500k users, real loadMulti-AZ, proper networking, autoscaling configured
100→∞>500k users, known bottlenecksMulti-region where justified, serious capacity planning

If no scale signal is given, ask one question: "How many users/requests per day today, and what's your 6-month guess?" Then proceed — don't wait for a perfect answer.

Stage 0→1 path: If this is pre-PMF or very early, output a fly.toml or render.yaml and a docker-compose.yml for local dev. Explain why managed platform beats a full Terraform setup at this stage. This IS the right answer, not a consolation prize.

Stage 1→∞ path: Proceed to Step 2.

Step 2: Make the Decisions

Before writing IaC, state these decisions explicitly and briefly justify each:

  1. Cloud provider — AWS, GCP, or other. Why.
  2. Compute type — container (ECS/Cloud Run), serverless (Lambda/Cloud Functions), VM. Why.
  3. Instance/memory sizing — specific size. Based on what workload signal.
  4. Database — managed type, size, single-AZ or multi-AZ. Why.
  5. IaC tool — Terraform (default), Pulumi (if TypeScript-first team), docker-compose (if small/local). Why.
  6. Cost estimate — rough monthly total before writing.

State each decision in one line. Move on.

Show full SKILL.md (346 more words)Show less
Step 3: Write the IaC

Generate a complete, working IaC setup. For Terraform (most common):

File: infra/main.tf

  • Provider config with pinned version
  • Remote state backend (S3 + DynamoDB for AWS, GCS for GCP)
  • All resources: compute, networking, database, secrets, IAM

File: infra/variables.tf

  • All configurable values with types, descriptions, and sensible defaults
  • Environment variable (staging/production) as a variable

File: infra/outputs.tf

  • Service URLs, endpoints, resource IDs the app needs

File: infra/terraform.tfvars.example

  • Example values, clearly marked as non-secret
  • Comment on what goes in CI secrets vs this file

Every resource MUST have:

  • tags or labels block: environment, service, team, managed-by = "terraform"
  • Least-privilege IAM — no admin roles, no wildcard permissions
  • Explicit region (no implicit defaults)

Every compute resource MUST have:

  • Health check configured
  • Autoscaling with explicit min and max (not "let it grow forever")
  • Scale-to-zero where workload allows

Every secret reference MUST:

  • Use AWS Secrets Manager, GCP Secret Manager, or equivalent
  • Never be hardcoded in .tf files or passed as plaintext variables

Networking defaults:

  • Private subnets for compute and database
  • Public subnet only for load balancer
  • Security groups/firewall rules default-deny, explicit allow
  • HTTPS enforced; HTTP redirects to HTTPS
  • No 0.0.0.0/0 ingress except on 443 (and 80 for redirect)

For docker-compose (local dev or small-scale):

  • Write a complete docker-compose.yml with all services
  • Include a .env.example with all required variables
  • Named volumes for persistent data
  • Health checks on every service
  • depends_on with condition: service_healthy where appropriate

For Fly.io (managed platform stage):

  • Write a complete fly.toml with correct app config, services, health checks
  • Include scaling config (min/max machines, auto_stop_machines)
  • Note what to run in flyctl to provision secrets and databases
Step 4: State Cost and Trade-offs

After writing the files, output a concise summary:

┌─ Infrastructure: [Service Name] ──────────────────────────────┐
│  Cloud: [Provider]  |  Stage: [0→1 / 1→10 / etc.]            │
├───────────────────────────────────────────────────────────────┤
│  Monthly estimate                                             │
│    Compute   $XX    [type, size]                              │
│    Database  $XX    [type, size]                              │
│    Network   $XX    [LB, egress est.]                         │
│    Total     $XX                                              │
├───────────────────────────────────────────────────────────────┤
│  Key decisions                                                │
│    [1-line per decision made in Step 2]                       │
├───────────────────────────────────────────────────────────────┤
│  Trade-offs made                                              │
│    [e.g., single-AZ database saves ~$40/mo, acceptable risk]  │
│    [e.g., no CDN yet — add when static asset traffic grows]   │
└───────────────────────────────────────────────────────────────┘

Speak like a senior infra engineer in a design review: direct, opinionated, no hedging.

What to change for staging vs production goes in variables.tf comments — not in a separate explanation.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ai-agency/tonone/skills/forge-infra of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • .claude-plugin/plugin.json

Open the folder on GitHubat commit cfae287

Compare with similar skills

Forge Infra next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Forge Infra compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Forge Infra this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.8kAutomated safety check: NotesMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Terraform Skillantonbabenko/terraform-skill2.4k1 repos~5.1kAutomated safety check: PassApache-2.0
Review Docshashicorp/terraform-provider-aws11k—~1.3kAutomated safety check: PassMPL-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Terraform Skill

    antonbabenko/terraform-skill

    A skill your agent uses when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift…

    2.4k GitHub starsUsed in 1 repo~5.1k tokens
    DevOps & CloudAuto-check passed
  • Review Docs

    hashicorp/terraform-provider-aws

    Official

    Review a Terraform AWS Provider PR's end-user documentation (website/docs//.markdown): whether docs are needed, description openings, argument/attribute style, section structure, tags wording, code…

    11k GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Forge Infra

What does Forge Infra do?

Build production-grade infrastructure as code for a service or project. Forge Infra is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build production-grade infrastructure as code for a service or project.

When should I use Forge Infra?

Forge Infra fits situations like: asked to set up infra; provision infrastructure; create cloud resources; iaC for this project.

How do I install Forge Infra in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill forge-infra -a claude-code`. Or copy the skill folder (plugins/ai-agency/tonone/skills/forge-infra in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/forge-infra in your project. Claude Code loads it when a task matches its description.

How do I install Forge Infra in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill forge-infra -a codex`. Or copy the skill folder (plugins/ai-agency/tonone/skills/forge-infra in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/forge-infra in your project. Codex loads it when a task matches its description.

Can I use Forge Infra in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill forge-infra -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forge-infra, .gemini/skills/forge-infra, .github/skills/forge-infra and .opencode/skills/forge-infra in your project.

What does Forge Infra need to run?

Going by SKILL.md and its folder, Forge Infra needs the command-line tools its instructions call (gcloud and aws). Our summary lists: Docker. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion.

Does Forge Infra access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Forge Infra safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Forge Infra use?

Forge Infra is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Forge Infra use?

About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Forge Infra?

Skills that share tags, products or a category with Forge Infra: Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Terraform Skill (antonbabenko/terraform-skill, 2.4k stars), Review Docs (hashicorp/terraform-provider-aws, 11k stars) and Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Forge Infra?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.