mainframe-ops-app-server-safety

mainframe-ops-app-server-safety is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 39 tokens per session (679 once invoked), scanned A, a copy of ops-app-server-safety, MIT.

A safety check for local development servers and Docker Compose application stacks. Docker Compose is a tool for running related containers from one project configuration.

In plain words
What is it for?
Use it before starting, restarting, or stopping tools such as Vite, Next.js, Flask, Rails, Uvicorn, Gunicorn, or a Compose stack.
Why use it?
It helps avoid starting duplicate servers or stopping the wrong process when a matching service is already running.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before starting, restarting, or stopping tools such as Vite, Next.js, Flask, Rails, Uvicorn, Gunicorn, or a Compose stack.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-ops-app-server-safety
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 CATWILLgh/MAINFRAME --skill mainframe-ops-app-server-safety
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

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 mainframe-ops-app-server-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-ops-app-server-safety/github.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-ops-app-server-safety)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-ops-app-server-safety"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-ops-app-server-safety/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 mainframe-ops-app-server-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-ops-app-server-safety"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-ops-app-server-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 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.
Origin 94% copy Near-identical to another mod 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.00039 $0.00679
Opus 5.5 $0.00016 $0.00272
Sonnet 5.5 $0.00008 $0.00136
Haiku 4.5 $0.00004 $0.00068

Measured 13d ago against content hash 075e6518c466, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mainframe-ops-app-server-safety 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 13d 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.

Origin

This is a copy

94% identical to ops-app-server-safety — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/mainframe-ops-app-server-safety/SKILL.md · 74 lines

How it starts

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

Local application server safety

Discovery does not grant authority to start, stop, restart, or reconfigure a process. Use only the target and lifecycle requested by the active task.

Establish identity and lifecycle

Before launching a long-running process, resolve:

  • project root and expected working directory;
  • exact command, service, process manager, or Compose project;
  • expected user and relevant parent or process group;
  • listener port, socket, service name, or container when known;
  • intended lifetime: temporary verification, current task, or leave running;
  • readiness signal, log source, and graceful shutdown mechanism.

For a native process or managed service, read native-processes.md. For Docker Compose or a compatible Compose runtime, read compose.md. Do not apply one branch's lifecycle commands to the other.

Decide from observed state

  • If the exact intended instance is running and healthy, reuse it unless the task requires a restart or configuration change.
  • If a similar process is visible but ownership is not proven, do not stop it or start a conflicting instance. Report the missing identity evidence.
  • If the intended instance exists but is unhealthy, do not create a duplicate. Diagnose within scope and restart only when the task authorizes it.
  • If a resolved start was requested and no matching instance exists, launch it once without an extra approval round.
  • If stop or restart was requested but no exact instance exists, report that fact. Do not silently convert restart into a fresh start.

A matching name, occupied port, live PID, or running container is only one signal. It does not alone prove project ownership, health, or readiness.

Start or restart

Immediately before a signal or lifecycle command, revalidate the exact target. Prefer its documented process manager or graceful shutdown path. A restart request covers only the resolved instance, not similarly named processes, sibling services, or a broader stack.

Read the full file on GitHub · 74 lines

Files

What ships with it

2 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. 13d ago Changed 075e6518c466
  2. 1mo ago Changed · +5 tokens per session fb09e3a57ca6
  3. 1mo ago Changed · -20 tokens per session bc80ea8f6f78
  4. 2mo ago Changed · -57 lines · -24 tokens per session 509cbf108e7e
  5. 3mo ago First seen · 131 lines · 78 tokens per session scan A b47679b65bca

Subscribe to this mod's changes

mainframe-ops-app-server-safety is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 39 tokens to every session and 679 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to ops-app-server-safety, differing in 6 lines, and is treated as a copy.

Related

mainframe-ops-app-server-safety compared with skills from other repositories

mainframe-ops-app-server-safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mainframe-ops-app-server-safetyCATWILLgh/MAINFRAMESkill213d agoMITA39Claude Code, Codex
live-canvashamr0/liteagentsSkill283d agoApache-2.0A50Claude Code
docs-builderhamr0/liteagentsSkill283d agoApache-2.0A23Claude Code
releasehamr0/liteagentsSkill283d agoApache-2.0A19Claude Code
root-causehamr0/liteagentsSkill283d agoApache-2.0A56Claude Code
self-reviewhamr0/liteagentsSkill283d agoApache-2.0A20Claude Code
securityhamr0/liteagentsSkill283d agoApache-2.0A14Claude Code