text-truncator

Community

Smartly truncate text while preserving meaning.

AuthorGongLingRui
Version1.0.0
Installs0

System Documentation

What problem does it solve?

智能截断工具在不丢失语义的前提下,将超长文本截断到指定长度,方便在各种输入限制下快速使用。

Core Features & Use Cases

  • 智能截断:优先在句号等标点处截断,尽量保持句子完整性。
  • 支持多语言:处理中文和英文文本,确保核心信息保留。
  • 快速集成:可批量处理文本、从文件读取并输出统计信息,适用于文档摘要、数据预处理等场景。

Quick Start

Use this tool to truncate a long text to 1000 characters while preserving sentence boundaries.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: text-truncator
Download link: https://github.com/GongLingRui/screen-creative-skills/archive/main.zip#text-truncator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.