oma-academic-writing
Draft and revise academic prose against a rubric, evidence, and
Convert Hangul HWP, HWPX, or HWPML documents to Markdown with
Claude Code
$ npx -y skills add first-fluke/oh-my-agent --skill oma-hwp --agent claude-code
Codex
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a codex -y
Cursor
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a cursor -y
Gemini CLI
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a gemini-cli -y
GitHub Copilot
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a github-copilot -y
OpenCode
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a opencode -y
Windsurf
$ npx skills add first-fluke/oh-my-agent --skill oma-hwp -a windsurf -y
name: oma-hwp description: Convert Hangul HWP, HWPX, or HWPML documents to Markdown with kordoc. Use for text, table, and image extraction from these formats.
Convert Korean HWP-family documents into readable Markdown or structured JSON while preserving document structure for LLM context, RAG, government-document review, or enterprise document processing.
1. Confirm the input path exists. 2. Confirm the extension is `.hwp`, `.hwpx`, or `.hwpml`. 3. Resolve output path or directory and default filename. 4. Check that `bun` is available.
1. **PREPARE**: Validate path, extension, size, output target, and requested format. 2. **ACQUIRE**: Detect source format and runtime availability. 3. **ACT**: Run `kordoc` with explicit output target and requested options. 4. **VERIFY**: Post-process Markdown and inspect structure for headings, tables, lists, images, and footnotes. 5. **FINALIZE**: Report output path, source format, and any conversion limitations.
| Failure | Recovery | |---------|----------| | `bun` or `bunx` unavailable | Ask user to install Bun | | Unsupported or mismatched format | Check extension and magic bytes, then route or stop | | Encrypted or DRM-locked document | Report limitation and request an accessible copy when needed | | Empty Markdown output | Treat as possible scanned-image content and recommend OCR outside this skill | | Complex merged tables | Accept flattened Markdown or HTML fallback as best effort | | Stale kordoc cache | Use `bunx kordoc@latest` or configured pinned version | | `Cannot find module "turndown"` from `flatten-tables.ts` | Run `bun install` in this skill's `resources/` directory (its `node_modules` is gitignored and absent on fresh clones) |
| Action | SSL primitive | Evidence | |--------|---------------|----------| | Validate file path and extension | `VALIDATE` | Input preflight in execution protocol | | Check runtime availability | `VALIDATE` | `bun --version` | | Select output target and format | `SELECT` | Output behavior and config | | Run converter | `CALL_TOOL` | `bunx kordoc@latest` | | Write output artifact | `WRITE` | Markdown or JSON output | | Flatten tables and strip PUA glyphs | `CALL_TOOL` | `resources/flatten-tables.ts` | | Inspect extraction quality | `VALIDATE` | Verification step | | Report result | `NOTIFY` | Final user-facing summary |
bunx kordoc@latest "{input_path}" -o "{output_path}"
# fresh clone: run `Ship 400+ commits a day. oh-my-agent (oma) turns Claude Code, Codex CLI, Cursor and 11 other coding agents into a team. A planner splits the work, engineers build in parallel, a reviewer checks the result, and a debugger fixes the root cause.
Draft and revise academic prose against a rubric, evidence, and
Evaluate system boundaries and architectural tradeoffs. Use for
Implement server APIs, authentication, and application data access.
Explore goals, constraints, and alternative approaches before
Coordinate assigned specialist tasks and handoffs manually. Use
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.