mainframe-planning skillA
mainframe-planning is agent-read markdown (skill) from openhands/extensions: Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when preparing COBOL code for local execution or migration..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
Create a comprehensive transformation guide that maps each mainframe dependency to its standard COBOL replacement. This guide is a prerequisite for the actual transformation — DO NOT modify any code, only create the guide. ## Output Format Document each mainframe-specific construct with: 1. **Pattern**: The mainframe construct (e.g., `EXEC CICS READ FILE(...)`) 2. **Replacement**: The standard COBOL equivalent 3. **Error Handling**: How to replicate the mainframe's error behavior - Map CICS RESP/RESP2 codes to FILE STATUS equivalents - Specify which FILE STATUS values to check (e.g., 00=success, 23=not found, 35=file not exists) 4. **Resource Cleanup**: Any cleanup the replacement requires (CICS auto-manages resources; file I/O does not) 5. **Edge Cases**: Behavior differences between mainframe and standard COBOL ## Constructs to Address ### Data Operations (CICS/IMS/VSAM) - READ, WRITE, REWRITE, DELETE operations - STARTBR, READNEXT, READPREV (browse operations) - CICS error handling: HANDLE CONDITION, RESP/RESP2 options - VSAM → sequential or indexed file I/O ### UI/Terminal Operations (BMS maps, screens) - SEND MAP, RECEIVE MAP → these can be MOCKED or stubbed …
Read the whole file at its exact version.
How to install
mdr add openhands/extensions/mainframe-planning@git:20260306.cebd78bmdr add openhands/extensions/mainframe-planning@sha256:a6e64ed015955951Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_lvdf6vidjfk4drwx)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3057 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openhands/extensions · 150 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lvdf6vidjfk4drwx GET https://markdownregistry.com/api/v1/resolve?ref=openhands/extensions/mainframe-planning GET https://markdownregistry.com/api/v1/blob/a6e64ed015955951520b69e5e87e0aea6ec2693bacc6af60ba488a0a59c61c96
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.