HwpForge: Instructions file for Claude Code

CLAUDE.md

HwpForge CLAUDE.md is an instructions file for Claude Code from ai-screams/HwpForge. It costs 2,164 tokens per session, scanned A, original, Apache-2.0.

Project instructions for HwpForge, a Rust library and command-line tool for working with Korean HWP and HWPX document formats. They describe its architecture, development commands, and current implementation status.

In plain words
What is it for?
Use them when developing, testing, or extending HwpForge, including its document codec, Markdown conversion, HWP5 conversion, command-line interface, and MCP bindings.
Why use it?
They give an agent the project context needed to make changes consistently and understand which document features are already supported.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is ai-screams/HwpForge's own configuration. It tells Claude Code how to work on HwpForge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything HwpForge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ai-screams/HwpForge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ai-screams/HwpForge/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ai-screams/HwpForge

Made for: Claude Code.

Wrote 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.

agentmods badge for HwpForge CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ai-screams/hwpforge/claude-md/github.svg)](https://agentmods.dev/instructions/ai-screams/hwpforge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ai-screams/hwpforge/claude-md"><img src="https://agentmods.dev/badge/instructions/ai-screams/hwpforge/claude-md/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.

agentmods 80×15 button for HwpForge CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ai-screams/hwpforge/claude-md"><img src="https://agentmods.dev/badge/instructions/ai-screams/hwpforge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,164 This file is loaded in full into every session.
When invoked 2,164 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.02164 $0.02164
Opus 5.5 $0.00866 $0.00866
Sonnet 5.5 $0.00433 $0.00433
Haiku 4.5 $0.00216 $0.00216

Measured today against content hash 9349aba66862, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

HwpForge CLAUDE.md 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 today.

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.

CLAUDE.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

구조 원칙: 이 파일은 매 세션 로드되는 얇은 인덱스다 — 상세는 아래 로딩 맵의 파일을 필요할 때 읽는다. 여기에 이력·상세를 다시 쌓지 말 것 (추가는 로딩 맵 대상 파일에).


Project Overview

HwpForge is a Rust library for programmatic control of Korean HWP/HWPX document formats, designed with LLM-first principles. The goal is to enable AI agents (like Claude Code) to generate Korean government proposal documents using natural language + Markdown + YAML style templates.

현재 crates.io published = 0.18.0 (2026-10-25, 원인마다 하나인 오류 코드·(명령, 코드) 종료 값, Core 깊이 32 decode 관문, 버려진 내용 CONTENT_LOST 보고, styled Markdown 구조·강조 보호와 내용 보존 평문 대체, 크레이트 간 caret 의존). 상태 스냅샷·에픽 이력 = .claude/guides/status.md.


로딩 맵 (필요할 때 읽는다 — 해당 작업 전 필독)

.claude/ 아래 문서는 유지관리자의 로컬 자료라 git 에 없다(공개 clone 에는 없음). 사용자용 agent 스킬은 skills/ 에 있다.

상황 (트리거) 읽을 파일
에픽/슬라이스 시작 · 현재 상태 인용 전 .claude/guides/status.md (스냅샷·deferred·lossy·Workspace Facts)
커밋·푸시·테스트 실행 전 .claude/guides/tooling.md (훅·nextest·lock·디스크 함정)
새 타입/API 설계 · 테스트 작성 .claude/guides/design-patterns.md (패턴 11종·크레이트 그래프·TDD·레퍼런스)
HWPX/HWP5 wire 구현·디버깅 전 .claude/guides/wire-gotchas.md (WG#1~41; 코드 예제판 = .docs/references/gotchas.md (RG#, 번호 독립))
릴리스·머지 큐·publish 검증 RELEASING.md (canonical — §8 운영 함정 포함)
에픽 정식 절차 .claude/rules/epic-workflow.md (자동 로드)
에이전트 경계/크레이트 규칙 root AGENTS.md → crates/AGENTS.md → 크레이트 로컬 (미추적 로컬 파일 — worktree 에서는 메인 체크아웃 경로로 읽는다)
내부 문서·계획·참조 자료 위치 .docs/README.md (git 밖, 인덱스)

Read the full file on GitHub · 107 lines

Changes

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.

  1. today Changed · +11 tokens per session 9349aba66862
  2. yesterday Changed · +2 lines · +71 tokens per session 124526079223
  3. 2d ago Changed · +2 lines · +114 tokens per session 5e95a5b984bc
  4. 12d ago Changed · +31 tokens per session a96529c647b4
  5. 21d ago Changed · +13 tokens per session 645fafa46112
  6. 22d ago Changed · -12 tokens per session 923151d10c4c
  7. 24d ago Changed · +36 tokens per session 9f45c7204643
  8. 1mo ago Changed · +2 lines · +125 tokens per session 5ba6a250b654
  9. 1mo ago Changed · -357 lines · -7,543 tokens per session 2078ad9c11f9
  10. 1mo ago First seen · 458 lines · 9,318 tokens per session scan A b582c41b12bb

Subscribe to this mod's changes

HwpForge CLAUDE.md is an instructions file published in the GitHub repository ai-screams/HwpForge (20 stars, last pushed today), licensed Apache-2.0. It adds 2,164 tokens to every session, about $0.0087 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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens