gonglingrui/screen-creative-skills/novel-truncator
Claude Code and agent skill by gonglingrui/screen-creative-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
智能截断文本,保持内容完整性。适用于小说文本预处理、确保文本不超过指定长度限制
Install
npx vskill@latest install gonglingrui/screen-creative-skills/novel-truncatorSKILL.md
文本截断工具(小说版)
功能
接收文本内容与最大长度限制,智能截断文本,保持内容完整性。
使用场景
- 对长篇小说文本进行预处理,使其符合长度限制。
- 在不破坏语义完整性的前提下,截取文本片段。
- 确保输入到其他智能体的文本不超过其处理能力。
截断原则
- 优先句子结束: 在句号、问号、感叹号处断开。
- 其次段落结束: 在空格、换行符处断开。
- 最后指定长度: 确保不超过设定的最大长度限制。
输入要求
- 文本内容: 待截断的原始文本(字符串)。
- 最大长度限制: 目标文本的最大字符数(整数)。
- 截断标记(可选): 用于标识文本截断位置的字符串,如 "[...]"。
输出格式
约束条件
- 截断过程应最大限度地保留原文的语义和语境完整性。
- 严格遵守最大长度限制。
- 避免在词语中间进行截断。
参考资料
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcategory/novel-screening/novel-truncator/SKILL.md
Popularity
- Repository stars
- 67
- Repository forks
- 23
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gonglingrui/screen-creative-skills/novel-truncator)