Novel Truncator

Intelligently truncate text while preserving content integrity. Suitable for novel text preprocessing, ensuring text does not exceed specified length limits

514 stars 86 forksWriting & Content

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add VanGong1999/screen-creative-skills --skill novel-truncator
Manual install
git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git /tmp/screen-creative-skills
mkdir -p ~/.claude/skills
cp -r /tmp/screen-creative-skills/english-version/category/novel-screening/novel-truncator ~/.claude/skills/novel-truncator

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Text Truncator Tool (Novel Edition)

## Functionality

Receive text content and maximum length limit, intelligently truncate text while preserving content integrity.

## Usage Scenarios

- Preprocess long novel text to meet length limits
- Extract text segments without compromising semantic integrity
- Ensure text input to other agents does not exceed their processing capacity

## Truncation Principles

1. **Prioritize Sentence Endings**: Break at periods, question marks, exclamation points
2. **Next Paragraph Endings**: Break at spaces, line breaks
3. **Finally Specified Length**: Ensure not exceeding set maximum length limit

## Input Requirements

- **Text Content**: Original text to be truncated (string)
- **Maximum Length Limit**: Target maximum character count for text (integer)
- **Truncation Marker** (optional): String to identify text truncation location, such as "[...]"

## Output Format

```
[Text Truncation Report]

Original Length: [character count]
Truncated Length: [character count]
Truncation Position: [position description, such as: at period in sentence X]

Truncated Text:
[text content]
```

## Constraints

- Truncation process should maximally preserve original text's semantic and contextual integrity
- Strictly adhere to maximum length limit
- Avoid truncating in the middle of words

## Resources

- [examples.md](references/examples.md)
Read the full skill on GitHub

Details

Skill name
novel-truncator
Path
english-version/category/novel-screening/novel-truncator/SKILL.md
License
MIT
Repo updated
20 October 2026

FAQ

What does the Novel Truncator skill do?

Intelligently truncate text while preserving content integrity. Suitable for novel text preprocessing, ensuring text does not exceed specified length limits

How do I install the Novel Truncator skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add VanGong1999/screen-creative-skills --skill novel-truncator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Novel Truncator popular?

It lives in VanGong1999/screen-creative-skills, which has 514 GitHub stars and 86 forks.

Related skills

Character Profile

514

VanGong1999/screen-creative-skills

基于故事文本分析人物特征,生成详细人物小传。适用于理解人物设定、为演员塑造角色提供参考、为剧本创作建立人物档案; 当用户提到人物小传、角色档案、人设分析时使用。

Other86

Character Profile

514

VanGong1999/screen-creative-skills

Analyze story text and generate detailed character profiles. Use when building cast bibles, actor references, or character sheets; triggers: character profile, character bible, persona analysis.

Writing & Content86

Character Relationships

514

VanGong1999/screen-creative-skills

分析故事人物关系网络:类型、特点、发展变化及对情节的推动。 适用于梳理关系网、设计冲突与情感线;提到人物关系、关系图谱时使用。

Other86

Plot Keypoints

514

VanGong1999/screen-creative-skills

Organize story main line, extract and arrange major plot points by development stage. Suitable for quickly grasping story structure, creating outlines, and script adaptation structure organization

Writing & Content86

Novel Summarizer

514

VanGong1999/screen-creative-skills

Read and comprehend novel text, summarize into fluent story outline. Suitable for novel initial screening, generating 500-800 word story outlines

Writing & Content86

Plot Points Analyzer

514

VanGong1999/screen-creative-skills

Analyze story plot points, identify key plots and turning points. Suitable for deep analysis of plot structure, evaluating plot development effectiveness

Writing & Content86

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.