feat: add Korean language compression modes#215
Open
levx-me wants to merge 1 commit intoJuliusBrussee:mainfrom
Open
feat: add Korean language compression modes#215levx-me wants to merge 1 commit intoJuliusBrussee:mainfrom
levx-me wants to merge 1 commit intoJuliusBrussee:mainfrom
Conversation
Add Korean-specific caveman modes that compress Korean prose by dropping particles (μ/λ/μ΄/κ°/μ/λ₯Ό), using noun endings (ν¨/λ¨/νμ), and removing filler words, empty pleasantries, and hedging expressions. Changes: - skills/caveman/SKILL.md: Korean intensity levels, rules, and examples - hooks/caveman-config.js: korean modes in VALID_MODES whitelist - hooks/caveman-mode-tracker.js: /caveman korean command parsing + Korean per-turn reminder - hooks/caveman-activate.js: korean -> korean-full alias resolution - rules/caveman-activate.md: korean in switch line - evals/prompts/ko.txt: 10 Korean evaluation prompts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Hi, When Severity: remediation recommended | Category: correctness How to fix: Add korean-aware fallback text Agent prompt to fix - you can give this to your LLM of choice:
Qodo code review - free for open-source. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
β), honorific stripping (μ/μΌμ)/caveman koreancommand parsing, Korean per-turn reminder, alias resolution--lang koflag forrun.py, Korean prompts, resultsBenchmark Results
Korean caveman mode: 67% average token savings (range 57%β84%)
Model: claude-sonnet-4-20250514, 1 trial per prompt. Comparable to English caveman mode (65% avg).
Why
Current caveman rules are English-optimized (drop articles a/an/the, English filler words). Korean has no articles β compression requires targeting different grammar elements: particles, verb endings, connective endings, honorifics, and Korean-specific filler patterns. Same gap that wenyan modes fill for Classical Chinese.
What changed
skills/caveman/SKILL.mdhooks/caveman-config.jskorean-lite,korean,korean-full,korean-ultrainVALID_MODEShooks/caveman-mode-tracker.js/caveman korean[-lite|-full|-ultra]parsing + Korean per-turn reminderhooks/caveman-activate.jskoreanβkorean-fullalias resolutionrules/caveman-activate.mdkoreanadded to switch lineevals/prompts/ko.txtbenchmarks/run.py--lang kosupportbenchmarks/prompts_ko.jsonbenchmarks/results/Before / After
Before (caveman full, responding in Korean):
Inconsistent compression β English rules don't map to Korean grammar.
After (caveman korean-full):
Systematic compression targeting Korean-specific patterns.
Design decisions
π€ Generated with Claude Code