Claude Skill

win4r/lossless-claw-enhanced

lossless-claw-enhanced is a fork of lossless-claw with CJK-aware token estimation, improving accuracy for Chinese, Japanese, and Korean text in Claude Skill and OpenClaw workflows.

Overview

Stars543
Forks109
LanguageTypeScript
Last pushed2026-05-28
Last synced2026-07-03
View on GitHub

Repository

Ownerwin4r
Repositorylossless-claw-enhanced
Full namewin4r/lossless-claw-enhanced
Repo ID1,194,145,716

Install this Skill

git clone https://github.com/win4r/lossless-claw-enhanced.git

Registry

Typeopenclaw_skill
Quality score85/100
Verificationreadme_parsed
Last verified2026-06-09
Platforms
ClaudeOpenClawCodex
Capabilities
searchvideoterminalopenclawopenclaw-pluginopenclaw-skills
Detected files
README.mddocspackage.jsontest
Config keys
PACKAGE_JSON
Install methods
  • git clone https://github.com/win4r/lossless-claw-enhanced.git
  • npm install
  • npx vitest run --dir test
  • npx vitest run test/estimate-tokens.test.ts

Summary

A fork of Martian-Engineering/lossless-claw that adds CJK-aware token estimation for improved accuracy with Chinese, Japanese, and Korean text in Claude Skill workflows.

Chinese description

基于 Martian-Engineering/lossless-claw 的分支,增加了对中日韩文字(CJK)的令牌估算支持

Key features

  • CJK-aware token estimation for accurate text processing
  • Fork of lossless-claw with enhanced language support
  • Compatible with OpenClaw plugins and skills
  • TypeScript-based implementation for reliability

Use cases

  • Improving Claude Skill accuracy with CJK text
  • Token estimation for multilingual AI workflows
  • Enhancing OpenClaw plugin performance with Asian languages

README excerpt

# 🦞lossless-claw-enhanced > [!WARNING] > **DEPRECATED — please use upstream instead** > > The two original differentiators of this fork — **CJK-aware token estimation** and **CJK trigram FTS search** — have both been merged into upstream [`Martian-Engineering/lossless-claw`](https://github.com/Martian-Engineering/lossless-claw) ([PR #344](https://github.com/Martian-Engineering/lossless-claw/pull/344), [PR #219](https://github.com/Martian-Engineering/lossless-claw/pull/219)). As of upstream `v0.11.x` there is no functional gap between this fork and upstream. > > This fork is at `0.5.3` and last adapted to OpenClaw `2026.4.14` — about 6 minor versions behind upstream. It will not be updated further. > > - **New users**: use [`Martian-Engineering/lossless-claw`](https://github.com/Martian-Engineering/lossless-claw) directly. It builds clean against current OpenClaw and includes all the CJK fixes this fork pioneered. > - **Existing users on OpenClaw 2026.5.x+**: switch to upstream. This fork no longer compiles against current OpenClaw (see [#32](https://github.com/win4r/lossless-claw-enhanced/issues/32)). Lossless Context Management plugin for [OpenClaw](https://github.com/openclaw/openclaw), based on the [LCM paper](https://papers.voltropy.com/LCM) from [Voltropy](https://x.com/Voltropy). Replaces OpenClaw's built-in sliding-window compaction with a DAG-based summarization system that preserves every message while keeping active context within model token limits. 中文配置文档: [docs/configuration.zh-CN.md](docs/configuration.zh-CN.md) ## Video Tutorial > Full walkthrough: installation, configuration, and hybrid retrieval internals. [![YouTube Video](https://img.shields.io/badge/YouTube-Watch%20Now-red?style=for-the-badge&logo=youtube)](https://youtu.be/m21PNaIW3N4) **https

Topics

Explore more

Data from GitHub. Synced on 2026-07-03