legacy-ibmi-program-analyzer

Analyze IBM i RPGLE, CLLE, and COBOL programs for control flow and file I/O.

Updated May 12, 2026
One-click install
npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-ibmi-program-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legacy-ibmi-program-analyzer
Source: https://github.com/wwa-lab/legacy-spec-factory/tree/main/.opencode/skills/legacy-ibmi-program-analyzer
Command: npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-ibmi-program-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, rpyc, pywin32, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill analyzes IBM i programs (RPGLE, CLLE, COBOL) to extract technical details like control flow, file I/O, external calls, and error handling. It helps prepare for modernization efforts by providing structured, reviewable knowledge.

Core Features & Use Cases

  • Technical Analysis: Extracts control flow, file I/O, external calls, and error handling from IBM i programs.
  • Modernization Preparation: Provides structured knowledge for modernization efforts, including BRD, gap analysis, and target architecture planning.
  • Use Case: Analyze a RPGLE program to document its subroutines, file I/O, and calls to external programs, preparing for a modernization project.

Quick Start

Run the legacy-ibmi-program-analyzer skill with the following command:

legacy-ibmi-program-analyzer --program myprogram.rpgle

Frequently Asked Questions about legacy-ibmi-program-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract control flow and file I/O details from RPGLE programs for modernization?

To extract control flow and file I/O details from RPGLE programs, analyze the source code to document subroutines and external calls. This provides structured technical knowledge for modernization preparation, including gap analysis and target architecture planning.

Can I analyze COBOL and CLLE programs alongside RPGLE for modernization preparation?

Yes, you can analyze COBOL and CLLE programs alongside RPGLE for modernization preparation. The analysis extracts technical details like external calls and error handling across all three IBM i languages to support comprehensive modernization efforts.

Do I need Python and specific libraries to parse IBM i program source code?

Yes, you need Python and RPG-specific libraries to parse and analyze IBM i program source code. The environment requires dependencies like rpyc and pywin32 to successfully extract technical details from RPGLE, CLLE, and COBOL files.

How do I document external calls and error handling in legacy IBM i programs?

To document external calls and error handling in legacy IBM i programs, run an analysis tool on the source file. This automatically extracts and structures the technical details, providing reviewable knowledge for business requirement documentation.

What is the best way to prepare structured knowledge for an IBM i modernization project?

The best way to prepare structured knowledge for an IBM i modernization project is to analyze the legacy programs to extract control flow and file I/O. This creates reviewable technical documentation for gap analysis and architecture planning.

What are the limitations when analyzing IBM i programs for technical details?

Limitations when analyzing IBM i programs include the strict dependency on Python and RPG-specific parsing libraries. The analysis focuses specifically on control flow, file I/O, external calls, and error handling, requiring complete source code availability.