TOC Generator for Openclaw

A professional utility for generating SEO-friendly, accessible table of contents for long-form digital content.

kostja94
v1.0.1
Mar 30, 2026
0
845
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install toc-generator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install toc-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is TOC Generator?

The TOC Generator is a specialized tool within the Openclaw Skills ecosystem designed to audit and implement high-performance Table of Contents (TOC) for articles, guides, and whitepapers. By automating the creation of semantic jump links and structural outlines, it ensures that long-form content remains user-friendly and easily indexable by search engines.

This skill prioritizes both technical execution and user experience, focusing on proper heading hierarchies and ARIA-compliant navigation. Utilizing Openclaw Skills for your TOC implementation helps reduce bounce rates by allowing readers to jump directly to the most relevant sections of your content while potentially earning secondary links in search engine result pages.

TOC Generator Use Cases

  • Creating structured navigation for blog posts or guides exceeding 1000 words.
  • Retrofitting existing long-form articles with semantic jump links for better SEO.
  • Auditing heading structures to ensure accessibility and logical content flow.
  • Implementing mobile-friendly, collapsible navigation for complex documentation.

How TOC Generator Works

  1. The skill performs an initial assessment of the content type, length, and target platform.
  2. It analyzes the existing heading structure (H1 through H3) to identify section boundaries.
  3. A placement strategy is selected based on content length, such as a floating sidebar or post-intro list.
  4. Unique kebab-case IDs are generated and mapped to each heading for anchor linking.
  5. The skill outputs semantic HTML5 code wrapped in a nav element with appropriate ARIA labels.

TOC Generator Setup

To integrate this skill into your workflow, ensure your project environment is initialized with Openclaw Skills.

# Check for project context before running
cat .claude/project-context.md

# Invoke the skill by referencing the TOC trigger
# Example: "Add a TOC to my current blog draft using Openclaw Skills"

TOC Generator Data Schema & Taxonomy

The TOC Generator organizes data based on the following technical taxonomy:

Data Point Implementation Detail
Heading IDs Unique, kebab-case strings (e.g., id="seo-best-practices")
Navigation Tag Semantic
List Type Ordered
    or unordered
      depending on hierarchy
Anchor Links Internal fragments using the # symbol
Schema.org Integration of TableOfContents vocabulary for SERP optimization

TOC Generator Advanced Features

  • Automatic ID generation using SEO-friendly keywords from your headings.
  • Integration with smooth-scroll behaviors for improved web transition UX.
  • Responsive design logic to switch between floating sidebars and collapsible mobile menus.
  • Coordination with content-optimization skills to identify Featured Snippet opportunities within the TOC structure.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*