What problem does it solve?
Sharding large markdown documents becomes slow and error-prone when you need modular navigation, smaller updates, or section-focused reuse without duplicating content.
Core Features & Use Cases
- Level-2 section sharding: Splits a markdown file into smaller organized files based on level 2 sections (default heading depth).
- Structured output folder: Creates a destination folder named after the source file and generates an
index.md for easy entry.
- Safety guardrails for inputs/outputs: Validates the source path, markdown extension, destination permissions, command success, and verifies produced files before reporting completion.
- Original-document handling: Offers explicit options to delete, archive, or keep the original document to avoid confusion and accidental loading of the wrong version.
Quick Start
Tell the agent: "Shard document /path/to/architecture.md into /path/to/architecture/, and delete the original after a successful split."