# Syn Markdown Toc

> Skill for generating a table of contents in the context of Markdown documents. Use when the user's task is specifically about generating a table of contents.

- Skill: `legendtkl/syn-markdown-toc` (Agent Skill)
- Install (CLI): `npx skillmds@latest add legendtkl/syn-markdown-toc`
- Raw SKILL.md: https://api.skillmd.com/api/skills/legendtkl/syn-markdown-toc/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: legendtkl (https://skillmd.com/u/legendtkl)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/legendtkl/syn-markdown-toc

---


# Markdown documents: generating a table of contents

## When to use

Use this skill for generating a table of contents in Markdown documents. This skill
specifically handles generating a table of contents and nothing else in the
Markdown documents family.

## Procedure

Scan headings and insert/update a linked table of contents in a Markdown file.

## Notes

This is the Markdown documents skill dedicated to generating a table of contents.
Sibling skills cover other Markdown documents capabilities; this one
is the right choice only when the task is about generating a table of contents.

