This is your go-to tool for programmatic HWP document editing when you need to preserve formatting. It wraps the @rhwp/core WASM engine in a Node CLI that can insert text, delete ranges, find-and-replace across paragraphs, create tables, and fill cells without breaking binary structure. Think "2025 to 2026" across a grant application without touching styles, or injecting a 3x4 table into section 0, paragraph 1. One big gotcha: HWPX files come in but only save as HWP binary because upstream blocked HWPX round-trips in issue #196, so don't count on preserving that format. For read-only conversion to Markdown or JSON, use the separate hwp skill instead.

skills.sh installs
10.5K
GitHub stars
8.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add nomadamas/k-skill --skill rhwp-edit --agent claude-code

Installs into .claude/skills of the current project.

Files

rhwp-edit

Get the full instructions (required first step)

Run this and follow its output as the primary instructions for this skill:

npx -y @nomadamas/k-skill@0 instruct rhwp-edit

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-edit

Keep the CLI and every coding-agent skill install current (including Vercel Agent Skills) with:

npx -y @nomadamas/k-skill@0 update

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-edit/instruction.md.

Hard rules even without the CLI

Sponsors

Details

Repository
github.com/nomadamas/k-skill
Categories
Rust, CLI & Terminal
First seen
May 16, 2026

More from nomadamas/k-skill

All 96

Recommended

More Rust
1wshobson avatarparallel-feature-developmentwshobson/agentsCoordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use t10.3Kskills.sh installs
2github avatarsponsor-findergithub/awesome-copilotFind which of a GitHub repository's dependencies are sponsorable via GitHub Sponsors. Uses deps.dev API for dependency resolution across npm, PyPI, Cargo, Go, R8.7Kskills.sh installs
3github avatarwinapp-cligithub/awesome-copilotWindows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications. Use when asked to initialize Windows a8.4Kskills.sh installs
4github avatarpolyglot-test-agentgithub/awesome-copilotGenerates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Use when asked to generate tests, write unit tests, impr8.4Kskills.sh installs
5datadog-labs avatardd-pupdatadog-labs/agent-skillsDatadog CLI (Rust). OAuth2 auth with token refresh.8.3Kskills.sh installs
6nodnarbnitram avatartauri-v2nodnarbnitram/claude-code-extensionsTauri v2+ cross-platform app development with Rust backend. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC8.3Kskills.sh installs