substack-toc-generator

Generate a table of contents with internal anchor links for Substack posts.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/cpfcoaching/glowing-palm-tree --skill substack-toc-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: substack-toc-generator
Source: https://github.com/cpfcoaching/glowing-palm-tree/tree/main/.agent/skills/substack-toc-generator
Command: npx skills add https://github.com/cpfcoaching/glowing-palm-tree --skill substack-toc-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for manually creating tables of contents with internal anchor links for Substack posts, saving time and ensuring a better user experience.

Core Features & Use Cases

  • Automated TOC Creation: Automatically generates a numbered table of contents for Substack posts.
  • Anchor Links: Generates working internal anchor links for each section, improving mobile navigation.
  • Use Case: If you're writing a long-form Substack article and want to provide easy navigation for your readers.

Quick Start

Generate a TOC for your Substack post using the 'substack-toc-generator' skill with the 'POST_ID' from your draft URL.

Frequently Asked Questions about substack-toc-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a table of contents with anchor links for a Substack post?

To generate a table of contents for a Substack post, you need the POST_ID from your draft URL. The skill creates internal anchor links using the '/i/POST_ID/section-slug' format, automatically building a numbered TOC that integrates directly with Substack's content structure.

What is the '/i/POST_ID/section-slug' format for Substack anchor links?

The '/i/POST_ID/section-slug' format is the specific URL structure Substack uses for internal article anchor links. It combines the unique POST_ID from your draft URL with the section slug to create working navigation links, particularly improving mobile navigation for readers.

Do I need the POST_ID from the draft URL to create Substack TOC links?

Yes, the POST_ID is required to create valid Substack TOC links. You extract this identifier directly from your draft URL, which the generator then uses to construct the correct '/i/POST_ID/section-slug' anchor links for your table of contents.

Can I automate table of contents creation for long-form Substack articles?

Yes, you can automate TOC creation for long-form Substack articles. This skill automatically generates a numbered table of contents with working internal anchor links for each section, saving time compared to manual creation and improving mobile navigation for readers.

Why are my manually created table of contents links not working on Substack?

Manually created table of contents links often fail on Substack because they do not use the correct '/i/POST_ID/section-slug' format. Automating TOC generation with the proper POST_ID ensures your internal anchor links integrate with Substack's content structure and function correctly.

Does a Substack table of contents improve mobile navigation?

Yes, a Substack table of contents improves mobile navigation. By generating working internal anchor links using the correct '/i/POST_ID/section-slug' format, readers can easily jump to specific sections of your long-form article without excessive scrolling.