text-condenser SKILL.md skillA
text-condenser from zju-real/easel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zju-real/easel/text-condenser@git:20261012.0d53744Pins git:20261012.0d53744 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zju-real/easel
- Path
skills/builtin/text-condenser/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261012.0d53744, committed Oct 12, 2026
- Size
- 5,135 bytes
- Repository stars
- 4,469
- License
- Apache-2.0
字数裁剪/摘要:把长文本压缩到指定字数,保留核心信息。支持硬裁剪(严格字数)、 摘要(保留要点)、金句提取(只保留最精华的句子)三种模式。 特别适合从长文生成平台适配的短文。 使用时机:用户说"裁到 140 字"、"压缩一下"、"太长了"、"摘要"、"精简"、 "缩写"、"字数裁剪"、"帮我缩短"、"提炼要点"。 和 text-polisher 的区别:polisher 润色文案不改长度,condenser 压缩篇幅不做质量提升。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 字数裁剪/摘要 > 把长文本压缩到指定字数,保留核心信息,适配不同平台的字数限制。 ## 输入 | 字段 | 必填 | 说明 | |------|------|------| | `text` | 是 | 待压缩的原文 | | `target_length` | 否 | 目标字数(如 `140`、`280`、`500`);不指定则自动压缩到原文 30%-50% | | `mode` | 否 | 压缩模式:`strict` / `summary` / `extract`(默认 `summary`) | | `platform` | 否 | 目标平台(自动设定字数限制):`weibo`(140) / `twitter`(280) / `xiaohongshu`(1000) / `zhihu_answer`(自由) | | `preserve` | 否 | 必须保留的关键信息/关键词列表 | | `tone` | 否 | 压缩后的语气倾向:`neutral`(默认)/ `punchy`(有力)/ `soft`(柔和) | ### 压缩模式说明 | 模式 | 行为 | 适用场景 | |------|------|----------| | `strict` | 严格控制在目标字数 ±5%,逐字斟酌 | 有硬性字数限制的平台(微博、Twitter) | | `summary` | 保留所有要点,允许字数浮动 ±15% | 生成摘要、文章导语 | | `extract` | 只提取原文中最精华的原句,不改写 | 金句提取、精华摘录 | ## 输出 - 压缩后的文案 - 压缩报告:原文字数、目标字数、实际字数、压缩率、保留的核心要点列表 - 写入 `outputs/` 目录 ## 执行步骤 > **字数以脚本为准**:字数统计和达标判定一律用 `skills/shared/scripts/wordcount.py`, > 不靠自己数。LLM 负责改写,脚本负责判定。 > 社媒计数口径(`social_count`)= 中文字符 + 英文单词 + 数字串 + 标点。 ### Step 1 — 原文分析 1. 统计原文字数:`python3 skills/shared/scripts/wordcount.py count -f <原文>`(或经 stdin 传入) 2. 提取核心信息结构: - 中心论点 / 核心事实 - 关键论据 / 支撑数据 - 次要信息 / 补充说明 - 修饰性内容 / 过渡句 3. 对每条信息标注优先级(P0 必留 / P1 尽量留 / P2 可删) ### Step 2 — 裁剪策略 根据保留率(目标字数 / 原文字数)选择策略: | 保留率 | 策略 | 说明 | …
Read the whole file at its exact version.
How to install
mdr add zju-real/easel/text-condenser@sha256:f9ee36b2495e1805The line at the top of this page pins the label git:20261012.0d53744, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zmu7sdamgzz3djn6)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5135 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zju-real/easel · 4,469 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zmu7sdamgzz3djn6 GET https://markdownregistry.com/api/v1/resolve?ref=zju-real/easel/text-condenser GET https://markdownregistry.com/api/v1/blob/f9ee36b2495e18055daa4a7e104cbb931aebc72c6b513f08a4b3ff9b22a54920
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.