kordoc is a command-line tool and MCP server that reads Korean document formats and converts, compares, analyzes, fills, or generates them, including HWP, PDF, Office files, and images. Government workers and other users handling Korean documents use it to make their contents available as Markdown and automate document processing, while the catalogue entries provide integrations and workflows for coding agents.
Borrowing it
Nothing to install: this file belongs to chrisryugj/kordoc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chrisryugj/kordoc/main/.claude/skills/gongmunseo/SKILL.mdgit clone --depth 1 https://github.com/chrisryugj/kordocWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chrisryugj/kordoc/gongmunseo)<a href="https://agentmods.dev/skills/chrisryugj/kordoc/gongmunseo"><img src="https://agentmods.dev/badge/skills/chrisryugj/kordoc/gongmunseo/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chrisryugj/kordoc/gongmunseo"><img src="https://agentmods.dev/badge/skills/chrisryugj/kordoc/gongmunseo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00337 | $0.04746 |
| Opus 5.5 | $0.00135 | $0.01898 |
| Sonnet 5.5 | $0.00067 | $0.00949 |
| Haiku 4.5 | $0.00034 | $0.00475 |
Grade A, and why
gongmunseo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
공문서(公文書) 생성 스킬
내용·주제를 받아 한국 행정 공문서 표준 서식의 HWPX로 생성한다.
서식 표준은 행정안전부 「행정업무운영편람」·「행정업무의 운영 및 혁신에 관한 규정」 시행규칙 근거.
실제 렌더링(항목부호 행갈굼·여백·폰트)은 kordoc 공문서 모드(kordoc generate --preset)가 담당하므로,
이 스킬은 (1) 종류 판별 → (2) 구성 설계 → (3) 마크다운 작성 → (4) 게이트(윤문·구성 검수) 통과 → (5) 변환 → (6) 경로 안내 를 한다.
결재권자가 "사람이 생각해서 쓴 문서"로 읽게 하는 것이 목표다 — 서식보다 논리 구조와 문체가 먼저다.
절차
0. 견본이 있으면 이 스킬을 쓰지 않는다
사용자가 견본 HWPX/HWP 를 주며 "이 서식대로/똑같은 양식으로/이거처럼" 새 문서를 원하면 프리셋으로 다시 짜지 말고 견본을 고쳐 쓴다:
kordoc 견본.hwpx --keep-layout-tables -o 견본.md → 골격(표지·결재란 표, 제목, □·ㅇ·- 부호, 강조, 표 표기, 이미지 줄)은 두고 내용만 새로 쓴 마크다운 →
kordoc patch 견본.hwpx 새문서.md -o 새문서.hwpx → kordoc render 로 확인. HWPX 견본은 줄을 늘리고 줄여도 같은 부호 견본 문단 서식으로 들어간다.
(MCP: parse_document keep_layout_tables → patch_document → render_document)
1. 문서 종류 판별 → 프리셋
| 사용자 의도 | 프리셋 | 항목부호 | 비고 |
|---|---|---|---|
| 대외 공문/시행문 | 기안문 |
8단계 1. 가. 1) |
두문·본문·결문 |
| 정책·검토·결과 보고 | 보고서 |
불릿 □ ○ - ㆍ + 헤딩 |
개조식, 1건1매 |
| 사업·행사 계획 | 계획서 |
8단계 | 5W2H 골격 |
| 알림·통지·안내 | 통지 |
8단계 | 경어 종결 |
| 회의 기록 | 회의록 |
8단계 | 법정 9요소 |
| 중앙부처 업무보고·국회 서면보고 | 업무보고 |
□ ㅇ - * + 장 띠·절 숫자칸·① 항목 띠 |
재경부 실측(v4.14), 키워드 파랑 |
| 지방 방침서·추진계획(시장·부시장 방침) | 서울방침 |
□ ㅇ - ▸ ※ + [Ⅰ] 장 상자·절 띠·❶ 과제 |
서울시 시장방침 정답지 5건 실측 |
의도가 모호하면 AskUserQuestion으로 종류를 확인한다. (예: "보고서로 할까요, 대외 시행문(기안문)으로 할까요?")
보고서·계획서 계열이면 스타일을 반드시 먼저 묻는다 (AskUserQuestion 한 번):
- 정부(중앙부처) 스타일 →
업무보고— 표지·목차, 장 띠, 절 숫자칸, ① 항목 띠, 함초롬바탕 15 (재정경제부 업무보고 실측) - 지방(서울시) 스타일 →
서울방침— 제목표(파랑 부제·담당자 행)·요약박스, [Ⅰ] 장 상자, 절 띠, ❶ 과제, □ HY견고딕·ㅇ 한컴돋움 (서울시 시장방침 실측) - 1쪽 요약보고처럼 간단한 문서면
보고서도 선택지로 둔다. 기안문·통지·회의록은 법정 서식이라 묻지 않는다.
1-1. 구성 설계 — 쓰기 전에 논리부터 (보고서·계획서 계열 필수)
본문을 쓰기 전에 아래를 먼저 정한다. 상세 기준과 실측 근거는 references/logic.md.
- 보고 목적 한 문장(두괄식) — "무엇을, 어떻게 해서, 어떤 목표치로 하고자 함". 제목 바로 뒤
> …하고자 함요약이 된다. - 문서 꼴 → 뼈대 — 서론·본론·결론은 장 이름으로 드러낸다. "서론·본론·결론"이라고 쓰지 않는다.
- 개선방안 보고: 추진배경 → 현황 및 문제점 → 개선방안 → 추진일정·소요예산 → 기대효과 → 행정사항
- 추진계획: 추진배경·근거 → 추진개요(기간·장소·대상·예산) → 세부 추진계획 → 소요예산 → 추진일정 → 행정사항
- 검토보고: 검토배경 → 주요내용(쟁점) → 검토의견(대안 비교·권고안) → 조치계획
- 결과보고: 관련근거 → 개요 → 추진결과(실적·수치) → 성과와 한계 → 향후계획 장은 사안에 필요한 것만 둔다. 실결재는 장 3~5개로 짧다 — 빈 장을 채우려고 일반론을 쓰지 않는다.
- 논리 사슬 — 장과 장이 이어져야 설득된다.
- 배경은 사실로 연다: 지시(일자)·법령 개정(시행일)·민원·사고 건수. "급변하는 환경에 따라"로 열지 않는다.
- 문제점은 현상과 원인을 가른다: "야간 단속 공백(원인: 주간 순찰 인력 4명)".
- 문제점마다 방안 한 짝, 같은 순서로. 방안 첫머리에
(○○ 공백 해소)처럼 어느 문제에 답하는지 적는다. - 방안마다 대상·수량·기한 → 일정·예산 장에서 언제·얼마·누가가 닫힌다.
- 기대효과는 문제점에서 든 지표의 목표치("민원 412건 → 200건(51%↓)"). "만족도 향상·체감도 제고"는 쓰지 않는다.
- 결재권자 예상 질문에 문서가 미리 답하는지 본다: 왜 지금인가 · 근거 법령은 · 얼마 드나 · 누가 하나 · 다른 방법은(대안 비교) · 위험·반대는.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · +35 lines d8dfabf9d350
- 18d ago Changed · +7 lines · +51 tokens per session 7be2fd9a267f
- 29d ago Changed · +4 lines dc64a5554a7e
- 1mo ago Changed · +7 lines 5fac4808b4ea
- 1mo ago Changed · +1 lines 6df2f4df993b
- 2mo ago Changed · +13 lines be33e878c372
- 2mo ago First seen · 100 lines · 286 tokens per session scan A 4b5dca044e3c
gongmunseo is a skill published in the GitHub repository chrisryugj/kordoc (2,928 stars, last pushed yesterday), licensed MIT. It adds 337 tokens to every session and 4,746 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gongmunseo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gongmunseochrisryugj/kordoc | Skill | 2.9k | yesterday | MIT | A | 337 | Claude Code |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 1mo ago | MIT | A | 154 | Claude Code |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 1mo ago | MIT | C | 0 | Claude Code |
| hwpforge-submission-checkai-screams/HwpForge | Skill | 20 | yesterday | Apache-2.0 | A | 172 | Claude Code |
| hwpforgeai-screams/HwpForge | Skill | 20 | yesterday | Apache-2.0 | A | 209 | Claude Code |
| all2mdthomas-villani/all2md | Skill | 34 | yesterday | MIT | A | 181 | Claude Code, Codex |
| hwpxairmang/hwpx-plugins | Skill | 36 | 5d ago | Apache-2.0 | A | 65 | Codex |