Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By dabstractorv1.0.3MITIn 2 marketplaces
Reads only the sections you select from large Markdown files, using selectors like h2.0 instead of loading the whole document. Needs the mdsel CLI installed separately; a reminder hook fires after each Read on a large Markdown file.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
token-efficiency, selectors, large-files, context-saving, cli, mdsel, selector
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Access large Markdown files using declarative selectors via the mdsel CLI
mdsel-skill is a Claude Code plugin that enables efficient access to large Markdown files using declarative selectors instead of full-file reads.
Instead of reading entire documentation files and wasting thousands of tokens, agents can select specific sections using simple selectors like h2.0 (first H2 heading) or h3.1 (second H3 heading).
Using the Read tool on large Markdown files wastes tokens:
| File Size | Read Tool | mdsel | Savings |
|---|---|---|---|
| 500 words | ~2,000 tokens | ~100 tokens | 95% |
| 2,000 words | ~8,000 tokens | ~100 tokens | 98.75% |
| 5,000 words | ~20,000 tokens | ~100 tokens | 99.5% |
The older MCP-based approach injected ~600 tokens of tool schema into every conversation. Skills load on-demand, consuming only ~50-100 tokens when inactive—a 96% reduction in overhead.
h2.0, h3.1 syntax for accessing sections# Add the marketplace
/plugin marketplace add dabstractor/mdsel-skill
# Install the plugin
/plugin install mdsel@mdsel-marketplace
# Verify installation
/plugin list
The skill uses the mdsel CLI tool. Install it separately if not already available:
# Install globally
npm install -g mdsel
# Or use npx without installation
npx mdsel h2.0 README.md
# 1. Get the document index (shows all available selectors)
mdsel README.md
# 2. Select specific sections using declarative selectors
mdsel h2.0 README.md # First H2 heading
mdsel h2.1 README.md # Second H2 heading
mdsel h3.0 README.md # First H3 heading
Use mdsel when:
.md extension)?mdsel <selector> <file> for specific contentmdsel uses 0-based indexing with the pattern <element-type>.<index>.
IMPORTANT: Selectors use 0-based indexing, not 1-based.
h2.0= First H2 headingh2.1= Second H2 heading
| Selector | Description | Example |
|---|---|---|
h1.0 | First H1 heading | # Title |
h2.0 | First H2 heading | ## Installation |
h2.1 | Second H2 heading | ## Usage |
h3.0 | First H3 heading | ### Quick Start |
h3.2 | Third H3 heading | ### Advanced Usage |
Many users expect 1-based indexing—this is the most common error!
File content:
# Main Title (h1.0 - FIRST h1)
## Introduction (h2.0 - FIRST h2)
## Getting Started (h2.1 - SECOND h2)
### Installation (h3.0 - FIRST h3)
### Configuration (h3.1 - SECOND h3)
## API Reference (h2.2 - THIRD h2)
To access "## Introduction", use h2.0, not h2.1.
# Select the first H2 section
mdsel h2.0 docs/API.md
# Select the third H2 section
mdsel h2.2 docs/API.md
# Select multiple sections sequentially
mdsel h2.0 README.md # Installation section
mdsel h2.1 README.md # Usage section
mdsel h2.2 README.md # API Reference section
# For a file like:
# # Documentation
# ## Getting Started
# ### Prerequisites
# ### Installation
# ## Configuration
# Select specific nested sections
mdsel h3.0 README.md # First H3 (Prerequisites)
mdsel h3.1 README.md # Second H3 (Installation)
# Use npx to run mdsel without global installation
npx mdsel h1.0 README.md
npx mdsel h2.0 README.md
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub dabstractor/mdsel-skill --plugin mdselPlugins from other owners that cover similar ground