mainframe
Installation
SKILL.md
Mainframe
Overview
Use this skill when mainframe or legacy-system work needs shell automation, structured command output, or reusable AI-agent tooling. The upstream repository, gtwatts/mainframe, describes an AI-native Bash runtime with pure Bash functions, LSP and MCP support, safe execution patterns, and bundled skills.
Compatibility: Bash, LSP, MCP, and mainframe or legacy automation workflows.
Workflow
- Identify the automation target: source inventory, log parsing, dependency extraction, command orchestration, or migration support.
- Prefer read-only commands while discovering system state, datasets, source files, job logs, and generated artifacts.
- Use structured output formats for agent consumption, especially JSON, delimited tables, and deterministic file paths.
- Wrap fragile shell operations with explicit checks, dry-run modes, idempotency guards, and clear error reporting.
- For migration work, use automation to collect evidence and prepare repeatable steps rather than silently transforming source systems.