Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

markdown-toc-generator

FreeRuns bundled scriptsNot checked

Insert or refresh a table of contents for Markdown headings. Use when a long doc needs an up-to-date TOC under a marker comment.

hmahmadcsby hmahmadcs415 installs in other catalogs

About this skill

Markdown TOC Generator

Purpose / Overview

Builds a nested TOC from #–###### headings.

When to Use

  • README or design doc grew long
  • User asks to "update the TOC"

Usage / Instructions

  1. Take the Markdown path from the user.
  2. Run python3 scripts/make_toc.py <path>.
  3. Show the TOC; write back only if the user confirms.

Examples

python3 scripts/make_toc.py ./README.md

Requirements / Dependencies

python3 (stdlib).

Limitations / Caveats

Skips fenced code blocks when detecting headings (best-effort).

Security / Permissions

Reads (and optionally writes) only the path provided. No network.

Description

Insert or refresh a table of contents for Markdown headings.

License or terms

Business

Use case

For users and teams who want a concise assistant for: Insert or refresh a table of contents for Markdown headings.

Risks and mitigations

References

Ethical considerations

Illegal use of this skill is not allowed. The publisher will not be accountable for outcomes arising from unlawful use under country or international law. Prohibited examples include breaking into accounts without authorization, deploying ransomware, and trafficking in stolen personal data. Misuse against third-party systems without authorization is illegal.

Install markdown-toc-generator in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the markdown-toc-generator skill do?

Insert or refresh a table of contents for Markdown headings. Use when a long doc needs an up-to-date TOC under a marker comment.

How do I install the markdown-toc-generator skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the markdown-toc-generator skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare markdown-toc-generator with