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.
npx agentmods add skills/catwillgh/mainframe/mainframe-infrastructurenpx skills add CATWILLgh/MAINFRAME --skill mainframe-infrastructuregit clone --depth 1 https://github.com/CATWILLgh/MAINFRAMEWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00079 | $0.01151 |
| Opus 5 | $0.00039 | $0.00575 |
| Sonnet 5 | $0.00016 | $0.00230 |
| Haiku 4.5 | $0.00008 | $0.00115 |
Grade A, and why
mainframe-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`. How it starts
The opening of the file, as written. The whole thing — 103 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
- Resolve the project root from the active repository, falling back to the current working directory only when there is no repository.
- If
<project-root>/.agents/infrastructure.jsonexists, read it before infrastructure recon or action. It is the current topology map, not a log and not authority to mutate a resource. - 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.
- Read only the map's
referenceswhosepurposeapplies to the current operation. Resolve relative paths from the project root. A missing or escaping path is stale data, not permission to guess. - Treat
credentialRefsas names only. Loadmainframe-secretsbefore 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.
What ships with it
15 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.
- agents/openai.yaml 246 B
- references/containers.md 3.0 KB
- references/data-stores.md 1.8 KB
- references/dokploy.md 8.0 KB
- references/dokploy/backups.md 2.8 KB
- references/dokploy/databases.md 2.7 KB
- references/dokploy/deploy-application.md 4.1 KB
- references/dokploy/deploy-compose.md 3.1 KB
- references/dokploy/domains-tls.md 2.4 KB
- references/dokploy/endpoint-map.md 2.4 KB
- references/dokploy/safety.md 3.7 KB
- references/dokploy/servers.md 2.7 KB
- references/infrastructure-map.md 2.2 KB
- references/infrastructure.example.json 753 B
- references/verification.md 1.9 KB
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.
- 2d ago First seen · 103 lines · 79 tokens per session scan A 766cf9b8518c
mainframe-infrastructure is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 12d ago), licensed MIT. It adds 79 tokens to every session and 1,151 once invoked, about $0.0004 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.
Other skills, from other repositories
cloud-run-basics
Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).
wrangler
Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over…
managing-astro-local-env
Manage local Airflow environment with Astro CLI (Docker and standalone modes). Use when the user wants to start, stop, or restart Airflow, view logs, query the Airflow API, troubleshoot, or fix environment issues. For project setup, see setting-up-astro-project.
aws-cloudformation-ecs
Provides AWS CloudFormation patterns for ECS clusters, task definitions, services, container definitions, auto scaling, blue/green deployments, CodeDeploy integration, ALB integration, service discovery, monitoring, logging, template structure, parameters, outputs, and cross-stack references. Use when creating ECS…
pentest-cloud-infrastructure
Cloud security posture management and container security assessment for AWS, Azure, GCP, and Kubernetes.
loom-kubernetes
Kubernetes deployment, cluster architecture, security, and operations. Use for manifests, Helm charts, RBAC, network policies, operators/CRDs, PodSecurityStandards, troubleshooting, and production best practices.