HWP Automation Tools

Extract HWP API PDFs into text and generate Idris2 specifications and modules.

2|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/twoLoop-40/HwpAutomation --skill hwp-automation-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: HWP Automation Tools
Source: https://github.com/twoLoop-40/HwpAutomation/tree/main/.claude/skills/hwp-automation-tools
Command: npx skills add https://github.com/twoLoop-40/HwpAutomation --skill hwp-automation-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates repetitive and complex tasks within HWP (Hangul Word Processor) documents, saving significant time and reducing manual effort. It allows for programmatic manipulation of HWP files, from creating documents to complex data extraction and organization.

Core Features & Use Cases

  • Document Creation & Editing: Generate new HWP documents, insert text, and create tables programmatically.
  • Data Extraction & Organization: Extract content from HWP files and organize it, such as splitting large documents into smaller ones based on specific criteria.
  • API Interaction: Leverages HWP's COM API for robust automation.
  • Use Case: Imagine you have a large HWP file containing multiple exam questions. This Skill can automatically split that single file into individual HWP files, one for each question, making them easier to manage and distribute.

Quick Start

Create a new HWP document, insert the text "Hello, HWP automation!", and then create a 3x3 table.

Frequently Asked Questions about HWP Automation Tools

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

FAQPage Schema
How do I automate HWP document processing tasks like text extraction and conversion?

HWP Automation Tools extracts content from HWP documents and converts it into structured formats like Idris2 specifications. It handles text extraction, parsing, and code generation for ActionTable, Automation API, and ParameterSet materials, with UTF-8-safe cross-platform support.

Can I extract data from HWP files and organize it programmatically?

Yes. The Skill uses HWP's COM API to extract and organize document content, supporting automated splitting of large files into smaller ones based on criteria and creation of indexed modules with cross-references.

What does the Skill require to extract HWP API documentation into code specifications?

The Skill requires pdfplumber and PyPDF2 for PDF extraction, plus Idris2 environment setup. It generates modules with constructors, toString mappings, and description fields while performing dependency checks and automated progress logging.

Does this automate creation and manipulation of HWP documents?

Yes. HWP Automation Tools generates new HWP documents, inserts text, creates tables, and programmatically manipulates document structure through COM API integration.

Can I use this Skill to split large HWP files into individual documents?

Yes. The Skill extracts content from large HWP files and organizes it by splitting into smaller documents based on specific criteria, such as separating exam questions into individual files.

What are the limitations when extracting HWP content for code generation?

The Skill requires specific document structures (ActionTable, Automation API, ParameterSet materials) and UTF-8 encoding. Complex nested content may require manual refinement, and extraction accuracy depends on source document formatting consistency.