Automated summary
Reads documents and splits them into manageable chunks for processing, analysis, or transfer.
Strengths
- Multiple splitting strategies (lines, size, sections, paragraphs)
- Supports overlap to maintain context between chunks
- Clear output with headers and summaries
- Simple usage with intuitive options
Limitations
- Only works on readable text files
- Size-based splitting is approximate and breaks at line boundaries
- Relies on line break or header structure
When you need to break a large document into smaller pieces for sequential processing or analysis.
For binary files or when byte-precise splitting is required.
Security analysis
SafeThe skill only reads files and uses 'wc -l' for counting lines, with no network access, file modification, or command execution beyond the allowed tools. It presents no risk of data exfiltration, unauthorized access, or destructive actions.
No concerns found
How this analysis is madeExamples
/split README.md/split document.md --sections/split document.txt --lines 100 --overlap 10name: split description: Read documents and split them into chunks allowed-tools:
- Read
- Bash(wc *)
Split Skill
Read documents and split them into manageable chunks for processing, analysis, or transfer. Like a master breaking boards, this skill shatters overwhelming information into fragments that can be easily mastered.
Capabilities
- Split by Lines: Split files into chunks of a precise number of lines.
- Split by Size: Split files into chunks of an approximate character count.
- Split by Sections: Split at structural boundaries like markdown headers.
- Split by Paragraphs: Split at blank line delimiters.
- Support Overlap: Maintain context between chunks with an overlapping buffer.
Usage Examples
Split a file into standard chunks:
/split README.md
Split by precise line count:
/split document.txt --lines 100
Split by markdown sections:
/split document.md --sections
Split by paragraphs:
/split article.txt --paragraphs
Split with context overlap:
/split document.txt --lines 100 --overlap 10
Options
| Option | Description | Default |
| -------------- | ------------------------------------ | ------- |
| --lines N | Split every N lines | 100 |
| --size N | Split at approximately N characters | - |
| --sections | Split at markdown headers (# ## ###) | - |
| --paragraphs | Split at blank lines | - |
| --overlap N | Include N lines of context | 0 |
Output Format
Present each chunk with a header showing its number and line range:
══════════════════════════════════════════════════════
CHUNK 1 of 5 (lines 1-100)
══════════════════════════════════════════════════════
[chunk content here]
══════════════════════════════════════════════════════
CHUNK 2 of 5 (lines 101-200)
══════════════════════════════════════════════════════
[chunk content here]
Splitting Strategies
By Lines (default)
Split at fixed line intervals. Best for uniform content like logs or data files.
By Size
Split at approximate character counts, breaking at line boundaries. Best when targeting specific output sizes.
By Sections
Split at markdown headers (lines starting with #). Best for documentation. Each section becomes its own chunk.
By Paragraphs
Split at blank lines. Best for prose where paragraphs are the logical units.
Workflow
- Read the file using the Read tool.
- Get file stats using
wc -lto show total lines. - Apply splitting strategy based on options.
- Display chunks with headers and summaries.
- Show summary with total chunks and average chunk size.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/document-splitting-mmh8qqd8/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/document-splitting-mmh8qqd8' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/document-splitting-mmh8qqd8/download' --output '.skill-downloads/document-splitting-mmh8qqd8/SKILL.md.part' && mv '.skill-downloads/document-splitting-mmh8qqd8/SKILL.md.part' '.skill-downloads/document-splitting-mmh8qqd8/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/document-splitting-mmh8qqd8/SKILL.md' && test -s '.skill-downloads/document-splitting-mmh8qqd8/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/split' && cp -R '.skill-downloads/document-splitting-mmh8qqd8' '.claude/skills/split'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/document-splitting-mmh8qqd8'openskills read 'document-splitting-mmh8qqd8'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/document-splitting-mmh8qqd8/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.