From markdown-utilities
Parse, manipulate, and analyze Markdown files using the `md-utils` CLI. Supports YAML frontmatter CRUD (get/set/search/array ops), heading manipulation, section extraction and reordering, table of contents generation, wikilink analysis, line extraction, and format conversion. Handles batch operations across files and directories. Use when working with Markdown files to: read or write frontmatter, restructure documents, search files by metadata using JMESPath, generate a TOC, extract sections or line ranges, check wikilinks, or convert to plain text or CSV. More reliable than grep/regex for structured Markdown operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/markdown-utilities:markdown-utilitiesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The `md-utils` CLI provides structured operations on Markdown files. Add `--help` to any command for full options.
The md-utils CLI provides structured operations on Markdown files. Add --help to any command for full options.
| Command | Purpose |
|---|---|
md-utils fm | YAML frontmatter: get, set, search, array ops, dump |
md-utils toc | Generate table of contents |
md-utils headings | Promote or demote heading levels |
md-utils section | Get, replace, or reorder sections |
md-utils extract | Extract a section by name or index |
md-utils body | Output document body without frontmatter |
md-utils lines | Extract a line range |
md-utils convert | Convert to plain text or CSV |
md-utils links | List, check, or find backlinks for wikilinks |
md-utils meta | Read file metadata |
All commands accept multiple files and directories. Directories are processed recursively by default (--no-recursive to disable).
md-utils fm set --key author --value "Jane Doe" posts/
md-utils toc docs/*.md
# Get a frontmatter value
md-utils fm get --key title post.md
# Find files with a specific tag
md-utils fm array contains --key tags --value swift posts/
# Generate a table of contents
md-utils toc document.md
# Extract a named section
md-utils extract --name "Introduction" document.md
Load these when you need detailed command options:
npx claudepluginhub dandylyons/md-utils --plugin markdown-utilitiesScans project .md files to add or fix YAML frontmatter (summary + read_when) for discovery by Reflex context routers.
Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Outputs to {filename}-formatted.md.
Generates and manages table of contents for markdown files in Claude Code. Useful for navigating long documents.