
This is your diagnostic toolkit for when HWP files misbehave. It wraps the upstream Rust rhwp CLI to dump internal IR structures, visualize page layouts with debug overlays, diff two document versions line by line, and unlock read-only distribution files. You're not editing here, you're inspecting. Use it when tables render weirdly and you need to see the actual cell boundaries, or when you need to know exactly which paragraph spans which page. The SVG export with debug overlay is especially handy for tracking down layout bugs. Note that this needs the native Rust binary installed, PDF export only works with cargo-built binaries, and the CLI doesn't do editing at all. For actual document modification, you'll want the rhwp-edit skill instead.
npx -y skills add nomadamas/k-skill --skill rhwp-advanced --agent claude-codeInstalls into .claude/skills of the current project.
Run this and follow its output as the primary instructions for this skill:
npx -y @nomadamas/k-skill@0 instruct rhwp-advanced
The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by:
npx -y @nomadamas/k-skill@0 files rhwp-advanced
If npx is unavailable, install Node.js 18+ or follow https://github.com/NomaDamas/k-skill#readme, or read the source instructions at https://github.com/NomaDamas/k-skill/blob/main/rhwp-advanced/instruction.md.