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

scripts/launcher/preview-linux.sh

View on GitHub
#!/bin/bash
# claw-hwp local preview launcher (Linux)
# Place this next to a .hwp/.hwpx file and run. Or pass a file path.
set -e

cd "$(dirname "$0")"

FILE="${1:-}"
if [ -z "$FILE" ]; then
  FILE=$(ls -t *.hwp *.hwpx 2>/dev/null | head -1)
fi
if [ -z "$FILE" ] || [ ! -f "$FILE" ]; then
  echo "❌ No .hwp/.hwpx file found next to this script."
  echo "   Drop one in the same folder, or pass a path as argument."
  read -p "Press Enter to close..."
  exit 1
fi
FILE_ABS="$(cd "$(dirname "$FILE")" && pwd)/$(basename "$FILE")"

if ! command -v node >/dev/null 2>&1; then
  echo "❌ Node.js 18+ required. Install via your package manager or https://nodejs.org/"
  read -p "Press Enter to close..."
  exit 1
fi

SERVER=$(find "$HOME/.claude/plugins/cache" -path '*/claw-hwp/*/skills/hwp/scripts/preview-server.js' 2>/dev/null | sort -V | tail -1)
if [ -z "$SERVER" ]; then
  CACHE="$HOME/.claw-hwp-launcher"
  SERVER="$CACHE/scripts/preview-server.js"
  if [ ! -f "$SERVER" ]; then
    echo "⏬ First run — downloading preview server (~5MB) from GitHub..."
    mkdir -p "$CACHE"
    curl -fsSL https://codeload.github.com/DoHyun468/claw-hwp/tar.gz/main \
      | tar -xz -C "$CACHE" --strip-components=5 \
        claw-hwp-main/plugins/claw-hwp/skills/hwp/scripts \
      || { echo "❌ Download failed."; read -p "Press Enter to close..."; exit 1; }
  fi
fi

if ! curl -fsS -o /dev/null http://127.0.0.1:3737/__heartbeat 2>/dev/null; then
  echo "🚀 Starting preview server..."
  node "$SERVER" >/tmp/claw-hwp-preview.log 2>&1 &
  disown 2>/dev/null || true
  for i in 1 2 3 4 5 6 7 8; do
    sleep 0.3
    curl -fsS -o /dev/null http://127.0.0.1:3737/__heartbeat 2>/dev/null && break
  done
fi

URL_PATH=$(python3 -c "import urllib.parse,sys;print(urllib.parse.quote(sys.argv[1]))" "$FILE_ABS" 2>/dev/null \
  || printf '%s' "$FILE_ABS" | sed 's/ /%20/g')
URL="http://localhost:3737/?path=$URL_PATH"
echo "✅ Opening $URL"
xdg-open "$URL" 2>/dev/null || echo "Open this URL manually: $URL"
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: 197kUpdated 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