with one click
text-splitter
将文本分割成指定大小的块,保持语义完整性。适用于长文本批处理、将文本分割为可处理的片段
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
将文本分割成指定大小的块,保持语义完整性。适用于长文本批处理、将文本分割为可处理的片段
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create vertical short drama scripts covering macro construction, episode writing, precise optimization, and creative ideation using Emotional Spring Theory. Use when creating short dramas from scratch, optimizing existing script dialogue and pacing, designing story outlines with suspense hooks, or brainstorming slap-in-the-face scenes and character biographies.
Evaluate film and TV scripts across ideological, artistic, and entertainment value dimensions, producing structured scoring reports with follow-up recommendations. Use when assessing script development quality, determining modification direction, reviewing scripts before project approval, or benchmarking screenwriter capabilities.
Evaluate and score story text across market potential, innovation attributes, and content highlights dimensions, producing structured scoring reports with development recommendations. Use when conducting novel initial screening, assessing IP adaptation potential, scoring stories for multi-dimensional quality comparison, or guiding story creation and optimization direction.
Analyze five core story elements — genre type, story summary, character biographies, character relationships, and major plot points — producing a structured comprehensive report with optional mind map. Use when preparing for script adaptation, conducting deep story analysis, creating story development documentation, or evaluating overall story quality and market potential.
Orchestrate the full plot-point dramatic function analysis pipeline — text preprocessing, parallel segment analysis, result integration, and report generation — for long-form story content. Use when analyzing plot points and dramatic functions in long texts, producing structured dramatic analysis reports, or coordinating multi-step story analysis workflows.
基于故事文本分析人物特征,生成详细的人物小传。适用于深度理解故事人物设定、为演员塑造角色提供参考、为剧本创作建立人物档案
| name | text-splitter |
| description | 将文本分割成指定大小的块,保持语义完整性。适用于长文本批处理、将文本分割为可处理的片段 |
| category | tools |
| version | 2.1.0 |
| last_updated | "2026-01-11T00:00:00.000Z" |
| license | MIT |
| compatibility | Claude Code 1.0+ |
| maintainer | 宫凡 |
| allowed-tools | [] |
| model | opus |
| changelog | [{"version":"2.1.0","date":"2026-01-11T00:00:00.000Z","changes":[{"type":"improved","content":"优化 description 字段,使其更精简并符合命令式语言规范"},{"type":"changed","content":"模型更改为 opus"},{"type":"improved","content":"优化功能、核心能力、输入要求、输出格式的描述,使其更符合命令式语言规范"},{"type":"added","content":"添加使用场景、约束条件、示例和详细文档部分"}]},{"version":"2.0.0","date":"2026-01-11T00:00:00.000Z","changes":[{"type":"breaking","content":"按照 Agent Skills 官方规范重构"},{"type":"improved","content":"优化 description,使用命令式语言,精简主内容"},{"type":"added","content":"添加 license、compatibility 可选字段"}]},{"version":"1.0.0","date":"2026-01-10T00:00:00.000Z","changes":[{"type":"added","content":"初始版本"}]}] |
将文本分割成指定大小的块,保持语义完整性,便于后续的批处理和分析。
【文本分割报告】
- 原始文本长度: [整数] 字/Token
- 目标块大小: [整数] 字/Token
- 实际分割块数: [整数] 块
### 分割结果
- 块1 (长度: [整数] 字/Token): "[内容预览...]"
- 块2 (长度: [整数] 字/Token): "[内容预览...]"
- 块3 (长度: [整数] 字/Token): "[内容预览...]"
...
参见 {baseDir}/references/examples.md 目录获取更多详细示例:
examples.md - 包含不同长度、不同分割策略和复杂文本结构的分割示例。参见 {baseDir}/references/examples.md 获取关于文本分割工具的详细指导与案例。
| 版本 | 日期 | 变更 |
|---|---|---|
| 2.1.0 | 2026-01-11 | 优化 description 字段,使其更精简并符合命令式语言规范;模型更改为 opus;优化功能、核心能力、输入要求、输出格式的描述,使其更符合命令式语言规范;添加使用场景、约束条件、示例和详细文档部分。 |
| 2.0.0 | 2026-01-11 | 按官方规范重构 |
| 1.0.0 | 2026-01-10 | 初始版本 |