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 skills add DauQuangThanh/hanoi-rainbow --skill pli-migration-analyzergit clone --depth 1 https://github.com/DauQuangThanh/hanoi-rainbowWrote 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.
[](https://agentmods.dev/skills/dauquangthanh/hanoi-rainbow/pli-migration-analyzer)<a href="https://agentmods.dev/skills/dauquangthanh/hanoi-rainbow/pli-migration-analyzer"><img src="https://agentmods.dev/badge/skills/dauquangthanh/hanoi-rainbow/pli-migration-analyzer/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.
<a href="https://agentmods.dev/skills/dauquangthanh/hanoi-rainbow/pli-migration-analyzer"><img src="https://agentmods.dev/badge/skills/dauquangthanh/hanoi-rainbow/pli-migration-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00106 | $0.01277 |
| Opus 5 | $0.00053 | $0.00639 |
| Sonnet 5 | $0.00021 | $0.00255 |
| Haiku 4.5 | $0.00011 | $0.00128 |
Grade A, and why
pli-migration-analyzer 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PL/I Migration Analyzer
Analyzes legacy PL/I programs and generates Java migration strategies. Extracts business logic, data structures, procedures, and dependencies to produce actionable migration plans.
Workflow
1. Discover PL/I Programs
Find PL/I source files in the workspace:
find . -name "*.pli" -o -name "*.PLI" -o -name "*.pl1"
2. Analyze Program Structure
For each PL/I program, extract:
- Entry points: PROCEDURE OPTIONS(MAIN)
- Declarations: DCL statements (FIXED DECIMAL, FIXED BINARY, CHARACTER, BIT, structures)
- Procedures: Nested procedures and functions
- File operations: OPEN, READ, WRITE, CLOSE statements
- Exception handling: ON conditions (ENDFILE, ERROR, etc.)
- Dependencies: CALL statements, %INCLUDE directives
Use scripts for automation:
extract-structure.py <source_file>- Extract structural informationanalyze-dependencies.sh <directory>- Generate dependency graphestimate-complexity.py <source_file>- Estimate migration effort
3. Map to Java Design
Convert PL/I elements to Java:
- Structures → POJOs with appropriate types
- Procedures → Service methods
- File operations → Java I/O or database operations
- ON conditions → try-catch exception handling
- Arrays → Lists or arrays (adjust 1-based to 0-based indexing)
Critical Type Mapping:
FIXED DECIMAL(n,m)→BigDecimal(NEVER float/double)FIXED BINARY(n)→int,longCHARACTER(n)→StringBIT(1)→boolean
4. Generate Java Implementation
Create Java classes using:
generate-java-classes.py <data_structure_file>- Generate POJOs from structures
Ensure:
- BigDecimal for all financial calculations
- Proper exception handling (no GO TO)
- Array bounds adjustment (1-based → 0-based)
- String operations adjustment (SUBSTR is 1-based, substring is 0-based)
5. Produce Migration Report
Generate comprehensive report with:
- Program Overview: Purpose, entry points, complexity estimate
- Dependencies: Called procedures, included files, external references
- Data Structures: Tables with PL/I types and Java equivalents
- Business Logic Summary: Key algorithms and rules
- Java Design: Proposed classes, methods, packages
- Migration Estimate: Effort in person-days, risk assessment
- Action Items: Prioritized tasks with owners
What ships with it
14 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.
- assets/java-class-template.java 2.3 KB
- assets/migration-report-template.md 5.0 KB
- references/messaging-integration.md 11 KB
- references/performance-patterns.md 5.8 KB
- references/pli-reference.md 12 KB
- references/pseudocode-common-rules.md 2.3 KB
- references/pseudocode-pli-rules.md 9.6 KB
- references/testing-strategy.md 13 KB
- references/transaction-handling.md 11 KB
- scripts/analyze-dependencies.ps1 4.9 KB runs code
- scripts/analyze-dependencies.sh 5.2 KB runs code
- scripts/estimate-complexity.py 8.1 KB runs code
- scripts/extract-structure.py 9.0 KB runs code
- scripts/generate-java-classes.py 10 KB runs code
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.
- 11d ago First seen · 172 lines · 106 tokens per session scan A fa9d65730940
pli-migration-analyzer is a skill published in the GitHub repository DauQuangThanh/hanoi-rainbow (16 stars, last pushed 7mo ago), licensed MIT. It adds 106 tokens to every session and 1,277 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
spec-driven-development
Spec-first workflow where an executable, testable specification is written before code and becomes the single source of truth that tests verify against, flowing spec → acceptance criteria → tasks → implementation.
ospec-change
Create or advance a lightweight OSpec change using the classic fast workflow.
artifact-conventions
Defines preservation, format, and section rules for SDD specification artifacts (spec.md, plan.md, tasks.md, checklists). Use when editing feature-artifact files under specs/ / to prevent accidental corruption of cross-referenced IDs, priorities, and gating state.
plan-authoring
Reference material for writing implementation plans (technical context, architecture decisions, data models, API contracts, project-instructions alignment). Loaded on demand by plan-feature; not directly invokable.
task-generation
Reference material with the canonical task-format grammar and decomposition rules for plan-to-tasks expansion. Loaded on demand by generate-tasks; not directly invokable.
adr-authoring
Defines the canonical MADR format, lifecycle rules, numbering policy, and SAD catalog contract for standalone ADRs under specs/adrs/.