rhwp-advanced

Inspect HWP internal IR structure and generate debug-overlay SVGs.

Updated May 1, 2026
One-click install
npx skills add https://github.com/seolcoding/k-parent-skill --skill rhwp-advanced-seolcoding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rhwp-advanced
Source: https://github.com/seolcoding/k-parent-skill/tree/main/rhwp-advanced
Command: npx skills add https://github.com/seolcoding/k-parent-skill --skill rhwp-advanced-seolcoding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HWP files often have undiagnosable layout breaks, hidden structural differences between versions, or read-only distribution locks that prevent editing, and users need a fast CLI-based way to inspect their internal structure, debug rendering issues, and unlock restricted files without manual GUI work.

Core Features & Use Cases

  • HWP Layout Debugging: Dump internal IR structure and generate debug-overlay SVGs to pinpoint where tables, paragraphs, or cells are breaking during render.
  • Version Comparison: Compare structural differences between two HWP/HWPX files line by line to track changes between document drafts.
  • Read-Only Unlock & Thumbnail Extraction: Remove distribution locks from read-only HWP files and extract embedded PrvImage thumbnails for quick previews.
  • Use Case: If a school notice HWP has a broken table layout, use this skill to dump its IR structure and identify the root cause of the misalignment.

Quick Start

Use the rhwp-advanced skill to dump the internal IR structure of your misaligned HWP file to identify the root cause of the layout break.

Frequently Asked Questions about rhwp-advanced

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

FAQPage Schema
How do I debug a broken HWP table layout without using a GUI?

To debug HWP layout breaks, you can dump the internal IR structure and generate debug-overlay SVGs to pinpoint exactly where tables, paragraphs, or cells are misaligning during render.

How do I compare structural differences between two HWP file drafts?

You can compare HWP file versions by running an IR diff command that tracks structural differences between two HWP or HWPX files line by line to identify draft changes.

Can I remove a read-only distribution lock from an HWP file?

Yes, you can unlock read-only HWP files by removing distribution locks, which allows you to edit restricted documents without manual GUI intervention.

How do I extract a thumbnail preview image from an HWP document?

You can extract embedded PrvImage thumbnails from HWP files to generate quick visual previews of your documents without opening them fully.

Do I need the rhwp CLI installed to inspect HWP internal structures?

Yes, you need the rhwp Rust CLI binary installed via cargo or a pre-built release, with PATH access to run subcommands like dump, ir-diff, thumbnail, and export-svg.

What is the best way to diagnose HWP rendering issues programmatically?

The best way to diagnose HWP rendering issues is by dumping the internal IR structure to identify the root cause of layout breaks in paragraphs, tables, or cells.