Claude Skill

win4r/lossless-claw-enhanced

lossless-claw-enhanced 是 lossless-claw 的分支,增加了中日韩文字令牌估算,提升 Claude Skill 和 OpenClaw 工作流中中文、日文和韩文文本的处理精度。

概览

Stars543
Forks109
语言TypeScript
最后更新2026-05-28
最近同步2026-07-03
前往 GitHub

仓库信息

拥有者win4r
仓库lossless-claw-enhanced
完整名称win4r/lossless-claw-enhanced
Repo ID1,194,145,716

安装这个 Skill

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

Registry 信息

类型openclaw_skill
质量分85/100
验证状态readme_parsed
最近验证2026-06-09
平台
ClaudeOpenClawCodex
能力
searchvideoterminalopenclawopenclaw-pluginopenclaw-skills
识别文件
README.mddocspackage.jsontest
配置键
PACKAGE_JSON
安装方式
  • 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

项目简介

基于 Martian-Engineering/lossless-claw 的分支,增加了对中日韩文字(CJK)的令牌估算支持,提升 Claude Skill 工作流中中文、日文和韩文文本的处理精度。

英文描述

Fork of Martian-Engineering/lossless-claw with CJK-aware token estimation

要点

  • 支持中日韩文字的令牌估算,提升文本处理精度
  • 基于 lossless-claw 的分支,增强语言支持
  • 兼容 OpenClaw 插件和技能
  • 基于 TypeScript 实现,确保可靠性

使用场景

  • 提升 Claude Skill 对中日韩文字的处理精度
  • 多语言 AI 工作流中的令牌估算
  • 增强 OpenClaw 插件对亚洲语言的性能

README 摘要

# 🦞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

话题

探索更多

数据来自 GitHub,同步时间:2026-07-03