# Kordoc Parse Pages

> Use when parsing only part of a Korean document with `npx` and kordoc. Trigger for requests such as extracting pages 1-3, reading selected pages from HWP, HWPX, or PDF, limiting work on large files, or running `kordoc:parse_pages` with a page-range string.

- **Type:** Skill
- **Install:** `agentstack add skill-composite-korean-skills-kordoc-parse-pages`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [composite](https://agentstack.voostack.com/s/composite)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [composite](https://github.com/composite)
- **Source:** https://github.com/composite/korean-skills/tree/jumo/skills/kordoc-parse-pages

## Install

```sh
agentstack add skill-composite-korean-skills-kordoc-parse-pages
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# kordoc: parse_pages

This skill maps directly to the `parse_pages` intent in `src/mcp.ts`. Use the public CLI.

## Input Requirements

- Require exactly one target document.
- Require the user to attach the document or provide a concrete local path.
- Accept only supported formats: `.hwp`, `.hwpx`, `.pdf`.
- Require an explicit page range such as `1-3` or `1,3,5-7`.
- Do not proceed if the document or page range is missing.

## Commands

```bash
npm exec --yes --package=kordoc --package=pdfjs-dist -- \
  kordoc /abs/path/document.hwpx --pages 1-3
```

```bash
npm exec --yes --package=kordoc --package=pdfjs-dist -- \
  kordoc /abs/path/document.hwpx --pages 1,3,5-7 --format json --silent
```

## Workflow

1. Resolve the document path to an absolute path.
2. Normalize the requested range such as `1-3` or `1,3,5-7`.
3. Use plain output for reading tasks.
4. Use JSON when the caller needs structured blocks or metadata.
5. Repeat the exact requested range in the answer.

## Guardrails

- PDF page selection is exact.
- HWP and HWPX page slicing is section-based and approximate.
- If the user asks for one page from a non-PDF document, warn about that approximation.
- Refuse to continue when no supported document was provided.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [composite](https://github.com/composite)
- **Source:** [composite/korean-skills](https://github.com/composite/korean-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-composite-korean-skills-kordoc-parse-pages
- Seller: https://agentstack.voostack.com/s/composite
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
