askill
novel-truncator

novel-truncatorSafety 95Repository

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

23 stars
1.2k downloads
Updated 1/23/2026

Package Files

Loading files...
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

Examples

See {baseDir}/references/examples.md for more detailed examples:

  • examples.md - Contains detailed examples for different truncation scenarios (by sentence, by paragraph, forced truncation)

Detailed Documentation

See {baseDir}/references/examples.md for detailed guidance and cases on the text truncator tool.


Version History

VersionDateChanges
2.1.02026-01-11Optimized description field; optimized descriptions for functionality, usage scenarios, truncation principles, input requirements, and output format; added constraints, examples, and detailed documentation sections; changed model to opus
2.0.02026-01-11Restructured according to official specifications
1.0.02026-01-10Initial version

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

55/100Analyzed 2/20/2026

A reasonably well-structured skill document describing a text truncation tool for novels. Has clear sections for functionality, usage scenarios, principles, and constraints. However, it lacks actionable implementation (no actual code/tool, empty allowed-tools), references external files that may not exist, and has no tags for discoverability. The deeply nested path (depth 5) and empty allowed_tools suggest potential internal/placeholder issues. The content is mostly reference-style without step-by-step execution guidance.

95
75
70
50
35

Metadata

Licenseunknown
Version2.1.0
Updated1/23/2026
PublisherGongLingRui

Tags

No tags yet.