4
0
# Install this skill:
npx skills add dabstractor/mdsel-skill --skill "mdsel"

Install specific skill from multi-skill repository

# Description

Use mcp__mdsel__mdsel for .md files unless reading entire file or planning to edit. Triggers: markdown, .md, README, documentation, docs

# SKILL.md


name: mdsel
description: "Use mcp__mdsel__mdsel for .md files unless reading entire file or planning to edit. Triggers: markdown, .md, README, documentation, docs"
Triggered by: ".md files, markdown, README, documentation"
allowed-tools:
- mcp__mdsel__mdsel
- Read


mdsel

Use mcp__mdsel__mdsel tool for markdown files:

  1. Index first: files: ["README.md"] (no selector)
  2. Then select: files: ["README.md"], selector: "h2.4,h3.6"

0-based indexing. Always index before selecting.

NEVER use the * wildcard selector. If you need the entire document, use the Read tool instead - that's what it's for. The purpose of mdsel is selective reading to save tokens.

When to use Read instead

Use the Read tool for markdown files when:
- You need the entire file content (don't use mdsel with * or root - just use Read)
- You plan to edit the file (Edit tool requires prior Read)

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.