MCPGateway: Skill for Claude Code

.agents/skills/infra-deploy/SKILL.md

infra-deploy is a skill for Claude Code from abdullah1854/MCPGateway. It costs 51 tokens per session (1,680 once invoked), scanned D, original, MIT.

A set of instructions for deploying software infrastructure on virtual private servers, Docker, and cloud platforms. A virtual private server is a rented remote computer used to run applications.

In plain words
What is it for?
Handling Docker packaging, VPS setup, SSH access, web-server and reverse-proxy configuration, HTTPS certificates, and production hosting.
Why use it?
It provides checks for builds, tests, environment variables, secrets, and production server setup before deployment.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is abdullah1854/MCPGateway's own configuration. It tells Claude Code how to work on MCPGateway itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MCPGateway configures →

Reuse

Borrowing it

Nothing to install: this file belongs to abdullah1854/MCPGateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/abdullah1854/MCPGateway/main/.agents/skills/infra-deploy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/abdullah1854/MCPGateway

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-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullah1854/mcpgateway/infra-deploy.svg)](https://agentmods.dev/skills/abdullah1854/mcpgateway/infra-deploy)
Your own site
<a href="https://agentmods.dev/skills/abdullah1854/mcpgateway/infra-deploy"><img src="https://agentmods.dev/badge/skills/abdullah1854/mcpgateway/infra-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,680 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00051 $0.01680
Opus 5 $0.00026 $0.00840
Sonnet 5 $0.00010 $0.00336
Haiku 4.5 $0.00005 $0.00168

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

Security

Grade D, and why

infra-deploy scanned grade D with 3 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 7d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

usermod -aG sudo deploy

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://get.docker.com | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
.agents/skills/infra-deploy/SKILL.md · 272 lines

How it starts

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

Infrastructure Deployment Protocol

When This Skill Activates

  • "Deploy this", "push to production", "setup server"
  • "Docker", "containerize", "docker-compose"
  • "VPS setup", "server configuration"
  • "Coolify", "nginx", "reverse proxy"
  • "SSL", "HTTPS", "Let's Encrypt"

Pre-Deployment Checklist

Before ANY Deployment:

# 1. Verify build works locally
npm run build  # or equivalent

# 2. Run tests
npm test

# 3. Check for env vars
cat .env.example  # Document required vars

# 4. Verify no secrets in code
grep -r "sk_live\|api_key\|password" --include="*.ts" --include="*.js" || echo "Clean"

Docker Deployment

Production Dockerfile (Node.js)

# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build

# Production stage
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production

# Non-root user for security
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 appuser

COPY --from=builder --chown=appuser:nodejs /app/dist ./dist
COPY --from=builder --chown=appuser:nodejs /app/node_modules ./node_modules
COPY --from=builder --chown=appuser:nodejs /app/package.json ./

USER appuser
EXPOSE 3000
CMD ["node", "dist/index.js"]

Docker Compose (Production)

version: '3.8'

services:
  app:
    build: .
    restart: unless-stopped
    environment:
      - NODE_ENV=production
      - DATABASE_URL=${DATABASE_URL}
    ports:
      - "3000:3000"
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
      interval: 30s
      timeout: 10s
      retries: 3
    deploy:
      resources:
        limits:
          memory: 512M
          cpus: '0.5'

  db:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: ${DB_NAME}
      POSTGRES_USER: ${DB_USER}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
    volumes:
      - postgres_data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  postgres_data:

Read the full file on GitHub · 272 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. 7d ago First seen · 272 lines · 51 tokens per session scan D fed45b50e3b7

Subscribe to this mod's changes

infra-deploy is a skill published in the GitHub repository abdullah1854/MCPGateway (15 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,680 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). 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