← Back to Skills Marketplace
u5bf

以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。

by u5bf · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
136
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install classical-chinese-v1
Description
以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。
README (SKILL.md)

\r \r

文言压缩(省 Token)\r

\r

核心原则\r

\r 以文言代白话,最大化信息密度。省 token 为首要目标,可读性按需妥协。\r \r

压缩等级\r

\r | 等级 | 命令 | 目标节省 | 规则 |\r |------|------|----------|------|\r | 极致 | /e | 50%+ | 能一字不两字,省主语/虚词/关联词 |\r | 适度 | /m | 30-40% | 简练文言,保基本可读(默认) |\r | 轻微 | /l | ~20% | 浅白文言,优先可读 |\r \r 默认 /m。用户可在首句指定,如"【极致】解释递归"。\r \r

使用流程\r

\r

  1. 识别等级(/e /m /l 或默认 /m)\r
  2. 转写为文言(调用 references/compression_rules.md)\r
  3. 技术内容原文保留(代码、路径、专有名词、错误信息)\r
  4. 估算压缩率(见下)\r \r

量化验证\r

\r 回复后简记:[原~N字→文~M字,省X%]\r

  • 若节省 \x3C 预期下限,等级不变,下次更精简\r
  • 若节省 > 预期上限,可适当放宽\r \r

边界处理\r

\r

用户输入为文言\r

直接以同档或更高压缩等级回复,无需转换。\r \r

专有名词\r

  • 已知:框架/库/品牌名 → 保留原文(React, Python, Git)\r
  • 未知:新产品/概念 → 音译或原文,必要时加注\r \r

歧义处理\r

  • 文言多义时,优先取最简义\r
  • 关键术语首次用原文括注:功能→功能(function)\r \r

连续对话\r

  • 切换等级须显式标注\r
  • 上下文已建立的文言术语保持一致\r
  • 追问若需详细解释,可临时降一档\r \r

低压缩例外\r

\r 以下情况可临时降档:\r

  • 复杂逻辑首次解释\r
  • 错误诊断需清晰步骤\r
  • 用户明确要求详细\r \r 降档时注明:[降档说明]\r \r

技术内容保护\r

\r 以下原文不译:\r

  • 代码、变量名、函数名、类名\r
  • 路径、URL、端口号\r
  • 错误代码、日志内容\r
  • 公式、数字、版本号\r
  • JSON/XML/HTML 等标记语言\r
Usage Guidance
This skill is internally consistent and low-risk: it only contains rules for compressing text into classical Chinese and does not access credentials or external systems. Before enabling broadly, try several representative prompts (including technical instructions, error messages, and code) to confirm the chosen compression level preserves the details you need—especially for the /e extreme mode which purposely sacrifices readability for token savings. Avoid using it on sensitive legal/medical/security instructions without manual review. If you rely on fully faithful technical output, prefer /m or /l and verify the '[原~N字→文~M字,省X%]' summary the skill appends.
Capability Analysis
Type: OpenClaw Skill Name: classical-chinese-v1 Version: 1.0.0 The skill is a utility designed to compress AI responses using Classical Chinese (Wenyanwen) to save tokens. It contains translation rules and instructions for the agent to maintain technical accuracy (preserving code, paths, and variables) while increasing information density, with no evidence of malicious intent, data exfiltration, or unauthorized execution across SKILL.md and references/compression_rules.md.
Capability Assessment
Purpose & Capability
Name, description, and required artifacts match: the skill is an instruction-only compressor to produce classical-Chinese outputs and only references an included rules file. It declares no binaries, env vars, or other resources that would be unexpected for this purpose.
Instruction Scope
SKILL.md gives concrete conversion rules, preserves code/paths/versions, and asks the agent to report compression stats. The only caution: the skill explicitly makes 'token saving' the primary goal and permits aggressive, lossy compression (especially at /e). That is coherent with the stated purpose but may remove nuance or clarity for sensitive/technical explanations despite the stated preservation rules—test on representative content to ensure important details are not lost.
Install Mechanism
No install spec and no code files that run on the host; the skill is instruction-only, so nothing is written to disk or downloaded at install time.
Credentials
The skill requests no environment variables, credentials, or config paths—proportional and minimal for an output-formatting instruction set.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent presence or modify other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install classical-chinese-v1
  3. After installation, invoke the skill by name or use /classical-chinese-v1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Classical Chinese Compression skill v1.0.0 - Introduces a skill that rewrites output in concise Classical Chinese to save tokens. - Supports three compression levels: Extreme (/e), Medium (/m, default), and Light (/l), each with specific rules for brevity and readability. - Automatically preserves original text for technical content like code, proper nouns, paths, and error messages. - Includes an efficiency tracking system that compares original and compressed lengths to ensure token savings meet targets. - Provides clear guidelines for handling ambiguous wording, technical terms, and edge cases such as user input in Classical Chinese or requests for clarity.
Metadata
Slug classical-chinese-v1
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。?

以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 136 downloads so far.

How do I install 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。?

Run "/install classical-chinese-v1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。 free?

Yes, 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。 support?

以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 以文言文压缩输出、节省 token。当用户要求文言回复、节省 token、省输出时触发。支持三档:极致(/e/Extreme)、适度(/m/Medium)、轻微(/l/Light)。?

It is built and maintained by u5bf (@u5bf); the current version is v1.0.0.

💬 Comments