Install
openclaw skills install @terrycarter1985/md-tocGenerate a table of contents (TOC) for any Markdown file by extracting its ATX headings (# ..
openclaw skills install @terrycarter1985/md-tocGenerates a Markdown table of contents from the ATX headings in a file.
#, ##, ...).bash/sh) and awk must be available.bash scripts/md-toc.sh path/to/file.md
bash scripts/md-toc.sh path/to/file.md --max 3 # cap heading depth
Output is a Markdown list with relative anchor links, printed to stdout.