math-hwpx

Generate math problem sheets in HWPX format from structured JSON.

6|1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Canine89/hwpxskill-math --skill math-hwpx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: math-hwpx
Source: https://github.com/Canine89/hwpxskill-math/tree/main
Command: npx skills add https://github.com/Canine89/hwpxskill-math --skill math-hwpx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, numpy, matplotlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of math problem sheets in Hancom HWPX format (2-column layout) from a structured JSON, enabling educators to produce exam-style papers and simple worksheets without manual XML editing.

Core Features & Use Cases

  • Generate exam-style papers (default) with headers, 2-column layouts, and embedded formulas using hp:equation, including point allocations and multiple-choice options.
  • Produce simple worksheet sheets (via --exam-type worksheet) with a clean 2-column layout and optional graphs.
  • Graph support: automatically generates and embeds PNG graphs for problems that specify graph specs and includes them in the HWPX manifest.
  • Reuse and compatibility: leverages the existing hwpx skill tooling (validation, packaging, and metadata updates) to ensure a production-grade document.

Quick Start

Place your problems.json file and run the build script to generate exam.hwpx or worksheet.hwpx, as desired.

Frequently Asked Questions about math-hwpx

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

FAQPage Schema
How do I automatically generate math exam papers in HWPX format?

To generate math exam papers in HWPX format, provide a structured problem JSON to the build script. The Skill outputs a validated .hwpx file with headers, 2-column layouts, point allocations, and multiple-choice options using Hancom hp:equation syntax.

Can I create a simple math worksheet with a 2-column layout and embedded graphs?

Yes, you can create a simple worksheet with a 2-column layout and embedded graphs by passing the --exam-type worksheet flag. The Skill generates PNG graph images from problem specs and embeds them in the HWPX manifest.

What is the best way to add mathematical formulas to Hancom HWPX documents without manual XML editing?

The best way to add mathematical formulas to Hancom HWPX documents is to define inline and hard equations in a structured JSON. The Skill automatically applies Hancom hp:equation syntax to produce a validated document.

Does this HWPX worksheet generator support middle and high school exam formats?

Yes, the HWPX worksheet generator supports middle and high school exam formats. It enforces exam-type defaults, problem points, and multiple-choice options tailored for these educational levels.

Do I need numpy and matplotlib to generate graph images for my math problem sheets?

Yes, numpy and matplotlib are required dependencies to automatically generate and embed PNG graph images for math problem sheets. The Skill includes these images in the HWPX manifest during packaging.