LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

working-with-toc-cache - Manage cached tables of contents for documents

Reads, builds, validates, and uses cached tables of contents for PDF, DOCX, ODT, EPUB, and other supported documents.

Tags

Updated: 2026-11-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Choose cache usage
  • Register document formats
  • Generate and validate caches
  • Assign and resolve heading IDs
  • Serve ToC API routes
  • Publish cached outlines

Inputs

  • Document or attachment content
  • Document blob IDs
  • ToC format metadata
  • Viewer document state

Outputs

  • ToC cache JSON attachments
  • ToC API responses
  • Heading links and labels
  • Outline panel state

Requirements

  • Trilium application environment
  • Attachment read and write access
  • Supported document readers or client viewers

Source

  • Spec: SKILL.md
table of contents
cache
document formats
heading IDs
PDF
DOCX
EPUB
Choose cache usage
Register document formats
Generate and validate caches
Assign and resolve heading IDs
Document or attachment content
Document blob IDs
ToC format metadata
ToC cache JSON attachments
ToC API responses
Heading links and labels