infrastructure

A project operations guide for managing deployment environments and supporting services such as Docker, continuous integration, domains, TLS certificates, PostgreSQL, and Redis.

In plain words
What is it for?
Use it to map environments, check deployment and container configuration, manage domains and certificates, and operate the project's database, cache, and monitoring layer.
Why use it?
It provides a structured way to inspect the project's setup and verify live infrastructure before making changes that could affect data, access, or downtime.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/catwillgh/mainframe/infrastructure
Any agent
npx skills add CATWILLgh/MAINFRAME --skill infrastructure
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,210 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00060 $0.01210
Opus 5 $0.00030 $0.00605
Sonnet 5 $0.00012 $0.00242
Haiku 4.5 $0.00006 $0.00121

Measured 2d ago against content hash 2967d7788bb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

infrastructure scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

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

- Raw HTTP interaction: load `mainframe:curl-requests`.
adapters/claude-code/plugin/skills/infrastructure/SKILL.md · 105 lines

How it starts

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

Infrastructure operations

The primary session is the intended owner of this skill. Infrastructure work commonly crosses environment choice, credentials, downtime, data, and granted authority; do not delegate the whole operation merely to obtain specialist context. A recipient that does not own those decisions returns verified facts and the exact missing decision to its immediate caller instead of acting or addressing the end user.

Start with the project map

  1. Resolve the project root from the active repository, falling back to the current working directory only when there is no repository.
  2. If <project-root>/.agents/infrastructure.json exists, read it before infrastructure recon or action. It is the current topology map, not a log and not authority to mutate a resource.
  3. Select the environment named or implied by the agreed task. If two map entries remain plausible and choosing one changes infrastructure or data, resolve that ambiguity before acting.
  4. Read only the map's references whose purpose applies to the current operation. Resolve relative paths from the project root. A missing or escaping path is stale data, not permission to guess.
  5. Treat credentialRefs as names only. Load mainframe:secrets-handling before consuming credentials; never place values in the map, commands shown in chat, logs, or generated runbooks.

Read infrastructure-map.md before creating or changing the map. Use infrastructure.example.json as its shape; do not copy example values as project facts.

Establish current reality

The map is orientation, while the repository and live platform establish the current state. Inspect the relevant Dockerfile, Compose, CI, IaC, deployment, and environment-template files. For a remote operation, use the mapped access alias and perform the smallest read-only live check that distinguishes current state from stale documentation.

When the map conflicts with verified reality, reality wins. If repository edits are within the active task, correct the map after the relevant fact is established. Otherwise return the confirmed stale fact to the immediate caller. Do not update lastVerified merely because a JSON entry was read.

Read the full file on GitHub · 105 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 105 lines · 60 tokens per session scan A 2967d7788bb6

Subscribe to this mod's changes

infrastructure is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 11d ago), licensed MIT. It adds 60 tokens to every session and 1,210 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

discord-webhook

Send trading alerts, signals, and analysis summaries to Discord via webhook. Integrates with realtime-alert-pipeline, trading-brain, and trade-journal-analytics.

mahmoud20138/Tradecraft · 37 tokens

agentforge-protocol

Use when doing non-trivial coding with Hermes, OpenClaw, Claude Code, Codex CLI, or similar autonomous coding agents. Orchestrates Karpathy-style minimal-change discipline, grill-plan intake, TDD, systematic debugging, subagent-driven implementation, spikes, and pre-commit review into one end-to-end workflow.

Yat-mo/agentforge-protocol · 71 tokens

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens