Skip to content

DoHyun468/claw-hwp / plugins/claw-hwp/skills/hwp

FileKindSize
SKILL.mdskill md101.9 KB
references/README.mdmarkdown834 B
references/equation-syntax.mdmarkdown5.9 KB
references/hwp-internals.mdmarkdown4.9 KB
references/hwp-object-placement.mdmarkdown5.8 KB
references/hwpx-edit-ops.mdmarkdown52.8 KB
references/hwpx-format.mdmarkdown14.8 KB
references/hwpx-object-placement.mdmarkdown7.1 KB
references/hwpx-style-spacing.mdmarkdown10.7 KB
references/rhwp-api.mdmarkdown15.8 KB
scripts/README.mdmarkdown2.4 KB
scripts/cell-inspect.jsscript4.9 KB
scripts/cell-patch.jsscript525.8 KB
scripts/create.jsexecutablebinary235.8 KB
scripts/extract_text.jsexecutablescript12.0 KB
scripts/hwpx-edit.jsscript292.7 KB
scripts/launcher/preview-linux.shexecutablescript2.0 KB
scripts/launcher/preview-mac.commandexecutablescript1.9 KB
scripts/launcher/preview-windows.batscript2.1 KB
scripts/make_seal.pyscript3.4 KB
scripts/pack.pyexecutablescript8.0 KB
scripts/package-lock.jsonmanifest2.0 KB
scripts/package.jsonmanifest298 B
scripts/preview-server.jsscript5.3 KB
scripts/preview-viewer.htmlother11.5 KB
scripts/preview-viewer.jsscript17.2 KB
scripts/references/chart-templates/chart-0.jsonconfig6.4 KB
scripts/references/chart-templates/chart-1.jsonconfig6.4 KB
scripts/references/chart-templates/chart-10.jsonconfig6.3 KB
scripts/references/chart-templates/chart-11.jsonconfig6.3 KB
scripts/references/chart-templates/chart-12.jsonconfig6.5 KB
scripts/references/chart-templates/chart-13.jsonconfig6.5 KB
scripts/references/chart-templates/chart-14.jsonconfig6.5 KB
scripts/references/chart-templates/chart-15.jsonconfig6.5 KB
scripts/references/chart-templates/chart-16.jsonconfig5.9 KB
scripts/references/chart-templates/chart-17.jsonconfig5.9 KB
scripts/references/chart-templates/chart-18.jsonconfig6.3 KB
scripts/references/chart-templates/chart-19.jsonconfig6.3 KB
scripts/references/chart-templates/chart-2.jsonconfig6.4 KB
scripts/references/chart-templates/chart-3.jsonconfig6.4 KB
scripts/references/chart-templates/chart-4.jsonconfig6.4 KB
scripts/references/chart-templates/chart-5.jsonconfig6.3 KB
scripts/references/chart-templates/chart-6.jsonconfig5.9 KB
scripts/references/chart-templates/chart-7.jsonconfig5.9 KB
scripts/references/chart-templates/chart-8.jsonconfig5.9 KB
scripts/references/chart-templates/chart-9.jsonconfig6.3 KB
scripts/secure-fill.mjsscript38.0 KB
scripts/templates/hancom_native_stub.hwpxbinary128.0 KB
scripts/unpack.pyexecutablescript2.5 KB
scripts/validate.pyexecutablescript3.7 KB
themes/arctic-frost.mdmarkdown777 B
themes/botanical-garden.mdmarkdown751 B
themes/desert-rose.mdmarkdown748 B
themes/forest-canopy.mdmarkdown755 B
themes/golden-hour.mdmarkdown778 B
themes/midnight-galaxy.mdmarkdown766 B
themes/modern-minimalist.mdmarkdown766 B
themes/ocean-depths.mdmarkdown758 B
themes/sunset-boulevard.mdmarkdown811 B
themes/tech-innovation.mdmarkdown729 B

references/equation-syntax.md

View on GitHub
# Hangul equation script reference (`append_equation`)

The `append_equation` op inserts a real Hangul Word Processor equation object
(the same equation engine the desktop editor uses), built from an equation
**script** string passed as `script`. Any token below renders the same as if
typed in the equation editor.

```bash
echo '{
  "path": "out.hwp",
  "operations": [
    {"type": "setup_document", "page_size": "a4"},
    {"type": "append_paragraph", "text": "근의 공식:"},
    {"type": "append_equation", "script": "x = {-b +- sqrt{b^2 -4ac}} over {2a}"},
    {"type": "append_equation", "script": "int _0 ^1 x^2 dx = 1 over 3", "size": 1200}
  ]
}' | node scripts/create.js
```

- `script` (required) — the equation script (tokens below). **Case-sensitive.**
- `size` (optional) — font size in HWP units/100 (1000 ≈ 10pt, default 1000).
- `color` (optional) — `#RRGGBB`, default `#000000`. · `align` (optional).
- Works for both `.hwp` and `.hwpx` output (from-scratch build). On an existing
  large `.hwp`, this routes through the rhwp serializer like `append_image`, so
  prefer it when building a new document (the equation object itself is fine —
  it's the big-form round-trip that's the constraint, not the equation).

## Basic rules
- Superscript `a^b` · subscript `a_b` · group with braces `{ }` (e.g. `e^{-x}`)
- Space `~` (wider `~~`) · column align `&` · row break `#`
- Example: `x = {-b +- sqrt{b^2 -4ac}} over {2a}` → quadratic formula

## Structure templates

| Kind | Tokens | Notes |
|---|---|---|
| Sub/superscript | `^{ }` up · `_{ }` down · `{ } LSUP { }` upper-left · `{ } LSUB { }` lower-left · `UNDEROVER { } _{ } ^{ }` over+under | |
| Fraction | `{ } over { }` | |
| Root | `sqrt { }` · `root n of x` (nth root) | |
| Big operators | `sum` `PROD` `COPROD` `INTER` `UNION` `BIGSQCAP` `BIGSQCUP` `BIGOPLUS` `BIGOMINUS` `BIGOTIMES` `BIGODIV` `BIGODOT` `BIGVEE` `BIGWEDGE` `BIGUPLUS` — all take `_{ } ^{ }` limits | e.g. `sum from {i=1} to n` or `sum _{i=1} ^n` |
| Integral | `int` `dint`(double) `tint`(triple) `oint`(contour) `odint` `otint` — `_{ } ^{ } { }` | |
| Limit | `lim _{ } { }` · `lim _{x -> 0}` · `lim _{ ->inf}` · `Lim` | `rightarrow` also works as → |
| Auto-size brackets | `LEFT ( RIGHT )` · `LEFT [ RIGHT ]` · `LEFT { RIGHT }` · `LEFT < RIGHT >` · `LEFT \| RIGHT \|` · `LEFT DLINE RIGHT DLINE` · `LCEIL RCEIL` · `LFLOOR RFLOOR` · `OVERBRACE { } { }` · `UNDERBRACE { } { }` | lowercase `left( right)` also works |
| Matrix | `matrix { & # & }`(no bracket) · `pmatrix`(parens) · `bmatrix`(brackets) · `dmatrix`(determinant bars) | `&`=column, `#`=row |
| Cases | `cases { & # & }` | |
| Vertical stack | `pile { # }` | |
| Long division | `LONGDIV { } { } { }` | |
| LCM/GCD ladder | `LADDER { & & # & & }` | |
| Relation (text over/under arrow) | `REL <arrow> { } { }` · `BUILDREL <arrow> { } { }` | arrows = `LRARROW` `lrarrow` `RARROW` `rarrow` `LARROW` `larrow` `EXARROW` |
| Accents | `vec { }` `dyad { }` `acute { }` `grave { }` `dot { }` `ddot { }` `under { }` `bar { }` `hat { }` `check { }` `arch { }` `tilde { }` `box { }` | e.g. `vec{a}` → →a |

## Symbols

### Greek lowercase
`alpha` `beta` `gamma` `delta` `epsilon` `zeta` `eta` `theta` `iota` `kappa` `lambda` `mu` `nu` `xi` `omicron` `pi` `rho` `sigma` `tau` `upsilon` `phi` `chi` `psi` `omega`

### Greek uppercase
`ALPHA` `BETA` `GAMMA` `DELTA` `EPSILON` `ZETA` `ETA` `THETA` `IOTA` `KAPPA` `LAMBDA` `MU` `NU` `XI` `OMICRON` `PI` `RHO` `SIGMA` `TAU` `UPSILON` `PHI` `CHI` `PSI` `OMEGA`

### Greek / special letters
`ALEPH`(ℵ) `hbar`(ℏ) `imath` `jmath` `ohm` `LITER`(ℓ) `WP`(℘) `IMAG`(ℑ) `ANGSTROM`(Å) `vartheta` `varpi` `varsigma` `varupsilon` `varphi` `varepsilon`

### Set / sum symbols
`SMALLSUM` `SMALLPROD` `SMCOPROD` `SMALLINTER`(∩) `CUP`(∪) `SQCAP` `SQCUP` `OPLUS`(⊕) `OMINUS`(⊖) `OTIMES`(⊗) `ODIV` `ODOT`(⊙) `LOR`(∨) `WEDGE`(∧) `SUBSET`(⊂) `SUPERSET`(⊃) `SUBSETEQ`(⊆) `SUPSETEQ`(⊇) `IN`(∈) `OWNS`(∋) `NOTIN`(∉) `LEQ`(≤) `GEQ`(≥) `SQSUBSET` `SQSUPSET` `SQSUBSETEQ` `SQSUPSETEQ` `<<` `>>` `<<<` `>>>` `PREC`(≺) `SUCC`(≻) `UPLUS`

### Operators / logic
`+-`(±) `-+`(∓) `TIMES`(×) `DIVIDE`(÷) `CIRC`(∘) `BULLET`(•) `DEG`(°) `AST`(∗) `STAR`(⋆) `BIGCIRC`(○) `EMPTYSET`(∅) `THEREFORE`(∴) `BECAUSE`(∵) `IDENTICAL`(≡) `EXIST`(∃) `!=`(≠) `DOTEQ`(≐) `image` `REIMAGE` `SIM`(∼) `APPROX`(≈) `SIMEQ`(≃) `CONG`(≅) `==` `ASYMP`(≍) `ISO` `DIAMOND`(◇) `DSUM` `FORALL`(∀) `prime`(′) `PARTIAL`(∂) `INF`(∞, lowercase `inf` also works) `LNOT`(¬) `PROPTO`(∝) `XOR` `NABLA`(∇) `DAGGER`(†) `DDAGGER`(‡)

### Arrows
`larrow`(←) `rarrow`(→, `rightarrow` also works) `uparrow`(↑) `downarrow`(↓) `LARROW`(⇐) `RARROW`(⇒) `UPARROW`(⇑) `DOWNARROW`(⇓) `udarrow`(↕) `lrarrow`(↔, `<=>` also ⇔) `UDARROW`(⇕) `LRARROW`(⇔) `NWARROW`(↖) `SEARROW`(↘) `NEARROW`(↗) `SWARROW`(↙) `HOOKLEFT`(↩) `HOOKRIGHT`(↪) `MAPSTO`(↦) `vert`(|) `DLINE`(‖)

### Misc symbols
`CDOTS`(⋯) `LDOTS`(…) `VDOTS`(⋮) `DDOTS`(⋱) `TRIANGLE`(△) `NABLA`(∇) `ANGLE`(∠) `MSANGLE` `SANGLE` `RTANGLE` `VDASH`(⊢) `DASHV`(⊣) `BOT`(⊥) `TOP`(⊤) `MODELS`(⊨) `LAPLACE` `CENTIGRADE`(℃) `FAHRENHEIT`(℉) `LSLANT` `RSLANT` `ATT` `HUND` `THOU` `WELL`(#) `BASE` `BENZENE`

## Examples
```
x = {-b +- sqrt{b^2 -4ac}} over {2a}            → quadratic formula
sum from {i=1} to n i^2 = {n(n+1)(2n+1)} over 6 → sigma sum
int _0 ^inf e^{-x} dx = GAMMA (1)               → integral · gamma
lim _{x rightarrow 0} {sin x} over x = 1        → limit
A = left [ matrix{1 & 0 # 0 & 1} right ]        → matrix
root 3 of x ~ oint _0 ^1 x dx                   → cube root · contour integral
vec{a} cdot bar{b} ~ THEREFORE ~ alpha != OMEGA → accents · symbols
```

> Verified: a 21-case sweep covering every structure template + symbol group
> above embeds as a native equation object and renders. The `script` string is
> embedded verbatim into the equation object, so the renderer treats it exactly
> as the editor would.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall