Content & Site Intelligence Custom Skills · Curated

Table of Contents Builder

Inserts a jump-link table of contents into long posts automatically.

What it does

Scans a post's existing H2 and H3 headings, generates anchor IDs for any that lack one, and builds a jump-link list at the top of the post so readers can skip to a section. It only acts on posts long enough to benefit (a rough word-count or heading-count threshold) rather than adding a table of contents to every short post.

Install

This skill isn't packaged in an installable registry. It's a plain SKILL.md file you can copy directly. Copy it from the SKILL.md tab and save it at the path for your assistant:

Use it in your AI assistant

Claude Code

.claude/skills/toc-builder/ (or ~/.claude/skills/toc-builder/ for all projects)

GitHub Copilot (VS Code)

.github/skills/toc-builder/

OpenAI Codex

.codex/skills/toc-builder/

Cursor

.cursor/skills/toc-builder/ (or ~/.cursor/skills/toc-builder/ globally)

Compatibility

Any WordPress site. No special plugin required for the anchor-link approach, though it will use a dedicated TOC block or plugin instead if one is already active on the site.